arXiv:2610.18227cs.LGOct 2026

Manuscript Offprint

arXiv:2610.18227

A Controlled Evaluation of Curvature Inspired Scalar Feature Scaling for Domain Generalization

Sunny Gupta, Amit Sethi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 predicts with an unscaled Euclidean feature and an ordinary linear classifier. It does not implement a Lorentz or Poincaré representation, geodesic prediction, or a Sharpness-Aware Minimization inner loop. We audit the executed objective and complete a six-condition, four-dataset (PACS, VLCS, OfficeHome, TerraIncognita), four-target, four-seed evaluation (384 runs), with checkpoints selected using only the three source-validation environments and target-level effects, not 16 seed-by-target cells, as the per-dataset inferential unit. The full implementation's equal-dataset macro estimate is 1.61 percentage points below native DomainBed ERM; all four dataset estimates favor ERM, but the primary four-dataset exact sign-flip test gives p=.125p = .125 (Holm-adjusted p=.250p = .250), so we claim no adjusted evidence of a difference. The cleaner domain-specificity contrast, separate learned source scales without their dispersion penalty versus one shared learned source scale, is −0.13-0.13 pp and passes a revision-stage ±1\pm 1 pp equivalence test (TOST p=.003p = .003) for the source-selected suite macro, though not for every dataset, target, or the 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.

1 Introduction

Domain generalization (DG) trains on several source environments and evaluates on an unseen target environment (Wang et al., 2023; Gulrajani & Lopez-Paz, 2021). The setting invites geometric inductive biases: hyperbolic spaces can represent hierarchies and multiple scales compactly, and modern hyperbolic networks can operate directly on a curved manifold (Ganea et al., 2018; Fan et al., 2025). A much weaker intervention is to multiply an otherwise Euclidean feature vector by a learned scalar. Those interventions should not be evaluated or described as if they were interchangeable.

This distinction is central here. In this paper, HYPERDG denotes the exact scalar-scaling formulation specified in Section 3; it is not a reference to a separate external paper and it is not shorthand for hyperbolic DG in general. The implementation maps a Euclidean feature hθ(x)h_{\theta}(x) to hθ(x)/cih_{\theta}(x)/\sqrt{c_i} during its training loss, where ci>0c_i > 0 is indexed by a source-loader slot. The model predicts with the unscaled Euclidean feature and a linear classifier. Calling cic_i a curvature magnitude reflects the implementation's motivation, not a claim that the representation has learned sectional curvature.

We ask two bounded questions:

0^{0}Generative-AI tools were used for language editing and typesetting assistance. The authors verified the analysis, claims, citations, and final text and take responsibility for the manuscript.

  1. Does the complete HYPERDG training package improve held-out-domain accuracy over native DomainBed ERM under a matched ResNet-50 protocol?

  2. Within the same HYPERDG update route, do three separately learned source scales provide a practically meaningful macro advantage over one shared learned source scale?

The first comparison is a whole-package utility test, because native ERM and HYPERDG differ in update and BatchNorm routes. The second isolates the per-source parameterization more cleanly by comparing NOVARIANCE with SHAREDLEARNABLE; neither condition has an operative between-scale dispersion penalty. This revision contributes:

  • an implementation-level specification that separates the intended geometric interpretation from the executed computation, including an inactive local-gradient term, an algebraically scale-cancelling proxy, and the train-inference scaling mismatch;

  • a completed six-condition, four-dataset, four-target, four-seed evaluation (384/384 runs), including native ERM and a fully replicated shared-learnable condition;

  • source-only model selection and target-clustered uncertainty, with every named target and run seed reported separately; and

  • a narrow negative conclusion: under this protocol, the full package shows no advantage over ERM, and separate source scales are macro-equivalent to one shared scale within the stated revision-stage margin.