HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

TTD: Text-Tag Self-Distillation Enhancing Image-Text Alignment in CLIP to Alleviate Single Tag Bias

Sanghyun Jo; Soohyun Ryu; Sungyub Kim; Eunho Yang; Kyungsu Kim

TTD: Text-Tag Self-Distillation Enhancing Image-Text Alignment in CLIP to Alleviate Single Tag Bias

Abstract

We identify a critical bias in contemporary CLIP-based models, which we denote as single tag bias. This bias manifests as a disproportionate focus on a singular tag (word) while neglecting other pertinent tags, stemming from CLIP's text embeddings that prioritize one specific tag in image-text relationships. When deconstructing text into individual tags, only one tag tends to have high relevancy with CLIP's image embedding, leading to biased tag relevancy. In this paper, we introduce a novel two-step fine-tuning approach, Text-Tag Self-Distillation (TTD), to address this challenge. TTD first extracts image-relevant tags from text based on their similarity to the nearest pixels then employs a self-distillation strategy to align combined masks with the text-derived mask. This approach ensures the unbiased image-text alignment of the CLIP-based models using only image-text pairs without necessitating additional supervision. Our technique demonstrates model-agnostic improvements in multi-tag classification and segmentation tasks, surpassing competing methods that rely on external resources. The code is available at https://github.com/shjo-april/TTD.

Code Repositories

shjo-april/TTD
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
multi-label-text-classification-on-cc3mTTD (w/o fine-tuning)
Accuracy: 91.0
F1: 78.5
Precision: 82.9
Recall: 74.5
mAP: 90.3
multi-label-text-classification-on-cc3mTTD (w/ fine-tuning)
Accuracy: 88.6
F1: 82.8
Precision: 88.3
Recall: 78.0
mAP: 93.7
open-vocabulary-semantic-segmentation-onTTD (MaskCLIP)
mIoU: 27.0
open-vocabulary-semantic-segmentation-onTTD (TCL)
mIoU: 32.0
open-vocabulary-semantic-segmentation-on-1TTD (TCL)
mIoU: 37.4
open-vocabulary-semantic-segmentation-on-1TTD (MaskCLIP)
mIoU: 31.0
open-vocabulary-semantic-segmentation-on-2TTD (MaskCLIP)
mIoU: 12.7
open-vocabulary-semantic-segmentation-on-2TTD (TCL)
mIoU: 17.0
open-vocabulary-semantic-segmentation-on-cocoTTD (TCL)
mIoU: 23.7
open-vocabulary-semantic-segmentation-on-cocoTTD (MaskCLIP)
mIoU: 19.4
semantic-segmentation-on-cc3m-tagmaskTTD (TCL)
mIoU: 65.5
semantic-segmentation-on-cc3m-tagmaskTTD (MaskCLIP)
mIoU: 50.2
unsupervised-semantic-segmentation-with-10TTD (TCL)
mIoU: 37.4
unsupervised-semantic-segmentation-with-10TTD (MaskCLIP)
mIoU: 26.5
unsupervised-semantic-segmentation-with-11TTD (TCL)
mIoU: 61.1
unsupervised-semantic-segmentation-with-11TTD (MaskCLIP)
mIoU: 43.1
unsupervised-semantic-segmentation-with-3TTD (MaskCLIP)
mIoU: 32.0
unsupervised-semantic-segmentation-with-3TTD (TCL)
mIoU: 27.0
unsupervised-semantic-segmentation-with-4TTD (TCL)
Mean IoU (val): 17.0
unsupervised-semantic-segmentation-with-4TTD (MaskCLIP)
Mean IoU (val): 12.7
unsupervised-semantic-segmentation-with-8TTD (MaskCLIP)
mIoU: 31.0
unsupervised-semantic-segmentation-with-8TTD (TCL)
mIoU: 37.4
unsupervised-semantic-segmentation-with-9TTD (MaskCLIP)
mIoU: 19.4
unsupervised-semantic-segmentation-with-9TTD (TCL)
mIoU: 23.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
TTD: Text-Tag Self-Distillation Enhancing Image-Text Alignment in CLIP to Alleviate Single Tag Bias | Papers | HyperAI