Towards Evolving Context Parameterization for Large Language Models
Organizations: Nanyang Technological University · Peking University
Abstract
Context parameterization enables large language models (LLMs) to internalize contexts into reusable model parameters, avoiding repeated processing across subsequent queries. However, existing methods typically assume static contexts and lack explicit mechanisms for distinguishing validity states under continual updates. To study this real-world scenario, we formalized the Memory Updating with Sequential Evolution (MUSE) task and constructed MUSE-bench to evaluate update incorporation and unaffected-information preservation. The resulting challenge requires preserving the global state while adjusting the contribution of memory evidence. Motivated by this, we proposed PLUME, a training-free method that constructs a global update representation, activates memory evidence to form a local parameter view, and adaptively integrates their predictions during decoding. Comprehensive evaluation on MUSE-bench demonstrated PLUME's effectiveness in sequential evolution settings, yielding relative improvements of 29.9% in average ROUGE-L Recall and 54.9% in LLM-as-a-Judge. Our codes are available at: https://github.com/xiaobingshi-LLM/PLUME.
Figures & tables
| Method | SQuAD Recall LLM | ROPES Recall LLM | 2Wiki Recall LLM | MFQA Recall LLM | QASPER Recall LLM | |||||
| \SetRow ht=abovesep=belowsep= Qwen-3 | ||||||||||
| \SetHline 1-110.5pt,solid Base w/ Context (oracle) | 95.86 | 91.69 | 97.82 | 95.91 | 60.11 | 52.35 | 64.50 | 60.08 | 61.75 | 53.95 |
| CD (oracle) | 94.93 | 91.75 | 98.31 | 97.52 | 68.51 | 65.44 | 66.24 | 61.17 | 62.46 | 55.81 |
| D2L (oracle) | 76.77 | 64.92 | 85.57 | 80.39 | 43.13 | 38.33 | 28.80 | 20.34 | 22.98 | 15.80 |
| \SetHline 1-110.5pt,solid Base w/o Context | 24.61 | 15.19 | 82.88 | 64.99 | 31.75 | 24.67 | 22.48 | 11.33 | 1.28 | 1.89 |
| AnyEdit | 15.77 | 12.44 | 76.43 | 67.48 | 16.25 | 15.00 | 13.23 | 9.25 | 7.40 | 4.02 |
| Method | GSM8K | CRUXEval | ||
| Recall | LLM | Recall | LLM | |
| Qwen3 | ||||
| w/ Context (oracle) | 54.21 | 52.76 | 68.43 | 55.37 |
| CD (oracle) | 51.54 | 50.83 | 65.07 | 53.20 |
| D2L (oracle) | 36.23 | 30.24 | 44.09 | 20.50 |
| w/o Context | 15.21 | 7.82 | 37.75 | 4.62 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| \SetRow bg=black!6 Dataset | Contexts | QA pairs | Avg. context tokens |
| SQuAD | 2,067 | 10,570 | 328.3 |
| ROPES | 203 | 1,688 | 434.6 |
| 2WikiMultihopQA | 300 | 300 | 18,539.8 |
| MultiFieldQA-en | 150 | 150 | 14,068.8 |
| QASPER | 224 | 224 | 12,424.7 |
| MUSE-Bench | 2,944 | 12,932 | 3,811.9 |
| \SetRow bg=black!6 Base model | D2L checkpoint | Base rank | Target |
| Qwen3-4B | Qwen D2L-20k | 8 | MLP down |
| Gemma-2-2B | Gemma D2L-20k | 8 | MLP down |
| \SetRow bg=black!6 Setting | Iterative | Batched |
| Context coverage | Complete history | Complete history |
| Maximum chunk length | 8,192 | 8,192 |
| Chunk construction | Near-equal, contiguous | Near-equal, contiguous |
| Layer execution | Sequential | Joint batched pass |
| Base LoRA rank | 8 | 8 |
| Target module | down_proj | down_proj |
| \SetRow bg=black!6 Setting | PLUME |
| Maximum context-chunk length | 8,192 |
| Evidence activation | Relevance with recency margin |
| Number of activated units | 1 |
| Recency margin | 0.5 |
| / | 1 / 0.75 |
| / | 1 / 0.3 |
| Method | SQuAD | 2Wiki | ||
| Mem. (GiB) | Lat. (s/document) | Mem. (GiB) | Lat. (s/document) | |
| CD (oracle) | 3.568 | 56.600 | 22.376 | 950.085 |
| AnyEdit | 6.332 | 18.754 | 55.028 | 4099.473 |
| CD | 48.708 | 451.827 | 51.956 | 489.059 |
| D2L | 0.438 | 0.466 | 11.536 | 1.841 |
| PLUME | 0.438 | 0.447 | 11.536 | 1.832 |
| Method | SQuAD | 2Wiki | ||
| Mem. (GiB) | Lat. (s/query) | Mem. (GiB) | Lat. (s/query) | |
| w/ Context (oracle) | 0.208 | 1.972 | 1.749 | 1.194 |
| CD (oracle) | 0.057 | 1.663 | 0.053 | 4.709 |
| w/o Context | 0.047 | 6.467 | 0.042 | 0.924 |
| AnyEdit | 0.042 | 4.789 | 0.046 | 4.709 |
| CD | 0.026 | 1.906 | 0.032 | 5.718 |
Persistent Memory for Language Models
Persistent memory for language models studies how models retain, update, and use information across interactions and beyond their context windows.
See all 272 papers