Random-Effects Centroids for Domain Generalization
Jinyong Jeong, Hyungu Kahng, Seoung Bum Kim
NeurIPS page · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Learning with Imperfect Supervision · Type: new method · Keywords: domain generalization, centroid, multi-environment, random-effects, averaged predictor
Areas: Continual Learning & Adaptation › Domain Shift Adaptation › Domain Shift Adaptation
Summary
REC introduces a training objective that learns source-specific expert heads on a shared representation and deploys them via a uniform centroid when test environment labels are unavailable, improving averaged predictor performance in domain generalization.
Explained to a 5-year-old
When a computer learns to do a task, it can see many different versions of the task. Usually it makes one big rule for everything. This paper makes many small rules, one for each version, and then mixes them together using a simple average. It also studies how to make this mixing work well when you don't know which version you will see later. The result is a smarter way to guess that works even when you don't know the situation.
Explained to a 5-year-old, longer
A computer program can learn to do something by looking at many examples. Sometimes those examples come from different places or conditions. The usual way is to create one rule that tries to work for all of them. But this might not be the best when you meet a new place you haven't seen before. This paper creates several small rules, each tailored to a specific place or condition. Then it combines those small rules by averaging them together. This way, when a new situation appears, the program can still use a good guess without needing to know exactly which place it is. The paper also studies why this averaging works and how to make it even better. It shows that using a simple average can be as good as more complicated methods, especially when you don't have labels for the new situation.
For a technical reader
The paper introduces REC, a training objective that learns per-source expert heads on a shared representation and deploys them via a uniform centroid when test environment labels are unknown. It provides a theoretical analysis showing that under a common second-moment assumption the centroid is environment-weighted while pooled ERM is sample-weighted, yielding a closed-form performance gap. Experiments on synthetic benchmarks and the WILDS suite demonstrate that REC matches existing DG baselines and that the centroid term is crucial for a useful averaged predictor. The approach offers a practical, label-agnostic deployment rule for domain generalization. It also highlights the importance of separating representation learning from aggregation in multi-environment settings.
Problem
Domain generalization methods usually train on multiple source environments but deploy a single pooled predictor, which can be suboptimal when the test environment label is unknown. The core problem is to design a deployment rule that effectively combines per-environment predictors without requiring environment identification at test time.
Method
The approach learns source-specific expert heads on a shared representation and combines them using a uniform centroid rule when test environment labels are unavailable. It introduces a training objective that directly optimizes the averaged deployment head, controlling centroid discrepancy and the dispersion of environment-specific optima under a common feature second-moment assumption.
Results
The approach achieves competitive performance with existing domain generalization baselines on WILDS, and ablation studies show that the centroid term is essential for a useful averaged predictor.
Contributions
It proposes a deployment rule based on a uniform centroid of per-environment heads, provides a theoretical analysis separating centroid from pooled ERM, and introduces a training objective that directly optimizes the averaged predictor.
Limitations and assumptions
The analysis assumes a common feature second moment and a random-effects model; the experiments are limited to synthetic benchmarks and the WILDS suite; the method does not address scenarios where test environment labels are available.
Practical relevance
Provides a practical, label-agnostic deployment strategy for domain generalization that can be used in real-world settings where environment identities are unknown.
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