The MILES framework, introduced by Ruilin Tong and Dong Gong, revolutionizes large language model (LLM) reasoning by implementing a modular instruction memory system that allows for dynamic memory expansion and optimized selection. This innovative approach, detailed in their recent paper submitted on July 8, 2026, addresses the limitations of existing memory-based methods in handling sequential problem-solving.
Understanding the MILES Framework
MILES, which stands for Modular Instruction Memory with LEarnable Selection, is designed to improve LLM performance by accumulating reusable experiences from sequential problems. Unlike traditional methods that store whole-solution templates, MILES maintains modular memory units that consist of asymmetric pairs of sub-goal embeddings and sub-instructions. Each of these units is linked to a learnable selection head, enhancing the model's ability to retrieve relevant information efficiently.
This framework implements a coarse-to-fine retrieval mechanism. At the coarse level, memory expansion occurs, allowing the collection of supervision for training selection heads from confident samples. The fine stage then utilizes these learned selection heads to rerank candidates, guiding the reasoning process for uncertain samples. This dual-layered approach ensures that MILES can adapt to new challenges without losing efficiency.
Performance and Efficiency of MILES
Extensive experiments reveal that MILES consistently matches or surpasses prior methods, boasting superior accuracy-efficiency tradeoffs. The framework's design allows it to operate effectively under realistic test-time constraints, making it a significant advancement in the field of computation and language.





