A Controlled Evaluation of Curvature Inspired Scalar Feature Scaling for Domain Generalization
Organizations: Indian Institute of Technology Bombay Mumbai, Maharashtra, India
Abstract
Domain-specific curvature is an appealing idea for domain generalization (DG), but curvature learning can denote substantially different computations. This paper evaluates one deliberately narrow implementation: the code calls it HyperDG, but it rescales Euclidean encoder features during training by learned positive scalars and uses an ordinary linear classifier on unscaled Euclidean features at inference. It does not implement a Lorentz or Poincaré representation, geodesic prediction, or a Sharpness-Aware Minimization inner loop. We audit the executed objective and evaluate six conditions on PACS, VLCS, Office Home, and TerraIncognita. The completed design contains 384 runs: six conditions, four held-out targets, and four run seeds per dataset. Checkpoints are selected using only the three source-validation environments. Inference first averages paired seed differences within each held-out target; targets, rather than 16 seed-by-target observations, are the per-dataset clusters. The full implementation's equal-dataset macro point estimate is 1.61 percentage points below native DomainBed ERM (95% clustered CI [-3.17, -0.04]). All four dataset point estimates favor ERM, but an exact four-dataset sign-flip test gives p = .125 and Holm-adjusted p = .250; we therefore claim no adjusted evidence of a difference. The cleaner domain-specificity contrast, separate learned source scales without their variance penalty versus one shared learned source scale, is -0.13 pp (95% CI [-0.53, 0.27]). Its 90% CI lies within a revision-stage pp smallest effect of practical interest (TOST p = .003), supporting equivalence only for the source-selected suite macro, not every dataset, target, or final-step endpoint. The study thus supplies a bounded negative result for this scalar training package; it does not test or refute genuine hyperbolic representation learning.
Figures & tables
| Family | Representation and prediction | Relation to this study |
|---|---|---|
| Hyperbolic neural networks ( Ganea et al., 2018 ) | Poincaré/Möbius operations and a hyperbolic classifier | Genuine manifold baseline; not implemented here |
| MERU and learned-curvature HNNs ( Desai et al., 2023 ; Fan et al., 2025 ) | Lorentz or hyperbolic embeddings with explicit manifold geometry | Stronger geometric parameterization; different protocol |
| Hyperbolic DG ( Bi et al., 2025 ; Di Salvo et al., 2026 ) | Hyperbolic representations embedded in DG-specific objectives | Relevant recent direction; not a scalar-only ablation |
| HyperDG (this audit) | in training; Euclidean linear prediction on | Curvature-inspired scalar feature scaling only |
| Condition | Executed treatment |
|---|---|
| StandardERM | Native DomainBed ERM; no scales or auxiliary losses. |
| MatchedControl | HyperDG route; three fixed local scales and one fixed global scale; all five coefficients zero. |
| FullPerDomain | Three learned local scales and one learned global scale; full coefficients in Equation 8 . |
| Frozen | All scales fixed; retains alignment, norm, local (inactive), and global terms; . |
| NoVariance | Three learned local scales; same remaining objective as FullPerDomain but . |
| SharedLearnable | One learned local scale shared by all three source loaders plus the separate learned global scale. Scale dispersion is structurally zero. |
| Condition | PACS | VLCS | OfficeHome | TerraInc. |
|---|---|---|---|---|
| StandardERM | 85.88 | 77.19 | 70.21 | 47.13 |
| MatchedControl | 84.22 | 75.38 | 70.05 | 44.14 |
| FullPerDomain | 84.87 | 76.42 | 68.52 | 44.17 |
| Frozen | 86.14 | 75.84 | 67.81 | 44.20 |
| NoVariance | 85.28 | 76.17 | 68.36 | 43.70 |
| SharedLearnable | 85.55 | 76.56 | 68.17 | 43.75 |
| Contrast | Effect [95% CI] | Exact / Holm | TOST | Interpretation |
|---|---|---|---|---|
| Full ERM | .125 / .250 | .848 | No adjusted evidence; equivalence not demonstrated | |
| NoVar Shared | .375 / .375 | .003 | source-selected macro-equivalent |
Domain Generalization
Domain generalization develops models that perform reliably in new environments without training on target-domain data.
See all 376 papers