Transfer and Alignment Network for Generalized Category Discovery

Wenbin An, Feng Tian, Wenkai Shi, Yan Chen, Yaqiang Wu, Qianying Wang, Ping Chen

Abstract

Generalized Category Discovery (GCD) is a challenging task that requires models to recognize known categories while simultaneously discovering novel ones in unlabeled data. Current approaches often struggle with "tunnel vision," where models are biased toward known classes, leading to the misclassification of novel instances. We introduce the Transfer and Alignment Network (TAN), a framework designed to mitigate this bias by calibrating category prototypes. TAN employs a dual-level approach, aligning instance-level and category-level features through specialized transfer mechanisms. Experimental results on three major text classification benchmarks—BANKING, StackOverflow, and CLINC—demonstrate that TAN significantly improves accuracy on novel categories without compromising performance on known ones, outperforming existing state-of-the-art methods.

Introduction

In traditional machine learning, models typically operate under a "closed-world" assumption, where all test categories are seen during training. However, real-world applications often involve "open-world" scenarios. Generalized Category Discovery (GCD) addresses this by tasking models with identifying both known and entirely new categories within unlabeled datasets.

The primary challenges in GCD are twofold:

  1. Biased Knowledge Transfer: Models pre-trained on labeled data often become over-confident in known classes, forcing novel instances into existing categories.
  2. Noisy Representation Learning: The absence of labels makes it difficult to learn discriminative features, resulting in a cluttered and noisy feature space.

To address these issues, we propose the Transfer and Alignment Network (TAN), which leverages category prototypes to provide reliable learning targets and clear decision boundaries.

Methodology

The core of the TAN framework is the use of prototypes—the representative centers of categories in the feature space. TAN consists of four primary components designed to refine these prototypes and align them with data instances.

Overview of the TAN architecture, illustrating the transfer and alignment mechanisms between labeled and unlabeled data.

Prototype-to-Prototype Transfer (P2P Trans)

This component calibrates noisy prototypes derived from unlabeled data. By identifying the most semantically similar known prototypes, TAN "corrects" the positions of novel prototypes in the feature space.

Prototype-to-Instance Transfer (P2I Trans)

For unlabeled data belonging to known categories, this mechanism pulls instances toward their respective ground-truth labeled prototypes, ensuring compact and well-defined clusters.

Instance-to-Prototype Alignment (I2P Align)

This process pulls all instances toward their calibrated prototypes, capturing essential category-level semantics and establishing robust decision boundaries.

Instance-to-Instance Alignment (I2I Align)

Using contrastive learning, TAN ensures that different augmentations of the same instance remain close in the feature space, preserving fine-grained, instance-level details.

Experiments and Results

We evaluated TAN on three text classification benchmarks: BANKING (77 categories), StackOverflow (20 categories), and CLINC (150 categories). In our experimental setup, 25% of categories were novel, and only 10% of known category data was labeled.

Performance Comparison

TAN consistently outperformed state-of-the-art (SOTA) methods across all datasets. Notably, it achieved a 6.23% improvement in novel category accuracy on the BANKING dataset compared to the previous best method, DPN.

Average performance comparison between DPN and TAN across H-score, Novel, and Known category accuracy.

The H-score (the harmonic mean of known and novel accuracy) improved by an average of 3.98% across all benchmarks, indicating that TAN effectively balances performance between known and novel classes.

Conclusion

The Transfer and Alignment Network (TAN) provides a robust solution for Generalized Category Discovery by addressing the inherent biases in knowledge transfer and the noise in representation learning. By utilizing prototype-based calibration and dual-level alignment, TAN establishes a new state-of-the-art for discovering novel categories in unlabeled data. Future work may involve extending this framework to hierarchical category discovery and multi-modal datasets.

Summary updated

BibTeX
@inproceedings{an2024transfer,
  author = {Wenbin An and Feng Tian and Wenkai Shi and Yan Chen and Yaqiang Wu and Qianying Wang and Ping Chen},
  title = {{Transfer and Alignment Network for Generalized Category Discovery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.28959},
}
Figure