Abstract
Large Language Models (LLMs) often struggle with long-range reasoning tasks due to "causal hallucinations" and exponential search space growth. This paper introduces CreDes (Causal Reasoning Enhancement and Dual-End Searching), a framework that aligns internal logic with physical state transitions. By combining a causality-based loss function (CRE) with a bi-directional search strategy (DES), CreDes enables 7B-parameter models to outperform 70B-parameter models in complex planning and optimization tasks.
Introduction
While LLMs excel at one-step logic, multi-step planning remains a significant bottleneck. The authors identify two primary issues: causal hallucinations, where a model's reasoning diverges from the actual state of the world, and search space explosion, where unidirectional search paths grow exponentially with task length. CreDes addresses these by enforcing causal consistency during training and optimizing the search process during inference.
Methodology
The CreDes framework consists of two core components designed to improve reasoning reliability and efficiency.
Causal Relationship Enhancement (CRE)
Standard LLMs are trained using cross-entropy loss, which focuses on token correlation rather than causation. CRE incorporates Structural Causal Modeling (SCM) into the training process. It utilizes the Individual Treatment Effect (ITE) to quantify the causal impact of a reasoning step on the resulting state. By embedding this causality measure into the loss function, the model is trained to ensure that correct reasoning steps directly cause correct state transitions, effectively penalizing hallucinations.
Dual-End Searching (DES)
To mitigate search space explosion, DES employs a bi-directional approach. Instead of searching forward from the start state to the goal, it simultaneously constructs causal probability trees from both ends. By searching for an intersection in the middle, DES reduces a complex $N$-step problem into two simpler $N/2$-step segments. This strategy significantly decreases computational complexity and improves inference speed through parallel reasoning.
Experimental Evaluation
CreDes was evaluated on several classic reasoning benchmarks, including Blocksworld (planning), GSM8K (math), and Hanoi Tower (logic puzzle).
Key Results
- Outperforming Giants: A Llama-2-7B model equipped with CreDes achieved a 34% success rate on 12-step Blocksworld tasks. In contrast, a much larger Llama-2-70B model using the state-of-the-art RAP (Reasoning via Planning) method only achieved 9%.
- Accuracy Boost: On the GSM8K math dataset, accuracy improved from 47% (using standard Chain-of-Thought) to 92% for the 7B model.
- Efficiency: CreDes proved significantly faster than MCTS-based methods like RAP, with the time-saving gap widening as the number of reasoning steps increased.
Discussion and Limitations
CreDes demonstrates that prioritizing causality over simple correlation allows smaller models to achieve state-of-the-art reasoning capabilities. However, challenges remain in tasks with rigid sequential constraints, such as Hanoi Tower, where the model's accuracy is lower due to strict precedence rules. Future work will focus on refining the framework for these scenarios and exploring applications in embodied AI.
Conclusion
CreDes provides a robust solution to long-range reasoning in LLMs by aligning reasoning with causal state transitions and optimizing search efficiency. This approach paves the way for more reliable and scalable AI planning systems that can operate effectively even with smaller model architectures.
Summary updated