← Flash PapersCortex: Consolidating Context into Parametric Memory — Research Breakdown

Share this Flash Paper

Cortex: Consolidating Context into Parametric Memory — Research Breakdown

https://flashpapers.ai/p/93jdtrwdy7
Make your own
Jintian Zhang, Feng He +6 more
Details ▸
Consolidation Rate (CR):88.9%· ZsRE 50 sequential editsRetention Rate (RR):99.8%· ZsRE 50 sequential edits (MMLU, SQA, GSM8K)Repetition Termination Rate:0.0%· ZsRE Continual Checkpoint 50Trainable Parameters per Edit:0.74M· Cortex Structural (k=1) on 14B modelAgent Consolidation Rate:133.3%· ALFWorld valid_unseen (Qwen2.5-14B)Batch API Learning CR:73.7%· 15 Novel Python Packages (pass@1)
Abstract

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.