Abstract
Cortex consolidates context-induced improvements into mergeable low-rank or structural updates, preserving non-target capabilities across sequential edits and diverse model scales.
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.
Community
Cortex turns context-induced performance gains into mergeable parameter updates, enabling LLMs to internalize new knowledge while preserving existing capabilities for continual learning.
This is an automated message from the ResearchStudio team.
We created an interactive ResearchStudio Reel for this paper. It includes a visual poster, a video, and a blog, all available for download in editable formats.
Open the ResearchStudio Reel →
Download all files from Hugging Face
Please give this comment a thumbs up if you find the Reel helpful!
Want to explore or create Reels for more papers? Visit the ResearchStudio demo.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Not Every Change Is Necessary: Recoverable Drift in Large Language Model Unlearning (2026)
- RPMem: Learning Long-Term Recurrent Parametric Memory Across Sessions for LLM Agents (2026)
- DPPM: Dual-Path Parametric Memory for Personalized Language Models (2026)
- Continual Learning Mechanisms Compose for Long-Horizon Memorization (2026)
- Dual-Layer Agentic Memory with Fast Write Routing and Slow Consolidation (2026)
- Inline Memory Meets Reusable Skills: Memory-centric Framework for Vision-Language-Action Model (2026)
- Learn Here, Move Less Elsewhere: Input-Conditioned Plasticity from Retained-Domain Activation Atlases (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
