arXiv:2609.05928cs.CLSep 2026

Manuscript Offprint

arXiv:2609.05928

Solving versus Verifying: Catching Contradictions in Tax Reasoning Systems

Albert Sadowski, Jarosław A. Chudziak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Large language models now compute correct tax liabilities on over 90% of well-formed cases in statutory benchmarks, which makes them candidates for the tax-advisory and compliance systems that consume such an answer directly. Real legal inputs, however, are frequently defective: required facts are missing, or stated facts contradict one another. Accuracy on clean benchmarks says nothing about how a model behaves then, and a system that computes straight through a defective input returns a confident number with no sign that anything is wrong. This raises two questions: does a model asked to solve a case abstain when the input is defective, and when it does not, can the same model catch the defect when asked instead to verify the input? We study six recent models on SARA-derived tax cases under missing-fact and contradictory-fact perturbations. The strongest models abstain when a fact is missing but compute through injected contradictions, returning the clean-input answer 63-76% of the time with no signal of the conflict; asked instead to verify the same input, they flag most of those contradictions. We wire that verification call into a simple contradiction gate: one extra call that abstains when the model reports a conflict. Across all six models it recovers most of the missed contradiction abstention at a clean-accuracy cost of at most about 5 percentage points, with no training and no external tooling. High accuracy on well-formed inputs is therefore an incomplete measure of reliability, and the detection the solver misses is cheaply recoverable with a single self-check.

Keywords large language models · legal reasoning · contradiction detection · self-verification · tax calculation

1 Introduction

Large language models (LLMs) have reached accuracy levels on statutory legal reasoning benchmarks that make deployment in legal advisory, tax preparation, and compliance workflows a realistic prospect. On the StAtutory Reasoning Assessment (SARA) Holzenberger et al. [2020] tax calculation task from LegalBench Guha et al. [2023], recent models compute correct answers within ±10% on over 90% of well-formed inputs. This level of performance has prompted growing interest in using LLMs as components of legal reasoning systems Matak and Chudziak [2025], Sadowski and Chudziak [2025a], Jurayj et al. [2026].

However, accuracy on well-formed inputs tells us little about how models behave when the input itself is defective. In real-world legal practice, inputs are routinely incomplete or inconsistent: clients omit required information, records conflict with each other, and documents contain contradictory statements Mantravadi et al. [2025]. A model that computes through such inputs poses a risk that is not captured by standard accuracy benchmarks.

Recent work has shown that LLMs struggle to abstain on unanswerable inputs in mathematics, general question answering, financial reasoning, and healthcare Kirichenko et al. [2026], Sun et al. [2024], Dai et al. [2026], Presacan et al. [2025], and that legal knowledge retrieval is prone to hallucination Dahl et al. [2024]. Statutory tax calculation differs from these settings: it applies legal rules to facts in structured multi-step reasoning, where missing or contradictory information is routine Shi et al. [2026]. Existing abstention benchmarks primarily test underspecification, but real legal inputs also fail by contradiction, and whether models distinguish these failure modes remains unexplored.

In this paper, we address two questions. First, can current LLMs recognise when a legal reasoning question cannot be reliably answered, either because required information is missing or because the input contains logical contradictions? Second, when a model fails to recognise a contradiction while solving, can the same model recognise it when asked instead to verify the input? We evaluate six recent LLMs on tax cases derived from the SARA benchmark Holzenberger et al. [2020] under three conditions (Fig. 1): clean (unperturbed), redacted (a required numeric fact removed), and contradicted (a categorical fact supplemented with a conflicting value). We pair each defect type with the fact category where it appears clearly (§3), and we evaluate the verification check from our second question entirely within the contradiction condition.

We make two contributions. The first is a diagnosis with a deployment consequence: high benchmark accuracy does not predict safe behaviour on inputs containing contradictory facts. On injected contradictions the four high-accuracy models abstain on at most 15% while solving (three of the four under 5%), and return the clean-input answer 63-76% of the time instead, with no signal that the input was defective. Asked to verify the same inputs rather than solve them, the same models flag 75-83% of those identical contradictions, so the detection is recoverable. As a calibration, on missing facts the same models almost never return the clean answer (preservation under 2%), so the failure to abstain on contradictions is selective. The second is that this gap is cheaply actionable: a trivial one-call check, using the model itself as an input verifier and abstaining when it reports a contradiction (the contradiction gate), recovers 70-83% contradiction abstention at 0-5.1 percentage points of clean-accuracy cost, across all six models with no fine-tuning and no external tooling.

References (27)