atlas

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

Train-Attention: Meta-Learning Where to Focus in Continual Knowledge Learning

NeurIPS 2024 · Continual learning › Continual fine-tuning of LLMs · approach: Continual pretraining of language models

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 TAALM, which meta-learns a Train-Attention model that predicts per-token weights for continual knowledge learning in causal LMs, and introduces the LAMA-ckl benchmark for plasticity-stability trade-off.

Problem

Continual knowledge learning (CKL) in LLMs suffers from catastrophic forgetting, and standard causal LM training applies uniform weights to all tokens, causing unnecessary parameter updates and forgetting. Existing benchmarks also fail to clearly show the learning-retention trade-off.

Approach

Define token importance as the expected downstream usefulness of a token and meta-learn a Train-Attention head (replacing the LM head with a single-output sigmoid-like scalar per position) that predicts token weights for token-weighted learning; the weights are optimized by the post-update loss on a related task, with the base model reset after each meta-step.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Train-Attention token weighting instead of standard QLoRA finetuningLlama2-7B · LAMA-cklTop Acc: 0.1150 -> 0.4290Helped
Apply Train-Attention token weighting instead of RHO-1 token selectionLlama2-7B · LAMA-cklTop Acc: 0.1410 -> 0.4290Helped
Apply Train-Attention token weighting instead of K-AdapterLlama2-7B · LAMA-cklNF Acc: 0.9980 -> 0.8983Hurt
Apply Train-Attention token weighting instead of RHO-1 token selectionTinyLlama-1B QLoRA · TWiki-Probes-0910 Avgperplexity: 4.507 -> 4.1435Helped
Apply Train-Attention token weighting instead of RHO-1 token selectionTinyLlama-1B QLoRA · TWiki-Probes-1011 Avgperplexity: 4.3775 -> 4.092Helped
Apply Train-Attention token weighting instead of RHO-1 token selectionTinyLlama-1B QLoRA · TWiki-Probes-1112 Avgperplexity: 4.594 -> 4.197Helped
Combine TAALM with Mix-review rather than use TAALM aloneLlama2-7B · LAMA-cklTop Acc: 0.4290 -> 0.4500Helped
Use Oracle token weights rather than uniform standard finetuning weightsLlama2-7B · LAMA-cklTop Acc: 0.1150 -> 0.5470Helped
Use BERT rather than Llama as the Train-Attention modelLlama2-7B TAALM · LAMA-cklTop Acc: 0.4290 -> 0.3210Hurt
Mask tokens in real time when the predicted importance matches the label (ablation)Train-Attention token weights · LAMA-cklperformanceHurt
Drop weights below the top k% token-importance threshold (ablation)Train-Attention token weights · LAMA-cklperformanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: LAMA (T-REx) TemporalWiki Wikipedia (BERT pretraining)

Benchmarks: LAMA-ckl TemporalWiki

Metrics: Top Acc Epoch NF Acc Total Knowledge perplexity on Changed/Unchanged sets

Baselines: Finetune (QLoRA) K-Adapter Mix-review (QLoRA) RecAdam (QLoRA) RHO-1 (QLoRA) Oracle token weight

Builds on: QLoRA K-Adapter RHO-1 TemporalWiki LAMA

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