Cluster-aware prompt ensemble learning for few-shot vision-language model adaptation

• Introduces CAPEL: ensembles multiple prompts in logit space for VLM adaptation. • Preserves multimodal class structure and supports fully batched inference. • Uses cluster-preserving entropy to stabilize diverse prompt subclassifiers. • Learns prompt-level attention and enables simple post-hoc pruning of heads. • Demonstrates generalization across backbones and tasks, including robustness and segmentation. Vision-language models (VLMs) such as CLIP achieve zero-shot transfer across various tasks by pre-training on numerous image-text pairs. These models often benefit from using an ensemble of context prompts to represent a class. Despite being effective, conventional prompt ensembling that averages textual features of context prompts often yields suboptimal results. This is because feature averaging shifts the class centroids away from the true class distribution. To address this issue, we propose the Cluster-Aware Prompt Ensemble Learning (CAPEL) framework, which preserves the cluster nature of context prompts. CAPEL classifies images into one of several class clusters, each represented by a distinct prompt. Instead of ensembling prompts in the feature space, we perform ensembling in the classification logits space, aligning better with the visual feature distribution. To further optimize prompt fine-tuning while maintaining cluster-specific discriminative power, we introduce a cluster-preserving regularization term. This ensures that prompts remain distinct and specialized for different clusters, preventing collapse into a uniform direction. Additionally, we integrate an adaptive prompt weighting technique to dynamically adjust the attention weights for flawed or ambiguous prompts, ensuring robust performance across diverse datasets and tasks.

Authors

Institutions

Publication Details

Journal
Pattern Recognition
Published
2025-10-19
DOI
https://doi.org/10.1016/j.patcog.2025.112596
Citations
4
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
5.10
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cluster-aware prompt ensemble learning for few-shot vision-language model adaptation

Xin Yu, Xiaohui Tao, Zi Huang, Yan Li et al.
4 citations
Pattern Recognition
Multimodal Machine Learning Applications
5.10
article

Cluster-aware prompt ensemble learning for few-shot vision-language model adaptation

Xin Yu, Xiaohui Tao, Zi Huang, Yan Li, Zhi Chen
article en
4 citations

Abstract

• Introduces CAPEL: ensembles multiple prompts in logit space for VLM adaptation. • Preserves multimodal class structure and supports fully batched inference. • Uses cluster-preserving entropy to stabilize diverse prompt subclassifiers. • Learns prompt-level attention and enables simple post-hoc pruning of heads. • Demonstrates generalization across backbones and tasks, including robustness and segmentation. Vision-language models (VLMs) such as CLIP achieve zero-shot transfer across various tasks by pre-training on numerous image-text pairs. These models often benefit from using an ensemble of context prompts to represent a class. Despite being effective, conventional prompt ensembling that averages textual features of context prompts often yields suboptimal results. This is because feature averaging shifts the class centroids away from the true class distribution. To address this issue, we propose the Cluster-Aware Prompt Ensemble Learning (CAPEL) framework, which preserves the cluster nature of context prompts. CAPEL classifies images into one of several class clusters, each represented by a distinct prompt. Instead of ensembling prompts in the feature space, we perform ensembling in the classification logits space, aligning better with the visual feature distribution. To further optimize prompt fine-tuning while maintaining cluster-specific discriminative power, we introduce a cluster-preserving regularization term. This ensures that prompts remain distinct and specialized for different clusters, preventing collapse into a uniform direction. Additionally, we integrate an adaptive prompt weighting technique to dynamically adjust the attention weights for flawed or ambiguous prompts, ensuring robust performance across diverse datasets and tasks.

Pattern RecognitionVol. 172
The University of Queensland (AU), University of Southern Queensland (AU)
Openalex Percentile: Top 4%
Multimodal Machine Learning Applications
5.10
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.