方向性吸引子在LLM推理中的作用:相似性检索如何引导迭代摘要推理
Directional Attractors in LLM Reasoning: How Similarity Retrieval Steers Iterative Summarization Based Reasoning
AI总结:
本文提出InftyThink与跨链记忆,通过语义引理检索提升LLM在结构化领域推理准确性,同时揭示异构领域中的失败模式及方向性偏见影响。
摘要:
迭代摘要基于推理框架,如InftyThink,通过控制上下文增长在大型语言模型(LLMs)中实现长视界推理,但它们在不同任务中反复生成相似的推理策略。我们引入了InftyThink与跨链记忆的扩展,该扩展通过基于嵌入的语义缓存增强了迭代推理,存储了之前成功的推理模式。在每一步推理中,模型检索并基于最语义相似的存储引理进行条件处理,从而引导推理而不随意扩展上下文窗口。在MATH500、AIME2024和GPQA-Diamond上的实验表明,语义引理检索在结构化领域提高了准确性,同时在包含异构领域的测试中暴露了失败模式。对推理轨迹的几何分析显示,缓存检索在嵌入空间中诱导了方向性偏见,导致一致的固定(提高基线准确性)和破裂(基线准确性下降)吸引子。我们的结果突显了基于相似性的记忆在自我改进LLM推理中的优势和局限性。
英文摘要:
Iterative summarization based reasoning frameworks such as InftyThink enable long-horizon reasoning in large language models (LLMs) by controlling context growth, but they repeatedly regenerate similar reasoning strategies across tasks. We introduce InftyThink with Cross-Chain Memory, an extension that augments iterative reasoning with an embedding-based semantic cache of previously successful reasoning patterns. At each reasoning step, the model retrieves and conditions on the most semantically similar stored lemmas, guiding inference without expanding the context window indiscriminately. Experiments on MATH500, AIME2024, and GPQA-Diamond demonstrate that semantic lemma retrieval improves accuracy in structured domains while exposing failure modes in tests that include heterogeneous domains. Geometric analyses of reasoning trajectories reveal that cache retrieval induces directional biases in embedding space, leading to consistent fix (improve baseline accuracy) and break (degradation in baseline accuracy) attractors. Our results highlight both the benefits and limits of similarity-based memory for self-improving LLM reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。