TRACE: A Comprehensive Benchmark for Continual Learning in Large Language Models

Xiao Wang, Yuansen Zhang, Tianze Chen, Songyang Gao, Senjie Jin, Xianjun Yang, Zhiheng Xi, Rui Zheng, Yicheng Zou, Tao Gui, Qi Zhang, Xuanjing Huang · DOI

Introduction

In the rapidly evolving landscape of artificial intelligence, Large Language Models (LLMs) must frequently be updated with new domain-specific knowledge, languages, or specialized skills. However, retraining these massive models from scratch is computationally and environmentally prohibitive. Continual Learning (CL)—the process of incrementally training a model on new tasks—offers a solution, but it is plagued by "catastrophic forgetting," where learning new information overwrites previously acquired capabilities.

The TRACE Benchmark

To address the limitations of existing evaluation frameworks, researchers introduced TRACE, a challenging benchmark designed to measure how well aligned LLMs retain core intelligence while mastering new domains. TRACE standardizes eight complex datasets across four areas: domain-specific knowledge (e.g., ScienceQA, FOMC), multi-lingual capabilities (e.g., C-STANCE), code completion (Py150), and mathematical reasoning (NumGLUE).

The TRACE framework evaluates sequential training across diverse domains using novel Delta metrics.

A key innovation of TRACE is the introduction of three "Delta" metrics that move beyond simple task accuracy to measure the "soul" of the model:

  • General Ability Delta: Quantifies the loss in factual knowledge and reasoning (via MMLU and BBH).
  • Instruction Following Delta: Evaluates the model's continued adherence to human prompt formats.
  • Safety Delta: Ensures the model remains helpful and harmless after updates.

Reasoning-augmented Continual Learning (RCL)

The researchers identified a significant "alignment tax": as models learn new tasks, their reasoning and instruction-following abilities often collapse. For example, a Llama-2-7B-Chat model's accuracy on math benchmarks dropped from 26% to nearly 3% after sequential training, and in some cases, accuracy plummeted from 28% to just 2%.

To mitigate this, they proposed Reasoning-augmented Continual Learning (RCL). Instead of training on simple input-output pairs, RCL utilizes GPT-4 to generate "Question -> Reasoning Path -> Answer" triplets. By training the model on the underlying logic rather than just the final answer, RCL helps preserve the model's core reasoning circuits.

Key Results and Insights

The study revealed that instruction following is particularly fragile; even if a model remains "smart," its willingness to follow specific prompt formats is often the first thing to break. While Experience Replay (retaining 10% of old data) remains highly effective, RCL offers a data-efficient alternative. RCL allowed a model trained on only 500 samples to match the performance of a standard model trained on 5,000 samples, while improving instruction retention by 8% compared to standard sequential fine-tuning.

Evaluation of helpfulness and safety win rates against the base model for various continual learning strategies.

Interestingly, the researchers found a "multilingual exception": learning new languages occasionally improved cross-linguistic transfer rather than causing forgetting. Conversely, full-parameter tuning (SeqFT) was found to "fit" complex tasks better than Parameter-Efficient Fine-Tuning (LoRA), though it resulted in more aggressive forgetting of prior knowledge.

Conclusion

TRACE highlights the critical need for benchmarks that evaluate the holistic capabilities of LLMs during incremental updates. While RCL provides a promising path forward by leveraging reasoning as a "glue" for model intelligence, challenges remain regarding the computational cost of generating high-quality rationales and scaling these methods to larger models.

Summary updated

BibTeX
@misc{wang2023trace,
  author = {Xiao Wang and Yuansen Zhang and Tianze Chen and Songyang Gao and Senjie Jin and Xianjun Yang and Zhiheng Xi and Rui Zheng and Yicheng Zou and Tao Gui and Qi Zhang and Xuanjing Huang},
  title = {{TRACE: A Comprehensive Benchmark for Continual Learning in Large Language Models}},
  year = {2023},
  eprint = {2310.06762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.06762},
}
Figure