Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

When Domain Generalization meets Generalized Category Discovery: An Adaptive Task-Arithmetic Driven Approach

About

Generalized Class Discovery (GCD) clusters base and novel classes in a target domain using supervision from a source domain with only base classes. Current methods often falter with distribution shifts and typically require access to target data during training, which can sometimes be impractical. To address this issue, we introduce the novel paradigm of Domain Generalization in GCD (DG-GCD), where only source data is available for training, while the target domain, with a distinct data distribution, remains unseen until inference. To this end, our solution, DG2CD-Net, aims to construct a domain-independent, discriminative embedding space for GCD. The core innovation is an episodic training strategy that enhances cross-domain generalization by adapting a base model on tasks derived from source and synthetic domains generated by a foundation model. Each episode focuses on a cross-domain GCD task, diversifying task setups over episodes and combining open-set domain adaptation with a novel margin loss and representation learning for optimizing the feature space progressively. To capture the effects of fine-tuning on the base model, we extend task arithmetic by adaptively weighting the local task vectors concerning the fine-tuned models based on their GCD performance on a validation distribution. This episodic update mechanism boosts the adaptability of the base model to unseen targets. Experiments across three datasets confirm that DG2CD-Net outperforms existing GCD methods customized for DG-GCD.

Vaibhav Rathore, Shubhranil B, Saikat Dutta, Sarthak Mehrotra, Zsolt Kira, Biplab Banerjee• 2025

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationPACS (test)
Average Accuracy73.3
225
Domain GeneralizationOffice-Home (test)
Average Accuracy53.86
106
Generalized Category DiscoveryPACS
Overall Accuracy75.21
16
Generalized Category DiscoveryOffice-Home
All Accuracy54.32
16
Generalized Category DiscoveryDomainNet
Accuracy (All)29.01
16
Class Discovery and Domain GeneralizationDomainNet (test)
Accuracy (All)0.2901
3
Showing 6 of 6 rows

Other info

Follow for update