DetailCLIP: Detail-Oriented CLIP for Fine-Grained Tasks

Amin Karimi Monsefi, Kishore Prakash Sailaja, Ali Alilooee, Ser-Nam Lim, Rajiv Ramnath
9/10/2024
cs.CV

Official code: KishoreP1/DetailCLIP (57 stars, last commit 2025-03-26).

Abstract

In this paper, we introduce DetailCLIP: A Detail-Oriented CLIP to address the limitations of contrastive learning-based vision-language models, particularly CLIP, in handling detail-oriented and fine-grained tasks like segmentation. While CLIP and its variants excel in the global alignment of image and text representations, they often struggle to capture the fine-grained details necessary for precise segmentation. To overcome these challenges, we propose a novel framework that employs patch-level comparison of self-distillation and pixel-level reconstruction losses, enhanced with an attention-based token removal mechanism. This approach selectively retains semantically relevant tokens, enabling the model to focus on the image's critical regions aligned with the specific functions of our model, including textual information processing, patch comparison, and image reconstruction, ensuring that the model learns high-level semantics and detailed visual features. Our experiments demonstrate that DetailCLIP surpasses existing CLIP-based and traditional self-supervised learning (SSL) models in segmentation accuracy and exhibits superior generalization across diverse datasets. DetailCLIP represents a significant advancement in vision-language modeling, offering a robust solution for tasks that demand high-level semantic understanding and detailed feature extraction. https://github.com/KishoreP1/DetailCLIP.

View on arXivView PDF

Code Implementations(1)

Detail-Oriented CLIP for Fine-Grained Tasks (ICLR SSI-FM 2025)

571Shell, PythonSep 10, 20241 years ago
clipcomputer-visioniclr2025self-improvingself-supervised-learning

Similar Papers

Cite this paper

@article{monsefi2024detailclip,
  title  = {DetailCLIP: Detail-Oriented CLIP for Fine-Grained Tasks},
  author = {Amin Karimi Monsefi and Kishore Prakash Sailaja and Ali Alilooee and Ser-Nam Lim and Rajiv Ramnath},
  year   = {2024},
  eprint = {2409.06809},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.06809v2}
}

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

Discussion