Learning Equi-Angular Representations for Online Continual Learning

Minhyuk Seo, Hyunseo Koh, Wonje Jeung, Minjae Lee, San Kim, Hankook Lee, Sungjun Cho, Sungik Choi, Hyunwoo Kim, Jonghyun Choi

Introduction

Online Continual Learning (CL) represents one of the most challenging frontiers in machine learning. Unlike traditional batch learning, where a model iterates over a static dataset multiple times, online CL requires a model to learn from a continuous stream of data seen only once. This constraint typically leads to two primary failures: underfitting, where the model fails to reach the "Terminal Phase of Training" (TPT) due to limited exposure, and the bias problem, where the model's representation space becomes over-specialized to early classes, leading to catastrophic forgetting of previous knowledge as new data arrives.

To address these issues, researchers have introduced EARL (Equi-Angular Representation Learning). This framework leverages the phenomenon of Neural Collapse (NC)—a state where class features naturally converge into a perfectly symmetrical, maximally separated geometric structure—to provide a stable and robust foundation for learning in dynamic environments.

The Challenges of Online Continual Learning

In a standard training regime, neural networks eventually reach a state where the within-class feature variance collapses to zero, and the class centers form a Simplex Equiangular Tight Frame (ETF). However, in the "hard mode" of online CL, the model rarely reaches this state.

  1. The Underfitting Hurdle: A single pass through data is insufficient for features to become well-separated. This results in "fuzzy" class boundaries that are easily disrupted by new information.
  2. The Bias Problem: As new classes are introduced, the model tends to cluster them near existing representations. This lack of "pre-allocated" space for future knowledge causes the model to overwrite old features to accommodate new ones.

The EARL Framework

EARL addresses these challenges through three integrated pillars designed to enforce geometric symmetry and anticipate future data.

1. Fixed ETF Classifier

Rather than treating the final classification layer as a set of learnable weights, EARL fixes these weights at the start of training. These weights are arranged in a Simplex Equiangular Tight Frame (ETF). In this configuration, every class vector is positioned at the maximum possible equal angle from every other vector. By fixing the classifier, the model is forced to map features into a pre-optimized, stable geometric target, preventing "minority collapse" where rare or late-arriving classes are squashed in the feature space.

2. Preparatory Data Training (PDT)

To combat the bias problem, the model must learn to reserve space for classes it has not yet encountered. EARL achieves this through Preparatory Data Training. The system takes images from the current memory buffer and applies "negative augmentations," such as 90, 180, or 270-degree rotations. Since a rotated object is semantically distinct from its upright counterpart, these images serve as proxies for future, unseen classes. This teaches the model to maintain an open representation space, preventing it from greedily over-allocating its capacity to the initial data stream.

3. Residual Correction (RC)

Because online models are inherently underfitted, a feature $f(x)$ often fails to reach its intended target ETF vector $w_y$. EARL introduces a Residual Correction mechanism to bridge this gap. During training, the model stores the "residual" (the error vector between the feature and the target). At inference time, the model performs a $k$-nearest neighbor search in its memory to calculate a weighted average of stored residuals. It then "nudges" the test feature toward the correct target, effectively correcting for underfitting in real-time.

Experimental Evaluation

The authors evaluated EARL against state-of-the-art (SOTA) methods—including ER, DER++, and MEMO—across several benchmarks:

  • Small-scale: CIFAR-10, CIFAR-100, and TinyImageNet.
  • Large-scale: ImageNet-200 and the gold-standard ImageNet-1K.

Testing was conducted under both Disjoint scenarios (strict class blocks) and Gaussian-Scheduled scenarios (overlapping, shifting class distributions). A key metric used was AAUC (Area Under the Accuracy Curve), which evaluates the model's performance at every point in the stream, rather than just the final state. This "anytime inference" capability is vital for real-world applications like robotics.

Key Results and Insights

EARL demonstrated significant performance gains across the board:

  • ImageNet-1K Superiority: On the massive ImageNet-1K benchmark, EARL achieved a 34.33% AAUC, outperforming the next best method (REMIND) by nearly 2%.
  • Efficiency: Despite the addition of residual memory, the overhead remains minimal (approximately 0.2MB for CIFAR-10). This makes EARL significantly more memory-efficient than methods requiring Fisher Information matrices or network expansion.
  • Ablation Studies: Experiments confirmed that both PDT and RC are essential. Removing PDT leads to increased bias toward early classes, while removing RC leaves the model vulnerable to the effects of underfitting.

Conclusion and Future Work

EARL proves that geometric symmetry and anticipatory learning are powerful tools for stabilizing online continual learning. By enforcing a Simplex ETF structure and simulating future data, the model achieves a level of robustness previously unseen in single-pass learning scenarios.

While highly effective, the current iteration of EARL is limited by the fixed capacity of the embedding space ($d+1$ classes). Future research may explore dynamically expanding ETF structures to accommodate an infinite stream of concepts while preserving the mathematical elegance of Neural Collapse. Additionally, exploring different types of "negative augmentations" for non-visual data (such as audio or text) could expand EARL's utility across other domains of machine learning.

Summary updated

BibTeX
@inproceedings{seo2024learning,
  author = {Minhyuk Seo and Hyunseo Koh and Wonje Jeung and Minjae Lee and San Kim and Hankook Lee and Sungjun Cho and Sungik Choi and Hyunwoo Kim and Jonghyun Choi},
  title = {{Learning Equi-Angular Representations for Online Continual Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure