Deep Graph Matching for Partial Label Learning

Gengyu Lyu, Yanan Wu, Songhe Feng

Abstract

Partial Label Learning (PLL) addresses the challenge of training classifiers when each instance is associated with a set of candidate labels, only one of which is correct. We present D-GAP (Deep Graph Matching for Partial Label Learning), a novel framework that treats disambiguation as a structural graph matching problem. By leveraging Graph Attention Networks (GAT) to learn data representations and an iterative progressive loss function, D-GAP achieves state-of-the-art accuracy. Crucially, it reduces computational complexity from quadratic to linear ($O(N)$), enabling its application to large-scale real-world datasets.

Introduction

In many practical machine learning scenarios, obtaining precise single-label annotations is difficult. Instead, "partial labels" are often provided, where an instance is tagged with multiple candidates (e.g., "dog, cat, grass"). The goal of Partial Label Learning (PLL) is to build a reliable classifier by disambiguating these candidate sets.

Existing PLL approaches typically rely on averaging candidate labels or treating the true label as a latent variable. While graph-based methods have shown promise by utilizing structural relationships between data points, they have historically been limited by two factors: reliance on static, manually defined features and a quadratic computational cost ($O(N^2)$) relative to the number of training instances. D-GAP overcomes these limitations by integrating deep representation learning within a localized graph matching framework.

Methodology: The D-GAP Framework

D-GAP transforms PLL into an "instance-label" matching selection problem through three integrated stages:

1. Assignment Graph Construction

The model constructs an instance graph using $k$-nearest neighbors to connect similar data points and a label graph representing the output space. These are merged into a unified matching graph where edges connect instances to their respective candidate labels.

2. Modeling Affinity with DeepGNN

Rather than using raw features, D-GAP employs a Graph Attention Network (GAT). This allows instance nodes to aggregate structural information from their neighbors, which helps in filtering out outliers and refining the representation. The model then calculates matching affinity scores between these refined instance representations and label embeddings.

Overview of the D-GAP framework showing instance-label space mapping and the deep graph matching process.

3. Progressive Cross-Entropy Loss

To handle the inherent noise in candidate label sets, D-GAP uses a progressive loss function. This mechanism iteratively updates weights for each candidate label. As training progresses, the model increases the weight on labels it identifies with higher confidence, effectively "self-distilling" the ground truth from the initial ambiguity.

Experimental Evaluation

The authors evaluated D-GAP against several state-of-the-art baselines on both synthetic and real-world datasets. Synthetic benchmarks were derived from UCI datasets (e.g., Vehicle, Satimage, Nuswide), while real-world datasets included facial age estimation (FG-NET) and object classification (MSRCv2).

Key Results

  • Accuracy: D-GAP outperformed or matched competitors in 99.4% of statistical comparisons across synthetic datasets. It consistently achieved the highest training and test accuracy on real-world benchmarks.
  • Efficiency: By localizing the graph matching process, D-GAP achieves $O(N)$ complexity. On the Nuswide dataset (>79,000 instances), D-GAP remained computationally efficient while several $O(N^2)$ baselines failed to complete training.
Performance comparison on the Vehicle dataset, where D-GAP consistently outperforms existing PLL methods across varying levels of label ambiguity.

Conclusion

D-GAP represents a significant advancement in Partial Label Learning by combining the strengths of structural graph matching with deep representation learning. Its linear scalability and robust disambiguation capabilities make it a practical choice for large-scale, weakly supervised learning tasks. Future work may involve incorporating label hierarchies and semantic correlations to further enhance disambiguation in complex label spaces.

Summary updated

BibTeX
@inproceedings{lyu2022deep,
  author = {Gengyu Lyu and Yanan Wu and Songhe Feng},
  title = {{Deep Graph Matching for Partial Label Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/459},
}
Figure