mlsanityData to 14 Oct 2026

TokMem: One-Token Procedural Memory for Large Language Models

arXiv 2510.00444 ↗First posted 1 Oct 2025cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Large language models are typically controlled via prompts, which must be repeatedly re-processed for every new query and are difficult to reuse modularly. We introduce TokMem, a procedural memory framework that compiles each reusable task procedure into a single trainable memory token. Each token serves as both a procedure index and a generation control signal that steers generation, enabling targeted behaviors with constant-size overhead. TokMem keeps the backbone LLM frozen and stores procedural knowledge entirely in these dedicated units, so new procedures can be added continually without interfering with existing ones. We evaluate TokMem on two settings: atomic recall over 1,000 Super-Natural Instructions tasks and compositional recall on multi-step function-calling. Our results show that TokMem consistently outperforms retrieval-augmented prompting while avoiding repeated context overhead. Moreover, it matches or exceeds parameter-efficient fine-tuning with substantially fewer trainable parameters.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 42 of its 50 references that are in the map. First posted on arXiv 1 Oct 2025.

Builds on

42 of 50 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  9. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  10. 2024Qwen2.5 Technical Reportcited by 4,942
  11. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  12. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
30 more
  1. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  2. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  3. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  5. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  6. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  7. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
  8. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  9. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  10. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  11. 2021Learning to Prompt for Continual Learningcited by 944
  12. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
  13. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  14. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  15. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
  16. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  17. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  18. 2023Adapting Language Models to Compress Contextscited by 356
  19. 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasetscited by 198
  20. 2017Routing Networks: Adaptive Selection of Non-linear Functions for Multi-Task Learningcited by 126
  21. 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 108
  22. 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 93
  23. 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 74
  24. 2023RET-LLM: Towards a General Read-Write Memory for Large Language Modelscited by 64
  25. 2024Mixture-of-LoRAs: An Efficient Multitask Tuning for Large Language Modelscited by 38
  26. 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 28
  27. 2018Progressive Memory Banks for Incremental Domain Adaptationcited by 12
  28. 2023Zero-Shot Continuous Prompt Transfer: Generalizing Task Semantics Across Language Modelscited by 7
  29. 2025Memory Tokens: Large Language Models Can Generate Reversible Sentence Embeddingscited by 6
  30. 2025Ultra-Low-Dimensional Prompt Tuning via Random Projectioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Benchmark for Procedural Memory Retrieval in Language Agents
  2. 2026Generalizable Self-Evolving Memory for Automatic Prompt Optimization
  3. 2026From Memory to Guide: Spatio-Temporal Composer for Procedural Coding Memory
  4. 2025Memp: Exploring Agent Procedural Memory
  5. 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models
  6. 2026Procedural Knowledge at Scale Improves Reasoning
  7. 2026Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents
  8. 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Framework