Language Models and Logic Programs for Trustworthy Financial Reasoning
Jurayj, William, Holzenberger, Nils, Van Durme, Benjamin
–arXiv.org Artificial Intelligence
According to the United States Internal Revenue Service, "the average American spends $270 and 13 hours filing their taxes". Even beyond the U.S., tax filing requires complex reasoning, combining application of overlapping rules with numerical calculations. Because errors can incur costly penalties, any automated system must deliver high accuracy and auditability, making modern large language models (LLMs) poorly suited for this task. We propose an approach that integrates LLMs with a symbolic solver to calculate tax obligations. We evaluate variants of this system on the challenging StAtutory Reasoning Assessment (SARA) dataset, and include a novel method for estimating the cost of deploying such a system based on real-world penalties for tax errors. We further show how combining up-front translation of plain-text rules into formal logic programs, combined with intelligently retrieved exemplars for formal case representations, can dramatically improve performance on this task and reduce costs to well below real-world averages. Our results demonstrate the effectiveness of applying semantic parsing methods to statutory reasoning, and show promising economic feasibility of neuro-symbolic architectures for increasing access to reliable tax assistance. Code is available at https://github.com/wjurayj/legal
arXiv.org Artificial Intelligence
Sep-3-2025
- Country:
- Asia
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Singapore (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Middle East > UAE
- Europe
- Austria > Vienna (0.14)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- North America
- Canada (0.04)
- United States
- California > San Diego County
- San Diego (0.04)
- Florida > Miami-Dade County
- Miami (0.14)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Michigan (0.04)
- Utah (0.04)
- Washington > King County
- Seattle (0.04)
- California > San Diego County
- Asia
- Genre:
- Research Report
- New Finding (0.54)
- Promising Solution (0.34)
- Research Report
- Industry:
- Government
- Law > Taxation Law (1.00)
- Technology: