atlas

Research map / Continual learning / Continual fine-tuning of LLMs

CMT: A Memory Compression Method for Continual Knowledge Learning of Large Language Models

AAAI 2025 · Continual learning › Continual fine-tuning of LLMs · approach: Continual pretraining of language models · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CMT, a frozen-LLM continual knowledge learning method that compresses new documents into a latent memory bank and aggregates them via cross-attention with memory-aware objective, self-matching, and top-k aggregation.

Problem

Continual knowledge learning for LLMs on streaming documents: adapting to new knowledge while retaining old knowledge, without the cost of retraining and without catastrophic forgetting.

Approach

Freeze the LLM and learn a document compressor that encodes each new document into soft memory tokens stored in a bank; a query-conditioned cross-attention aggregator maps the selected memories into cached key-value pairs for the LLM, with RoPE-based relative positions, a memory-aware contrastive logit objective, query-memory self-matching, and top-k memory filtering.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add Memory-Aware Objective (ablation)CMT · StreamingQAEM: 18.54 -> 18.36No clear effect
Add Memory-Aware Objective (ablation)CMT · StreamingQA, SQuAD, and ArchivalQAF1: 23.71 -> 25.98; 22.77 -> 25.50; 24.18 -> 25.40Helped
Add Memory-Aware Objective (ablation)CMT · SQuAD and ArchivalQAEM: 15.38 -> 19.54; 20.89 -> 21.73Helped
Add Self-Matching (ablation)CMT · StreamingQA and SQuADEM: 17.87 -> 18.36; 17.97 -> 19.54Helped
Add Self-Matching (ablation)CMT · StreamingQA and SQuADF1: 22.54 -> 25.98; 23.40 -> 25.50Helped
Add Self-Matching (ablation)CMT · ArchivalQAEM and F1: 22.43 -> 21.73; 25.68 -> 25.40Hurt
Add Top-k Aggregation (ablation)CMT · StreamingQA, SQuAD, and ArchivalQAEM: 16.43 -> 18.36; 18.35 -> 19.54; 21.09 -> 21.73Helped
Add Top-k Aggregation (ablation)CMT · StreamingQA, SQuAD, and ArchivalQAF1: 20.13 -> 25.98; 24.12 -> 25.50; 23.99 -> 25.40Helped

Surprising findings

Limitations

Experimental setup

Datasets: StreamingQA SQuAD ArchivalQA English Wikipedia

Benchmarks: StreamingQA SQuAD ArchivalQA

Metrics: Exact Match F1 knowledge retention F1 ratio relative F1 under irrelevant document proportion

Baselines: Uniform Salient Spans CaMeLS MAC

Builds on: Memory of Amortized Contexts (MAC) gisting AutoCompressor ICAE RoPE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy