atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Task-Aware Clustering for Prompting Vision-Language Models

CVPR 2025 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Task-Aware Clustering (TAC), which clusters CLIP class embeddings with K-Means into a few centers, linearly maps them into pre-context tokens for learnable prompts, masks visual pre-context from patch tokens, and adds CLIP-consistency self-regulation for prompt learning.

Problem

Prompt learning for vision-language models with only a few labeled images per class overfits, yielding prompts that generalize poorly and have limited task-awareness.

Approach

Instead of adding constraints, inject task-aware pre-context built from K-Means cluster centers of CLIP class embeddings (only K=5 tokens rather than one per class), let learnable prompts interact with these tokens through the frozen encoders, mask patch-to-pre-context attention, and regularize prompts toward CLIP's own embeddings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply TAC instead of the strongest listed baseline on the base-to-novel averageCLIP ViT-B/16 · Base-to-novel averageHM: 80.78 -> 81.24Helped
apply TAC instead of CoPromptCLIP ViT-B/16 · Cross-dataset transfer averageAverage accuracy: 67.00 -> 66.53Hurt
apply TAC instead of ArGueCLIP ViT-B/16 · Domain generalization averageAverage accuracy: 60.67 -> 61.63Helped
add textual task-aware pre-context (ablation)TAC · Base-to-novel averageHM: 80.13 -> 81.24Helped
add visual task-aware pre-context (ablation)TAC · Base-to-novel averageHM: 80.32 -> 81.24Helped
use K = 5 clustering centers instead of K = 0 (ablation)TAC · Base-to-novel averageHM: 79.86 -> 81.24Helped
use K = 5 instead of K = 1 clustering centers (ablation)TAC · Base-to-novel averageHM: 80.99 -> 81.24Helped
use K = 5 instead of K = 2 clustering centers (ablation)TAC · Base-to-novel averageHM: 81.00 -> 81.24Helped
use K = 5 instead of K = 3 clustering centers (ablation)TAC · Base-to-novel averageHM: 81.14 -> 81.24Helped
use K = 5 instead of K = 4 clustering centers (ablation)TAC · Base-to-novel averageHM: 81.17 -> 81.24Helped
add textual and visual self-regulation (ablation)TAC · Base-to-novel averageHM: 79.34 -> 81.24Helped
add both textual and visual consistency rather than textual consistency alone (ablation)TAC · Base-to-novel averageHM: 78.32 -> 81.24Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVCAircraft SUN397 DTD EuroSAT UCF101 ImageNet-A

Benchmarks: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVCAircraft SUN397 DTD EuroSAT UCF101 ImageNet-A

Metrics: accuracy harmonic mean

Baselines: CoOp Co-CoOp MaPLe PromptSRC TCP CoPrompt ArGue RPO KgCoOp ProGrad

Builds on: CoOp PromptSRC CLIP MaPLe

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy