Learning Disentangled Label Representations for Multi-label Classification

Jian Jia, Fei He, Naiyu Gao, Xiaotang Chen, Kaiqi HuangarXiv 2022 · DOI

Introduction: The "Jack of All Trades" Problem

In multi-label classification (MLC), the goal is to identify all relevant objects or attributes within a single image. Traditionally, models have relied on a "One-shared-Feature-for-Multiple-Labels" (OFML) approach. This involves extracting a single global feature vector from an image and passing it through multiple classifiers simultaneously.

However, researchers have identified a fundamental flaw in this paradigm. A single shared feature often fails to capture the specific spatial nuances required for diverse labels, especially when some objects are small or obscured. Mathematically, as the number of labels increases, this shared feature is forced toward a 90-degree angle relative to the classifiers, placing it precariously on the decision boundary. This makes the model highly sensitive to noise and variations in background or pose.

The DLFL Framework: One Feature per Label

To address these limitations, the authors propose the Disentangled Label Feature Learning (DLFL) framework. This shifts the paradigm to a "One-specific-Feature-for-One-Label" (OFOL) mechanism.

Comparison between the traditional One-Feature-for-Multiple-Label (OFML) mechanism and the proposed One-Feature-for-One-Label (OFOL) mechanism.

The core of the DLFL framework lies in its ability to extract unique, specialized features for every label using several key components:

  1. Learnable Semantic Queries: The model maintains a set of learned vectors that represent the semantic essence of each possible label (e.g., "skirt" or "car").
  2. Semantic Spatial Cross-Attention (SSCA): These queries act as "probes" that look at the image's feature map to identify relevant spatial regions. The SSCA module then aggregates these specific regions into a dedicated feature for that specific label.
  3. Cascaded Refinement: By stacking SSCA modules, the model iteratively sharpens its focus, ensuring that the extracted features are highly discriminative and disentangled from irrelevant image data.

Experimental Results and Robustness

The DLFL framework was rigorously tested across eight major datasets, including generic classification (MS-COCO, PASCAL-VOC) and Pedestrian Attribute Recognition (PAR).

The results demonstrate state-of-the-art (SOTA) performance. On the MS-COCO dataset, DLFL achieved 86.0 mAP using a ResNet-101 backbone, outperforming the baseline by 3.0 points. When paired with a Swin-Transformer, performance reached 89.6 mAP.

Crucially, the disentangled approach significantly improves robustness. In tasks like pedestrian attribute recognition, where background clutter and pose variations are common, DLFL maintains high accuracy where traditional models fail.

Comparison of attribute prediction robustness for "Skirt&Dress" across different models, demonstrating the superior consistency of the proposed approach.

Key Insights and Future Work

The success of DLFL highlights that disentanglement is key to robust multi-label classification. By ensuring that the feature for "skirt" is independent of the "background" or "shoes," the model becomes far more resilient to environmental changes. Furthermore, the use of learnable queries ensures semantic consistency across different images, acting as a global memory for label characteristics.

While DLFL represents a significant leap forward, the authors note that perfect disentanglement remains a challenge due to the inherent spatial overlap in CNN feature maps. Future research will likely explore even more granular decoupling techniques to further isolate label representations and improve computational efficiency.

Summary updated

BibTeX
@misc{jia2022learning,
  author = {Jian Jia and Fei He and Naiyu Gao and Xiaotang Chen and Kaiqi Huang},
  title = {{Learning Disentangled Label Representations for Multi-label Classification}},
  year = {2022},
  eprint = {2212.01461},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.01461},
}
Figure