TL;DR
Fine-tuning vision-language models (VLMs) on a sequence of new tasks often distorts their carefully aligned cross-modal embedding space, leading to catastrophic forgetting. This paper introduces SeGP-CL, an exemplar-free continual learning framework that uses dual-targeted adversarial anchors to probe and protect the most vulnerable boundary regions of the embedding space. By preserving both cross-modal and text-to-text geometry, it achieves state-of-the-art performance across multiple benchmarks without needing to store old images.
What Problem Does This Paper Address?
Pretrained VLMs like CLIP owe their power to a beautifully aligned joint embedding space where text and images share semantic meaning. However, when adapting these models to new downstream tasks over time (continual learning), they suffer from catastrophic forgetting.
The authors discover a crucial nuance to this problem: representation drift is not uniform across the embedding space. Instead, it concentrates heavily at the "old-new semantic interface"—the boundary regions where old and new concepts overlap. In these vulnerable neighborhoods, shared visual features are easily "re-explained" or hijacked by new textual semantics, destroying the model's memory of older tasks.
Crucially, existing solutions either apply broad, conservative regularizations globally or rely on storing a subset of old images (exemplars), which can violate strict privacy, data-sovereignty, or storage constraints. SeGP-CL aims to protect these specific, drift-prone boundary regions under a strict exemplar-free constraint.
Methods
SeGP-CL introduces a three-stage procedure for each incremental learning task:
- Anchor Construction via DPGD: Instead of synthesizing full images that merely "look like" old classes, the authors propose Dual-targeted Projected Gradient Descent (DPGD). This technique perturbs new-task images to push them toward old-class text semantics while simultaneously anchoring them to old visual prototypes. This creates a compact set of adversarial anchors that precisely map out the vulnerable boundary regions.
- Continual Learning with Geometry Preservation: During training on the new task, the model employs Anchor-guided Cross-modal Geometry Distillation (ACGD) to ensure the student model's cross-modal distributions match the teacher's on these critical boundary anchors. Concurrently, Text Semantic-Geometry Regularization (TSGR) uses local $k$-NN subgraphs to stabilize the text embedding space, preventing the text encoder from drifting as it updates.
- Post-Training & Dual-Path Inference: After training, the model measures how much the visual space drifted using the anchors and updates the old visual prototypes (Prototype Transfer). At inference time, it combines cross-modal CLIP logits with raw visual prototype logits to make robust, dual-path predictions.
Datasets
The framework was extensively evaluated on five standard continual learning benchmarks:
- CIFAR100
- ImageNet-R
- ImageNet-Sub
- CUB-200
- UCF101
To test cross-scenario zero-shot robustness, the final models were also evaluated on completely unseen datasets: Food101, Oxford-Pets, and ImageNet-full (1K).
Key Insights and Ideas
- Boundary Vulnerability is Universal: Forgetting is highly localized. Visual patterns that sit right on the edge between old and new semantic definitions are the first to be overwritten during fine-tuning.
- Adversarial Probes as Protectors: Rather than using adversarial attacks to break a model, SeGP-CL uses them constructively to find the exact "weak spots" in the cross-modal geometry that require distillation defense.
- The Text Space is a Moving Target: Even though text embeddings are traditionally seen as stable anchors, fine-tuning the text encoder can warp local text-to-text relationships. Regularizing local text subgraphs ($k$-NN) provides a cheap and effective reference frame.
- Cross-Modal Transfer Robustness: Stabilizing the cross-modal space implicitly regularizes and improves the purely visual representation stream, proving that VLM alignment benefits unimodal visual tasks even when evaluated without text prompts.
Key Results
SeGP-CL consistently outperformed both vision-only and VLM-based continual learning methods across all benchmarks without relying on data replay:
- CIFAR100: Achieved a final accuracy (Last) of 84.6%, outperforming the previous state-of-the-art MG-CLIP (80.6%).
- CUB-200: Boosted Last accuracy to 80.1% (compared to RAPF's 76.2%).
- Minimal Forgetting: On CIFAR100, the forgetting rate dropped to just 0.9% (compared to 4.9% for MG-CLIP).
- Zero-Shot Preservation: In cross-scenario evaluations, SeGP-CL maintained or slightly improved upon the original CLIP's zero-shot performance on unseen datasets like Food101 and Oxford-Pets, demonstrating that it accumulates downstream knowledge without destroying the base model's generalizability.
Limitations and Future Work
- Lightweight Memory Overhead: Although exemplar-free (no images are stored), the framework still requires maintaining a lightweight historical memory of raw text strings and visual prototypes, introducing minor storage and computational overhead.
- Domain-IL Constraints: SeGP-CL is primarily designed for class-incremental learning where new concepts are added. It does not explicitly model domain identity, meaning it may struggle in strict Domain-Incremental Learning (Domain-IL) scenarios where the label space remains static but the input distribution shifts dramatically.
- Prompt Dependency: The quality of the semantic-relevance structure relies heavily on the quality of the prompt templates used. Performance might degrade under severely out-of-distribution scenarios where vision-language relations deviate heavily from pretraining.
Summary updated