English

Software Engineering Methods For AI-Driven Deductive Legal Reasoning

Software Engineering 2024-07-01 v2 Computation and Language Computers and Society

Abstract

The recent proliferation of generative artificial intelligence (AI) technologies such as pre-trained large language models (LLMs) has opened up new frontiers in computational law. An exciting area of development is the use of AI to automate the deductive rule-based reasoning inherent in statutory and contract law. This paper argues that such automated deductive legal reasoning can now be viewed from the lens of software engineering, treating LLMs as interpreters of natural-language programs with natural-language inputs. We show how it is possible to apply principled software engineering techniques to enhance AI-driven legal reasoning of complex statutes and to unlock new applications in automated meta-reasoning such as mutation-guided example generation and metamorphic property-based testing.

Keywords

Cite

@article{arxiv.2404.09868,
  title  = {Software Engineering Methods For AI-Driven Deductive Legal Reasoning},
  author = {Rohan Padhye},
  journal= {arXiv preprint arXiv:2404.09868},
  year   = {2024}
}

Comments

Appearing in Onward! at SPLASH 2024

R2 v1 2026-06-28T15:54:44.482Z