[Paper Review] LAMBADA: Backward Chaining for Automated Reasoning in Natural Language
LAMBADA introduces a backward chaining approach for automated reasoning in natural language using large language models (LMs), decomposing reasoning into four modular, few-shot prompted LM components: goal decomposition, rule selection, fact checking, and sign agreement. It achieves significant accuracy gains over forward-chaining methods on complex logical reasoning tasks, especially for deep reasoning chains, while being more query-efficient and less prone to spurious proof traces.
Remarkable progress has been made on automated reasoning with natural text, by using Language Models (LMs) and methods such as Chain-of-Thought and Selection-Inference. These techniques search for proofs in the forward direction from axioms to the conclusion, which suffers from a combinatorial explosion of the search space, and thus high failure rates for problems requiring longer chains of reasoning. The classical automated reasoning literature has shown that reasoning in the backward direction (i.e. from the intended conclusion to supporting axioms) is significantly more efficient at proof-finding. Importing this intuition into the LM setting, we develop a Backward Chaining algorithm, called LAMBADA, that decomposes reasoning into four sub-modules. These sub-modules are simply implemented by few-shot prompted LM inference. We show that LAMBADA achieves sizable accuracy boosts over state-of-the-art forward reasoning methods on challenging logical reasoning datasets, particularly when deep and accurate proof chains are required.
Motivation & Objective
- To address the limitations of forward-chaining reasoning in LMs, which suffers from combinatorial explosion and high failure rates on long reasoning chains.
- To explore whether backward chaining—common in classical automated reasoning—can be effectively adapted to LMs for natural language reasoning.
- To develop a modular, few-shot prompted LM system that uses backward chaining for proof planning while relying on LMs for textual understanding and inference.
- To improve accuracy and reliability in deductive reasoning tasks involving naturalistic text, particularly for problems requiring deep chains of reasoning.
- To reduce reliance on spurious correlations and improve robustness compared to fine-tuned or implicitly reasoning LMs.
Proposed method
- Decomposes reasoning into four sub-modules: goal decomposition, rule selection, fact checking, and sign agreement, each implemented via few-shot prompted LM inference.
- Uses backward chaining to start from the goal and recursively break it into sub-goals, avoiding the combinatorial search of forward chaining.
- Employs a two-stage process: first, selects relevant rules based on implication patterns; second, verifies if selected facts support or contradict the goal.
- Applies a sign agreement module to check consistency between the goal’s logical sign and rule implications, improving reliability.
- Uses iterative fact selection and verification (via Algorithm 3) to test whether a fact supports, contradicts, or is unrelated to the goal.
- Leverages few-shot prompting to guide each module without fine-tuning, enabling zero-shot generalization across reasoning tasks.
Experimental results
Research questions
- RQ1Can backward chaining in LMs significantly improve performance on complex logical reasoning tasks compared to forward-chaining methods?
- RQ2Does a modular, backward-chaining approach reduce the failure rate in long reasoning chains compared to standard chain-of-thought prompting?
- RQ3Can few-shot prompted LMs reliably implement backward chaining components like rule selection, fact verification, and goal decomposition?
- RQ4To what extent does LAMBADA avoid learning spurious correlations that plague fine-tuned LMs on reasoning tasks?
- RQ5How does LAMBADA compare in query efficiency and reasoning chain validity to other modular LM-based reasoning frameworks?
Key findings
- LAMBADA achieves substantial accuracy improvements over state-of-the-art forward reasoning methods on the ParaRules subset of ProofWriter, particularly on problems requiring deeper reasoning chains.
- The model is significantly more likely to generate valid reasoning chains compared to forward methods, which often produce correct conclusions via spurious or incorrect proof traces.
- LAMBADA demonstrates higher query efficiency than other modular reasoning approaches, due to its goal-directed, backward-chaining structure.
- The method reduces reliance on spurious correlations—common in fine-tuned LMs—by focusing on logical structure and consistency checks.
- Backward chaining proves more effective than forward chaining in LMs for natural language reasoning, especially in tasks with up to 5-hop reasoning depth.
- The sign agreement and iterative fact checking modules contribute to improved reliability and reduced false positives in proof verification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.