Domain-Conditioned Class Imbalance: Rethinking Class Balance in Multi-Domain Learning
Yongkun Deng, NAN YANG, Xiatong Guo, Zhiyong Wang, Dong Yuan
NeurIPS 2026
TL;DR. Balanced class and domain totals can hide a highly skewed domain–class allocation, and HyperIDAC addresses this by generating a domain-conditioned classifier for each image, consistently outperforming the compared methods on four benchmarks.
Abstract. Unlabeled image collections often span several visual domains, and the same class can be common in one domain and rare in another. Balanced class totals and balanced domain sizes, the common checks in dataset construction, do not rule this out: the allocation across domain–class pairs can remain highly skewed. We call this regime Domain-Conditioned Class Imbalance (DCI). Standard corrections are derived from global class counts and apply the same per-class adjustment in every domain. Under DCI the class priors differ across domains, and we show that no single domain-independent additive adjustment can match all of them at once. We introduce HyperIDAC, which estimates a soft domain prior for each image and uses a hypernetwork to generate an instance-specific, domain-conditioned classifier. A complementary multi-level pseudo-labeling module combines teacher predictions, label history, semantic fallback, and consistency learning to limit error reinforcement in sparse domain–class pairs. For controlled evaluation, we fix the class and domain marginals and vary only the joint domain–class allocation, which isolates the effect of DCI. Across four multi-domain benchmarks under original, long-tailed, and DCI regimes, HyperIDAC consistently outperforms the compared methods. These gains indicate that correcting class imbalance in multi-domain data requires conditioning on domain context rather than a single global adjustment.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper identifies and formalizes a problem in unlabeled multi-domain learning: Domain-Conditioned Class Imbalance (DCI). To tackle this, the authors propose HyperIDAC, a framework that leverages a frozen CLIP model to extract domain-aware priors. Extensive experiments on four benchmarks across three imbalance regimes demonstrate the effectiveness of the proposed method.
Initially, the reviews were mixed; criticisms included mainly more empirical evaluations, scalability, and hyperparameter tuning in unlabeled settings, as well as expert sensitivity, robustness, and complexity. During the discussion. the authors made a big effort and were able to address the criticisms, such that all three reviewers acknowledged the problem setting of DCI and converged to a unanimous "borderline accept" rating. However, all three reviewers have concerns about the limited methodological novelty; they agree with each other that the technical novelty is not the highest and that an important part of the gains comes from a combination of many existing works. One reviewer pointed out that this paper needs a major revision of the manuscript and title; the DCI problem framing should be a general problem statement rather than a conditional one, which is important.
Therefore, the AC recommends acceptance if there is sufficient room in the NeurIPS 2026 program, and strongly suggests the authors revise this paper based on the detailed comments.
Final justification
The meta-review has been updated to include the final justification after considering the authors' response and the subsequent reviewer discussion.
Read meta-review
Meta-review
The paper identifies and formalizes a problem in unlabeled multi-domain learning: Domain-Conditioned Class Imbalance (DCI). To tackle this, the authors propose HyperIDAC, a framework that leverages a frozen CLIP model to extract domain-aware priors. Extensive experiments on four benchmarks across three imbalance regimes demonstrate the effectiveness of the proposed method.
Initially, the reviews were mixed; criticisms included mainly more empirical evaluations, scalability, and hyperparameter tuning in unlabeled settings, as well as expert sensitivity, robustness, and complexity. During the discussion. the authors made a big effort and were able to address the criticisms, such that all three reviewers acknowledged the problem setting of DCI and converged to a unanimous "borderline accept" rating. However, all three reviewers have concerns about the limited methodological novelty; they agree with each other that the technical novelty is not the highest and that an important part of the gains comes from a combination of many existing works. One reviewer pointed out that this paper needs a major revision of the manuscript and title; the DCI problem framing should be a general problem statement rather than a conditional one, which is important.
Therefore, the AC recommends acceptance if there is sufficient room in the NeurIPS 2026 program, and strongly suggests the authors revise this paper based on the detailed comments.
Final justification
The meta-review has been updated to include the final justification after considering the authors' response and the subsequent reviewer discussion.
11 comments
Ambiguous or misspecified domains (2/3)
(continued). Interpretation of the flattening curve (2/3)
The change is non-monotonic in : the largest drop occurs at the mildest flattening level rather than at the strongest one. One plausible explanation is that the mixture is linear in the domain embedding,
Thus, intermediate leaves the prior network with a sample-varying but systematically attenuated domain residual, whose magnitude differs from that seen during training. For any , this affine transformation remains invertible, so partial flattening is better viewed as a test-time attenuation and distribution shift in the embedding branch than as a literal graded removal of domain information. If the original posterior is overly sharp or noisy, this attenuation may also suppress spurious domain-specific modulation. At , the sample-specific variation vanishes and the domain branch acts as a shared bias-like context, while predictions can still vary through . We report this as a plausible interpretation rather than a verified mechanism.
Even when the explicit posterior is fully uniform, so that every image receives the identical average domain embedding, HyperIDAC achieves 72.33 ± 0.24%, a paired change of only −0.65 pp relative to the unmodified posterior.
These results should not be interpreted as showing that domain context is unnecessary. Even at , the prior network continues to receive the sample-specific feature , which can encode continuous visual context beyond the explicit finite-domain posterior. Rather, the results show that HyperIDAC does not require a sharply concentrated or perfectly separable explicit domain posterior: removing essentially all sample-specific information from that branch costs less than one accuracy point.
(continued). Misspecified domain count
The stress test above perturbs the posterior of a fixed model at inference time and therefore does not address a misspecified domain count. We additionally re-run the full pipeline on DomainNet–DCI with -means domain discovery at fixed , so that the number of assumed domains is deliberately set below, at, and above the six benchmark partitions.
| Relation to benchmark | Overall acc. (%) | |
|---|---|---|
| 1 | No domain partition (single cluster) | 68.81 |
| 3 | Under-specified | 67.76 |
| 6 | Matches benchmark partition count | 71.78 |
| 12 | Over-specified | 66.88 |
HyperIDAC on DomainNet–DCI with -means domain discovery at fixed . DomainNet–DCI contains six benchmark partitions. are single runs added for this response due to time constraints.
Accuracy peaks at (71.78%), which matches the number of benchmark partitions, and degrades on both sides of this value: to 67.76% when the domain count is under-specified at and to 66.88% when it is over-specified at . The spread across the entire sweep is under 5 pp, so misspecifying by a factor of two in either direction degrades performance gracefully rather than causing collapse. The degenerate setting , in which every image receives the same cluster and the explicit domain branch carries no information at all, reaches 68.81%. The model therefore remains functional without any domain partition, but does not match the aligned setting. We report these as empirical trends over a single benchmark and do not claim that can be selected by accuracy alone in a target-free setting.
We note that the two degenerate settings are complementary rather than contradictory: flattening the posterior of a domain-trained model at inference costs only 0.65 pp (), whereas training without any domain partition costs 2.97 pp ( vs. ), indicating that the benefit of explicit domain conditioning is realized primarily at training time rather than through a sharp test-time posterior.
(continued in the next comment)
Ambiguous or misspecified domains (3/3)
(continued). Unknown domain names, and scope
The submission also evaluates the case where predefined domain names are unavailable. On DomainNet–DCI, unsupervised latent discovery achieves 71.78% with fixed- K-means and 70.93% when is selected automatically by the elbow criterion, both above the strongest main-table baseline (69.66%). The corresponding results on Office-Home–DCI are 75.27% and 75.43%, versus 73.76% for the strongest main-table baseline.
Finally, the above experiments all probe discrete-domain ambiguity and misspecification: unknown domain names, unknown or wrong , and weak sample-level separability. We do not claim evidence for truly continuous domain variation. Consistent with our limitations discussion, that setting remains outside the demonstrated scope of this work.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper identifies and formalizes a problem in unlabeled multi-domain learning: Domain-Conditioned Class Imbalance (DCI). To tackle this, the authors propose HyperIDAC, a framework that leverages a frozen CLIP model to extract domain-aware priors. These priors are fed into a hypernetwork to dynamically generate instance-specific classifier weights. Additionally, a multi-level pseudo-labeling strategy is introduced to handle varying confidence levels and prevent confirmation bias on tail classes. Extensive experiments on four benchmarks across three imbalance regimes demonstrate the effectiveness of the proposed method.
Strengths and weaknesses
Strengths:
- The authors identify the Domain-Conditioned Class Imbalance(DCI) setting in unlabeled images. The newly proposed DCI setting is relevant to real-world scenarios where data is passively collected across diverse environments.
- The proposed method consistently achieves state-of-the-art performance across multiple diverse data regimes, demonstrating generalization capabilities.
- The paper is logically structured and easy to follow.
Weakness:
- Although the paper introduces a novel problem setting (DCI), the proposed HyperIDAC framework exhibits limited technical innovation. The core components of the method, such as domain embeddings(e.g. [2], [3], [4]), the hypernetwork(e.g. [1]) and employing a teacher-student framework for pseudo-labeling, are well-established paradigms extensively explored in Few-Shot Learning, Semi-Supervised learning, and Domain Generalization. Consequently, the methodological contribution feels more like an engineering amalgamation of existing techniques tailored to the new setting, rather than a fundamental architectural advancement.
- The hypernetwork generates a weight matrix for each instance. While feasible for datasets with 40-100 classes, this instance-specific generation might become a computational bottleneck (in terms of memory and FLOPs) if scaled to datasets with thousands of classes.
- The multi-level pseudo-labeling module introduces several thresholds and schedules. Tuning these hyperparameters for a completely novel, unlabeled dataset in the wild could be challenging.
[1] Sendera M, Przewięźlikowski M, Karanowski K, et al. Hypershot: Few-shot learning by kernel hypernetworks[C]//Proceedings of the IEEE/CVF winter conference on applications of computer vision. 2023: 2469-2478.
[2] Bai S, Zhang Y, Zhou W, et al. Soft prompt generation for domain generalization[C]//European Conference on Computer Vision. Cham: Springer Nature Switzerland, 2024: 434-450.
[3] Chi Z, Gu L, Liu H, et al. Learning to adapt frozen clip for few-shot test-time domain adaptation[C]//International Conference on Learning Representations. 2025, 2025: 66359-66380
[4] Qin X, Song X, Jiang S. Bi-level meta-learning for few-shot domain generalization[C]//Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2023: 15900-15910.
Questions
- What is the theoretical or conceptual justification that makes the proposed modules specifically tailored for the DCI setting? How do their internal mechanisms explicitly resolve domain-conditioned skew?
Limitations
yes.
Final justification
The authors' comprehensive rebuttal successfully resolved my practical concerns regarding scalability (via the new 1,000-class ImageNet-LT experiment) and hyperparameter tuning in unlabeled settings. However, I still maintain that the fundamental methodological novelty is limited. Given the conceptual value of the proposed setting, I believe the paper's overall merits outweigh its algorithmic limitations. Therefore, I have raised my score to Borderline Accept.
Formatting concerns
None.
9 comments
Scalability to large class spaces
Scalability to large class spaces
The generated classifier contains outputs, and the dense linear hypernetwork therefore scales linearly with the number of classes when and are fixed. Before turning to the new experiment, we first clarify the class-space scale already covered by the submission. The 40- and 100-class counts correspond to the controlled DomainNet DCI and LTD subsets, respectively, whereas the DomainNet Original setting in Table 1 uses all 345 classes (Sec. 4.2). In that experiment, HyperIDAC generates a complete 345×512 classifier weight matrix and 345 biases for each sample and reports 53.87% mean accuracy. Thus, the submitted evaluation was not limited to 40--100 classes. Nevertheless, the 345-class result alone does not settle scalability at the thousand-class scale.
To directly examine this scaling behavior, we additionally evaluate the submitted single-layer HyperIDAC on ImageNet-LT with all 1,000 classes. Since ImageNet-LT is single-domain, we use the same instantiation as in our submitted CIFAR100-LT experiment. All methods are trained following the protocol of Section 4.1, with no ground-truth labels, so the comparison isolates the training mechanism under identical supervision.
We retain the original unfactorized dense output with the canonical prior dimension , the same value used in all submitted experiments: the generator maps directly to all classifier coefficients, without factorization, compression, or low-rank approximation. HyperIDAC therefore generates a complete weight matrix and 1,000 biases for each sample, and completes the full 30-epoch run on a single 24-GB RTX 3090.
| Method | Overall | Many | Medium | Few |
|---|---|---|---|---|
| WVN | 41.00 | 59.66 | 33.07 | 16.12 |
| ISFDA | 35.19 | 37.78 | 34.62 | 29.84 |
| ConMix | 39.36 | 55.14 | 32.66 | 18.31 |
| LOS | 45.75 | 62.43 | 40.48 | 17.12 |
| HyperIDAC | 55.23 | 62.48 | 53.02 | 42.49 |
Accuracy (%) on ImageNet-LT with 1,000 classes. Many/Medium/Few denote classes with >100, 20–100, and <20 training images, respectively. Bold = best, italic = second best. Given the computational cost of this 1,000-class experiment and the limited rebuttal window, each method was run once (seed 226), and we therefore treat these results as a single-seed scalability stress test.
HyperIDAC achieves the best accuracy in every shot group. Relative to the strongest overall baseline, LOS, it improves by 9.48 pp overall, 12.54 pp on medium-shot classes, and 25.37 pp on few-shot classes, while the two methods are essentially tied on many-shot classes (62.48 versus 62.43). Compared with ISFDA, the strongest few-shot baseline, HyperIDAC is still 12.65 pp higher on few-shot classes while being 20.04 pp higher overall.
The 30-epoch training times of WVN, ISFDA, ConMix, LOS, and HyperIDAC are 66.5, 129.0, 119.8, 65.1, and 110.6 minutes, respectively. All values are directly measured wall-clock times for the complete 30-epoch runs on the same RTX 3090.
| Method | Throughput (images/s) | 50k time (s) | Peak infer. memory (GB) |
|---|---|---|---|
| WVN | 975.4 ± 15.8 | 51.27 ± 0.84 | 0.72 |
| ISFDA | 989.5 ± 9.3 | 50.53 ± 0.47 | 0.47 |
| ConMix | 977.0 ± 6.5 | 51.18 ± 0.34 | 0.46 |
| LOS | 987.6 ± 3.2 | 50.63 ± 0.16 | 0.46 |
| HyperIDAC | 973.5 ± 10.6 | 51.36 ± 0.56 | 1.11 |
Unified same-GPU online inference profile on the 50,000-image ImageNet-LT test set. All methods use online CLIP ViT-B/32 encoding on the same physical RTX 3090; throughput and time are mean ± sample standard deviation over three repeated full-test-set passes. WVN retains the full CLIP object in its current inference implementation. HyperIDAC uses the canonical prior dimension ; at and , its unfactorized generator is a single layer with 66.18M parameters. All inference measurements use FP32 with autocast disabled, and peak allocated memory is measured over the complete online inference pipeline.
Despite the higher peak inference memory (1.11 GB versus 0.46–0.72 GB), HyperIDAC requires 51.36 ± 0.56 seconds for the complete 50,000-image test set, compared with 50.53–51.27 seconds for the baselines. The additional conditional-generation pathway therefore incurs only a modest measured end-to-end inference-time overhead, because all methods share the same online CLIP encoding path.
Finally, these results establish the feasibility of the unmodified dense design up to 1,000 classes on a single consumer GPU. Substantially larger class spaces (e.g., tens of thousands of classes) would eventually require factorized or low-rank parameter generation, and remain outside the demonstrated scope of this work.
Hyperparameter sensitivity and use on unseen data
We thank the reviewer for recognizing the practical relevance of DCI, the consistent gains across data regimes, and the clarity of the paper, and for asking us to make the DCI-specific mechanism, scalability, and hyperparameter use more explicit. We will provide our detailed responses, together with the corresponding supporting analyses and experimental results, in a series of follow-up posts in this thread.
Hyperparameter sensitivity and use on unseen data
We understand the concern about selecting multiple thresholds and schedules for a previously unseen, fully unlabeled dataset. In the submitted Appendix F, we analyzed five principal choices on DomainNet–DCI, namely , , , , and . Across the tested ranges, performance remained stable, with variations typically within 1–2 pp and a maximum spread of 2.21 pp. In particular, the spreads for , , and were only 0.72, 0.98, and 0.47 pp, respectively. These experiments showed that HyperIDAC did not depend on a narrowly tuned operating point in the evaluated setting.
Notably, the submitted temperature default was not the best point in the DomainNet–DCI sweep. Table 13 showed that achieved 73.96%, which was 0.98 pp above the submitted default . Nevertheless, we retained throughout the main experiments rather than retroactively selecting the value that maximized target accuracy in this sweep. This mirrors the constraint faced on a new unlabeled dataset, where target accuracy is unavailable for choosing among candidate settings.
For a new unlabeled dataset, our practical recommendation is to start from the reported defaults rather than search for a dataset-specific optimum using target labels:
with the CLIP trust weight decaying from 1.0 to 0.5. The resulting sample partitions are observable without labels. In particular, a practitioner can monitor the proportions of teacher-confident, CLIP-confident, and KL-only samples, together with the historical-buffer update rate and teacher–CLIP agreement. These quantities can reveal a degenerate configuration in which one supervision branch becomes nearly empty or dominates training. When this occurs, the confidence thresholds can be adjusted within the broad stable ranges examined in Appendix F, without selecting them according to target accuracy.
This recommendation provides a label-free initialization and diagnostic procedure, rather than an automatic unsupervised hyperparameter optimizer. Fully automatic calibration for deployment distributions that differ substantially from the evaluated benchmarks remains an important direction. We will make both the existing sensitivity results and this practical guidance more prominent in the revision.
Relation to the works cited in Weakness 1 (1/2)
Relation to the works cited in Weakness 1 (1/2)
We thank the reviewer for these references. Several individual primitives in HyperIDAC are established and appear in these works: HyperShot [1] already generates classifier weights with a hypernetwork, SPG [2] generates instance-specific soft prompts at inference, and L2C [3] adapts frozen CLIP features using a generated domain prompt. We will add these references and discuss their relation to HyperIDAC in the revised Related Work. We do not claim novelty at the primitive level. The distinction lies in the problem structure and the signals available to these primitives, as summarized below.
| Method | Setting and supervision | Conditioning/adaptation granularity and object | Relation to DCI |
|---|---|---|---|
| HyperShot [1] | Episodic few-shot. Labeled support and query sets during meta-training, labeled support only at meta-test (test queries unlabeled). Novel-class tasks. Cross-domain evaluated as dataset-to-dataset transfer, no multi-domain mixture | One task-level classifier generated from a labeled support-set kernel | Support sets have equal class distribution. Same-class conditional skew across domains is not studied |
| SPG [2] | Supervised DG on labeled source domains with known source-domain membership (Stage-I per-domain prompt labels). Shared label space. No target-domain label needed at inference | One instance-specific soft prompt per target image from a conditional generator | No imbalance objective. Does not estimate or correct class priors or the joint domain–class allocation |
| L2C [3] | Labeled source-domain training. At test, a few unlabeled samples per target domain, supplied in domain-homogeneous groups without semantic domain labels. Shared label space | One generated domain prompt per target domain (from an unlabeled support batch and a source-domain cache), adapting complemented visual and refined text features | Evaluated on naturally imbalanced WILDS data, but does not explicitly estimate or correct class priors or the joint allocation |
| Bi-level meta-DG [4] | Fully labeled, domain-partitioned, non-episodic meta-training. Labeled support sets at meta-test. Novel-class few-shot across Meta-Dataset domains with largely distinct label spaces | One subspace per source domain (or per meta-test task) over a shared base space and prior subspace | Episodes vary in ways and shots by sampling design. Same-class conditional skew is not the learning object |
| HyperIDAC | One fixed class set shared across all domains in a single unlabeled multi-domain collection. No sample-level ground-truth class or domain annotations are used to train HyperIDAC. Class names and, in the primary variant, coarse domain descriptors are available, and the latent-domain variant removes the need for domain names. Supervision is constructed from CLIP pseudo-labels, EMA-teacher predictions, historical pseudo-labels, and consistency learning | One generated classifier and one adapted class-embedding matrix per image, conditioned on a learned prior that fuses F(x) with a posterior-weighted domain embedding | Hidden joint domain–class skew under balanced marginals is the explicit target |
(continued in the next comment)
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies a new problem called Domain-Conditioned Class Imbalance (DCI). DCI happens when class distributions vary across domains, even if global class counts and domain sizes are balanced. The paper shows that this hidden imbalance can reduce model performance. The authors propose HyperIDAC to address this problem. This method uses a domain-aware prior from CLIP features, a hypernetwork to generate instance-specific classifier weights, and a multi-level pseudo-labeling strategy. The method is evaluated on four benchmarks under different imbalance setups. The results show consistent improvements over existing baselines.
Strengths and weaknesses
The paper introduces a compelling, important formulation of domain conditional class imbalance, but the proposed solution is largely an integration of existing techniques, with limited methodological novelty.
Strengths: The idea of DCI is clear and meaningful.
The experimental design is comprehensive. The authors fix marginal distributions and vary only the domain-class allocation. This shows the effect of DCI.
The proposed method is technically sound. The model combines domain priors, hypernetworks, and pseudo-labeling.
The empirical results are extensive. The method is evaluated across several datasets and settings. It also includes ablations and robustness analysis.
The paper is well written. The ideas are clearly explained. The figures help understanding.
Weaknesses
There is limited technical novelty. Most components are not new. CLIP-based priors are widely used. Hypernetworks are known methods. Teacher-student pseudo-labeling is standard.
The method mainly combines existing ideas rather than introducing a new learning algorithm.
The hypernetwork design is simple. It is only a linear mapping. It does not introduce a new modeling principle.
There is no theoretical analysis of DCI. The paper presents empirical results but does not formally explain the problem.
The method relies heavily on CLIP. It is unclear how much improvement comes from CLIP versus the proposed design.
Some baseline comparisons are not fully fair. Several methods are modified or adapted, which may affect performance.
The results do not include standard deviation or statistical tests. This makes it hard to judge significance.
Questions
-
Need to show results without CLIP features or pseudo-labels. This would clarify how much improvement comes from the proposed architecture.
-
Why is the hypernetwork limited to a single linear layer? Would a more structured design improve results?
-
How does the method perform when domain boundaries are unclear or continuous?
-
How does HyperIDAC scale with large class counts (e.g., >1000 classes) or streaming data?
Limitations
Partially addressed. The authors acknowledge limitations regarding domain assumptions and benchmark settings. However, the following are insufficiently discussed: heavy reliance on CLIP, fairness issues in baseline comparison, lack of statistical significance, and scalability constraints.
Final justification
I appreciate the authors' additional experiments and comprehensive rebuttal. The DCI problem formulation is meaningful, and the new results help clarify the contribution of the proposed method, HyperIDAC.
However, for the NeurIPS standard, I believe this work still needs a good revision. The DCI problem framing should be a general problem statement rather than a conditional one, which is important. First, DCI is framed around three specific conditions: "domain-specific imbalance patterns," "extreme data scarcity," and "distribution blind spots." These do not clearly justify using experiments to demonstrate the significance and impact of DCI as a general principle. Instead, they read as narrow, conditional cases. The title, "Why Global Class Balance Fails Across Domains," reflects the same issue. I recommend revising the title as well.
Second, the empirical gains are recognized; the method mainly reengineers and evaluates the selected baselines to address fix class and domain margins in controlled evaluation. There is no representation learning analysis to explain why DCI occurs or why the proposed mitigation works. Without this, it is hard to fully trust the empirical gains.
I thank the authors for their hard work during the rebuttal. I am raising my score to Baseline Accept (4). I believe the authors will revise their work carefully to add the additional analysis from the rebuttal.
Formatting concerns
No major issues observed.
18 comments
Ambiguous or misspecified domains (1/3)
We thank the reviewer for the detailed review, which recognizes the DCI formulation and controlled experimental design while raising important questions about methodological novelty, CLIP attribution, baseline fairness, scalability, and domain ambiguity. We will provide our detailed responses, together with the corresponding supporting analyses and experimental results, in a series of follow-up posts in this thread.
Ambiguous or misspecified domains
Benchmark domain partitions are mutually exclusive by construction, but the visual cues associated with them need not be mutually exclusive at the sample level. For example, a photograph of body painting is photographic in its acquisition process while simultaneously exhibiting painting-related content and style, although DomainNet assigns it to a single benchmark partition. We therefore view the benchmark domain as a coarse context taxonomy rather than an exclusive sample-level latent truth.
To examine whether such boundary cases extend beyond isolated examples, we audit all 25,073 DomainNet–DCI test images using three operational proxies across two feature families: CLIP-posterior entropy, uncertainty from an ImageNet-pretrained ResNet-18 domain probe, and local cross-domain neighbor mixing in ResNet-18 feature space. Under a pre-specified top-quintile 2-of-3 consensus rule, 17.7% of images are identified as proxy-boundary cases. Moreover, 12.2% satisfy both CLIP-independent ResNet proxies, and 5.0% satisfy all three proxies. These cases occur most frequently in visually overlapping partitions such as real, painting, clipart, and sketch, with painting–real among the most frequent pair-consensus candidates. We emphasize that these are operational proxies for mixed domain cues, not human-verified multi-domain labels or evidence of annotation errors.
HyperIDAC is compatible with this non-exclusive view because it does not perform hard domain routing. Instead, it forms a posterior-weighted domain embedding
from the soft posterior and fuses this embedding with the continuous sample-level visual feature . However, soft conditioning alone does not establish that the trained model remains stable when the explicit domain posterior becomes diffuse. We therefore conduct a controlled posterior-flattening stress test that progressively removes sample-specific information from the explicit posterior branch.
For each of three fixed DomainNet–DCI epoch-30 checkpoints, we replace the original posterior at inference time with
without retraining or changing any model parameter, image feature, or evaluation sample. The uniform distribution is the maximum-entropy posterior over the domains, so provides a controlled path from the original posterior at to a fully uninformative explicit posterior at . At the latter endpoint, every image receives the same posterior and therefore the same average domain embedding, , while its sample-specific visual feature remains unchanged.
| Explicit domain posterior | Overall acc. (%) | Paired acc. vs. | |
|---|---|---|---|
| 0.00 | Original soft posterior | 72.98 ± 0.47 | +0.00 pp |
| 0.25 | 25% uniform mixture | 70.88 ± 0.30 | −2.10 pp |
| 0.50 | 50% uniform mixture | 71.73 ± 0.26 | −1.25 pp |
| 0.75 | 75% uniform mixture | 72.39 ± 0.28 | −0.59 pp |
| 1.00 | Fully uniform | 72.33 ± 0.24 | −0.65 pp |
Mean overall accuracy ± sample standard deviation over three fixed DomainNet–DCI checkpoints. Accuracy changes are computed checkpoint-wise relative to the corresponding evaluation.
Accuracy is largely insensitive to posterior flattening. At the strongest flattening levels ( and ) the paired change is within 0.7 pp, and the largest change across all tested levels is 2.10 pp.
(continued in the next comment)
Ambiguous or misspecified domains (2/3)
(continued). Interpretation of the flattening curve (2/3)
The change is non-monotonic in : the largest drop occurs at the mildest flattening level rather than at the strongest one. One plausible explanation is that the mixture is linear in the domain embedding,
Thus, intermediate leaves the prior network with a sample-varying but systematically attenuated domain residual, whose magnitude differs from that seen during training. For any , this affine transformation remains invertible, so partial flattening is better viewed as a test-time attenuation and distribution shift in the embedding branch than as a literal graded removal of domain information. If the original posterior is overly sharp or noisy, this attenuation may also suppress spurious domain-specific modulation. At , the sample-specific variation vanishes and the domain branch acts as a shared bias-like context, while predictions can still vary through . We report this as a plausible interpretation rather than a verified mechanism.
Even when the explicit posterior is fully uniform, so that every image receives the identical average domain embedding, HyperIDAC achieves 72.33 ± 0.24%, a paired change of only −0.65 pp relative to the unmodified posterior.
These results should not be interpreted as showing that domain context is unnecessary. Even at , the prior network continues to receive the sample-specific feature , which can encode continuous visual context beyond the explicit finite-domain posterior. Rather, the results show that HyperIDAC does not require a sharply concentrated or perfectly separable explicit domain posterior: removing essentially all sample-specific information from that branch costs less than one accuracy point.
(continued). Misspecified domain count
The stress test above perturbs the posterior of a fixed model at inference time and therefore does not address a misspecified domain count. We additionally re-run the full pipeline on DomainNet–DCI with -means domain discovery at fixed , so that the number of assumed domains is deliberately set below, at, and above the six benchmark partitions.
| Relation to benchmark | Overall acc. (%) | |
|---|---|---|
| 1 | No domain partition (single cluster) | 68.81 |
| 3 | Under-specified | 67.76 |
| 6 | Matches benchmark partition count | 71.78 |
| 12 | Over-specified | 66.88 |
HyperIDAC on DomainNet–DCI with -means domain discovery at fixed . DomainNet–DCI contains six benchmark partitions. are single runs added for this response due to time constraints.
Accuracy peaks at (71.78%), which matches the number of benchmark partitions, and degrades on both sides of this value: to 67.76% when the domain count is under-specified at and to 66.88% when it is over-specified at . The spread across the entire sweep is under 5 pp, so misspecifying by a factor of two in either direction degrades performance gracefully rather than causing collapse. The degenerate setting , in which every image receives the same cluster and the explicit domain branch carries no information at all, reaches 68.81%. The model therefore remains functional without any domain partition, but does not match the aligned setting. We report these as empirical trends over a single benchmark and do not claim that can be selected by accuracy alone in a target-free setting.
We note that the two degenerate settings are complementary rather than contradictory: flattening the posterior of a domain-trained model at inference costs only 0.65 pp (), whereas training without any domain partition costs 2.97 pp ( vs. ), indicating that the benefit of explicit domain conditioning is realized primarily at training time rather than through a sharp test-time posterior.
(continued in the next comment)
Ambiguous or misspecified domains (3/3)
(continued). Unknown domain names, and scope
The submission also evaluates the case where predefined domain names are unavailable. On DomainNet–DCI, unsupervised latent discovery achieves 71.78% with fixed- K-means and 70.93% when is selected automatically by the elbow criterion, both above the strongest main-table baseline (69.66%). The corresponding results on Office-Home–DCI are 75.27% and 75.43%, versus 73.76% for the strongest main-table baseline.
Finally, the above experiments all probe discrete-domain ambiguity and misspecification: unknown domain names, unknown or wrong , and weak sample-level separability. We do not claim evidence for truly continuous domain variation. Consistent with our limitations discussion, that setting remains outside the demonstrated scope of this work.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a new framework for assessing domain generalisation: The main hypothesis is that on datasets under domain shift there may be class labels unbalanced that are not necessarily the same across domains. By aiming to target balanced classes on data collection this unbalanced domain-condition distribution remains hidden and may hinder generalisation. The authors define this case as "Domain-Conditioned Class Imbalance" (DCI). For fair comparisons they set up a scheme where global label counts are indeed balanced per class, but each class has a different distribution conditioned on different domains. This setup allows for experimentation to test how large the impact of DCI. To tackle this domain dependency the authors propose HyperIDAC, which estimates a domain prior that rebalances weights for performing domain-aware inference for the specific input sample.
The experimental setup includes several multi-domain datasets, an "original" setup that leaves class distributions as originally intended in each dataset, a Long-tailed distribution setting and a DCI setting where global label counts are balanced but per domain class distribution is not. The experiments show strong improvement across the different datasets and settings.
Strengths and weaknesses
Strengths
The Domain-Conditioned Class Imbalance definition is a very interesting contribution to the field. It gives a good framework to continue building in this direction to asses and improve performance for domain generalisation.
The proposed method, including it's 2 main components, is very well thought. All the relevant components are very well motivated and feels well engineered. I found the fallback option to CLIP embeddings when the pseudo teacher didn't have good enough labels a very clever solution for this setup.
(minor) Weaknesses
The abstract is not easily readable, and hard to grasp what the paper is really doing, only after reading the paper I could understand. A rephrasing of it would be very helpful to give the reader a better context of what this paper is addressing.
The use of a Hypernetwork might be better discussed and motivated in the main text of the paper, including alternative formulations, of for example simply rebalancing features instead of weights, which is a more common approach in other works.
After reading the entire paper it becomes aparent that the different components of the HyperIDAC are relevant as they tackle complementary things. An introduction of the sub parts as described in Table 2, earlier on in the paper might help readers grasp the different ideas of the paper easer (DDL, PPL, Full)
Questions
I do not have any specific concerns, however I would appreciate the authors commenting on the following:
- Which kind of performance is it expected when the number of domains is not well aligned with the underlying data distribution? For example a case where the domain distinction is not as easy as in the given datasets? Would the domain discovery also work for these cases?
Limitations
yes
Final justification
I thank the authors for their thorough review. I liked the conceptual approach the authors have taken and the additional experiment help to strengthen the paper's claims.
I agree with the other reviewers that the technical novelty is not the highest and that an important part of the gains come from a combination of many existing works. However I still believe there's novelty in their use and combination for this specific case, the additional experiments on measuring the disentanglement form CLIP embeddings help understand the magnitude of the effect the architecture has on the results.
I believe our community also benefits from papers like this that analyse and propose a solution for a Domain-Conditioned Class Imbalance and a well thought method that clearly has gains on the baseline.
For these reasons I still keep my score of 5.
Formatting concerns
none
6 comments
Ambiguous or misspecified domains (1/3)
We thank the reviewer for the thoughtful review, particularly for recognizing the motivation and complementary design of HyperIDAC, and for the constructive suggestions on presentation and imperfect domain partitions. We will provide our detailed responses, together with the corresponding supporting analyses and experimental results, in a series of follow-up posts in this thread.
Ambiguous or misspecified domains
Benchmark domain partitions are mutually exclusive by construction, but the visual cues associated with them need not be mutually exclusive at the sample level. For example, a photograph of body painting is photographic in its acquisition process while simultaneously exhibiting painting-related content and style, although DomainNet assigns it to a single benchmark partition. We therefore view the benchmark domain as a coarse context taxonomy rather than an exclusive sample-level latent truth.
To examine whether such boundary cases extend beyond isolated examples, we audit all 25,073 DomainNet–DCI test images using three operational proxies across two feature families: CLIP-posterior entropy, uncertainty from an ImageNet-pretrained ResNet-18 domain probe, and local cross-domain neighbor mixing in ResNet-18 feature space. Under a pre-specified top-quintile 2-of-3 consensus rule, 17.7% of images are identified as proxy-boundary cases. Moreover, 12.2% satisfy both CLIP-independent ResNet proxies, and 5.0% satisfy all three proxies. These cases occur most frequently in visually overlapping partitions such as real, painting, clipart, and sketch, with painting–real among the most frequent pair-consensus candidates. We emphasize that these are operational proxies for mixed domain cues, not human-verified multi-domain labels or evidence of annotation errors.
HyperIDAC is compatible with this non-exclusive view because it does not perform hard domain routing. Instead, it forms a posterior-weighted domain embedding
from the soft posterior and fuses this embedding with the continuous sample-level visual feature . However, soft conditioning alone does not establish that the trained model remains stable when the explicit domain posterior becomes diffuse. We therefore conduct a controlled posterior-flattening stress test that progressively removes sample-specific information from the explicit posterior branch.
For each of three fixed DomainNet–DCI epoch-30 checkpoints, we replace the original posterior at inference time with
without retraining or changing any model parameter, image feature, or evaluation sample. The uniform distribution is the maximum-entropy posterior over the domains, so provides a controlled path from the original posterior at to a fully uninformative explicit posterior at . At the latter endpoint, every image receives the same posterior and therefore the same average domain embedding, , while its sample-specific visual feature remains unchanged.
| Explicit domain posterior | Overall acc. (%) | Paired acc. vs. | |
|---|---|---|---|
| 0.00 | Original soft posterior | 72.98 ± 0.47 | +0.00 pp |
| 0.25 | 25% uniform mixture | 70.88 ± 0.30 | −2.10 pp |
| 0.50 | 50% uniform mixture | 71.73 ± 0.26 | −1.25 pp |
| 0.75 | 75% uniform mixture | 72.39 ± 0.28 | −0.59 pp |
| 1.00 | Fully uniform | 72.33 ± 0.24 | −0.65 pp |
Mean overall accuracy ± sample standard deviation over three fixed DomainNet–DCI checkpoints. Accuracy changes are computed checkpoint-wise relative to the corresponding evaluation.
Accuracy is largely insensitive to posterior flattening. At the strongest flattening levels ( and ) the paired change is within 0.7 pp, and the largest change across all tested levels is 2.10 pp.
(continued in the next comment)
Ambiguous or misspecified domains (2/3)
(continued). Interpretation of the flattening curve (2/3)
The change is non-monotonic in : the largest drop occurs at the mildest flattening level rather than at the strongest one. One plausible explanation is that the mixture is linear in the domain embedding,
Thus, intermediate leaves the prior network with a sample-varying but systematically attenuated domain residual, whose magnitude differs from that seen during training. For any , this affine transformation remains invertible, so partial flattening is better viewed as a test-time attenuation and distribution shift in the embedding branch than as a literal graded removal of domain information. If the original posterior is overly sharp or noisy, this attenuation may also suppress spurious domain-specific modulation. At , the sample-specific variation vanishes and the domain branch acts as a shared bias-like context, while predictions can still vary through . We report this as a plausible interpretation rather than a verified mechanism.
Even when the explicit posterior is fully uniform, so that every image receives the identical average domain embedding, HyperIDAC achieves 72.33 ± 0.24%, a paired change of only −0.65 pp relative to the unmodified posterior.
These results should not be interpreted as showing that domain context is unnecessary. Even at , the prior network continues to receive the sample-specific feature , which can encode continuous visual context beyond the explicit finite-domain posterior. Rather, the results show that HyperIDAC does not require a sharply concentrated or perfectly separable explicit domain posterior: removing essentially all sample-specific information from that branch costs less than one accuracy point.
(continued). Misspecified domain count
The stress test above perturbs the posterior of a fixed model at inference time and therefore does not address a misspecified domain count. We additionally re-run the full pipeline on DomainNet–DCI with -means domain discovery at fixed , so that the number of assumed domains is deliberately set below, at, and above the six benchmark partitions.
| Relation to benchmark | Overall acc. (%) | |
|---|---|---|
| 1 | No domain partition (single cluster) | 68.81 |
| 3 | Under-specified | 67.76 |
| 6 | Matches benchmark partition count | 71.78 |
| 12 | Over-specified | 66.88 |
HyperIDAC on DomainNet–DCI with -means domain discovery at fixed . DomainNet–DCI contains six benchmark partitions. are single runs added for this response due to time constraints.
Accuracy peaks at (71.78%), which matches the number of benchmark partitions, and degrades on both sides of this value: to 67.76% when the domain count is under-specified at and to 66.88% when it is over-specified at . The spread across the entire sweep is under 5 pp, so misspecifying by a factor of two in either direction degrades performance gracefully rather than causing collapse. The degenerate setting , in which every image receives the same cluster and the explicit domain branch carries no information at all, reaches 68.81%. The model therefore remains functional without any domain partition, but does not match the aligned setting. We report these as empirical trends over a single benchmark and do not claim that can be selected by accuracy alone in a target-free setting.
We note that the two degenerate settings are complementary rather than contradictory: flattening the posterior of a domain-trained model at inference costs only 0.65 pp (), whereas training without any domain partition costs 2.97 pp ( vs. ), indicating that the benefit of explicit domain conditioning is realized primarily at training time rather than through a sharp test-time posterior.
(continued in the next comment)
Ambiguous or misspecified domains (3/3)
(continued). Unknown domain names, and scope
The submission also evaluates the case where predefined domain names are unavailable. On DomainNet–DCI, unsupervised latent discovery achieves 71.78% with fixed- K-means and 70.93% when is selected automatically by the elbow criterion, both above the strongest main-table baseline (69.66%). The corresponding results on Office-Home–DCI are 75.27% and 75.43%, versus 73.76% for the strongest main-table baseline.
Finally, the above experiments all probe discrete-domain ambiguity and misspecification: unknown domain names, unknown or wrong , and weak sample-level separability. We do not claim evidence for truly continuous domain variation. Consistent with our limitations discussion, that setting remains outside the demonstrated scope of this work.
Comments on the paper
1 comment
Kind reminder for author-reviewer discussions
Dear Authors and Reviewers,
Thank you for submitting and reviewing the papers to contribute to the NeurIPS conference. This is a gentle reminder that the due date for the author-reviewer discussion is approaching. Please participate in the discussion to clarify the paper statement or concerns.
Thanks!
AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Ambiguous or misspecified domains (1/3)
We thank the Area Chair for the thoughtful synthesis and for identifying the central questions regarding the DCI-specific mechanism, CLIP attribution, scalability, baseline fairness, and ambiguous domain boundaries. We will provide our detailed responses, together with the corresponding supporting analyses and experimental results, in a series of follow-up posts in this thread.
Ambiguous or misspecified domains
Benchmark domain partitions are mutually exclusive by construction, but the visual cues associated with them need not be mutually exclusive at the sample level. For example, a photograph of body painting is photographic in its acquisition process while simultaneously exhibiting painting-related content and style, although DomainNet assigns it to a single benchmark partition. We therefore view the benchmark domain as a coarse context taxonomy rather than an exclusive sample-level latent truth.
To examine whether such boundary cases extend beyond isolated examples, we audit all 25,073 DomainNet–DCI test images using three operational proxies across two feature families: CLIP-posterior entropy, uncertainty from an ImageNet-pretrained ResNet-18 domain probe, and local cross-domain neighbor mixing in ResNet-18 feature space. Under a pre-specified top-quintile 2-of-3 consensus rule, 17.7% of images are identified as proxy-boundary cases. Moreover, 12.2% satisfy both CLIP-independent ResNet proxies, and 5.0% satisfy all three proxies. These cases occur most frequently in visually overlapping partitions such as real, painting, clipart, and sketch, with painting–real among the most frequent pair-consensus candidates. We emphasize that these are operational proxies for mixed domain cues, not human-verified multi-domain labels or evidence of annotation errors.
HyperIDAC is compatible with this non-exclusive view because it does not perform hard domain routing. Instead, it forms a posterior-weighted domain embedding
from the soft posterior and fuses this embedding with the continuous sample-level visual feature F(x). However, soft conditioning alone does not establish that the trained model remains stable when the explicit domain posterior becomes diffuse. We therefore conduct a controlled posterior-flattening stress test that progressively removes sample-specific information from the explicit posterior branch.
For each of three fixed DomainNet–DCI epoch-30 checkpoints, we replace the original posterior at inference time with
without retraining or changing any model parameter, image feature, or evaluation sample. The uniform distribution is the maximum-entropy posterior over the K domains, so ρ provides a controlled path from the original posterior at ρ=0 to a fully uninformative explicit posterior at ρ=1. At the latter endpoint, every image receives the same posterior and therefore the same average domain embedding, ex=K1∑k=1KEk, while its sample-specific visual feature F(x) remains unchanged.
Mean overall accuracy ± sample standard deviation over three fixed DomainNet–DCI checkpoints. Accuracy changes are computed checkpoint-wise relative to the corresponding ρ=0 evaluation.
Accuracy is largely insensitive to posterior flattening. At the strongest flattening levels (ρ=0.75 and ρ=1) the paired change is within 0.7 pp, and the largest change across all tested levels is 2.10 pp.
(continued in the next comment)