用可逆分层马尔可夫链提升大模型数学推理效率与准确性
Cognitive Loop of Thought: Reversible Hierarchical Markov Chain for Efficient Mathematical Reasoning
- 构建分层可逆马尔可夫链,模拟人类认知闭环推理
- 在AddSub数据集上达99.0%准确率,优于传统方法4.1个百分点
- 适合需要高效高精度数学推理的场景,如智能教育系统
多步思维链(CoT)显著提升了大语言模型的数学推理能力,但长思维链常导致序列长度超出计算限制。现有方法虽通过类马尔可夫结构减少键值缓存冗余,却存在固有记忆缺失和后向推理能力受限的问题。为此,本文提出基于可逆分层马尔可夫链的新型思维链框架——认知环思维链(CLoT),并构建后向推理数据集CLoT-Instruct。CLoT将问题分解为具有层级依赖的子问题,借鉴人类认知过程,在每层引入后向验证机制,并设计剪枝策略:一旦高层子问题被验证,冗余低层子问题即被移除,以最大化效率。该方法有效抑制错误传播,增强推理鲁棒性。在四个数学基准上的实验表明,使用GPT-4o-mini模型时,于AddSub数据集上达到99.0%准确率,较传统CoT和CoT-SC分别提升4.1%和2.9%。
原文摘要 · Abstract (English)
Multi-step Chain-of-Thought (CoT) has significantly advanced the mathematical reasoning capabilities of LLMs by leveraging explicit reasoning steps. However, the widespread adoption of Long CoT often results in sequence lengths that exceed manageable computational limits. While existing approaches attempt to alleviate this by reducing KV Cache redundancy via Markov chain-like structures, they introduce two critical limitations: inherent memorylessness (loss of context) and limited backward reasoning capability. To address these limitations, we propose a novel Chain-of-Thought framework based on Reversible Hierarchical Markov Chain, termed Cognitive Loop of Thought (CLoT), and a backward reasoning dataset CLoT-Instruct. In CLoT, problems are decomposed into sub-problems with hierarchical dependencies. Inspired by human cognitive processes, we introduce a backward verification mechanism at each hierarchical layer. Furthermore, we implement a pruning strategy: once higher-level sub-problems are verified, redundant lower-level sub-problems are pruned to maximize efficiency. This approach effectively mitigates error propagation and enhances reasoning robustness. Experiments on four mathematical benchmarks demonstrate the effectiveness of our method. Notably, on the AddSub dataset using GPT-4o-mini, CLoT achieves 99.0% accuracy, outperforming traditional CoT and CoT-SC by 4.1% and 2.9%, respectively.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。