# Domain-Conditioned Class Imbalance: Why Global Class Balance Fails Across Domains

*Yongkun Deng, NAN YANG, Xiatong Guo, Zhiyong Wang, Dong Yuan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154451) · [Open on the map](../papers.html#p154451)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Neural Representation Alignment](../pgroup/59.md) · Type: new method · Keywords: domain-conditioned class imbalance, hypernetwork, multi-domain visual recognition, pseudo-labeling, bias mitigation

Areas: [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Domain Shift Adaptation › Domain Generalization

## Summary
HyperIDAC is a hypernetwork-based classifier that dynamically generates domain-conditioned classifier parameters and class embeddings to address hidden domain-conditioned class imbalance in multi-domain visual recognition.

## Explained to a 5-year-old
Sometimes pictures come from different places, like a beach and a city. Even if there are the same number of pictures of dogs in each place, some places might have more dogs than others. This hidden unfairness makes it hard for computers to recognize dogs everywhere. The researchers built a system that looks at where a picture is from and changes how it decides what the picture shows. They also added a helper that learns from past guesses to avoid mistakes, helping computers see better in any place.

## Explained to a 5-year-old, longer
Pictures can be taken in many different places, like a park, a kitchen, or a desert. When we want a computer to recognize objects like cats or cars, we need enough examples from each place. Even if we count the total number of cat pictures from all places and they look balanced, some places might have many more cat pictures than others. This hidden imbalance is called domain-conditioned class imbalance, and it can trick the computer into being biased. The researchers noticed that many existing methods only look at overall numbers and miss this hidden problem. They created a new way to let the computer see where a picture comes from and adjust its decisions accordingly. The system uses a kind of memory that stores information about each place and helps the computer make better guesses. It also uses a teacher-student training trick where a helpful guide watches the computer's learning and corrects mistakes. For pictures the computer is not confident about, the system has a fallback that uses past knowledge instead of guessing. This combination of looking at the source, learning from past examples, and using a safety net reduces bias. As a result, the computer can recognize objects more fairly, whether the picture is from a city street or a mountain trail. The approach was tested on many different benchmarks and performed better than previous methods.

## For a technical reader
The paper identifies a hidden imbalance where class distributions vary across visual domains even when overall class and domain counts appear balanced. This domain-conditioned class imbalance degrades model performance on underrepresented domain-class pairs. HyperIDAC addresses this by using a hypernetwork to infer domain priors from visual features and generate instance-specific classifier parameters and domain-conditioned embeddings, leveraging CLIP semantics for zero-shot support. A multi-level pseudo-labeling module combines teacher-student training with historical label tracking and a fallback for low-confidence samples to mitigate bias reinforcement. Experiments on multiple benchmarks under various regimes show that HyperIDAC substantially outperforms existing methods.

## Problem
Even when class totals and domain sizes appear balanced, the distribution of samples across domain-class pairs can be highly skewed, leading to hidden conditional imbalance that degrades model performance.

## Method
The approach uses a hypernetwork to infer domain priors from visual features and lightweight zero-shot predictions, then generates instance-specific classifier parameters and domain-conditioned class embeddings, while a multi-level pseudo-labeling module combines teacher-student training with historical label tracking and a fallback for low-confidence samples.

## Results
The approach substantially outperforms state-of-the-art methods across benchmarks under multiple regimes.

## Contributions
It identifies hidden domain-conditioned class imbalance as a critical issue, proposes a hypernetwork-based solution that creates domain-sensitive decision boundaries, and introduces a pseudo-labeling scheme to mitigate bias reinforcement in unlabeled settings.

## Research questions this paper is counted under

- [How can we mitigate the degradation of minority class performance under various forms of class imbalance?](../q/369.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154451)
