cd /news/large-language-models/miles-modular-instruction-memory-wit… · home topics large-language-models article
[ARTICLE · art-52006] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning

Researchers propose MILES, a framework that enables large language models to accumulate and reuse step-wise reasoning experience across sequential problems, improving accuracy and efficiency without requiring large-scale training data. MILES uses modular memory units with learnable selection heads to dynamically compose relevant instructions, outperforming prior methods on reasoning benchmarks.

read1 min views1 publishedJul 9, 2026

arXiv:2607.06974v1 Announce Type: new 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.

── more in #large-language-models 4 stories · sorted by recency
── more on @miles 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/miles-modular-instru…] indexed:0 read:1min 2026-07-09 ·