Models that look accurate on average often fail badly on underrepresented people, and the choice of hyperparameters is where much of that failure is decided. Learning rate, weight decay, model width, how long to train, and how aggressively to rebalance data all move worst-group accuracy far more than they move average accuracy. Picking those settings well currently requires a validation set in which every example is tagged with its demographic group. This proposal removes that requirement. A hyperparameter search already trains dozens of different models on the same data. The validation examples whose correctness changes depending on which hyperparameters were used are, we hypothesize, mostly members of the groups the average-accuracy objective neglects. Those examples can serve as pseudo-groups, and the search can pick the configuration that does best on the worst of them, with no demographic labels.
The opportunity matters because of what Simple data balancing achieves competitive worst-group-accuracy calls the "validation secret." That benchmark of robust training methods against simple majority-group subsampling found that group labels matter little during training but are essential during validation, for early stopping and hyperparameter choice. In deployment, demographic attributes are often missing, unreliable, or legally off-limits. If the search itself can stand in for those labels, the cheapest robust recipes become usable where they are needed most.
Core Claim
Take the pool of models produced by an ordinary hyperparameter search, with each run's predictions on an unlabeled-by-group validation set stored. For each validation example $i$, let $p_i$ be the fraction of configurations in the pool that classify it correctly. Examples with $p_i$ near 1 are easy majority cases. Examples with $p_i$ near 0 are mostly label noise or truly ambiguous inputs that no configuration fixes. Examples with intermediate $p_i$, which we call hyperparameter-sensitive, are the ones whose fate the search actually controls.
Our claim is that, within each class, hyperparameter-sensitive examples are heavily enriched for minority-group members. The mechanism comes from Overparameterization hurts worst-group accuracy with spurious correlations. That paper shows high-capacity models fit majority groups through spurious features and memorize minority exceptions. Its worst-group test error on CelebA moves from 25.6% to above 60% as width grows, then falls to 15.1% under majority subsampling. A search space that spans capacity, regularization, and subsampling therefore contains configurations on both sides of that divide, and minority examples are exactly where they disagree.
We then select hyperparameters by worst-pseudo-group accuracy, scoring each configuration with
$$\text{score}(\lambda) = \min_{g \in G} \text{acc}_{B}(\lambda; g).$$
Here $\lambda$ is a hyperparameter configuration. $G$ is the set of pseudo-groups, formed as class label crossed with sensitivity bin and estimated on one half $A$ of the validation set. $\text{acc}_{B}(\lambda; g)$ is the configuration's accuracy on members of $g$ in the other half $B$. Splitting the validation set this way stops a configuration from being rewarded for the same examples that defined the groups. Excluding the always-wrong bin keeps label noise from dominating the minimum.
Relation to Prior Work
Three existing lines each supply one piece and leave a different piece open.
Promoting Fairness through Hyperparameter Optimization adds a fairness term to random search, Tree-structured Parzen Estimator search, and Hyperband. It reports a 111% average fairness improvement for its bandit variant at a 6% performance cost on bank fraud data. It assumes demographic attributes are present in validation data. We keep its insight that the hyperparameter Pareto front is rich, but drop the labels.
In Search of Lost Domain Generalization shows that a robustness method is incomplete without a model-selection rule. With selection controlled, tuned standard training reaches 66.6% average accuracy across DomainBed and no specialized method beats it by more than a point. Its selection rules need labeled domains, either training domains or a held-out domain. This motivates treating selection as the object of study, which is what we do.
Efficient Hyperparameter Optimization under Multi-Source Covariate Shift tunes for an unlabeled target by reweighting labeled source tasks. It requires known sources and assumes $P(Y|X)$ is fixed across them. Spurious-correlation benchmarks violate that assumption by construction, so its estimator constrains rather than solves our setting.
The closest training-side idea is the error-set approach of Just Train Twice, which Simple data balancing achieves competitive worst-group-accuracy benchmarks: one standard model's mistakes are upweighted in a second training run. We differ in two ways. Our signal comes from variation across a population of configurations rather than one model's errors, which separates sensitive examples from hopeless ones. And we use it to select hyperparameters rather than to retrain.
Research Program
We first build the selection rule on top of standard random search, then a multi-fidelity variant inside Hyperband. In the Hyperband variant, sensitivity is estimated from cheap short runs and refined as configurations are promoted. This tests whether the signal appears early enough to guide budget allocation, an open question that Cruz et al.'s bandit heuristic does not address.
The search space covers training methods that need no group labels: standard training, class-balanced subsampling, and a two-round variant that subsamples by the pseudo-groups found in round one. Their hyperparameters are learning rate, weight decay, width where the backbone allows it, epochs or early-stopping point, and subsampling ratio.
We will analyze three things directly. The first is enrichment: the precision and recall of the sensitive bin against true group labels, which are held back and used only for evaluation. The second is how enrichment depends on pool diversity, comparing a search space with and without capacity and subsampling dimensions. The third is the failure mode in which a minority group is misclassified by every configuration and so falls into the always-wrong bin. We will measure this explicitly rather than assume it away.
Baselines
The naive reference point selects the configuration with the best average validation accuracy, the default HPO objective. Simple data balancing achieves competitive worst-group-accuracy reports that standard training selected this way can reach zero worst-group accuracy. Our method must beat it clearly on worst-group test accuracy while losing little average accuracy.
The upper reference is oracle selection: the same pool and the same trained models, chosen by true worst-group validation accuracy. This is the validation-secret setting. The file contains no reported worst-group numbers for group-labeled subsampling, so we will rerun it.
Published group-label reference points from the file give the scale. On CivilComments-WILDS, Group DRO raises worst-group accuracy from 56.0% to 70.0% over standard training (WILDS). On CelebA, subsampled overparameterized models reach 15.1% worst-group error (Sagawa et al.). Success means recovering most of the gap between naive and oracle selection, say at least two thirds averaged across benchmarks, without any group labels.
The strongest label-free competitor builds pseudo-groups from the error set of a single standard-trained model, Just-Train-Twice style, and selects by worst pseudo-group accuracy on the same pool. A second competitor is worst-class accuracy, which uses only class labels.
Every method in the comparison shares the same configurations, the same trained models, and the same validation data. Only the scoring rule changes, so compute and tuning budgets are identical by construction.
Fairness-aware random search (Cruz et al.) with true attributes serves as the labeled reference on the tabular sets. The file lists no numbers for Adult or COMPAS.
Two ablations isolate the key ingredient. The first replaces the sensitivity score with mean pool error, which does not separate hopeless examples from sensitive ones. The second defines and scores pseudo-groups on the same validation half instead of separate halves.
Why not just…?
Why not just select by average validation accuracy and add a balancing method? Balancing helps only if its own settings, such as stopping time and subsampling ratio, are chosen well. The validation-secret finding says average accuracy picks them poorly. The naive baseline above measures this directly on every benchmark.
Why not just use one model's mistakes as the pseudo-groups? This is the real threat. If the minority groups are exactly the examples a standard model gets wrong, our method adds nothing. We expect a single model's error set to mix minority members with noisy and ambiguous examples, which a min-over-groups score is especially fragile to. The enrichment analysis, together with the mean-error ablation, will show whether separating sensitive from always-wrong examples matters. If it does not, we will report the single-model rule as sufficient.
Why not just select by worst-class accuracy? It needs only labels that already exist and may capture much of the effect on benchmarks where minority groups align with a rare class. We will run it on every benchmark and break results down by whether group and class imbalance coincide. Our method should help most where they do not, as in CivilComments, where identity mentions cut across both toxicity classes.
Why not just label a few hundred validation examples by group? In some deployments that is reasonable. We will plot the number of group-labeled examples oracle selection needs to match our label-free rule. A small number would itself be a useful finding, and it would bound how much our method saves.
Proposed Experiments
We evaluate on the spurious-correlation and demographic benchmarks in the file. CelebA (gender as the spurious attribute) and CivilComments-WILDS (identity mentions) are the primary demographic tests. Waterbirds and MultiNLI serve as non-demographic controls where the same mechanism should hold. Adult and COMPAS extend the test to tabular models with race and sex attributes, using gradient-boosted trees and small networks.
Each benchmark gets a random-search pool of fixed size, around 60 configurations, repeated over three seeds. The report covers worst-group and average test accuracy for each selection rule, the share of the naive-to-oracle gap recovered, and the enrichment curves.
Three outcomes would decide the matter. First, the sensitive bin must show minority enrichment well above the base rate on at least the image and text benchmarks. Second, worst-pseudo-group selection must beat single-model error-set selection on worst-group test accuracy at equal compute. Third, enrichment must collapse when capacity and subsampling are removed from the search space, which would confirm that the signal comes from the diversity of the search rather than from example difficulty alone. If the second check fails, the contribution shrinks to a careful negative result about label-free selection. That is still worth publishing given how often the validation secret goes unstated.
References
- Simple data balancing achieves competitive worst-group-accuracy
- Overparameterization hurts worst-group accuracy with spurious correlations
- Promoting Fairness through Hyperparameter Optimization
- In Search of Lost Domain Generalization
- Efficient Hyperparameter Optimization under Multi-Source Covariate Shift
- WILDS: A Benchmark of in-the-Wild Distribution Shifts