Dimensionally consistent learning with Buckingham Pi

Joseph Bakarji, Jared Callaham, Steven L. Brunton, J. Nathan Kutz

Abstract

In the absence of governing equations, dimensional analysis is a robust technique for extracting insights and finding symmetries in physical systems. Given measurement variables and parameters, the Buckingham Pi theorem provides a procedure for finding a set of dimensionless groups that spans the solution space, although this set is not unique. We propose an automated approach using the symmetric and self-similar structure of available measurement data to discover the dimensionless groups that best collapse this data to a lower dimensional space according to an optimal fit. We develop three data-driven techniques that use the Buckingham Pi theorem as a constraint: (i) a constrained optimization problem with a non-parametric input-output fitting function, (ii) a deep learning algorithm (BuckiNet) that projects the input parameter space to a lower dimension in the first layer, and (iii) a technique based on sparse identification of nonlinear dynamics (SINDy) to discover dimensionless equations whose coefficients parameterize the dynamics. We explore the accuracy, robustness and computational complexity of these methods as applied to three example problems: a bead on a rotating hoop, a laminar boundary layer, and Rayleigh-Benard convection.

Introduction

Dimensional analysis is a cornerstone of physics and engineering, providing a mathematical framework to reduce complex physical variables into a smaller set of dimensionless groups. The Buckingham Pi theorem formalizes this reduction, yet it leaves a significant gap: the resulting set of dimensionless groups is not unique. Traditionally, identifying the most physically meaningful or "useful" groups required deep domain expertise and iterative trial-and-error.

As scientific inquiry increasingly relies on high-dimensional datasets where governing equations may be unknown, there is a critical need to automate the discovery of these groups. This paper introduces three data-driven methods that embed the Buckingham Pi theorem as a constraint within machine learning architectures. By doing so, the authors transform "black-box" models into "gray-box" models that are inherently interpretable and respect the fundamental "language of units."

Methodology

The core of the proposed approach is to ensure that the exponents of the variables in the discovered groups lie in the null-space of the "units matrix." Three distinct techniques were developed to implement this constraint:

1. Constrained Optimization

This method utilizes Kernel Ridge Regression, a non-parametric fitting function, to map inputs to outputs. It treats the Buckingham Pi theorem as a hard constraint during optimization to find the specific input dimensionless group that best "collapses" the data onto a lower-dimensional manifold.

2. BuckiNet

BuckiNet is a specialized deep learning architecture designed for physical interpretability. As shown in Figure 1, the network begins with a logarithmic transformation of input parameters, followed by a linear layer that represents the exponents of the Pi groups. An exponential activation function then recovers the dimensionless groups. A "soft" loss term is incorporated into the training objective to penalize any deviations from dimensional consistency.

The BuckiNet architecture for discovering dimensionless groups.

3. Dimensionless SINDy

Building on the Sparse Identification of Nonlinear Dynamics (SINDy) algorithm, this technique discovers sparse differential equations where the coefficients are themselves dimensionless groups. This allows for the identification of both the system dynamics and the critical dimensionless parameters (such as bifurcation parameters) that govern them.

Experimental Evaluation and Results

The methods were validated across three classic physical systems, demonstrating their ability to recover known physics and discover optimal representations.

  • Bead on a Rotating Hoop: Using BuckiNet, the authors successfully recovered the known dimensionless groups ($\gamma$ and $\epsilon$) with sparse, rational exponents, accurately capturing the parameters that govern "pitchfork" bifurcations.
  • Laminar Boundary Layer (Blasius Flow): The constrained optimization method identified a similarity variable ($\eta \approx y\sqrt{U/vx}$) nearly identical to the analytical solution. This variable successfully collapsed scattered 2D velocity profiles into a single, coherent curve.
  • Rayleigh-Bénard Convection: The Dimensionless SINDy approach identified the inverse Rayleigh number as the primary coefficient in a Landau-type equation. This allowed the model to accurately describe the onset of convection and match withheld test data.

Discussion and Limitations

These methods represent a shift from simply finding any dimensionless set to finding the optimal set that maximizes data collapse. By forcing models to respect physical symmetries, BuckiNet acts as a form of unsupervised dimensionality reduction that is physically grounded, unlike standard autoencoders.

However, several challenges remain:

  • Non-Convexity: The optimization landscapes can be complex, sometimes requiring multiple restarts to avoid sub-optimal linear combinations of Pi groups.
  • Sparsity Sensitivity: In SINDy, the results can be sensitive to the chosen sparsity threshold, necessitating a balance between model simplicity and accuracy.
  • Data Constraints: The current implementation of BuckiNet requires positive input data due to the log-transform, though data shifting offers a potential workaround.

Conclusion

By integrating the Buckingham Pi theorem into modern machine learning, this work provides a robust framework for discovering parsimonious and interpretable physical laws directly from data. Future work will focus on applying these techniques to experimental "black-box" systems where governing equations are unknown, potentially revealing new dimensionless constants in complex fields such as biology and materials science.

Summary updated

BibTeX
@inproceedings{bakarji2022dimensionally,
  author = {Joseph Bakarji and Jared Callaham and Steven L. Brunton and J. Nathan Kutz},
  title = {{Dimensionally consistent learning with Buckingham Pi}},
  booktitle = {Research Square},
  year = {2022},
  doi = {10.21203/rs.3.rs-1547348/v1},
}
Figure