Can LLMs Reason Soundly in Law? Auditing Inference Patterns for Legal Judgment
Lu Chen, Yuxuan Huang, Yixing Li, Dongrui Liu, Qihan Ren, Shuai Zhao, Kun Kuang, Zilong Zheng, Quanshi Zhang
摘要
This paper presents a method to analyze the inference patterns used by Large Language Models (LLMs) for judgment in a case study on legal LLMs, so as to identify potential incorrect representations of the LLM, according to human domain knowledge. Unlike traditional evaluations on language generation results, we propose to evaluate the correctness of the detailed inference patterns of an LLM behind its seemingly correct outputs. To this end, we quantify the interactions between input phrases used by the LLM as primitive inference patterns, because recent theoretical achievements (26; 42) have proven several mathematical guarantees of the faithfulness of the interaction-based explanation. We design a set of metrics to evaluate the detailed inference patterns of LLMs. Experiments show that even when the language generation results appear correct, a significant portion of the inference patterns used by the LLM for the legal judgment may represent misleading or irrelevant logic 1 . He is with the Department of Computer Science and Engineering, the John Hopcroft Center, at the Shanghai Jiao Tong University, China. 1 The names used in the legal cases follow an alphabetical convention, e.g., Andy, Bob, Charlie, etc., which do not represent any bias against actual individuals. On the (A) morning of December 22, 2013, the defendants Andy and Bob deceived Charlie and the three of them (B) had an argument. Andy (C) chased Charlie (D) with an axe and (E) bit Charlie, causing Charlie to be (F) slightly injured. Bob (G) hit Charlie (H) with a shovel, (I) injuring Charlie and causing Charlie's (J) death. Irrelevant phrases Relevant phrases Forbidden phrases Input legal case 𝒙 LLM's output 𝒗("𝐴𝑠𝑠𝑎𝑢𝑙𝑡"|𝒙) Input legal case 𝒙 Equivalently modeling Rel iab le inte rac tion effe cts Un re lia bl e in te ra ct io n ef fe ct s 𝑅 !
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- TruthfulQA: Measuring How Models Mimic Human Falsehoods 引用了 Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback 引用了 TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Training language models to follow instructions with human feedback
它引用的 Paper16
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 次引用
- The Shapley Taylor Interaction IndexMukund Sundararajan, Kedar Dhamdhere, Ashish AgarwalICML 2020 · 199 次引用
- How Do Transformers Learn Topic Structure: Towards a Mechanistic UnderstandingYuchen Li, Yuanzhi Li, Andrej RisteskiICML 2023 · 87 次引用
相关 Paper
- KoBLEX: Open Legal Question Answering with Multi-hop ReasoningJihyung Lee, Daehui Kim, Seonjeong Hwang, Hyounghun Kim 等EMNLP 2025
- Conditional and Modal Reasoning in Large Language ModelsWesley H. Holliday, Matthew Mandelkern, Cedegao ZhangEMNLP 2024 · 5 次引用
- Evaluating Test-Time Scaling LLMs for Legal Reasoning: OpenAI o1, DeepSeek-R1, and BeyondYinghao Hu, Yaoyao Yu, Leilei Gan, Bin Wei 等EMNLP Findings 2025 · 1 次引用
- Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMsSiyuan Wang, Zhongyu Wei, Yejin Choi, Xiang RenACL 2024
- Real-World Summarization: When Evaluation Reaches Its LimitsPatrícia Schmidtová, Ondrej Dusek, Saad MahamoodEMNLP Findings 2025
