Abstract
Legal cases require careful logical reasoning following the laws, whereas interactions with nontechnical users must be in natural language. As an application combining logical reasoning using Prolog and natural language processing using large language models (LLMs), this paper presents a novel approach and system, LogicLease, to automate the analysis of landlord-tenant legal cases in the state of New York. LogicLease determines compliance with relevant legal requirements by analyzing case descriptions and citing all relevant laws. It leverages LLMs for information extraction and Prolog for legal reasoning. By separating information extraction from legal reasoning, LogicLease achieves greater transparency and control over the legal logic applied to each case. We evaluate the accuracy, efficiency, and robustness of LogicLease through a series of tests, achieving 100% accuracy and an average processing time of 2.57 seconds. LogicLease presents advantages over state-of-the-art LLM-based legal analysis systems by providing clear, step-by-step reasoning, citing specific laws, and distinguishing itself by its ability to avoid hallucinations-a common issue in LLMs.
| Original language | English |
|---|---|
| Pages (from-to) | 59-68 |
| Number of pages | 10 |
| Journal | Electronic Proceedings in Theoretical Computer Science, EPTCS |
| Volume | 416 |
| DOIs | |
| State | Published - Feb 13 2025 |
| Event | 40th International Conference on Logic Programming, ICLP 2024 - Dallas, United States Duration: Oct 14 2024 → Oct 17 2024 |
Fingerprint
Dive into the research topics of 'Logical Lease Litigation: Prolog and LLMs for Rental Law Compliance in New York'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver