Continual Learning Evaluation › The Accuracy Matrix
Language AI HandbookAll chapters Continual Learning Evaluation › The Accuracy MatrixOne section · Sections in this chapter3 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The foundation of continual learning evaluation is a matrix of test accuracies recorded throughout training. After training on each task , you evaluate the model on every task seen so far. This produces an accuracy matrix , where entry is the accuracy on task immediately after training on task .
To understand what this matrix captures, consider a five-task example. Immediately after finishing task , you record a single row: the model's accuracy on itself. After finishing , you record two values: accuracy on (the new task) and accuracy on (which may have degraded). The matrix grows one row at a time:
where:
- is the test accuracy on task after the model has been trained sequentially through task
- (the diagonal) captures immediate performance right after the model finishes learning task
- for (lower-left entries) captures how well the model retains task after subsequent training on tasks
- is the total number of tasks
The diagonal entries represent the model at its best for each task in the sequential setting. The off-diagonal entries track degradation. A matrix with high diagonal values and off-diagonal values close to those diagonal values indicates excellent retention. A matrix where off-diagonal values collapse toward chance indicates catastrophic forgetting.
Reading the accuracy matrix provides an immediate visual diagnosis. If the matrix looks nearly uniform across every row for a given column, the model has maintained consistent performance on that task throughout training. If the entries in a column drop sharply from left to right (that is, from earlier rows to later ones), the model is forgetting that task as it learns new ones. If the diagonal entries are all high but the off-diagonal entries drop, that is the signature of a model that learns each task perfectly in isolation but loses what it once knew. If the diagonal entries themselves are lower than expected, the model has difficulty learning new tasks, perhaps because prior weight adjustments have made certain regions of parameter space harder to reach.
The matrix is the raw material from which every summary metric is derived. Rather than discarding all this information into a single number, the matrix preserves the full history of the model's performance trajectory. When you want to understand why a method works or fails, you return to the matrix and examine which entries change and by how much.
Before computing any continual learning metric, it is useful to record : the accuracy on task when a fresh model is trained on it in isolation, without any other tasks. This baseline captures the best the model can achieve on each task without interference from other tasks. Comparing against reveals how much continual training has helped or hurt retention of task . The baseline also provides the denominator for normalizing transfer metrics, and is a sanity check: any method that consistently performs far below on every task is failing to learn, not just to retain.