TL;DR
This paper reveals a critical flaw in how we evaluate continual learning for Large Language Models (LLMs): accuracy retention often masks a much faster degradation of uncertainty reliability (conformal coverage). The authors propose "calibration replay," a simple, efficient method that restores coverage without sacrificing accuracy, highlighting the need for more holistic evaluation metrics in continual learning.
What Problem Does This Paper Address?
When we fine-tune LLMs for new tasks, we want them to maintain their performance on old tasks. The standard approach focuses on preserving accuracy – ensuring the model still gives the right answers. However, for LLMs used in decision-support systems, it's equally crucial that the model knows when it doesn't know. This is measured by calibration and conformal coverage, which quantify how reliably the model's confidence reflects its actual accuracy. This paper argues that current continual learning methods, while good at maintaining accuracy, often fail to preserve this crucial uncertainty reliability. This can lead to models that are confidently wrong, a serious issue for real-world deployment. The authors investigate how much coverage degrades compared to accuracy during sequential fine-tuning and propose a solution.
Methods
The core of the paper's methodology involves:
- Empirical Evaluation: They fine-tune three LLM families (Pythia, Llama-3, Mistral) across eight diverse sequential fine-tuning scenarios (classification, multiple-choice QA, and even exploratory generation). For each step, they meticulously track not only accuracy but also conformal coverage and calibration error.
- Analysis of Existing Methods: They test ten standard continual learning methods (e.g., EWC, experience replay) to see if they inherently preserve coverage.
- Calibration Baselines: They compare several naive recalibration strategies (pooled, rolling-window, temperature scaling) against their proposed method.
- Calibration Replay: This is the paper's novel contribution. It's a lightweight, post-hoc procedure. For each task, a small, task-specific buffer of calibration examples is maintained. After each model update, the conformal threshold is refit using this buffer. This avoids retraining the LLM and adds minimal memory overhead.
- Theoretical Analysis: They provide a drift decomposition to separate model-induced score drift from task-distribution drift, a finite-sample recovery theorem for per-task calibration replay, and a proposition explaining why pooled thresholds are insufficient.
Datasets
The paper uses a variety of datasets for evaluation, primarily focusing on classification and multiple-choice QA tasks. These include:
- GLUE and SuperGLUE benchmarks: Standard NLP benchmarks for evaluating language understanding.
- Domain-specific QA: SQuAD adapted for legal (CaseHOLD) and medical (MedQA) domains.
- MMLU: A broad benchmark covering diverse subjects, used here in a difficulty-escalation sequence.
- News-article classification: Used for a topic-drift sequence.
- HumanEval and MBPP: Used for exploratory evaluation on open-ended code generation tasks.
The paper does not introduce new datasets but rather uses existing ones in novel sequential fine-tuning scenarios.
Key Insights and Ideas
- Coverage Collapse is Real and Faster than Accuracy Loss: The most striking finding is that conformal coverage can degrade significantly before accuracy shows a comparable drop. This means models can become confidently wrong much earlier than they become broadly wrong.
- Standard CL Methods Fail on Coverage: Accuracy-preserving continual learning methods do not automatically preserve uncertainty reliability. They often leave coverage to drift substantially.
- Score Drift, Not Just Accuracy Drift, is the Culprit: The paper empirically shows that changes in the model's internal score distributions (nonconformity scores) are the primary driver of coverage loss, not just changes in the final prediction.
- Per-Task Calibration is Key: Naive recalibration methods (like pooling scores across all tasks) are insufficient. Maintaining task-specific calibration thresholds is crucial for restoring coverage guarantees.
- Calibration Replay is Efficient and Effective: The proposed method is computationally cheap, requires minimal memory, and effectively restores coverage to near-nominal levels.
Key Results
- Coverage Loss Factor: Across classification-style settings, coverage loss is roughly 3.4 times greater than accuracy loss. In some cases, coverage dropped from 0.92 to 0.61 while accuracy only decreased by 3 points.
- Calibration Replay Performance: With a buffer size of just 200 examples per task, calibration replay restores coverage to within two points of nominal across most settings.
- Efficiency: Calibration replay adds no training-time gradient cost and uses less than one percent of the memory of ordinary experience replay.
- Theoretical Guarantees: The paper provides theoretical backing for per-task calibration replay, proving exact finite-sample validity and bounding the required buffer size.
Limitations and Future Work
- Formal Guarantees for Generation: The formal guarantees of calibration replay apply to classification-style tasks. While exploratory results on open-ended generation are presented, they use a surrogate coverage metric and come with caveats, suggesting this is an area for future work.
- Deployment Assumptions: The theoretical recovery theorem assumes access to labeled calibration data per task, which is standard for continual learning benchmarks but might not hold in all real-world deployments.
- Sequential Fine-Tuning Focus: The results are for sequential supervised fine-tuning, not continual pre-training, federated adaptation, or unlearning.
- Future Work: The authors suggest extending their work to other continual learning paradigms and exploring more sophisticated generation coverage metrics. They also emphasize the need for benchmarks that incorporate coverage and calibration alongside accuracy.
Summary updated