mlsanityData to 7 Oct 2026

The Compressor-Retriever Architecture for Language Model OS

arXiv 2409.01495 ↗First posted 2 Sep 2024cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Recent advancements in large language models (LLMs) have significantly enhanced their capacity to aggregate and process information across multiple modalities, enabling them to perform a wide range of tasks such as multimodal data querying, tool usage, web interactions, and handling long documents. These capabilities pave the way for transforming LLMs from mere chatbots into general-purpose agents capable of interacting with the real world. This paper explores the concept of using a language model as the core component of an operating system (OS), effectively acting as a CPU that processes data stored in a context window, which functions as RAM. A key challenge in realizing such an LM OS is managing the life-long context and ensuring statefulness across sessions, a feature limited by the current session-based interaction paradigm due to context window size limit. To address this, we introduce compressor-retriever, a model-agnostic architecture designed for life-long context management. Unlike other long-context solutions such as retrieval-augmented generation, our approach exclusively uses the base model's forward function to compress and retrieve context, ensuring end-to-end differentiability. Preliminary experiments demonstrate the effectiveness of this architecture in in-context learning tasks, marking a step towards the development of a fully stateful LLM OS. Project repo available at: https://github.com/gblackout/LM-OS

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 21 of its 22 references that are in the map. First posted on arXiv 2 Sep 2024.

Builds on

21 of 22 references.

References · 21

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2023Visual Instruction Tuningcited by 7,792
  5. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  9. 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 424
  10. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  11. 2023Adapting Language Models to Compress Contextscited by 350
  12. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
9 more
  1. 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 238
  2. 2022FOLIO: Natural Language Reasoning with First-Order Logiccited by 233
  3. 2020ReClor: A Reading Comprehension Dataset Requiring Logical Reasoningcited by 211
  4. 2022Recurrent Memory Transformercited by 197
  5. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
  6. 2024OmniACT: A Dataset and Benchmark for Enabling Multimodal Generalist Autonomous Agents for Desktop and Webcited by 156
  7. 2021proScript: Partially Ordered Scripts Generation via Pre-trained Language Modelscited by 21
  8. 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compressioncited by 18
  9. 2024Can LLMs Reason in the Wild with Programs?cited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models
  2. 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
  3. 2025MemOS: A Memory OS for AI System
  4. 2023Retrieval meets Long Context Large Language Models
  5. 2024Two are better than one: Context window extension with multi-grained self-injection
  6. 2026Contextual Memory Virtualisation: DAG-Based State Management and Structurally Lossless Trimming for LLM Agents
  7. 2024An Effective Framework to Help Large Language Models Handle Numeric-involved Long-context Tasks
  8. 2026GSM: Efficient Language Modeling with Shared Global State