Lune

CVPR2025Top-tier venue

Task-Aware Clustering for Prompting Vision-Language Models

Fusheng Hao, Fengxiang He, Fuxiang Wu, Tichao Wang, Chengqun Song, Jun Cheng

Abstract

Prompt learning has attracted widespread attention in adapting vision-language models to downstream tasks. Existing methods largely rely on optimization strategies to ensure the task-awareness of learnable prompts. Due to the scarcity of task-specific data, overfitting is prone to occur. The resulting prompts often do not generalize well or exhibit limited task-awareness. To address this issue, we propose a novel Task-Aware Clustering (TAC) framework for prompting vision-language models, which increases the task-awareness of learnable prompts by introducing taskaware pre-context. The key ingredients are as follows: (a) generating task-aware pre-context based on task-aware clustering that can preserve the backbone structure of a downstream task with only a few clustering centers, (b) enhancing the task-awareness of learnable prompts by enabling them to interact with task-aware pre-context via the well-pretrained encoders, and (c) preventing the visual task-aware pre-context from interfering the interaction between patch embeddings by masked attention mechanism. Extensive experiments are conducted on benchmark datasets, covering the base-to-novel, domain generalization, and cross-dataset transfer settings. Ablation studies validate the effectiveness of key ingredients. Comparative results show the superiority of our TAC over competitive counterparts. The code is available at https: //github.com/FushengHao/TAC .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Prompt Tuning for CLIP on the Pretrained Manifold cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • Prompt Tuning for CLIP on the Pretrained Manifold cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Prompt Tuning for CLIP on the Pretrained Manifold cites Learning Transferable Visual Models From Natural Language Supervision
  • CAPT: Confusion-Aware Prompt Tuning for Reducing Vision-Language Misalignment cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • CAPT: Confusion-Aware Prompt Tuning for Reducing Vision-Language Misalignment cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • CAPT: Confusion-Aware Prompt Tuning for Reducing Vision-Language Misalignment cites Learning Transferable Visual Models From Natural Language Supervision
  • CAPT: Confusion-Aware Prompt Tuning for Reducing Vision-Language Misalignment cites Flamingo: a Visual Language Model for Few-Shot Learning
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
  • Dropout Prompt Learning: Towards Robust and Adaptive Vision-Language Models cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • Dropout Prompt Learning: Towards Robust and Adaptive Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • DeAR: Fine-Grained VLM Adaptation by Decomposing Attention Head Roles cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • DeAR: Fine-Grained VLM Adaptation by Decomposing Attention Head Roles cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • DeAR: Fine-Grained VLM Adaptation by Decomposing Attention Head Roles cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Flamingo: a Visual Language Model for Few-Shot Learning cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • Flamingo: a Visual Language Model for Few-Shot Learning cites Learning Transferable Visual Models From Natural Language Supervision
  • MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models cites Flamingo: a Visual Language Model for Few-Shot Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. DeAR: Fine-Grained VLM Adaptation by Decomposing Attention Head RolesYiming Ma, Hongkun Yang, Lionel Z. Wang, Bin Chen et al.CVPR 2026 · 2 citations
  2. Prompt Tuning for CLIP on the Pretrained ManifoldXi Yang, Yuanrong Xu, Weigang Zhang, Guangming Lu et al.ICML 2026 · 1 citation
  3. CAPT: Confusion-Aware Prompt Tuning for Reducing Vision-Language MisalignmentMaoyuan Shao, Yutong Gao, Xinyang Huang, Lijuan Sun et al.CVPR 2026 · 1 citation
  4. Universal Guideline-Driven Image Clustering via a Hybrid LLM AgentWenliang Zhong, Rob Barton, Lucas Goncalves, Kushal Kumar et al.CVPR 2026
  5. Dropout Prompt Learning: Towards Robust and Adaptive Vision-Language ModelsBiao Chen, Lin Zuo, Mengmeng Jing, Kunbin He et al.AAAI 2026

Builds on34

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Flamingo: a Visual Language Model for Few-Shot LearningJean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech et al.NeurIPS 2022 · 6,707 citations
  3. Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
  4. MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language ModelsDeyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li et al.ICLR 2024 · 3,079 citations
  5. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations

Related papers

  1. Prompt Learning via Meta-RegularizationJinyoung Park, Juyeon Ko, Hyunwoo J. KimCVPR 2024 · 17 citations
  2. MaPLe: Multi-modal Prompt LearningMuhammad Uzair Khattak, Hanoona Abdul Rasheed, Muhammad Maaz, Salman H. Khan et al.CVPR 2023
  3. Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 citations
  4. Advancing Prompt Learning through an External LayerFangming Cui, Xun Yang, Chao Wu, Liang Xiao et al.ACM MM 2024 · 3 citations
  5. Distribution-Aware Prompt Tuning for Vision-Language ModelsEulrang Cho, Jooyeon Kim, Hyunwoo J. KimICCV 2023 · 54 citations
Dusk over the sea between two cliffs drawn in fine vertical lines