paper-with-me

Papers

Compositional Dynamics in Learning and Mechanics

2026-06-27 · David I. Spivak arxiv

We give a single compositional setting in which gradient-based learning and Hamiltonian-style mechanics appear as functorial semantics. The syntax is an operad Arr whose objects are input-output interfaces (pairs of manifolds) and whose morphisms are *smooth adaptive arrangements*, which consist of a reactive parameter space, a lens given by smooth output and input maps, and a real-valued potential. The main technical result of the paper is what we call *lens internalization*, a lax symmetric monoidal functor Lens(C) $\to$ C associated to any symmetric monoidal closed category C. Using it, we provide two functors $Φ_\text{phase}$, $Φ_\text{conf}$: Arr $\to$ PC into the 2-category of polynomial coalgebras -- input-output discrete dynamical systems -- which we take as the semantics category. $Φ_\text{phase}$ stores both position and momentum, whereas $Φ_\text{conf}$ stores only position. When applied to a parameterized function, $Φ_\text{conf}$ recovers the gradient descent training algorithm, with backpropagation as the lens' backward pass. When applied to harmonic particles wired together -- in series, or according to any finite directed graph -- one diagram yields two different regimes, both of which are governed by the graph Laplacian: $Φ_\text{phase}$ gives the discrete wave equation, which is conservative and second-order, and $Φ_\text{conf}$ gives the discrete heat equation, which is dissipative and first-order. They are two semantics of one adaptive arrangement, e.g. with the same potential in each case. And because Arr is an operad, such diagrams nest -- larger systems wired from smaller ones -- and each semantics assembles a system's dynamics functorially from its parts. These dynamics are moreover executable: a parameterized neural network and a graph of particles both compile, by the same construction, to explicit state machines one can run.

📄 PDF Abstract BibTeX arXiv:2606.28984

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

AgentDynEx: Nudging the Mechanics and Dynamics of Multi-Agent Simulations

2025-04-13 · Jenny Ma, Riya Sahni, Karthik Sreedhar, Lydia B. Chilton

Multi-agent large language model simulations have the potential to model complex human behaviors and interactions. If the mechanics are set up properly, unanticipated and valuable social dynamics can surface. However, it…

Language ModelingLanguage ModellingLarge Language Model

Equivariant Graph Mechanics Networks with Constraints

2022-03-12 · Wenbing Huang, Jiaqi Han, Yu Rong, Tingyang Xu 외

Learning to reason about relations and dynamics over multiple interacting objects is a challenging topic in machine learning. The challenges mainly stem from that the interacting systems are exponentially-compositional, …

A Call to Lagrangian Action: Learning Population Mechanics from Temporal Snapshots

2026-05-08 · Vincent Guan, Lazar Atanackovic, Kirill Neklyudov arxiv

The population dynamics of molecules, cells, and organisms are governed by a number of unknown forces. In the last decade, population dynamics have predominantly been modeled with Wasserstein gradient flows. However, sin…

Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learning

2023-09-21 · NeurIPS 2023 11

Chain-of-thought (CoT) is a method that enables language models to handle complex reasoning tasks by decomposing them into simpler steps. Despite its success, the underlying mechanics of CoT are not yet fully understood.…

A Cutting Mechanics-based Machine Learning Modeling Method to Discover Governing Equations of Machining Dynamics

2025-01-20 · Alisa Ren, Mason Ma, Jiajie Wu, Jaydeep Karandikar 외

This paper proposes a cutting mechanics-based machine learning (CMML) modeling method to discover governing equations of machining dynamics. The main idea of CMML design is to integrate existing physics in cutting mechan…

Model Discovery