InvCoSS: Inversion-driven Continual Self-supervised Learning in Medical Multi-modal Image Pre-training

Zihao Luo, Shaohao Rui, Zhenyu Tang, Guotai Wang, Xiaosong Wang

TL;DR

InvCoSS introduces a data-free, privacy-preserving framework for continual self-supervised learning in medical imaging. By inverting previously trained models to synthesize high-fidelity multi-modal images, it eliminates the need to store or replay real patient data. This approach matches the performance of traditional data-replay methods while reducing storage overhead by up to 590×.

What Problem Does This Paper Address?

Training medical foundation models across multiple imaging modalities (like CT, MRI, X-ray, and Histopathology) typically requires centralizing massive datasets. However, strict data privacy regulations and institutional silos make data sharing highly restrictive.

Continual Self-Supervised Learning (CSSL) offers a solution by training models sequentially across different sites and modalities. Unfortunately, CSSL suffers from catastrophic forgetting—when the model learns a new modality (e.g., MRI), it rapidly forgets what it learned from previous ones (e.g., CT). Standard mitigation strategies rely on "data replay," which requires keeping a buffer of real patient images from previous stages. This completely defeats the purpose of privacy preservation and introduces massive storage costs.

The authors of this paper ask a fundamental question: Can we preserve historical multi-modal knowledge using only the trained model itself, without storing any real data?

Methods

The authors propose InvCoSS (Inversion-driven Continual Self-supervised Learning). Instead of saving real images, InvCoSS uses model inversion to reconstruct the training data distribution directly from the frozen weights and normalization statistics of the previous stage's model.

Figure 1. We propose InvCoSS, a novel inversion-driven continual self-supervised learning (CSSL) framework that utilizes synthetic images inverted from just self-supervised models as continual knowledge retention. Besides, we design InvUNet (Sec.3.3) with multi-scale fusion to preserve high-frequency details, and introduce repulsive representation learning (Sec.3.4) to explicitly enforce diversity and prevent mode collapse, alongside feature regularization, task objectives, and image prior(Sec.3.5). Using these synthetic images for CSSL, we effectively mitigate catastrophic forgetting while eliminating data privacy constraints across institutes.

Directly applying model inversion to self-supervised learning is notoriously difficult because there are no explicit class labels to guide the generation process. To overcome this, InvCoSS introduces two novel architectural components:

  1. InvUNet: Standard bottom-to-top generators often produce blurry synthetic images that lose high-frequency details. InvUNet is a dual-stream generator inspired by the U-Net architecture. It injects a noisy latent vector into a bottleneck, splitting the workload between a lightweight Memory Cache Branch (which generates multi-scale structural priors) and an Inversion Branch (which focuses on fine-grained details).
  2. Repulsive Representation Learning: Without class guidance, model inversion easily falls into mode collapse, generating highly redundant or identical images. InvCoSS maintains a persistent feature pool of generated samples and applies a purely repulsive loss function. This forces the generator to maximize the feature distance between new synthetic images and previously generated ones, explicitly enforcing diversity.
Overview of the InvCoSS inversion-based image synthesis pipeline.

Datasets

The framework was validated using a massive multi-modal corpus:

  • Pre-training Corpus: Assembled from public datasets covering four distinct modalities: MIMIC-CXR (1D clinical text reports and 2D X-rays), DeepLesion (3D CT scans), ADNI (3D MRI scans), and TCGA (2D histopathology images across 7 distinct cancer projects).
  • Downstream Evaluation: The pre-trained models were evaluated on nine downstream benchmarks spanning text classification (PubMed20k), X-ray analysis (ChestXR, QaTa-COV19-v2), CT analysis (RICORD, LiTS), MRI segmentation (Vestibular Schwannoma, Left Atrium), and pathology classification/segmentation (NCH, GlaS).

Key Insights and Ideas

  • Structure Over Pixels: Qualitative analysis reveals that the inverted synthetic images lack fine-grained textures but perfectly capture macro-anatomical structures. Crucially, the experiments prove that this structural coherence is entirely sufficient for self-supervised knowledge retention, demonstrating that exact pixel-level fidelity is secondary to semantic structure when preventing forgetting.
  • Stabilizing Pure Repulsion: Contrastive learning frameworks typically require positive pairs to prevent representation collapse. In InvCoSS, a purely repulsive loss function is successfully stabilized because the frozen model's task-oriented objectives (masked image modeling) act as semantic anchors, keeping the generation bounded within a realistic data distribution.
  • Bypassing the Privacy Bottleneck: By transforming a trained model into its own data generator, InvCoSS provides a blueprint for decentralized medical AI development that completely bypasses the bureaucratic and ethical hurdles of cross-institutional data sharing.

Key Results

  • State-of-the-Art Data-Free Performance: InvCoSS achieved an average downstream score of 89.17%, significantly outperforming existing data-free continual learning methods like EWC (86.27%) and CaSSLe (86.88%).
  • On Par with Real Data Replay: Remarkably, InvCoSS matched or exceeded the performance of the top data-replay method, MedCoSS (89.03%), despite storing zero real historical images. It even demonstrated superior performance on 3D CT tasks (RICORD and LiTS).
  • Massive Storage Reduction: Compared to maintaining a standard 5% real data buffer, InvCoSS reduced storage overhead by 7× to 590× depending on the modality, making it highly practical for resource-constrained clinical environments.

Limitations and Future Work

  • Text Modality Dependency: While InvCoSS successfully automates image inversion, the framework still relies on a real text buffer for the 1D clinical report modality to ensure a fair comparison with baselines. Developing a fully data-free inversion mechanism for medical text sequences remains an open challenge.
  • Micro-Texture Loss: Because the synthetic images lack fine-grained textural details, the framework might underperform on niche downstream tasks that rely heavily on micro-textures (such as specific histopathological grading metrics). Future work could explore incorporating texture-specific frequency priors during the inversion process.

Summary updated

BibTeX
@inproceedings{luo2026invcoss,
  author = {Zihao Luo and Shaohao Rui and Zhenyu Tang and Guotai Wang and Xiaosong Wang},
  title = {{InvCoSS: Inversion-driven Continual Self-supervised Learning in Medical Multi-modal Image Pre-training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=cYq7dYQXaa},
}
Figure