Chain of Logic: Rule-Based Reasoning with Large Language Models
Servantez, Sergio, Barrow, Joe, Hammond, Kristian, Jain, Rajiv
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Feb-23-2024
- Country:
- Asia (0.04)
- North America
- Dominican Republic (0.04)
- United States
- Montana (0.04)
- New York > New York County
- New York City (0.04)
- California (0.04)
- Illinois (0.04)
- Oklahoma (0.04)
- North Dakota (0.04)
- New Hampshire (0.04)
- Hawaii (0.04)
- Connecticut (0.04)
- Oregon (0.04)
- Arizona (0.05)
- Wisconsin (0.04)
- Texas (0.04)
- Arkansas (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Genre:
- Research Report (0.50)
- Industry:
- Technology: