arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.02842cs.AIcs.CLcs.LG
收藏

模拟链:一种用于大语言模型的双模式推理框架,具有动态问题路由

Chain of Simulation: A Dual-Mode Reasoning Framework for Large Language Models with Dynamic Problem Routing

Faculty of Information Technology(信息科技学院);Electrical Engineering University of Oulu, Oulu, Finland, 90014(奥卢大学电气工程学院)

Saeid Sheikhi

AI总结:

CoS是一种双模式推理框架,通过动态问题路由提升大语言模型的推理能力,实现更高效的准确性和效率平衡。

摘要:

我们提出了Chain of Simulation(CoS),一种新颖的双模式推理框架,能够动态地将问题路由到大语言模型(LLMs)中的专门推理策略。与现有的统一提示方法不同,CoS采用三种不同的推理模式:(1)用于数学问题的计算流与自一致性,(2)用于空间推理的符号状态跟踪与JSON表示,(3)用于多跳推理的混合事实提取。通过在GSM8K、StrategyQA和bAbI基准测试中使用四种最先进的模型(Gemma-3 27B、LLaMA-3.1 8B、Mistral 7B和Qwen-2.5 14B)进行全面评估,我们证明CoS在GSM8K上达到71.5%的准确率(绝对提升1.0%),在StrategyQA上达到90.0%(提升2.5%),在bAbI上达到19.0%(相对提升65.2%),相比最强基线。分析表明,问题特定的模式选择至关重要,当正确应用于数学问题时,计算模式达到81.2%的准确率,而错误路由导致0%的准确率。我们提供了详细的算法用于模式选择、状态跟踪和答案提取,确立了CoS作为提高LLM推理能力的有效方法,无需额外训练。该框架在准确性和效率之间提供了优于Self-Consistency的优越折衷,以54%更低的计算成本达到可比性能。

英文摘要:

We present Chain of Simulation (CoS), a novel dual-mode reasoning framework that dynamically routes problems to specialized reasoning strategies in Large Language Models (LLMs). Unlike existing uniform prompting approaches, CoS employs three distinct reasoning modes: (1) computational flow with self-consistency for mathematical problems, (2) symbolic state tracking with JSON representations for spatial reasoning, and (3) hybrid fact-extraction for multi-hop inference. Through comprehensive evaluation on GSM8K, StrategyQA, and bAbI benchmarks using four state-of-the-art models (Gemma-3 27B, LLaMA-3.1 8B, Mistral 7B, and Qwen-2.5 14B), we demonstrate that CoS achieves 71.5% accuracy on GSM8K (1.0% absolute improvement), 90.0% on StrategyQA (2.5% improvement), and 19.0% on bAbI (65.2% relative improvement) compared to the strongest baselines. The analysis reveals that problem-specific mode selection is crucial, with computational mode achieving 81.2% accuracy when correctly applied to mathematical problems, while misrouting leads to 0% accuracy. We provide detailed algorithms for mode selection, state tracking, and answer extraction, establishing CoS as an effective approach for improving LLM reasoning without additional training. The framework provides superior trade-offs between accuracy and efficiency compared to Self-Consistency, achieving comparable performance at 54% lower computational cost.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑