Correlative and Discriminative Label Grouping for Multi-Label Visual Prompt Tuning

Dengdi Sun, Lei-Lei Ma, Shuo Xu, Ming-Kun Xie, Haifeng Zhao

TL;DR

This paper introduces ML-VPT, a novel parameter-efficient method for multi-label image classification that addresses the issue of overfitting caused by overemphasizing label co-occurrence. By grouping labels into correlative and discriminative sets and using a Mixture-of-Experts (MoE) approach with Visual Prompt Tuning (VPT), ML-VPT effectively balances label relationships for improved performance.

What Problem Does This Paper Address?

Multi-label image classification (MLC) involves assigning multiple labels to an image, which is a complex task due to the vast output space and the inherent relationships between labels. While modeling label correlations (e.g., "dog" and "cat" often appear together) has been beneficial, recent methods tend to overemphasize these co-occurrence relationships. This can lead to overfitting, where the model learns spurious correlations and performs poorly on unseen data. The challenge is to leverage the benefits of label relationships without falling into the trap of overfitting, while also maintaining computational efficiency, especially when using large pre-trained models like Vision Transformers (ViTs).

Methods

The core of ML-VPT lies in its novel approach to handling label relationships:

  • Label Grouping: Instead of treating all labels uniformly, ML-VPT first groups classes into two types of subsets:
  • Correlative Groups (CO): Labels that frequently co-occur are grouped together.
  • Discriminative Groups (DC): Labels that are less likely to co-occur are grouped to emphasize their distinctiveness. This grouping is achieved using spectral clustering on co-occurrence and dis-occurrence graphs.

  • Visual Prompt Tuning (VPT) with Group-Aware Prompts: For each group (both CO and DC), a set of learnable prompt tokens is introduced into the Vision Transformer (ViT) architecture. These prompt tokens are designed to capture the specific relationships (correlative or discriminative) within their respective groups, generating "group-aware" representations.

  • Mixture-of-Experts (MoE) for Label-Awareness: To bridge the gap between group-aware representations and label-specific predictions, a MoE module is employed. This module dynamically selects and combines the group-aware representations to generate more accurate "label-aware" representations for each individual class. This allows the model to adaptively focus on the most relevant information for each label.
  • Dual Classifiers: Two separate classifiers are used, one for the correlative groups and one for the discriminative groups, to process the label-aware representations. The final prediction is a weighted combination of the outputs from these two classifiers.

Datasets

The proposed method was evaluated on several standard multi-label image classification benchmarks:

  • Pascal VOC 2007 (VOC07): A popular dataset with 20 object categories.
  • MS-COCO 2014 (COCO): A larger dataset with 80 common categories.
  • NUS-WIDE (NUS): A dataset with 81 categories sourced from the web.
  • Visual Genome (VG256): A dataset with 256 categories, processed to merge similar concepts.
  • Objects365 (0365): A large-scale object detection dataset adapted for MLC with 365 categories.

Key Insights and Ideas

  • Balancing Correlative and Discriminative Relationships is Crucial: The paper strongly argues that overemphasizing co-occurrence can be detrimental. By explicitly modeling both correlative and discriminative aspects, the model can achieve a more robust understanding of label relationships.
  • Grouping Reduces Overfitting Risk: Decomposing the problem into smaller, more manageable sub-tasks (groups) helps to prevent the model from learning spurious correlations across the entire label space.
  • MoE Enhances Adaptability: The Mixture-of-Experts approach is key to translating general group-aware information into specific, label-aware predictions, allowing for finer-grained discrimination.
  • Parameter Efficiency with VPT: Leveraging Visual Prompt Tuning allows the method to be parameter-efficient, making it suitable for adapting large pre-trained models without extensive fine-tuning.

Key Results

The ML-VPT framework demonstrated competitive and often superior performance across various benchmark datasets and pre-trained backbones (ViT, MAE, MoCo v3, DINOv2).

  • State-of-the-Art Performance: ML-VPT consistently outperformed existing SOTA methods on COCO, VOC07, NUS, VG256, and Objects365 datasets, achieving significant improvements in mAP, CF1, and OF1 scores. For example, on COCO, mAP improvements ranged from 1.2% to 8.7% depending on the backbone.
  • Robustness Across Backbones: The method showed strong performance gains regardless of the pre-trained backbone used, highlighting its general applicability.
  • Computational Efficiency: The paper emphasizes that ML-VPT achieves high performance with limited learnable parameters and computational overhead compared to full fine-tuning or other complex methods.
  • Qualitative Improvements: Case studies and visualizations (e.g., Figure 7) showed that ML-VPT effectively mitigates over-inference issues caused by label co-occurrence, correctly predicting labels where simpler methods failed.

Limitations and Future Work

  • Number of Groups and Experts: While the paper explores the impact of the number of groups and experts, optimal settings might still require careful tuning for specific datasets. The performance gains from increasing the number of experts were less pronounced on datasets with fewer classes or weaker label correlations (like VOC07).
  • Label-Aware vs. Group-Aware Gating: The paper found that label-aware gating networks performed better than group-aware ones, suggesting that class-specific adaptation is more beneficial. However, further research could explore more sophisticated gating mechanisms.
  • Future Work: The authors suggest that further research is needed to explore the impact of group quantity and to investigate more advanced grouping strategies. The current work focuses on balancing correlative and discriminative relationships, and future directions could involve exploring other types of label relationships.

Summary updated

Abstract

Modeling label correlations has always played a pivotal rolein multi-label image classification (MLC), attracting significant attention from researchers. However, recent studies have overemphasized co-occurrence relationships among labels, which can lead to an overfitting risk due to this overemphasis, resulting in suboptimal models. To tackle this problem, we advocate balancing correlative and discriminative relationships among labels to mitigate the risk of overfitting and enhance model performance. To this end, we propose the Multi-Label Visual Prompt Tuning framework, a novel and parameter-efficient method that groups classes into multiple class subsets according to label co-occurrence and mutual exclusivity relationships, and then models them separately to balance these relationships. In this work, since eachgroup contains multiple classes, multiple prompt tokens areadopted within Vision Transformer (ViT) to capture the cor-relation or discriminative label relationship within eachgroup, and effectively learn correlation or discriminativerepresentations for class subsets. On the other hand, each group contains multiple group-aware visual representations that may correspond to multiple classes, and the mixture of experts (MoE) model can cleverly assign them from the group-aware to the label-aware, adaptively obtaining a label-aware representation, which is more conducive to classification. Experiments on multiple benchmark datasets show that our proposed approach achieves competitive results and outperforms SOTA methods on multiple pre-trained models.
BibTeX
@inproceedings{sun2025correlative,
  author = {Dengdi Sun and Lei-Lei Ma and Shuo Xu and Ming-Kun Xie and Haifeng Zhao},
  title = {{Correlative and Discriminative Label Grouping for Multi-Label Visual Prompt Tuning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02368},
}
Figure