English

Long Context Modeling with Ranked Memory-Augmented Retrieval

Information Retrieval 2026-05-19 v3 Artificial Intelligence Machine Learning

Abstract

Effective long-term memory management is crucial for language models handling extended contexts. We introduce the Enhanced Ranked Memory Augmented Retrieval (ERMAR) framework, which dynamically ranks memory entries based on relevance. Unlike prior models, ERMAR employs a novel relevance scoring mechanism and a pointwise re-ranking model for key-value embeddings, inspired by learning-to-rank techniques in information retrieval. By integrating historical usage patterns and adaptive retrieval, ERMAR achieves state-of-the-art results on standard benchmarks, demonstrating superior scalability and performance in long-context tasks.

Keywords

Cite

@article{arxiv.2503.14800,
  title  = {Long Context Modeling with Ranked Memory-Augmented Retrieval},
  author = {Ghadir Alselwi and Hao Xue and Shoaib Jameel and Basem Suleiman and Flora D. Salim and Imran Razzak},
  journal= {arXiv preprint arXiv:2503.14800},
  year   = {2026}
}
R2 v1 2026-06-28T22:26:05.209Z