Legal Requirements Translation from Law
Anmol Singhal, Travis Breaux

TL;DR
This paper presents a novel approach using textual entailment and in-context learning to automatically extract and represent legal requirements from complex legal texts as executable Python code, improving automation and generalization.
Contribution
It introduces a Python-based canonical representation for legal texts that captures metadata and interrelationships, reducing reliance on manual labeling and enhancing applicability to unseen legislation.
Findings
Achieved 89.4% pass rate on test cases
Precision of 82.2%, recall of 88.7%
Effective on 13 U.S. state data breach laws
Abstract
Software systems must comply with legal regulations, which is a resource-intensive task, particularly for small organizations and startups lacking dedicated legal expertise. Extracting metadata from regulations to elicit legal requirements for software is a critical step to ensure compliance. However, it is a cumbersome task due to the length and complex nature of legal text. Although prior work has pursued automated methods for extracting structural and semantic metadata from legal text, key limitations remain: they do not consider the interplay and interrelationships among attributes associated with these metadata types, and they rely on manual labeling or heuristic-driven machine learning, which does not generalize well to new documents. In this paper, we introduce an approach based on textual entailment and in-context learning for automatically generating a canonical representation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
