Learning with springs and sticks

Luis Mantilla Calderón, Alán Aspuru-Guzik
8/26/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Learning is a physical process. Here, we aim to study a simple dynamical system composed of springs and sticks capable of arbitrarily approximating any continuous function. The main idea of our work is to use the sticks to mimic a piecewise-linear approximation of the given function, use the potential energy of springs to encode a desired mean squared error loss function, and converge to a minimum-energy configuration via dissipation. We apply the proposed simulation system to regression tasks and show that its performance is comparable to that of multi-layer perceptrons. In addition, we study the thermodynamic properties of the system and find a relation between the free energy change of the system and its ability to learn an underlying data distribution. We empirically find a \emph{thermodynamic learning barrier} for the system caused by the fluctuations of the environment, whereby the system cannot learn if its change in free energy hits such a barrier. We believe this simple model can help us better understand learning systems from a physical point of view.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{caldern2025learning,
  title  = {Learning with springs and sticks},
  author = {Luis Mantilla Calderón and Alán Aspuru-Guzik},
  year   = {2025},
  eprint = {2508.19015},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.19015v1}
}

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/2508.19015.svg)](https://codeofpaper.com/paper/2508.19015)

Discussion