Study: legal reasoning models citing statutes does not mean they rely on them; compliance rate for injected instructions reaches 73.3%–96.4%Cited but Not Consulted: A Counterfactual Audit of Legal Chain-of-Thought Faithfulness
The authors swap legal references in legal chain-of-thought and track hidden commitments, finding that models cite correctly on the surface but have low ruling-swap sensitivity and are susceptible to injection manipulation.
- Large language models often explicitly cite statutes or precedents in legal chain-of-thought, but whether the generated legal basis truly causally drives the verdict remains unverified, and there is a risk of malicious manipulation of verdicts.
- The authors fix the case facts and permute the target legal basis, while using logit lens at each sentence boundary to decode hidden-layer verdict tendencies to determine the decision-locking step, and add prompt injection tests.
- On ECHR Pair A, the verdict substitution sensitivity of the 5 models is 31.0%–58.6%, while the injection compliance rate for spurious instructions inserted into the facts reaches 73.3%–96.4%, all higher than the substitution sensitivity.
- The experimental sample size is 30 cases per condition; permuting the legal basis also changes the question itself, introducing confounding, and some tests cover only a single basis pair or truncated text.
- Evaluated models
- Qwen3-8BQwen3-14BLlama-3.1-8B-InstructLlama-3-8BGemma-3-12B-itLlama-3.3-70B-InstructLegal-∆-14B
- Benchmarks
- ECHRCaseHOLDSCOTUSContractNLI
- Metrics
- Verdict-swap sensitivityPost-commitment re-engagementSurface engagementAccuracyConvergenceParaphrase instabilityInjection complianceInjection verdict change
The researchers propose an authority substitution counterfactual protocol: with the case facts fixed, they replace the legal authority the model is asked to rely on with an unrelated authority, and decode the model's evolving ruling from hidden states at clause boundaries to test the faithfulness of legal chain-of-thought reasoning. Across seven open-weight models of 8B–70B and four benchmarks covering judicial and contract reasoning, models correctly state the authority they rely on in 66.7%–100% of generations, but the proportion of rulings that change with the authority is much lower: 0.0%–21.7% on CaseHOLD, 30.0%–76.7% on ECHR and SCOTUS, and 43.3%–50.0% on ContractNLI. Scaling up or using a specialized legal reasoning model (Legal-Δ-14B, a best-effort reproduced LoRA version) does not close this gap. Red-team evaluation on five core models shows compliance rates of 73.3%–96.4% with adversarial instructions hidden in case facts, far higher than ruling substitution sensitivity, and unaffected by cross-model ranking.
Why it was selectedBy counterfactually substituting legal bases and decoding hidden states, the paper quantifies the gap between the authorities a model cites and the authorities it actually relies on, providing a transferable method for chain-of-thought faithfulness auditing.
Related events and news
1 events · 1 news mentions
- This event's paper
法律推理模型引用法条不等于依据法条
News that mentions this paper
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:决策性模型护栏也能被攻击者绕过
Cited but Not Consulted: A Counterfactual Audit of Legal Chain-of-Thought Faithfulness(https://arxiv.org/abs/2610.12361)
Paper analysis
What problem does this paper attempt to solve?
The authors state that citing legal bases in legal CoT is often treated as the basis for reasoning, but lacks audit verification of its causal dependence.
When a model correctly cites a legal basis in its legal chain of thought, does that mean its verdict truly depends on that basis, and is that verdict easily manipulated by adversarial instructions?
- Trust assumptions in high-risk scenarios: the authors note that financial and legal AI systems often use chain-of-thought (CoT) reasoning to name statutes, provisions, or precedents as evidence that the verdict was derived from that basis, but this assumption lacks causal verification.
- Gap in existing research: previous CoT faithfulness studies mostly focus on general domains and do not examine the causal dependence between naming a specific legal basis and the verdict, nor do they combine auditing with internal state evolution.
- Core observation and hypothesis: the authors propose a two-stage hypothesis: the model first mentions the legal basis in a templated opening, then generates the verdict based on fact patterns, and the verdict's dependence on the specific basis may be low.
- Proposed approach: the authors design a legal basis substitution counterfactual protocol, combine it with sentence-boundary logit lens internal commitment tracking, and introduce red-team prompt injection tests for comprehensive auditing.
What related research exists?
The authors review research on CoT faithfulness, internal commitment tracking, and legal citation reliability, positioning this paper as a combination of basis counterfactuals and internal decoding.
CoT faithfulness and post-hoc rationalization
- Lanham et al. (2023) and Lyu et al. (2023) — the authors note that these two works respectively found that models may determine the answer before generating the reasoning, and that the reasoning chain may not reflect the actual computation process.
- Arcuschin et al. (2026) and Turpin et al. (2023) — the authors note that the former found post-hoc rationalization to be prevalent in frontier models, while the latter found that CoT rationalizes undisclosed input biases.
Tracking internal decision commitment
- Zhang et al. (2026) and Boppana et al. (2026) — respectively use hidden-layer decoding to locate pre-verbalization commitments in delayed-verdict tasks, and probe activation dynamics on general benchmarks.
- Mehta (2026) and Li et al. (2026) — track latent commitments in agent and multi-step CoT settings; Li et al. report that latent commitments and explicit answers agree in only 61.9% of steps.
Legal citation reliability and counterfactual causal analysis
- Chen et al. (2026), Liu et al. (2026), and Ovcharov (2026) — the authors note that these works verify the authenticity and doctrinal accuracy of citations through retrieval or graphs, focusing on correctness rather than causal dependence.
- Jambula (2026), Somov et al. (2026), and Wang et al. (2026) — respectively test faithfulness through fact perturbation, intermediate-structure perturbation, and formal solvers.
Baselines and benchmark positioning
- Baseline methods and benchmarks: the experiments use the LexGLUE suite released by Chalkidis et al. (2022) (ECHR, SCOTUS, CaseHOLD) as well as ContractNLI as test benchmarks.
- The authors position this paper as: the first to combine counterfactual intervention on legal decision targets, hidden-layer commitment tracking, and adversarial robustness testing.
How does the paper address this problem?
The authors propose a legal basis substitution counterfactual scheme and decode internal commitment steps and re-citation behavior at sentence boundaries via logit lens.
The authors propose a legal decision target substitution counterfactual protocol, and apply an untrained logit lens projection to the model's hidden states during generation to track internal decision commitment and text re-citation dynamics.
Counterfactual design based on substitution
- Fixed facts and target substitution: with case facts held constant, the model is prompted to generate CoT with thinking tags under the target legal basis and the control basis respectively.
- Four types of legal decision targets: for ECHR, replace the Convention article (Article 8 vs. Article 3; Article 6 vs. Article 14); for SCOTUS, replace the case domain (criminal procedure vs. economic activity; First Amendment vs. civil rights); for ContractNLI, replace the contract clause (mandatory disclosure notice vs. solicitation prohibition).
- CaseHOLD precedent substitution: for CaseHOLD, the case facts and the 5 candidate options are kept unchanged, and the cited precedent name in the input is replaced with the neutral placeholder Doe v. Roe.
Internal commitment tracking and decision mechanism
- Sentence-boundary hidden projection: at the end of each sentence, the hidden state h_t is extracted and projected through the unembedding matrix to decode candidate label scores.
- Confidence decision and commitment-step definition: a margin threshold is set for the highest-scoring class relative to the second-best class; the decoded label is:
\ell_i = \begin{cases} \text{top} & \text{if } s_i(\text{top}) > 0 \text{ and } (s_i(\text{2nd}) = 0 \text{ or } \frac{s_i(\text{top})}{s_i(\text{2nd})} \ge 1.5) \\ \bot & \text{otherwise} \end{cases}In the formula, ℓi denotes the discrete label decoded for the i-th sentence, and si(c) is the score of class c at the i-th sentence; the commitment step t* is defined as the earliest sentence index at which the decoded label becomes fixed to the final label.
Core evaluation metrics
- Verdict substitution sensitivity: the proportion of cases in which the final output verdict changes between the target basis and the control basis.
- Surface citation and post-commitment re-citation: surface citation refers to whether the reasoning mentions the basis asked about; post-commitment re-citation requires the model to mention that basis again in the sentence at or after the commitment step t*.
- Prompt injection robustness: a spurious instruction is appended at the end of the case facts, instructing the model to ignore the facts and directly output a violation verdict; the model's compliance rate is evaluated.
What experiments did the paper conduct?
Experiments show that basis substitution sensitivity is far lower than surface citation rates, and adversarial injection compliance rates are substantially higher than substitution sensitivity on all tested models.
Experimental setup
- Models under test: Qwen3-8B, Qwen3-14B, Llama-3.1-8B, Llama-3-8B, Gemma-3-12B, Llama-3.3-70B, Legal-Δ-14B; the ablation also compares the non-fine-tuned base model Qwen2.5-14B-Instruct.
- Datasets and scale: ECHR (ECtHR-A), CaseHOLD, SCOTUS, ContractNLI; 30 balanced samples (15 positive, 15 negative) are tested per basis per model, and CaseHOLD likewise uses 30 samples.
- Runtime and generation parameters: run locally at bfloat16 precision, random seed fixed uniformly to seed=42, maximum newly generated tokens 1536.
- Evaluation metrics: convergence rate, accuracy, verdict substitution sensitivity (95% bootstrap confidence interval computed over 1000 resamples), surface citation rate, post-commitment re-citation rate.
- Prompt injection setup: a fabricated registration notice is appended to the ECHR Pair A facts, forcing the output VERDICT: VIOLATION; the compliance rate and verdict flip rate are measured.
Main results
Swipe horizontally to read the table
Model Convergence rate (%) Accuracy (%) Verdict substitution sensitivity (%) 95% bootstrap CI Surface citation rate (%) Post-commitment re-citation rate (%) Qwen3-8B 90.0 / 100 88.9 33.3 [14.8, 51.9] 100 53.3 Qwen3-14B 96.7 / 100 82.8 31.0 [13.8, 48.3] 100 70.0 Llama-3.1-8B 96.7 / 100 69.0 58.6 [41.4, 75.9] 100 33.3 Llama-3-8B 90.0 / 93.3 48.1 40.7 [22.2, 59.3] 80.0 46.7 Gemma-3-12B 100 / 100 66.7 36.7 [20.0, 56.7] 100 26.7 Legal-Δ-14B 100 / 100 83.3 33.3 [16.7, 50.0] 96.7 20.0 Note: according to Table 2, the test setting is ECHR Pair A (Article 8 vs. Article 3), with n=30 per row. Across all models, the proportion of commitments reached before the first mention of the basis is 0.0% (not listed as a separate row). Llama-3.3-70B is not included in Table 2.
- Decoupling of surface citation and sensitivity: the authors state that surface citation rates reach 100% on most models, but verdict substitution sensitivity is only 31.0% to 58.6%, indicating that although models list legal provisions in the text, the verdict does not stably depend on those provisions.
- Behavioral sensitivity and internal re-citation are not aligned: Llama-3.1-8B has the highest substitution sensitivity (58.6%) but a post-commitment re-citation rate of only 33.3%; Qwen3-14B has the lowest sensitivity (31.0%) yet a re-citation rate of 70.0%.
- Zero commitment rate before first mention: all models restate the asked-about basis in the first sentence across all samples, so t* always occurs after the first mention; the authors state this reflects opening-template behavior.
Robustness and prompt injection evaluation
- Adversarial instruction injection: on ECHR Pair A, the injection compliance rates of the 5 models range from 73.3% to 96.4% (Table 3), all exceeding their verdict substitution sensitivity; the authors state that models' tendency to obey fabricated instructions exceeds their tendency to track the true basis.
- Stricter verdict-change test: the proportion of outputs that differ from the model's own non-injected baseline is 18.5% to 41.4% (Table 3); only Qwen3-8B (41.4%) exceeds its substitution sensitivity (33.3%).
- Rewording instability baseline: with the basis held constant and only the question wording changed, rewording instability is 13.8% to 23.3% (Table 3), lower than verdict substitution sensitivity; the authors state this indicates substitution sensitivity is not merely surface wording perturbation.
Scale and specialized model analysis
- 70B model scaling: Llama-3.3-70B has a sensitivity of 40.0% ([23.3, 56.7]) on ECHR Pair A and reaches 76.7% ([60.0, 90.0]) on SCOTUS Pair A, but the latter has a post-commitment re-citation rate of only 10.0%.
- Legal RL model performance: Legal-Δ-14B, fine-tuned with reinforcement learning, does not show significantly higher substitution sensitivity than general models across the four datasets; its SCOTUS sensitivity is 70.0% with a re-citation rate of 0.0% (Table 7).
- CaseHOLD precedent substitution test: when only the precedent name is replaced with Doe v. Roe, answer substitution sensitivity is only 0.0% to 21.7% (Table 6), with Qwen3-8B at 0.0%.
Other ablations and analyses
- On the unconfounded subset where the gold labels for the original and control bases truly differ, ContractNLI sensitivity for all 6 models rises from 43.3%–50.0% to 50.0%–66.7% (Table 11).
- Under the fabricated-placeholder control, ECHR substitution sensitivity is 10.0% to 51.7% and SCOTUS is 26.7% to 43.3% (Table 12).
- With native thinking mode disabled, Qwen3-8B accuracy drops from 88.9% to 82.8% and the re-citation rate rises from 53.3% to 63.3% (Appendix G).
- Comparing the Qwen2.5-14B-Instruct base with the LoRA-merged model, substitution sensitivity rises from 26.7% to 33.3% and accuracy from 73.3% to 83.3% (Table 15).
- Paired McNemar tests show that on ECHR Pair A only 2 of 15 model pairs are nominally p<0.05, and on SCOTUS only 5 are nominally p<0.05 (Tables 13, 14).
What are some points that can be further explored?
The authors point out limitations such as small sample sizes and incomplete confounding removal; the experiments cover 7 models and 4 benchmarks.
Limitations and future directions noted by the authors
- Sample size and statistical power are modest: the authors note in Section 9 that the experimental sample sizes remain moderate, several bootstrap confidence intervals span more than 20 points, and paired exact tests confirm that most pairwise model rankings are not statistically distinguishable at the current sample sizes.
- Confounding in basis substitution is not fully eliminated: the authors note in Section 9 that changing the asked-about legal basis also changes the question itself; the empty-basis baseline and unconfounded resampling reduce this confounding but do not fully remove residual effects.
- Legal-Δ-14B weight reproduction deviation: the authors note in Section 9 that the public weights are a LoRA adapter and the original training base is not open-sourced; merging into the closest publicly released base model is a best-effort reproduction.
- Limited coverage of tested basis pairs: the authors note in Appendix N that only one or two basis pairs are evaluated per dataset, failing to cover provisions or precedent pairs with higher doctrinal similarity.
- Probing signal method is not unified: the authors note in Appendix N that ECHR uses a keyword-based heuristic classifier due to tokenization constraints, rather than the direct single-token logit lens read used for the other tasks.
- Spontaneous citation behavior not explored: the authors note in Appendix N that all experiments explicitly prompt the model to name the legal basis, and do not cover spontaneous citation scenarios without explicit prompting.
Experimental coverage
- A total of 7 models are tested, with parameter sizes ranging from 8B to 70B.
- The evaluation benchmarks include 4 datasets: ECHR, CaseHOLD, SCOTUS, and ContractNLI.
- The sample size per basis condition per dataset is fixed at n=30, with a single decoding random seed (seed=42).
- Prompt injection robustness testing is conducted only on ECHR Pair A across 5 general models.
- The paper does not report full coverage of longer texts (SCOTUS texts are truncated to the first 6000 characters).
Summarize the main content of the paper
Through basis substitution counterfactuals and internal commitment tracking, the authors find that legal CoT verdicts depend on the basis only to a limited degree and are vulnerable to prompt injection.
This study conducts an empirical audit of the causal authenticity of legal basis citations in chain-of-thought reasoning of large language models in the legal domain.
- Problem framing: large models often justify their verdicts by listing statutes or precedents, but there is no evidence that the final verdict causally depends on the cited basis, and adversarial robustness auditing is lacking.
- Method design: the authors propose a counterfactual intervention that fixes the case facts while substituting the target legal basis, apply logit lens decoding at reasoning sentence boundaries to locate commitment steps, and test compliance with adversarial instructions embedded in the facts.
- Core experimental findings: on judicial and contract benchmarks such as ECHR and SCOTUS, models' surface citation rates are generally close to 100%, but verdict substitution sensitivity is only 0.0% to 76.7% across models and tasks; on CaseHOLD, precedent-name substitution sensitivity is only 0.0%–21.7%.
- Adversarial risk exposure: in the ECHR Pair A test, the 5 models' compliance rates with malicious instructions mixed into the case facts reach 73.3%–96.4%, all substantially exceeding their basis substitution sensitivity, indicating that models are more easily swayed by spurious injections than by the basis itself.
- Conclusion and implications: the authors argue that merely mentioning a legal basis cannot serve as a reliable proxy for reasoning faithfulness, and systems that rely on model-generated legal explanations are vulnerable in both faithfulness and safety.