Can Legislation Be Made Machine-Readable in PROLEG?
May-Myo Zin, Sabine Wehnert, Yuntao Kong, Ha-Thanh Nguyen, Wachara Fungwacharakorn, Jieying Xue, Micha{\l} Araszkiewicz, Randy Goebel, Ken Satoh, and Le-Minh Nguyen

TL;DR
This paper proposes a framework using large language models and formal legal representations to convert regulatory texts into machine-readable, executable PROLEG programs, enhancing legal reasoning and decision explanation.
Contribution
It introduces a novel end-to-end process for transforming legal texts into formal, executable representations using LLMs and PROLEG, with validation by legal experts.
Findings
Successful transformation of GDPR Article 6 into PROLEG code
Generation of human-readable explanations from executable PROLEG programs
Identification of limitations and future directions for automating legal formalization
Abstract
The anticipated positive social impact of regulatory processes requires both the accuracy and efficiency of their application. Modern artificial intelligence technologies, including natural language processing and machine-assisted reasoning, hold great promise for addressing this challenge. We present a framework to address the challenge of tools for regulatory application, based on current state-of-the-art (SOTA) methods for natural language processing (large language models or LLMs) and formalization of legal reasoning (the legal representation system PROLEG). As an example, we focus on Article 6 of the European General Data Protection Regulation (GDPR). In our framework, a single LLM prompt simultaneously transforms legal text into if-then rules and a corresponding PROLEG encoding, which are then validated and refined by legal domain experts. The final output is an executable PROLEG…
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.
Taxonomy
TopicsEthics and Social Impacts of AI · Explainable Artificial Intelligence (XAI) · Hate Speech and Cyberbullying Detection
