Pi-CCA: Prompt-Invariant CCA Certificates for Replay-Free Continual Multimodal Learning

Jiayu Zhang, Chuangxin Zhao, Canran Xiao, Ruibo Duan, Wenyi Mo, Haoyu Gao, Wenshuo WangICLR 2026

Introduction

Foundation vision-language models (VLMs) like CLIP exhibit remarkable "zero-shot" capabilities, recognizing novel objects by matching images to text descriptions. However, when deployed on non-stationary data streams—a setting known as Continual Learning—these models suffer from catastrophic forgetting. As they fine-tune on new tasks, they lose the broad, pre-trained alignment that originally made them so versatile.

Pi-CCA introduces a "geometry-first" approach to keeping VLMs robust as they learn new tasks without access to old data. By summarizing the mathematical "skeleton" of image-text alignment into a compact, constant-memory "certificate," the method prevents catastrophic forgetting and makes models significantly more robust to changes in prompt phrasing.

The Problem with Existing Approaches

Most existing continual learning solutions rely on "replay buffers," which store a subset of old data. This approach raises privacy concerns and scales poorly with memory. While "replay-free" methods exist, they typically attempt to preserve "proxy signals" like specific output scores (logits) or weight values.

The authors argue these proxies are brittle. If the geometry of the underlying cross-modal space drifts, the model’s zero-shot performance and its robustness to different prompt styles (e.g., "a photo of a cat" vs. "identify the feline") rapidly degrade.

Methodology: Prompt-Invariant CCA Certificates

Instead of tracking weights or logits, the authors propose Prompt-Invariant CCA Certificates (Pi-CCA) to track the fundamental geometry of alignment using Canonical Correlation Analysis (CCA).

Pi-CCA Architecture Overview

The Pi-CCA framework operates through four key mechanisms:

  1. The Certificate: The pre-trained model's alignment is summarized into a "certificate" capturing two core elements: the top-k canonical spectrum (correlation strength) and the subspace (the directions of image-text alignment).
  2. Sketching for Efficiency: To maintain a tiny, constant memory footprint (~50 KB), Pi-CCA uses random orthonormal "sketches." This compresses high-dimensional embedding spaces without losing essential geometric relationships.
  3. Prompt Invariance: To build resilience against phrasing changes, the method samples multiple prompt perturbations (e.g., synonyms, different templates) during training. These are averaged into the certificate, smoothing the text subspace so it avoids overfitting to a single query style.
  4. Streaming Estimation: Exponential Moving Averages (EMA) are used to update the model's internal understanding of data statistics batch-by-batch, enabling adaptation to new streams without revisiting old samples.

Key Insights

  • Alignment as an Invariant: The core insight is that forgetting in VLMs is essentially alignment-geometry drift. Anchoring the mathematical skeleton of how the model relates images to text allows weight updates for new tasks without breaking the foundation.
  • Projector Averaging: Averaging projectors over different prompt variations eliminates the "sign/rotation ambiguity" that typically plagues subspace alignment, leading to highly stable training.
  • Geometry Predicts Performance: Empirical evidence shows that "subspace-angle drift" strongly predicts accuracy loss. Explicitly minimizing this drift directly targets the root cause of forgetting.

Experimental Results

The researchers evaluated Pi-CCA across major vision-language continual learning benchmarks, including MTIL (Multi-domain task-incremental classification), X-TAIL (task-agnostic protocol), VLCL (Continual image-text retrieval), and ConStruct-VL.

Performance Comparison on MTIL and X-TAIL Benchmarks

Pi-CCA achieved state-of-the-art (SOTA) results among replay-free methods across all tested benchmarks:

  • Superior Accuracy: On the MTIL benchmark, Pi-CCA reached 76.8% average accuracy, outperforming the previous best replay-free method (C-CLIP) by a significant margin.
  • Zero-Shot Retention: The model exhibited the lowest performance drop on held-out zero-shot tasks, proving it remains "general" even after specialized training.
  • Prompt Robustness: In stress tests using adversarial and out-of-distribution prompts, Pi-CCA maintained high retrieval scores where standard fine-tuning failed.
  • Efficiency: The method requires zero extra memory for old data and adds only a modest (~8%) computational overhead during training.

Limitations and Future Work

While highly effective, the authors note a few limitations. The method currently relies on a diverse "anchor prompt set" to build the initial certificate; the quality of this initial summary is important. Additionally, the use of SVD (Singular Value Decomposition) and power iterations adds a small amount of wall-clock time per training step. Future work could generalize these geometric certificates to multimodal instruction tuning, enabling models to handle more complex, multi-step reasoning tasks continually.

Summary updated

BibTeX
@inproceedings{zhang2026pi,
  author = {Jiayu Zhang and Chuangxin Zhao and Canran Xiao and Ruibo Duan and Wenyi Mo and Haoyu Gao and Wenshuo Wang},
  title = {{Pi-CCA: Prompt-Invariant CCA Certificates for Replay-Free Continual Multimodal Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=pn2H6YeOv2},
}
Figure