Learning from Itself: Mining Internal Knowledge from Vision Language Models for Continual Learning

Yi-Zheng Gong, Si-Yue Yu, Waleed Al-Nuaimy, Ji-Min Xiao
1/1/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Vision-language models like CLIP excel at zero-shot recognition but struggle with continual learning due to two critical issues: (1) severe distribution gap between pretraining captions and post-training class names, and (2) performance mismatch between vision-only and dual-encoder approaches--vision-only methods achieve 20% higher accuracy on fine-grained tasks while CLIP dominates on natural images. We propose Learning from Itself (LfI), which mines CLIP's internal knowledge to address both challenges.

Show full abstract

First, we generate pseudo-captions by optimizing learnable tokens to minimize CLIP's contrastive loss, creating auxiliary training signals that bridge the pretraining-finetuning distribution gap without external models. Second, we introduce adaptive mutual distillation that dynamically weights knowledge transfer between CLIP's text encoder and a temporary vision classifier based on their instantaneous performance--stronger branches teach more, weaker ones learn more. At inference, only the original CLIP architecture is used, having absorbed discriminative knowledge from both branches. LfI achieves state-of-the-art results across multiple continual learning benchmarks, demonstrating that CLIP can effectively teach itself to continually learn new tasks. Code is available at: https://github.com/jordangong/continual-learning.

Semantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gong2026learning,
  title  = {Learning from Itself: Mining Internal Knowledge from Vision Language Models for Continual Learning},
  author = {Yi-Zheng Gong and Si-Yue Yu and Waleed Al-Nuaimy and Ji-Min Xiao},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:21f2ed4c2d4f4ed8b72a1cb4b064d4b230eb1ee9},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/21f2ed4c2d4f4ed8b72a1cb4b064d4b230eb1ee9.svg)](https://codeofpaper.com/paper/21f2ed4c2d4f4ed8b72a1cb4b064d4b230eb1ee9)

Discussion