Research Papers 论文研究 1d ago Updated 1d ago 更新于 1天前 49

MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning MILES:用于自我改进的LLM推理的可学习选择模块化指令记忆

MILES introduces a modular instruction memory framework that dynamically expands step-wise memory to accumulate reusable experience across sequential problems. The system utilizes asymmetric pairs of sub-goal embeddings and sub-instructions, paired with learnable selection heads to optimize for final-answer correctness. A coarse-to-fine retrieval mechanism allows for memory expansion and supervision collection from confident samples, while refining reasoning for uncertain ones. MILES achieves su 提出MILES框架,通过模块化指令记忆解决LLM在测试时推理中缺乏跨问题经验积累的问题。 采用粗到细的检索机制,利用自信样本进行记忆扩展和选择头训练,对不确定样本进行重排序引导。 存储非对称的子目标嵌入与子指令对,优化最终答案正确性,而非仅依赖启发式步骤选择。 在真实测试时间约束下实现动态记忆扩展,显著提升了准确率与效率的权衡表现。 实验验证了该方法在鲁棒性、可迁移性及超越现有基线方法方面的有效性。

65
Hot 热度
75
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • MILES introduces a modular instruction memory framework that dynamically expands step-wise memory to accumulate reusable experience across sequential problems.
  • The system utilizes asymmetric pairs of sub-goal embeddings and sub-instructions, paired with learnable selection heads to optimize for final-answer correctness.
  • A coarse-to-fine retrieval mechanism allows for memory expansion and supervision collection from confident samples, while refining reasoning for uncertain ones.
  • MILES achieves superior accuracy-efficiency trade-offs compared to prior methods that rely on rigid templates or heuristic selection.
  • The approach addresses the limitation of isolated problem solving by enabling self-improving LLM reasoning under realistic test-time constraints with limited supervision.

Why It Matters

This research is critical for advancing test-time compute strategies, moving beyond static prompting to dynamic, experience-based reasoning that improves over time. For practitioners, it offers a viable path to enhance LLM reliability in sequential tasks without requiring extensive pre-training data or fixed action spaces. It bridges the gap between heuristic memory usage and learned selection policies, making self-improvement feasible in low-supervision environments.

Technical Details

  • Modular Memory Units: The core architecture stores asymmetric pairs of sub-goal embeddings and sub-instructions, allowing for granular reuse of reasoning steps rather than whole-solution templates.
  • Learnable Selection Heads: Each memory unit is associated with a selection head trained to predict correctness, replacing heuristic step-level selection with a learned policy optimized for final answer accuracy.
  • Coarse-to-Fine Retrieval: The process involves a coarse stage for memory expansion and gathering supervision from confident samples, followed by a fine stage where learned heads rerank candidates to guide reasoning for uncertain samples.
  • Incremental Adaptation: The framework is designed for test-time settings where memory expands incrementally, handling the challenge of limited supervision by leveraging confident samples for training selection policies.

Industry Insight

  • Shift to Dynamic Memory: Organizations should prioritize developing dynamic memory systems that evolve with usage, rather than relying on static prompt libraries or one-off solutions.
  • Efficiency in Test-Time Compute: Implementing coarse-to-fine retrieval mechanisms can significantly reduce computational overhead while maintaining or improving accuracy, a key factor for scalable AI deployment.
  • Self-Improvement Pipelines: Integrating learnable selection policies into LLM workflows can create systems that autonomously improve their reasoning capabilities over time, reducing the need for frequent model retraining.

TL;DR

  • 提出MILES框架,通过模块化指令记忆解决LLM在测试时推理中缺乏跨问题经验积累的问题。
  • 采用粗到细的检索机制,利用自信样本进行记忆扩展和选择头训练,对不确定样本进行重排序引导。
  • 存储非对称的子目标嵌入与子指令对,优化最终答案正确性,而非仅依赖启发式步骤选择。
  • 在真实测试时间约束下实现动态记忆扩展,显著提升了准确率与效率的权衡表现。
  • 实验验证了该方法在鲁棒性、可迁移性及超越现有基线方法方面的有效性。

为什么值得看

本文针对大语言模型在测试时推理(Test-Time Reasoning)中孤立处理问题的痛点,提出了具备自我改进能力的记忆机制,为提升模型在连续任务中的表现提供了新思路。其“粗到细”的选择策略有效解决了测试时数据稀缺和记忆动态扩展的挑战,对构建更智能、自适应的推理系统具有重要参考价值。

技术解析

  • 核心架构:MILES维护模块化记忆单元,由非对称的子目标嵌入(sub-goal embeddings)和子指令(sub-instructions)组成,每个单元关联一个可学习的选择头(learnable selection head)。
  • 检索机制:采用两阶段检索。粗粒度阶段用于记忆扩展,并从自信样本中收集监督信号以训练选择头;细粒度阶段利用已学习的选择头对候选项重排序,指导不确定样本的推理过程。
  • 问题解决:克服了现有方法存储完整解决方案模板泛化能力差,或仅使用未优化最终答案正确性的启发式步骤选择的缺陷。
  • 性能表现:在多种基准测试中,MILES保持一致或优于先前方法的表现,特别是在准确率与计算效率的权衡上表现突出,证明了其在资源受限环境下的实用性。

行业启示

  • 测试时计算的价值:随着模型规模增长,利用测试时的额外计算和动态记忆来增强推理能力将成为重要趋势,企业应关注此类自适应推理技术的落地应用。
  • 记忆模块化的重要性:将经验分解为细粒度的模块化单元(如子目标)比存储整体模板更具泛化能力,这为设计更高效的知识库和记忆检索系统提供了架构指导。
  • 数据效率优化:在缺乏大规模标注数据的测试时场景中,利用模型自身的置信度进行自我监督和选择策略优化,是降低对外部标注依赖的有效路径。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Research 科学研究 Fine-tuning 微调