MARS: Memory-Aware Routing for Session-Level LLM Assistants
Not on the map. Why?
Abstract (arXiv)
Long-term LLM assistants must repeatedly decide what prior context to expose and which model should answer as an interaction evolves. Existing memory systems and model routers usually make these decisions separately, although memory construction changes the evidence, distractors, and difficulty of the resulting input. We introduce MARS, a memory-aware routing framework that uses session state as a shared control interface between memory construction and model selection. A Query and Topic Manager (QTM) estimates compact decision-relevant state that guides a fixed state-conditioned memory policy and an online router, enabling each turn to receive an appropriate memory view and a suitable model under a quality-memory-cost trade-off. We evaluate MARS on RealMem and MultiChallenge with 16 system configurations each, covering long-history memory-driven interaction and bounded sessions with structured context interference. On RealMem, MARS preserves 98.2% of full-context GPT-4o's QA while using only 14.5% of its generation API cost, including both generation and controller calls for MARS, and achieves the strongest measured memory-recall and retrieval scores among compared systems. On MultiChallenge, MARS trails the strongest static system overall but approaches its performance at lower recorded cost on a mechanism-focused subset. Together, these results support a favorable quality-memory-cost trade-off for long-history, memory-dependent interaction.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 19 of its 29 references that are in the map. Submitted 16 Oct 2026.
Builds on
19 of 29 references.
References · 19
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,253
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 1,000
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 977
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 809
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 701
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 421
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 279
7 more
- 2025MultiChallenge: A Realistic Multi-Turn Conversation Evaluation Benchmark Challenging to Frontier LLMscited by 196
- 2023Large Language Model Routing with Benchmark Datasetscited by 186
- 2024MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMscited by 47
- 2024MBA-RAG: a Bandit Approach for Adaptive Retrieval-Augmented Generation through Question Complexitycited by 31
- 2026RealMem: Benchmarking LLMs in Real-World Memory-Driven Interactioncited by 24
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolutioncited by 23
- 2025Learning to Route LLMs from Bandit Feedback: One Policy, Many Trade-offscited by 18
Built on by
Not cited yet.