Enhancing CLIP Conceptual Embedding through Knowledge Distillation

Kuei-Chun Kao
12/4/2024
cs.AIcs.CLcs.CV

No confident code implementation found for this paper.

Abstract

Recently, CLIP has become an important model for aligning images and text in multi-modal contexts. However, researchers have identified limitations in the ability of CLIP's text and image encoders to extract detailed knowledge from pairs of captions and images. In response, this paper presents Knowledge-CLIP, an innovative approach designed to improve CLIP's performance by integrating a new knowledge distillation (KD) method based on Llama 2. Our approach focuses on three key objectives: Text Embedding Distillation, Concept Learning, and Contrastive Learning. First, Text Embedding Distillation involves training the Knowledge-CLIP text encoder to mirror the teacher model, Llama 2. Next, Concept Learning assigns a soft concept label to each caption-image pair by employing offline K-means clustering on text data from Llama 2, enabling Knowledge-CLIP to learn from these soft concept labels. Lastly, Contrastive Learning aligns the text and image embeddings. Our experimental findings show that the proposed model improves the performance of both text and image encoders.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — 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{kao2024enhancing,
  title  = {Enhancing CLIP Conceptual Embedding through Knowledge Distillation},
  author = {Kuei-Chun Kao},
  year   = {2024},
  eprint = {2412.03513},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03513v2}
}

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/2412.03513.svg)](https://codeofpaper.com/paper/2412.03513)

Discussion