arXiv:2609.38094cs.LGSep 2026

Manuscript Offprint

arXiv:2609.38094

Dimensionally consistent surrogate modelling through dimensional analysis and harmonic expansions

Ernest Tarrus, Hector Gisbert

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

Abstract

Dimensional homogeneity is a fundamental constraint on physically meaningful models, requiring invariance under changes of units. We present a data-driven method for constructing surrogate models that satisfy this constraint at the level of the hypothesis class. Starting from a dimension matrix of measured variables, the method derives Buckingham Π\Pi-groups, constructs admissible dimensional prefactors, and approximates the remaining dimensionless dependence using truncated harmonic expansions on normalized invariant domains. Once the prefactor and dictionary are fixed, the coefficients are obtained from a regularized linear regression problem. We test the approach on the simple pendulum, Planck's black-body law, the double-pendulum Lyapunov field, and an experimental COBE/FIRAS black-body spectrum dataset. The results show that dimensional constraints improve conditioning, robustness to noise, and sample efficiency relative to unconstrained baselines, while the choice of dictionary becomes important in non-periodic or multi-invariant settings. The learned expressions are explicit and inexpensive to evaluate, which makes them useful as surrogate models for structured physical problems.

Keywords: Dimensional analysis; Buckingham Π\Pi theorem; Unit-equivariant learning; Dimensionally consistent surrogate modelling; Regularized regression; Harmonic feature expansions; Invariant representations

1 Introduction

Dimensional analysis plays a central role in the physical sciences. At a minimum, it provides a consistency criterion: physically meaningful equations must be dimensionally homogeneous, so that their form is preserved under changes of units [1, 2]. More importantly, it reveals the internal structure of physical models. By exploiting scaling relations among variables, dimensional analysis reduces the effective number of degrees of freedom and identifies the dimensionless combinations that govern the remaining behavior, as formalized by the Buckingham II theorem [2–5]. This result is also known as the Vaschy–Buckingham theorem, since Vaschy stated an equivalent formulation in 1892 [6]; we follow the standard convention and refer to it as the Buckingham II theorem throughout. The resulting invariants provide natural coordinates for the problem and clarify which combinations of variables may influence the observable of interest.

The growing interest in data-driven modelling of physical systems has renewed the relevance of such structural constraints. Symbolic regression seeks explicit analytic expressions directly from data [7, 8], while sparse-library approaches identify compact models from prescribed candidate terms [9, 10]. More broadly, physics-informed learning introduces prior physical knowledge into the learning process in order to improve generalization, robustness, and interpretability [11]. In all these settings, one basic requirement is often overlooked or only weakly enforced: the learned model should remain meaningful under arbitrary changes of units. A predictor that depends on whether length is expressed in meters or centimeters is not physically admissible. This suggests that dimensional consistency should not be treated merely as an a posteriori check, but rather imposed directly at the level of the hypothesis class.

Recent work has begun to incorporate dimensional structure more explicitly into machine-learning pipelines. Villar et al. formulate learning with physical quantities as a problem of exact units equivariance, showing how dimensional analysis can be used to construct invariant representations before inference [12]. Bakarji et al. develop dimensionally consistent learning with Buckingham II, including constrained fitting and data-driven identification of dimensionless groups and scaling parameters [13]. Xie et al. propose a framework for discovering dominant dimensionless numbers and governing relations from limited measurements [14]. Related ideas have also been explored in data-driven dimensional analysis for complex flow systems, where the goal is to identify informative nondimensional groups directly from simulation or experimental data [15]. Taken together, these works show that dimensional structure is not only a consistency requirement, but also a useful inductive bias for modelling physical relations from data.

In this work, we construct surrogate models from data under explicit dimensional constraints. Starting from the dimensional structure of the measured variables, we form independent Buckingham invariants and identify the admissible dimensional scalings compatible with the target quantity. The predictor is written as a dimensional prefactor multiplied by a dimensionless modulation on invariant space, and the modulation is approximated with a truncated harmonic dictionary. With this choice, fitting the coefficients reduces to regularized linear regression, for example Ridge, Lasso, or Elastic Net [16–19].

Our approach is related to this previous literature, and several of its individual ingredients are classical. Buckingham dimensional analysis, monomial dimensional prefactors, harmonic/Fourier approximations, and Ridge regularization are all well-established tools. The contribution of the present work is to use these components as a fixed hypothesis class for surrogate modelling: an admissible dimensional prefactor is selected from the affine space Aβ=bA\beta = \mathbf{b}, while the remaining dimensionless response is approximated by a finite dictionary on Buckingham invariant space.

This differs from previous dimensionally aware learning methods in scope and emphasis. Existing approaches often focus on discovering dimensionless groups from data, embedding dimensional constraints into flexible black-box regressors, or enforcing units equivariance in broad model classes [12–14]. Here, the admissible dimensional structure and the approximation space are specified before fitting. The model is therefore less general than a symbolic discovery engine, but its assumptions and fitted coefficients are directly inspectable. In this sense, our framework is also distinct from symbolic-regression systems such as AI Feynman, which search over broader symbolic expression spaces rather than working within a structured approximation class determined a priori by dimensional admissibility [8].

The main contributions of this work are therefore the following. First, we formulate dimensionally constrained surrogate modelling as a unit-equivariant regression problem determined by the dimension matrix of the variables. Second, we construct an explicit prefactor-times-invariants hypothesis class in which the admissible dimensional scaling is separated from the residual dimensionless response. Third, we study finite dictionaries on invariant space, including one-dimensional, phase-combination, and separable tensor-product forms, and discuss when the associated periodic continuation is appropriate. Fourth, we evaluate the resulting models against unconstrained and dimensionally aware baselines, including alternative non-periodic basis choices, on synthetic and experimental benchmark data.

The benchmarks are chosen to separate four effects: recovery of a dimensional skeleton, approximation of a nontrivial dimensionless modulation, validation on measured data, and dictionary design in a multi-invariant setting. Across these cases, the experiments track how dimensional constraints affect conditioning, robustness, and sample efficiency, and how dictionary geometry matters once the invariant space is multidimensional.

The remainder of the paper is organized as follows. Section 2 introduces the dimensional formulation of the learning problem. Section 3 develops the unit-consistent hypothesis class, including admissible prefactors, invariant coordinates, and harmonic dictionaries. Section 4 summarizes the full learning pipeline. Sections 5, 6, and 7 present the benchmarks and discuss the numerical results. Finally, Section 8 concludes with the main implications and possible extensions of the framework.

References (25)