MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning
Summary
MILES is a framework that improves LLM reasoning by dynamically expanding step-wise memory with learnable selection heads, achieving better accuracy-efficiency tradeoffs.
View Cached Full Text
Cached at: 07/09/26, 07:49 AM
# MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning Source: [https://arxiv.org/abs/2607.06974](https://arxiv.org/abs/2607.06974) [View PDF](https://arxiv.org/pdf/2607.06974) > Abstract:Large language models \(LLMs\) increasingly improve their reasoning at test time via additional computation, yet most existing works treat each problem in isolation\. When problems arrive sequentially, accumulating reusable experience across them can further improve performance\. Existing memory\-based methods either store whole\-solution templates that generalize poorly to novel problems or use heuristic step\-level selection that is not optimized for final\-answer correctness\. Learning selection policies requires large\-scale training data and fixed action spaces, making such approaches unsuitable for test\-time settings where memory expands incrementally and only limited supervision is available\. We propose MILES \(Modular Instruction Memory with LEarnable Selection for self\-improving LLM reasoning\), a framework that dynamically expands step\-wise memory and applies correctness\-optimized memory composition under realistic test\-time constraints\. MILES maintains modular memory units consisting of asymmetric pairs of sub\-goal embeddings and sub\-instructions, each associated with a learnable selection head\. This memory structure enables a coarse\-to\-fine retrieval mechanism: The coarse level enables memory expansion and collects supervision for training selection heads from confident samples, while the fine stage applies learned selection heads to rerank coarse\-level candidates and guide reasoning for uncertain samples\. MILES consistently matches or outperforms prior methods while achieving superior accuracy\-efficiency tradeoffs\. Extensive experiments demonstrate its effectiveness, robustness, and transferability\. ## Submission history From: Ruilin Tong \[[view email](https://arxiv.org/show-email/c2323e39/2607.06974)\] **\[v1\]**Wed, 8 Jul 2026 03:51:37 UTC \(1,089 KB\)
Similar Articles
STRIDE: Learnable Stepwise Language Feedback for LLM Reasoning
STRIDE introduces a training framework that uses learnable stepwise language feedback instead of scalar rewards to improve LLM reasoning, achieving state-of-the-art results on diverse benchmarks.
ISM:Self-Improving Strategy Memory for Continual Mathematical Reasoning
ISM introduces a self-evolving memory system that stores and refines strategy schemas to improve mathematical reasoning for frozen LLMs under continual learning, outperforming baselines on MATH-Hard and OlympiadBench.
EvolveMem:Self-Evolving Memory Architecture via AutoResearch for LLM Agents
EvolveMem introduces a self-evolving memory architecture for LLM agents that optimizes retrieval configurations through LLM-powered diagnosis and iterative research cycles, achieving significant performance improvements on benchmarks like LoCoMo and MemBench.
REAL: A Reasoning-Enhanced Graph Framework for Long-Term Memory Management of LLMs
REAL is a reasoning-enhanced graph framework for long-term memory management of LLMs that uses temporal and confidence-aware directed property graphs with non-destructive temporal updates and hybrid beam search retrieval, achieving an average improvement of 22.72%.
Metacognition as Reward: Reinforcing LLM Reasoning via Knowledge and Regulation Signals
Introduces Metacognition-as-Reward (MaR), a reinforcement learning framework that guides LLM reasoning via metacognitive knowledge and regulation signals, achieving up to 11% improvement over vanilla methods on reasoning benchmarks.