paper-with-me

Papers

An LLM Agentic Approach for Legal-Critical Software: A Case Study for Tax Prep Software

2025-09-16 · Sina Gogani-Khiabani, Ashutosh Trivedi, Diptikalyan Saha, Saeid Tizpaz-Niari arxiv

Large language models (LLMs) show promise for translating natural-language statutes into executable logic, but reliability in legally critical settings remains challenging due to ambiguity and hallucinations. We present an agentic approach for developing legal-critical software, using U.S. federal tax preparation as a case study. The key challenge is test-case generation under the oracle problem, where correct outputs require interpreting law. Building on metamorphic testing, we introduce higher-order metamorphic relations that compare system outputs across structured shifts among similar individuals. Because authoring such relations is tedious and error-prone, we use an LLM-driven, role-based framework to automate test generation and code synthesis. We implement a multi-agent system that translates tax code into executable software and incorporates a metamorphic-testing agent that searches for counterexamples. In experiments, our framework using a smaller model (GPT-4o-mini) achieves a worst-case pass rate of 45%, outperforming frontier models (GPT-4o and Claude 3.5, 9-15%) on complex tax-code tasks. These results support agentic LLM methodologies as a path to robust, trustworthy legal-critical software from natural-language specifications.

📄 PDF Abstract BibTeX arXiv:2509.13471

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LicenseGPT: A Fine-tuned Foundation Model for Publicly Available Dataset License Compliance

2024-12-30 · Jingwen Tan, Gopi Krishnan Rajbahadur, Zi Li, Xiangfu Song 외

Dataset license compliance is a critical yet complex aspect of developing commercial AI products, particularly with the increasing use of publicly available datasets. Ambiguities in dataset licenses pose significant lega…

SW-$A^2$-Bench: Benchmarking Autonomous Software Agent Generation for Agentic Web

2026-04-05 · Linyao Chen, Bo Huang, Qinlao Zhao, Shuai Shao 외 arxiv

The Agentic Web is emerging as a paradigm in which autonomous software agents interact with online resources and with each other to accomplish user goals. However, the capacity of Agentic Web is still limited by insuffic…

Cheap Code, Costly Judgment: A Case Study on Governable Agentic Software Engineering

2026-07-01 · James C. Davis, Paschal C. Amusuo, Tanmay Singla, Berk Çakar 외 arxiv

Generative AI is shifting software engineering from a practice organized around scarce implementation effort toward one organized around abundant, low-cost code production. This shift changes the central engineering prob…

Legal Requirements Translation from Law

2025-07-03 · Anmol Singhal, Travis Breaux arxiv

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…

LAW: Legal Agentic Workflows for Custody and Fund Services Contracts

2024-12-15 · William Watson, Nicole Cho, Nishan Srishankar, Zhen Zeng 외

Legal contracts in the custody and fund services domain govern critical aspects such as key provider responsibilities, fee schedules, and indemnification rights. However, it is challenging for an off-the-shelf Large Lang…

Language ModelingLanguage ModellingLarge Language Model