Introduction
In real-world machine learning deployments, models frequently encounter data from categories outside their initial training set. Generalized Category Discovery (GCD) addresses this by requiring a model to categorize a mixture of "known" and "novel" (previously unseen) categories within an unlabeled dataset.
Two primary challenges hinder effective GCD:
- Category Bias: Pre-trained models are often overconfident, misclassifying novel samples as known ones.
- Category Confusion: The lack of supervision for novel categories makes it difficult for models to distinguish between distinct new classes.
While traditional approaches attempt to suppress pre-training bias, this work introduces the Self-Debiasing Calibration (SDC) framework, which treats model bias as a valuable source of information to improve discovery.
Methods
The SDC framework calibrates the model's output logits during training through three integrated components designed to mitigate the inherent biases of pre-trained models.
- Bias Mitigation (CBM): SDC utilizes a frozen, biased model to generate "bias logits." By subtracting these from the active model's predictions for known categories, the system penalizes overconfidence in known classes when processing potentially novel data.
- Confusion Mitigation (CCM): This component leverages the biased model to identify semantic similarities between known and novel classes. Using a Transfer Matrix based on category prototypes, SDC transfers knowledge from the known domain to help distinguish between novel categories. For instance, if a novel "refund" intent is consistently confused with a known "payment" intent, that signal helps isolate "refund" from other novel intents.
- Entropy-based Weighting: The degree of calibration is dynamically adjusted based on the entropy of the biased model's output. High entropy suggests a novel sample, triggering stronger calibration, while low entropy indicates a likely known category.
The framework employs the Sinkhorn-Knopp algorithm for pseudo-labeling, combined with contrastive learning to refine feature representations. This approach allows for online inference, making it significantly faster than traditional clustering-based methods.
Key Results
The SDC framework was evaluated on three text-based intent detection benchmarks: BANKING, HWU64, and CLINC. In these experiments, 25% of categories were held out as novel, and only 10% of known category data was labeled to simulate a challenging discovery environment.
As shown in the results table, SDC consistently outperforms existing state-of-the-art (SOTA) methods across all metrics:
- Superior Accuracy: On the BANKING dataset, SDC achieved an H-score of 70.11%, surpassing the previous best (KTN) by nearly 2%.
- Novel Category Discovery: SDC showed an average improvement of 2.64% in identifying novel categories across all datasets, demonstrating the effectiveness of the Confusion Mitigation strategy.
- Comparison to LLMs: Despite their general capabilities, GPT-3.5 and GPT-4 struggled significantly in this GCD setup, particularly with novel category identification, where SDC maintained a substantial lead.
- Efficiency: SDC's classifier-based architecture performs approximately 5.6x faster than traditional GCD methods that require expensive K-Means clustering on the entire test set.
Conclusion
The SDC framework demonstrates that model bias, typically viewed as a liability, can be repurposed as a powerful tool for Generalized Category Discovery. By mathematically "debiasing" the training process and transferring knowledge through category similarities, SDC sets a new standard for identifying unseen intents in complex datasets. Future work may explore the application of SDC to computer vision tasks and refining prototype generation for even more robust confusion mitigation.
Summary updated