mlsanityData to 7 Oct 2026

Chain of Logic: Rule-Based Reasoning with Large Language Models

arXiv 2402.10400 ↗First posted 16 Feb 2024cs.CLcited by 18

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

  1. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models20 Aug
  2. 2023Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Prediction17 Jul

Other references · 28

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  7. 2023Mistral 7Bcited by 3,065
  8. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  9. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  10. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
  11. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  12. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
16 more
  1. 2018The Web as a Knowledge-base for Answering Complex Questionscited by 409
  2. 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 369
  3. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
  4. 2019Neural Legal Judgment Prediction in Englishcited by 208
  5. 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
  6. 2024Large Legal Fictions: Profiling Legal Hallucinations in Large Language Modelscited by 144
  7. 2020Break It Down: A Question Understanding Benchmarkcited by 131
  8. 2019Multi-hop Reading Comprehension through Question Decomposition and Rescoringcited by 119
  9. 2019JEC-QA: A Legal-Domain Question Answering Datasetcited by 115
  10. 2023System 2 Attention (is something you might need too)cited by 85
  11. 2018Interpretation of Natural Language Rules in Conversational Machine Readingcited by 72
  12. 2020Text Modular Networks: Learning to Decompose Tasks in the Language of Existing Modelscited by 65
  13. 2022GPT Takes the Bar Examcited by 65
  14. 2019Answering Complex Open-domain Questions Through Iterative Query Generationcited by 60
  15. 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
  16. 2023BLT: Can Large Language Models Handle Basic Legal Text?cited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 12; 2026: 5.

18 papers.

Sort:

By area:

  1. 2025On Verifiable Legal Reasoning: A Multi-Agent Framework with Formalized Knowledge Representationscited by 16
  2. 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaborationcited by 14
  3. 2025Knowledge or Reasoning? A Close Look at How LLMs Think Across Domainscited by 14
  4. 2025Explainable Rule Application via Structured Prompting: A Neural-Symbolic Approachcited by 14
  5. 2025RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Samplingcited by 6
  6. 2025LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervisioncited by 6
  7. 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoningcited by 5
  8. 2025Rule2Text: Natural Language Explanation of Logical Rules in Knowledge Graphscited by 3
  9. 2025MASLegalBench: Benchmarking Multi-Agent Systems in Deductive Legal Reasoningcited by 3
  10. 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysiscited by 3
  11. 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demandcited by 3
  12. 2025Rule2Text: A Framework for Generating and Evaluating Natural Language Explanations of Knowledge Graph Rulescited by 2
6 more
  1. 2026Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Modelscited by 2
  2. 2025Do Biased Models Have Biased Thoughts?cited by 1
  3. 2026Structured Decomposition for LLM Reasoning: Cross-Domain Validation and Semantic Web Integrationcited by 1
  4. 2026Animating Petascale Time-varying Data on Commodity Hardware with LLM-assisted Scriptingcited by 1
  5. 2025JT-DA: Enhancing Data Analysis with Tool-Integrated Table Reasoning Large Language Modelscited by 0
  6. 2026Neurosymbolic Language Reasoning as Satisfiability Modulo Theorycited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Models
  2. 2026A Multi-Stage Rule-Chaining Framework for Compositional and Interpretable Cognitive Reasoning
  3. 2026LEGO: Synergizing Expert GraphRAG and Expert Chain-of-Thought for Legal Reasoning
  4. 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Models
  5. 2024A Chain-of-Thought Is as Strong as Its Weakest Link: A Benchmark for Verifiers of Reasoning Chains
  6. 2024Logic-of-Thought: Injecting Logic into Contexts for Full Reasoning in Large Language Models
  7. 2025Causal Sufficiency and Necessity Improves Chain-of-Thought Reasoning
  8. 2024Faithful Logical Reasoning via Symbolic Chain-of-Thought