Abstract
Open-Set Domain Generalization (OSDG) presents a dual challenge for machine learning models: they must generalize to unseen visual domains (domain shift) while simultaneously identifying previously unencountered object categories (category shift). Traditional meta-learning approaches for OSDG often rely on static, sequential training schedules that fail to account for the varying difficulty levels of different source domains. This paper introduces EBiL-HaDS, a novel framework that employs an adaptive domain scheduler. By utilizing a bi-level optimization strategy and evidential learning, the system identifies and prioritizes the "hardest" domains during training. Experimental results across benchmarks like PACS, DigitsDG, and OfficeHome demonstrate that EBiL-HaDS significantly improves both close-set accuracy and open-set recognition performance compared to existing state-of-the-art methods.
Introduction
In real-world applications, machine learning models frequently encounter data that differs significantly from their training sets. This "out-of-distribution" (OOD) problem manifests in two primary ways: domain shift, where the environmental context changes (e.g., varying weather conditions in autonomous driving), and category shift, where the model encounters entirely new classes of objects.
Open-Set Domain Generalization (OSDG) aims to build models robust to both shifts. While recent meta-learning techniques simulate these shifts during training to improve robustness, they typically follow a fixed training curriculum. This paper argues that such static schedules are sub-optimal. Instead, we propose the Evidential Bi-Level Hardest Domain Scheduler (EBiL-HaDS), which dynamically adapts the training process to focus on the most challenging domains, thereby forcing the model to learn more resilient and invariant features.
Methodology
The EBiL-HaDS framework is built upon three core technical innovations designed to move beyond static training paradigms.
1. Adaptive Domain Scheduler
Rather than cycling through source domains in a predetermined order (e.g., Photo → Art → Cartoon), EBiL-HaDS treats domain selection as a dynamic process. At each training step, the system identifies the "hardest" domain—the one where the model currently exhibits the lowest reliability—and designates it as the "meta-test" task. This ensures the model is constantly challenged by the data it finds most difficult to generalize to.
2. Follower Network and Bi-Level Optimization
To implement this adaptive scheduling, the authors introduce a secondary "follower" network. This network is specifically trained to predict domain reliability, which serves as an aggregated confidence score. The interaction between the main classification network and the follower network is framed as a bi-level optimization problem. The follower network learns to assess the difficulty and reliability of domains, while the main network optimizes for classification accuracy based on the scheduler's selection. This co-evolutionary process allows the scheduler to become an active participant in the optimization rather than a passive script.
3. Max Rebiased Discrepancy Evidential Learning (MRD-EL)
Standard evidential learning, which predicts a distribution over class probabilities to quantify uncertainty, is prone to overfitting. To mitigate this, the authors propose Max Rebiased Discrepancy Evidential Learning (MRD-EL). This method utilizes dual decision-making heads and introduces a "rebiasing" step. By maximizing the discrepancy between these two heads, the model is forced to explore diverse decision boundaries. This results in more reliable uncertainty scores, which are critical for detecting unseen "open-set" categories during inference.
Experimental Evaluation
The researchers evaluated EBiL-HaDS on three standard OSDG benchmarks:
- PACS: 7 classes across 4 domains (Photo, Art-painting, Cartoon, Sketch).
- DigitsDG: Digit recognition across 4 domains (MNIST, MNIST-M, SVHN, SYN).
- OfficeHome: A large-scale dataset featuring 65 classes across 4 domains. The authors established a new OSDG benchmark for this dataset by designating the final 30 alphabetical categories as unseen "open-set" classes.
Key Results
EBiL-HaDS consistently outperformed state-of-the-art methods such as MEDIC and MLDG across various architectures, including ResNet18 and Vision Transformers (ViT).
- PACS Performance: On ResNet18, the method achieved a 1.11% improvement in close-set accuracy and a 2.45% increase in the Open-Set Classification Rate (OSCR), the primary metric for OSDG.
- Handling Extreme Shifts: The framework showed significant gains on the "Cartoon" domain of PACS, which is traditionally considered the most difficult domain for generalization.
- Feature Space Analysis: TSNE visualizations indicated that EBiL-HaDS produces tighter, more distinct clusters for known classes while effectively segregating unseen open-set samples into separable regions of the feature space.
Discussion and Conclusion
The core insight of EBiL-HaDS is that the "hardest" domain serves as the most effective teacher. By prioritizing training on domains where the model is least reliable, the system is forced to discard domain-specific shortcuts in favor of truly invariant features. Furthermore, the use of dual-head discrepancy in evidential learning provides a more robust mechanism for uncertainty estimation than standard approaches.
Despite its success, the authors note certain limitations. The current framework assumes all source domains share a unified set of known categories, which may not hold in all real-world scenarios. Additionally, the study was limited to image classification; future research will explore the applicability of adaptive scheduling to more complex tasks such as object detection and semantic segmentation. Finally, care must be taken to ensure that adaptive schedulers do not inadvertently introduce biases based on sensitive attributes within the training data.
In conclusion, EBiL-HaDS represents a significant step forward in OSDG by transforming the training schedule from a static sequence into a dynamic, reliability-driven optimization process.
Summary updated