Knowledge Amalgamation for Multi-Label Classification via Label Dependency Transfer

Jidapa Thadajarassiri, Thomas Hartvigsen, Walter Gerych, Xiangnan Kong, Elke A. Rundensteiner

Abstract

Multi-label classification (MLC) requires capturing complex dependencies between labels, typically necessitating large, fully annotated datasets. However, existing pre-trained models often specialize in disjoint or partially overlapping label sets. This paper introduces Adaptive KNowledge Transfer (ANT), a novel framework for Knowledge Amalgamation (KA) in MLC. ANT enables a student model to learn the collective expertise of multiple teacher models using only unlabeled data. By intelligently transferring label dependencies and resolving teacher disagreements, ANT effectively synthesizes a global understanding of label relationships, outperforming state-of-the-art methods across eight diverse datasets.

Introduction

Multi-label classification (MLC) is a fundamental task in machine learning where an instance can be assigned multiple relevant tags simultaneously (e.g., an image containing a "tree," "garage," and "car"). A critical component of effective MLC is the modeling of label dependencies—the statistical relationships that dictate which labels are likely to co-occur. Traditionally, training these models requires massive human-annotated datasets to capture these dependencies accurately.

However, the current paradigm faces two major hurdles: rigidity and knowledge silos. Models trained on specific domains (e.g., rural scenes) cannot easily incorporate knowledge from other domains (e.g., urban scenes) without expensive retraining. Furthermore, while many specialized pre-trained models exist, there has been no efficient way to merge their expertise into a single, comprehensive model without new labeled data.

The Challenge of Multi-Label Knowledge Amalgamation

Knowledge Amalgamation (KA) aims to train a "student" model by leveraging the knowledge of multiple pre-trained "teacher" models. While KA has been successfully applied to single-label classification, extending it to the multi-label domain is challenging. Single-label KA focuses on selecting the most likely category from a set of mutually exclusive options. In contrast, multi-label KA must preserve and synthesize the intricate web of dependencies known to different teachers, even when those teachers have disjoint label sets or provide conflicting predictions on shared labels.

Comparison of Single-Label and Multi-Label Learning/Amalgamation

The ANT Framework

To address these challenges, the authors propose the Adaptive KNowledge Transfer (ANT) framework. ANT operates using only unlabeled data and consists of three primary components designed to facilitate the transfer of label dependencies.

  1. Transfer Indicator (TI): In cases where multiple teachers predict the same label but disagree on its presence, TI identifies the most competent "transferor." The framework employs a heuristic where a teacher predicting a positive label is considered more competent, as MLC models are typically designed to be conservative and reject ambiguous signals.
  2. Knowledge Transfer Module (KTM): This module allows a "transferor" teacher to pass its high-confidence prediction to a "transferee." The transferee then uses this external information to refine its own specialized label predictions, leveraging its internal knowledge of how labels relate to one another.
  3. Prediction Integrator: The refined predictions from all teachers are merged into a single set of "soft" labels. These labels serve as the supervision signal for the student model.

The student model itself utilizes an RNN-based architecture (specifically LSTMs) to learn to predict labels sequentially, allowing it to internalize the global dependencies amalgamated from the teachers.

Overview of the Knowledge Amalgamation process for Multi-Label Classification

Experimental Evaluation

The researchers evaluated ANT across eight diverse benchmark datasets spanning media (SCENE, BIRD), text (YELP, MEDICAL), and biology (YEAST, GENBASE). ANT consistently outperformed five state-of-the-art KA methods, achieving the top average rank across metrics such as Subset Loss, Hamming Loss, and F1 scores.

Crucially, ANT demonstrated remarkable robustness to varying degrees of label overlap. Even in scenarios where teachers shared zero labels, the framework successfully synthesized a global understanding by using shared intermediate labels as conduits for dependency transfer. Furthermore, the method proved scalable, maintaining high performance as the number of teachers increased.

Conclusion and Future Work

Adaptive KNowledge Transfer (ANT) provides a robust and cost-effective solution for scaling multi-label classification capabilities. By enabling the amalgamation of specialized pre-trained models using only unlabeled data, ANT bypasses the need for expensive human annotation. While currently optimized for chain-based teacher architectures, future research could extend the framework to other model types and further refine competence heuristics to handle potentially noisy teacher signals.

Summary updated

BibTeX
@inproceedings{thadajarassiri2023knowledge,
  author = {Jidapa Thadajarassiri and Thomas Hartvigsen and Walter Gerych and Xiangnan Kong and Elke A. Rundensteiner},
  title = {{Knowledge Amalgamation for Multi-Label Classification via Label Dependency Transfer}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i8.26190},
}
Figure