Dimensionless machine learning: Imposing exact units equivariance

Soledad Villar, Weichi Yao, David W. Hogg, Ben Blum-Smith, Bianca Dumitrascu
4/2/2022
stat.MLcs.LGphysics.data-an

Official code: weichiyao/ScalarEMLP (25 stars, Python, MIT, last commit 2025-03-23).

Abstract

Units equivariance (or units covariance) is the exact symmetry that follows from the requirement that relationships among measured quantities of physics relevance must obey self-consistent dimensional scalings. Here, we express this symmetry in terms of a (non-compact) group action, and we employ dimensional analysis and ideas from equivariant machine learning to provide a methodology for exactly units-equivariant machine learning: For any given learning task, we first construct a dimensionless version of its inputs using classic results from dimensional analysis, and then perform inference in the dimensionless space.

Show full abstract

Our approach can be used to impose units equivariance across a broad range of machine learning methods which are equivariant to rotations and other groups. We discuss the in-sample and out-of-sample prediction accuracy gains one can obtain in contexts like symbolic regression and emulation, where symmetry is important. We illustrate our approach with simple numerical examples involving dynamical systems in physics and ecology.

View on arXivView PDF

Code Implementations(1)

MIT

Config files for my GitHub profile.

255PythonAug 7, 20211 years agoMIT
configgithub-config

Similar Papers

Cite this paper

@article{villar2022dimensionless,
  title  = {Dimensionless machine learning: Imposing exact units equivariance},
  author = {Soledad Villar and Weichi Yao and David W. Hogg and Ben Blum-Smith and Bianca Dumitrascu},
  year   = {2022},
  eprint = {2204.00887},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.00887}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.00887.svg)](https://codeofpaper.com/paper/2204.00887)

Discussion