TL;DR
Teaching a neural network new visual categories sequentially usually makes it forget older ones—unless you store old data or class prototypes as reminders. This paper shows you can ditch that memory bank entirely when adapting CLIP: by routing updates through hyperbolic space, you can mathematically "squish" how far features are allowed to drift, preserving old knowledge by structural design rather than replay.
What Problem Does This Paper Address?
Imagine teaching an AI to recognize dogs today, cars tomorrow, and sushi next week, without ever letting it review old flashcards. This is Class-Incremental Learning (CIL), and its classic nemesis is catastrophic forgetting: optimizing for sushi overwrites the neural pathways needed for dogs.
Pretrained vision-language models like CLIP give us a massive head start because they already map images and text into a shared geometric space. To adapt CLIP to new tasks cheaply, researchers often freeze the main model and attach tiny, task-specific LoRA (low-rank) adapters.
Here’s the catch: freezing old weights doesn't freeze features. In every forward pass, the outputs of all adapters learned so far get added together. If updates from Task 1, Task 2, and Task 10 point in similar directions, their sum grows linearly, shoving image and text features far away from CLIP’s delicate pretrained alignment. Most methods prevent this "adapter-induced feature displacement" by keeping a cheat sheet—old images, visual prototypes, or class statistics. The authors ask: can we achieve stable continual learning with zero data-derived memory, purely by constraining the math of the adapter itself?
Methods
Enter Hyperbolic Displacement-Constrained Adaptation (HDCA). Instead of standard Euclidean addition, HDCA borrows tools from hyperbolic geometry (specifically, spaces of constant negative curvature) to build a natural shock absorber into the adapters attached to CLIP’s image and text encoders.
HDCA introduces three clever modifications over standard LoRA fine-tuning:
- Per-Task Compression: Inspired by single-task hyperbolic LoRA (HypLoRA), each token is lifted onto a Lorentz manifold, transformed by the low-rank adapter, and mapped back to Euclidean space. Mathematically, this keeps the direction of the adapter's output vector $y$ intact, but replaces its magnitude $r$ with $a \operatorname{arcsinh}(r/a)$. Small updates pass through almost untouched (preserving plasticity), while large updates get compressed logarithmically—avoiding the dead gradients of hard clipping.
- Cumulative Compression: Compressing individual adapters isn't enough if 20 of them gang up in the same direction. So, after summing the outputs of all frozen past adapters and the current trainable one, HDCA applies that same smooth $\operatorname{arcsinh}$ compression map a second time to the total sum. Linear growth $O(t)$ across $t$ sessions gets tamed into $O(\log t)$.
- Poincaré Distance Classifier: Instead of standard cosine similarity, HDCA projects normalized image and text features into a Poincaré ball and measures geodesic distance. It adds zero learnable parameters.
Datasets
No new benchmarks are introduced. The authors evaluate on five standard datasets chosen to span varying distribution gaps from CLIP's pretraining data:
- Close to CLIP: CIFAR100, StanfordCars, and Food101 (100 classes each).
- Domain-shifted / Out-of-distribution: ImageNet-R and ObjectNet (200 classes each).
Each dataset is tested under two incremental protocols—learning all classes from scratch in equal steps (B0 Inc-n), or learning half the classes upfront followed by smaller increments (B-m Inc-n)—totaling 10 experimental settings.
Key Insights and Ideas
- Hyperbolic geometry as a smooth norm brake: Usually, people invoke hyperbolic space to model tree-like hierarchies. Here, the authors repurpose Lorentzian math purely for its radial compression properties—acting like an identity function near zero so the model learns easily, and a logarithmic damper far away so it doesn't wreck past representations.
- Same test-time ranking, better training gradients: Because all features are unit-normalized before entering the Poincaré ball, geodesic distance is a strictly decreasing function of cosine similarity. At inference, it ranks classes identically to a cosine classifier! Its real magic happens during training: its derivative spikes as similarity approaches 1, amplifying gradients when distinguishing semantically clustered class names.
- Subtle task coupling: Even though older adapters have frozen weights, the outer cumulative compression depends on the norm of the combined sum—meaning a new task slightly rescales older adapters' effective contributions to keep total displacement bounded.
Key Results
Across the 10 benchmark settings (20 metric cells tracking average accuracy $\bar{\mathcal{A}}$ and final accuracy $\mathcal{A}_B$), HDCA takes first place in 17 out of 20 cells, and second place in the remaining 3—all without storing any prototypes or exemplars.
- Shining under domain shift: Where adapters have to work hardest (and risk drifting furthest), HDCA pulls way ahead. On ObjectNet (
B0 Inc-20), HDCA reaches 54.42% final accuracy, beating the strongest memory-retaining competitor (MG-CLIP) by 13.52 points. On ImageNet-R (B100 Inc-20), it leads by 12.30 points (82.53% vs. 70.23% for RAPF). - Beating replay buffers: Even when pitted against exemplar-based methods (like PROOF) that store 20 real images per class, zero-memory HDCA wins on final accuracy for both CIFAR100 (81.57% vs. 79.05%) and ImageNet-R (82.30% vs. 80.10%).
- Displacement tracks forgetting: Diagnostics on 20-session ImageNet-R confirm the core hypothesis: adding two-level compression slashes final image feature displacement by 86.33% compared to uncompressed adapters, lifting final accuracy from a catastrophic 2.88% to 80.52%.
Limitations and Future Work
- Linear parameter growth: While HDCA stores zero data-derived class memory (no images, prototypes, or cached text embeddings), it still adds one new low-rank adapter pair per session at every attention block, meaning parameter count grows linearly with the number of tasks.
- Architecture scope: The method is only validated on CLIP-style vision-language models where open-vocabulary text encoders anchor the decision boundaries. Extending HDCA to other foundation models—such as pure pretrained large language models—is left for future work.
Summary updated