Chain of Logic: Rule-Based Reasoning with Large Language Models
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Rule-based reasoning, a fundamental type of legal reasoning, enables us to draw conclusions by accurately applying a rule to a set of facts. We explore causal language models as rule-based reasoners, specifically with respect to compositional rules - rules consisting of multiple elements which form a complex logical expression. Reasoning about compositional rules is challenging because it requires multiple reasoning steps, and attending to the logical relationships between elements. We introduce a new prompting method, Chain of Logic, which elicits rule-based reasoning through decomposition (solving elements as independent threads of logic), and recomposition (recombining these sub-answers to resolve the underlying logical expression). This method was inspired by the IRAC (Issue, Rule, Application, Conclusion) framework, a sequential reasoning approach used by lawyers. We evaluate chain of logic across eight rule-based reasoning tasks involving three distinct compositional rules from the LegalBench benchmark and demonstrate it consistently outperforms other prompting methods, including chain of thought and self-ask, using open-source and commercial language models.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 30 of its 37 references that are in the map. First posted on arXiv 16 Feb 2024.
Builds on
30 of 37 references.
Closest ancestors · 2
Same direction, newest first
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models20 Aug
- 2023Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Prediction17 Jul
Other references · 28
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Mistral 7Bcited by 3,065
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
16 more
- 2018The Web as a Knowledge-base for Answering Complex Questionscited by 409
- 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 369
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
- 2019Neural Legal Judgment Prediction in Englishcited by 208
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2024Large Legal Fictions: Profiling Legal Hallucinations in Large Language Modelscited by 144
- 2020Break It Down: A Question Understanding Benchmarkcited by 131
- 2019Multi-hop Reading Comprehension through Question Decomposition and Rescoringcited by 119
- 2019JEC-QA: A Legal-Domain Question Answering Datasetcited by 115
- 2023System 2 Attention (is something you might need too)cited by 85
- 2018Interpretation of Natural Language Rules in Conversational Machine Readingcited by 72
- 2020Text Modular Networks: Learning to Decompose Tasks in the Language of Existing Modelscited by 65
- 2022GPT Takes the Bar Examcited by 65
- 2019Answering Complex Open-domain Questions Through Iterative Query Generationcited by 60
- 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
- 2023BLT: Can Large Language Models Handle Basic Legal Text?cited by 10
Built on by
Citing papers per year: 2024: 1; 2025: 12; 2026: 5.
18 papers.
Sort:
By area:
- 2025On Verifiable Legal Reasoning: A Multi-Agent Framework with Formalized Knowledge Representationscited by 16
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaborationcited by 14
- 2025Knowledge or Reasoning? A Close Look at How LLMs Think Across Domainscited by 14
- 2025Explainable Rule Application via Structured Prompting: A Neural-Symbolic Approachcited by 14
- 2025RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Samplingcited by 6
- 2025LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervisioncited by 6
- 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoningcited by 5
- 2025Rule2Text: Natural Language Explanation of Logical Rules in Knowledge Graphscited by 3
- 2025MASLegalBench: Benchmarking Multi-Agent Systems in Deductive Legal Reasoningcited by 3
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysiscited by 3
- 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demandcited by 3
- 2025Rule2Text: A Framework for Generating and Evaluating Natural Language Explanations of Knowledge Graph Rulescited by 2
6 more
- 2026Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Modelscited by 2
- 2025Do Biased Models Have Biased Thoughts?cited by 1
- 2026Structured Decomposition for LLM Reasoning: Cross-Domain Validation and Semantic Web Integrationcited by 1
- 2026Animating Petascale Time-varying Data on Commodity Hardware with LLM-assisted Scriptingcited by 1
- 2025JT-DA: Enhancing Data Analysis with Tool-Integrated Table Reasoning Large Language Modelscited by 0
- 2026Neurosymbolic Language Reasoning as Satisfiability Modulo Theorycited by 0
- 2026Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Models24 Aug 2026
- 2026Animating Petascale Time-varying Data on Commodity Hardware with LLM-assisted Scripting7 Mar 2026
- 2026Neurosymbolic Language Reasoning as Satisfiability Modulo Theory20 Feb 2026
- 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demand19 Jan 2026
- 2026Structured Decomposition for LLM Reasoning: Cross-Domain Validation and Semantic Web Integration4 Jan 2026
- 2025LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision20 Dec 2025
- 2025JT-DA: Enhancing Data Analysis with Tool-Integrated Table Reasoning Large Language Models7 Dec 2025
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysis20 Oct 2025
- 2025MASLegalBench: Benchmarking Multi-Agent Systems in Deductive Legal Reasoning29 Sep 2025
- 2025On Verifiable Legal Reasoning: A Multi-Agent Framework with Formalized Knowledge Representations31 Aug 2025
- 2025Rule2Text: A Framework for Generating and Evaluating Natural Language Explanations of Knowledge Graph Rules14 Aug 2025
- 2025Do Biased Models Have Biased Thoughts?8 Aug 2025
6 more
- 2025Rule2Text: Natural Language Explanation of Logical Rules in Knowledge Graphs31 Jul 2025
- 2025Explainable Rule Application via Structured Prompting: A Neural-Symbolic Approach19 Jun 2025
- 2025RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling10 Jun 2025
- 2025Knowledge or Reasoning? A Close Look at How LLMs Think Across Domains2 Jun 2025
- 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoning24 Feb 2025
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaboration3 Oct 2024
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaborationcited by 14
- 2025Knowledge or Reasoning? A Close Look at How LLMs Think Across Domainscited by 14
- 2025Explainable Rule Application via Structured Prompting: A Neural-Symbolic Approachcited by 14
- 2025RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Samplingcited by 6
- 2025LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervisioncited by 6
- 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoningcited by 5
- 2025MASLegalBench: Benchmarking Multi-Agent Systems in Deductive Legal Reasoningcited by 3
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysiscited by 3
- 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demandcited by 3
- 2026Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Modelscited by 2
- 2025Do Biased Models Have Biased Thoughts?cited by 1
- 2026Structured Decomposition for LLM Reasoning: Cross-Domain Validation and Semantic Web Integrationcited by 1
12 most cited of 14 All 14 (JSON)
- 2026Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Models24 Aug 2026
- 2026Neurosymbolic Language Reasoning as Satisfiability Modulo Theory20 Feb 2026
- 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demand19 Jan 2026
- 2026Structured Decomposition for LLM Reasoning: Cross-Domain Validation and Semantic Web Integration4 Jan 2026
- 2025LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision20 Dec 2025
- 2025JT-DA: Enhancing Data Analysis with Tool-Integrated Table Reasoning Large Language Models7 Dec 2025
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysis20 Oct 2025
- 2025MASLegalBench: Benchmarking Multi-Agent Systems in Deductive Legal Reasoning29 Sep 2025
- 2025Do Biased Models Have Biased Thoughts?8 Aug 2025
- 2025Explainable Rule Application via Structured Prompting: A Neural-Symbolic Approach19 Jun 2025
- 2025RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling10 Jun 2025
- 2025Knowledge or Reasoning? A Close Look at How LLMs Think Across Domains2 Jun 2025
12 newest of 14 All 14 (JSON)
- 2025On Verifiable Legal Reasoning: A Multi-Agent Framework with Formalized Knowledge Representationscited by 16
- 2025Rule2Text: Natural Language Explanation of Logical Rules in Knowledge Graphscited by 3
- 2025Rule2Text: A Framework for Generating and Evaluating Natural Language Explanations of Knowledge Graph Rulescited by 2
- 2026Animating Petascale Time-varying Data on Commodity Hardware with LLM-assisted Scriptingcited by 1
- 2026Animating Petascale Time-varying Data on Commodity Hardware with LLM-assisted Scripting7 Mar 2026
- 2025On Verifiable Legal Reasoning: A Multi-Agent Framework with Formalized Knowledge Representations31 Aug 2025
- 2025Rule2Text: A Framework for Generating and Evaluating Natural Language Explanations of Knowledge Graph Rules14 Aug 2025
- 2025Rule2Text: Natural Language Explanation of Logical Rules in Knowledge Graphs31 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Models
- 2026A Multi-Stage Rule-Chaining Framework for Compositional and Interpretable Cognitive Reasoning
- 2026LEGO: Synergizing Expert GraphRAG and Expert Chain-of-Thought for Legal Reasoning
- 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Models
- 2024A Chain-of-Thought Is as Strong as Its Weakest Link: A Benchmark for Verifiers of Reasoning Chains
- 2024Logic-of-Thought: Injecting Logic into Contexts for Full Reasoning in Large Language Models
- 2025Causal Sufficiency and Necessity Improves Chain-of-Thought Reasoning
- 2024Faithful Logical Reasoning via Symbolic Chain-of-Thought