Cortex: Consolidating Context into Parametric Memory
Not on the map. Why?
Abstract (arXiv)
Context can improve large language model performance, but these gains may be lost after context removal. Inspired by biological systems consolidation, we formulate Memory Consolidation (MC) as internalizing these gains while preserving non-target capabilities, connecting context-specified editing, skill learning, and behavioral steering under a common objective. We introduce a five-task-family testbed measuring consolidation and retention under single, batch, and sequential updates. We propose Cortex, which generates prospective queries to anticipate uses of context and distills context-conditioned outputs into mergeable low-rank or structural feed-forward network updates. Across 4B--120B dense and mixture-of-experts backbones, including both text-only and multimodal models, Cortex lies on the empirical consolidation--retention Pareto frontier in most evaluated settings. After 50 sequential factual edits on a 14B model, Cortex-Structural recovers 88.9% of the context-induced gain while retaining 99.8% of original non-target performance.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). First posted on arXiv 14 Oct 2026.
Builds on
0 of 0 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Spontaneous Context Restoration: How Language Models Recover from Corrupted Inputs
- 2025In-Context Learning can Perform Continual Learning Like Humans
- 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scale
- 2026Memory Depth, Not Memory Access: Selective Parametric Consolidation for Long-Running Language Agents
- 2026Where Does Robustness Live? Neuron-Guided Adaptation for Retrieval-Augmented Language Models
- 2025RECALL: REpresentation-aligned Catastrophic-forgetting ALLeviation via Hierarchical Model Merging
- 2026Self-Consolidating Language Models: Continual Knowledge Incorporation from Context
- 2026Retain or Consolidate? Budget-Dependent Operator Selection for Language Agent Memory