Exploring Data Geometry for Continual Learning

Zhi Gao, Chen Xu, Feng Li, Yunde Jia, Mehrtash Harandi, Yuwei Wu

Introduction

Continual learning (CL) remains one of the most significant hurdles in the quest for robust artificial intelligence. The primary challenge is catastrophic forgetting: as a model learns a sequence of new tasks, it tends to overwrite the parameters necessary for performing previous ones. While existing strategies—such as replaying old data or freezing critical weights—have made strides, they almost universally rely on a fundamental assumption: that data resides in a flat, Euclidean space.

Published at CVPR 2023, "Exploring Data Geometry for Continual Learning" challenges this assumption. The authors argue that forcing complex, non-Euclidean data into a Euclidean bottleneck causes significant semantic distortion, which exacerbates forgetting. By embracing mixed-curvature geometries and dynamic space expansion, this research provides a novel framework for more resilient sequential learning.

The Problem: The Euclidean Constraint

In standard machine learning, features are typically represented as vectors in Euclidean space. However, real-world data often possesses intrinsic non-Euclidean structures:

  • Hierarchical Data: Biological taxonomies or organizational structures are best represented in hyperbolic space (negative curvature), which expands exponentially like a tree.
  • Cyclical Data: Periodic patterns or angular data are more naturally suited to spherical space (positive curvature).

When a model is forced to map these structures into a flat space, it loses the geometric relationships that define the data's meaning. Furthermore, as a model encounters more tasks, the complexity of the underlying geometry grows. A fixed-geometry approach is often too rigid to accommodate the evolving "shape" of knowledge over time.

Methodology: Dynamic Mixed-Curvature Spaces

To address these limitations, the paper introduces a three-pronged approach to handle the evolving geometry of a data stream.

1. Mixed-Curvature Manifolds

Rather than committing to a single geometry, the model utilizes a product of multiple submanifolds, including hyperbolic, spherical, and Euclidean components. This allows the model to capture diverse structural relationships—representing hierarchical features in one region and cyclical features in another.

2. Geometry Incremental Search (GIS)

To ensure the model's internal representation can grow alongside the data, the authors propose Geometry Incremental Search (GIS). For every new task, the model evaluates a pool of potential submanifolds. It identifies the curvatures that best represent the new data and integrates them into the existing mixed-curvature space. This dynamic expansion provides the model with the necessary "breathing room" to incorporate new concepts without displacing old ones.

3. Geometric Structure Preserving Losses

To mitigate forgetting, the authors focus on preserving the relationships between data points rather than just the raw feature values. They introduce two specialized loss functions:

  • Angular-Regularization Loss ($L_{global}$): This ensures that the global angles between instances of old data (stored in a small memory buffer) remain consistent as the model updates.
  • Neighbor-Robustness Loss ($L_{local}$): This focuses on local neighborhoods, ensuring that instances of the same class remain clustered together while different classes remain distinct within the newly expanded geometric space.

Experimental Results

The researchers evaluated the proposed method on standard benchmarks, including CIFAR-100 and Tiny-ImageNet, across various incremental settings (e.g., learning 50 classes initially, followed by steps of 10).

Performance Highlights

  • Accuracy Gains: On CIFAR-100 (B50-S5 setting), the method achieved 56.03% accuracy, outperforming strong Euclidean baselines like LUCIR (54.71%) and fixed-hyperbolic methods like HFA (55.55%).
  • Reduced Forgetting: The method demonstrated significantly lower Average Forgetting (AF) scores compared to standard replay methods like iCaRL, particularly in challenging scenarios with many small incremental steps.
  • Ablation Insights: The GIS mechanism alone contributed approximately a 3% improvement in final accuracy, validating the hypothesis that adapting the geometric space is as critical as the learning algorithm itself.

Conclusion and Future Directions

This research demonstrates that geometry is a powerful regularizer for continual learning. By allowing the model's internal "universe" to expand and adapt its curvature, we can preserve the semantic integrity of old knowledge while making room for the new.

While the current implementation relies on a finite pool of submanifolds, the authors suggest that future work could involve "infinite" or fully learned submanifold dimensions. This would move the field toward truly organic models that shape their own internal architecture to match the complexity of the world they perceive.

Summary updated

BibTeX
@inproceedings{gao2023exploring,
  author = {Zhi Gao and Chen Xu and Feng Li and Yunde Jia and Mehrtash Harandi and Yuwei Wu},
  title = {{Exploring Data Geometry for Continual Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure