<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Steady State | mcbal</title><link>https://mcbal.github.io/tags/steady-state/</link><atom:link href="https://mcbal.github.io/tags/steady-state/index.xml" rel="self" type="application/rss+xml"/><description>Steady State</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-gb</language><lastBuildDate>Mon, 02 Feb 2026 09:28:17 +0100</lastBuildDate><image><url>https://mcbal.github.io/media/icon.svg</url><title>Steady State</title><link>https://mcbal.github.io/tags/steady-state/</link></image><item><title>Entropy Production in Non-Equilibrium Neural Networks</title><link>https://mcbal.github.io/post/entropy-production-in-non-equilibrium-neural-networks/</link><pubDate>Mon, 02 Feb 2026 09:28:17 +0100</pubDate><guid>https://mcbal.github.io/post/entropy-production-in-non-equilibrium-neural-networks/</guid><description>&lt;p&gt;&lt;a title="Walter Baxter / A murmuration of starlings at Gretna" href="https://commons.wikimedia.org/wiki/File:Starling_murmuration.jpg"&gt;&lt;img width="512" alt="A murmuration of starlings at Gretna" src="https://upload.wikimedia.org/wikipedia/commons/8/8d/Starling_murmuration.jpg?20150218191823"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;&lt;strong&gt;✨ Work in progress. Reach out if you want to come join the fun!&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;&lt;strong&gt;✨ GitHub repository:
&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Modern large-scale autoregressive language models are impressive system engineering artifacts serving billions of users. Powerful in-context learning capabilities can be elicited at inference time through external scaffolding, harnesses, and environment engineering. Yet these models are frozen, with memory externalized into ever-growing transcripts and learning into large-scale offline optimization. This has implications for online continual learning, adaptive model deployment, and real-time closed-loop interaction with live systems.&lt;/p&gt;
&lt;p&gt;In this post, we focus on adaptive systems that can reuse a fixed substrate, remain online, and continuously reshape internal dynamics under local constraints. To move in this direction, we treat neural networks as non-equilibrium thermodynamic systems. Building on previous work in
, we design transformer-like modules based on mean-field dynamics of a class of vector-spin models where module inputs map to applied fields driving the system and module outputs are mean-field magnetizations.&lt;/p&gt;
&lt;p&gt;The physics-inspired backbone of these architectures enables us to write down a proxy for
, a thermodynamic quantity measuring irreversibility by quantifying the asymmetry between forward and backward time steps. Since every operation in the computational graph is differentiable, entropy production can be made into a loss steering irreversible flow through the system. For example, maximizing entropy production incentivizes the system to &lt;em&gt;lean into the external drive&lt;/em&gt; by nudging its parameters towards asymmetric delayed responses that absorb and transmit structure in the incoming drive. Internally, we imagine the system reshaping itself into ordered structures to enable more efficient dissipation of the tension caused by the incoming data stream.&lt;/p&gt;
&lt;p&gt;The risk is that the system finds local dissipative shortcuts: asymmetric attention collapse, self-exciting cycles, or coupling to noise. In the interesting regime of bounded driven system, useless dissipation saturates while structure-sensitive flows remain persistent. For this to happen, environments, as well as the boundary interfaces coupling separate driven systems, need to be engineered so that the most stable way to increase entropy production when flooded by a structured data stream is to latch onto the latent (temporal) structure. Ideally, individual modules locally amplify asymmetric delayed flows in parallel, while module connectivity and environment feedback collectively constrain which flows remain stable and useful for the system as a whole.&lt;/p&gt;
&lt;p&gt;The bet is that, embedded in sufficiently structured streams and with a capability to act on its environment, the cheapest way for a bounded local system to keep dissipating is to become predictive, where prediction is a thermodynamic adaptation to ensure continuing support for asymmetric delayed flows. The global computation then emerges from coupled local dissipative systems. We readily admit that the main motivation for this bet is aesthetic. To move beyond aesthetics, we run numerical experiments to find out whether local ascent on a computable entropy-production proxy, under bounded dynamics and structured drive, can lead to local, scaling-compatible learning rules.&lt;/p&gt;
&lt;h1 id="background-and-intuition"&gt;Background and intuition&lt;/h1&gt;
&lt;p&gt;We
consider transformer modules as differentiable driven disordered vector-spin systems whose mean-field collective behavior we can control through training, and refer to
going back to
for earliest instantiations of this intuition. According to our correspondence, the forward pass of a transformer module implements a spin system&amp;rsquo;s response to getting probed, where &lt;em&gt;inputs&lt;/em&gt; map to time-varying applied external fields, &lt;em&gt;asymmetric, sparse attention matrices&lt;/em&gt; can be identified with fully-connected spin-spin interactions, and &lt;em&gt;outputs&lt;/em&gt; map to spin expectation values or magnetizations. Vigorously waving hands, the forward pass of a spin-transformer module can be designed to mimic that of a vanilla transformer module.&lt;/p&gt;
&lt;p&gt;In contrast to physics-oriented literature, we do not specify explicit probability distributions for the external fields and couplings of the disordered many-body system, nor are we interested in Nobel-prize-winning ways to average out the disorder. We instead focus on the very specific stream of quenched disorder realizations induced by a dataset or environment of interest, encoded as sequences of vector embeddings, which we use to drive the system relentlessly. In this framing, training a transformer module corresponds to sculpting the underlying system&amp;rsquo;s collective response by tuning the parametrized distributions of its external fields and couplings. We are sculpting a spin glass with data.&lt;/p&gt;
&lt;img src="spin_transformer_module_fwd_bwd.png" alt="Forward and backward pass illustration" width="500px"/&gt;
&lt;p&gt;In
, we observed that these systems tend to settle into non-equilibrium steady states (NESSs) as dynamic sweet spots where the &amp;ldquo;continuous kicking&amp;rdquo; of the inputs (applied external fields) &amp;ldquo;sustains&amp;rdquo; the outputs (magnetizations). This negotiation process tends to happen after just a few iterations. The first iteration already gives a decent guess, which might explain why (1) transformers can get away with stacking modules whose forward passes take just one time step, and (2) why doing a few time steps can improve performance, as done in looping and recursive reasoning approaches. Indeed, repeating the same module can be seen as allowing the underlying non-equilibrium system to settle more snuggly into its steady state for that particular configuration of inputs and parameters. However, as soon as the input drive changes, or the parameters change, the system has to somehow renegotiate a different steady state compatible with what its new configuration dictates the response should be. More on that later (it is more intricate than this; it always is).&lt;/p&gt;
&lt;h1 id="non-equilibrium-neural-networks"&gt;Non-equilibrium neural networks&lt;/h1&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;h2 id="minimal-model"&gt;Minimal model&lt;/h2&gt;
&lt;p&gt;When designing neural networks around mean-field vector-spin models, there is a lot of architectural freedom. First of all, we must decide on what mean-field approximation to use to approximate the time-dependent behavior of our vector-spin system. Projecting the dynamics to different ansatz distributions leads to different mean-field equations, which take into account more or less correlations at different time steps.&lt;/p&gt;
&lt;p&gt;Mindful of the importance of locality and scaling in distributed systems, we pick the simplest option: a first-order &lt;code&gt;Plefka[t-1,t]&lt;/code&gt; approximation. From
, we all remember&lt;/p&gt;
\begin{equation}
\mathbf{m}_{i,t} = \frac{\beta \left( \mathbf{x}_{i,t} + \sum_{j} J_{ij} \mathbf{m}_{j,t-1} \right)}{1+\sqrt{1+\beta^2 \lVert \mathbf{x}_{i,t} + \sum_{j} J_{ij} \mathbf{m}_{j,t-1} \rVert^2 / R^2 }},
\end{equation}&lt;p&gt;where $\mathbf{m}_{i,t} \in \mathbb{R}^{D}$ denote the magnetizations (outputs) at time $t$, $\mathbf{x}_{i,t} \in \mathbb{R}^{D}$ denote the applied external fields (inputs) at time $t$, $J_{ij}$ are the couplings, $\beta$ is an inverse temperature, and $R=\sqrt{D/2 -1}$ is a natural hyperspherical length scale resulting from the large-$D$ approximation we used to get rid of dealing with Bessel functions. The large-$D$ approximation should be fine since the embedding dimensions in modern neural networks &lt;em&gt;are&lt;/em&gt; large.&lt;/p&gt;
&lt;p&gt;If we now consider some kind of &lt;em&gt;parametrized drive-dependent couplings&lt;/em&gt;&lt;/p&gt;
\begin{equation}
\mathbf{J} (\mathbf{x}) = \mathrm{softmax}\left( \mathbf{x} \boldsymbol{Q} \boldsymbol{K}^{T} \mathbf{x}^{T} \right), \label{eq:softmax}
\end{equation}&lt;p&gt;we turn the fixed-size coupling matrix into a parametrized rule that supports variable system size, drive-dependent routing, and a way to scale system size without learning new explicit parameters. Softmax attention is a convenient choice for a bounded positive row-stochastic coupling rule. Other choices include additive or multiplicative combinations with slower base coupling parameters $\mathbf{J}^{0}$ that are drive-independent, leading to a system with persistent interactions in the absence of drive.&lt;/p&gt;
&lt;p&gt;If we also augment the applied external fields with some kind of &lt;em&gt;parametrized drive-dependent local drive or memory&lt;/em&gt;,&lt;/p&gt;
\begin{equation}
\mathbf{x}_{i,t} \to \mathbf{x}_{i,t} + \mathrm{FFN}\left( \mathbf{x}_{i,t} \right),
\end{equation}&lt;p&gt;then our forward pass looks like the recurrence relation&lt;/p&gt;
\begin{equation}
\mathbf{m}_{i,t} = \frac{\beta \left( \mathbf{x}_{i,t} + \mathrm{FFN}\left( \mathbf{x}_{i,t} \right) + \sum_{j} J_{ij} (\mathbf{x}_{t}) \mathbf{m}_{j,t-1} \right)}{1+\sqrt{1+\beta^2 \lVert \mathbf{x}_{i,t} + \mathrm{FFN}\left( \mathbf{x}_{i,t} \right) + \sum_{j} J_{ij} (\mathbf{x}_{t}) \mathbf{m}_{j,t-1} \rVert^2 / R^2 }},
\end{equation}&lt;p&gt;which resembles a parallel transformer block, with the notable difference that the &amp;ldquo;values&amp;rdquo; here correspond to the outputs (magnetizations) of the previous time step instead of some linear transformation applied to the inputs at the current time step: current drive routes previous state. Making the applied external fields as well as the couplings drive-dependent leads to a &lt;em&gt;highly-adaptive system&lt;/em&gt; where the interaction landscape itself is dynamically shaped by the inputs. Each vector spin effectively experiences a local mean-field that is the sum of a residual stream, a feed-forward-like drive, and attention-like couplings.&lt;/p&gt;
&lt;p&gt;But &lt;em&gt;where are the values&lt;/em&gt; we know and love from QKV attention? Let us jump ahead and try to figure out what is going on by thinking how we can embed spin-transformer modules in a neural network. We will be forced to grapple with non-equilibrium thermodynamics (&lt;em&gt;&lt;em&gt;audience groans and starts rolling their eyes&lt;/em&gt;&lt;/em&gt;). There are two main scenarios: (1) a fixed-point module where we clamp the drive $\mathbf{x}_{t}$ and relax the response along an internal time dimension towards a NESS, and (2) a finite-step recurrent module where changing input drives induces quenches or driven transitions between NESSs. These two limits are about timescale separation and adiabaticity: if internal relaxation time becomes comparable to the physical drive timescale, then a fixed point cannot be reached. When a system is driven rapidly, it fails to relax to its instantaneous NESS and the system is forced to keep chasing moving targets in a fast, non-adiabatic regime.&lt;/p&gt;
&lt;p&gt;Let us first walk through the fixed-point relaxation scenario. Freezing the drive at $\mathbf{x}_{t}$, we interpret the update equations as an inner-loop relaxation&lt;/p&gt;
\begin{equation}
\mathbf{m}_{i,k} = \frac{\beta \left( \mathbf{x}_{i,t} + \mathrm{FFN}\left( \mathbf{x}_{i,t} \right) + \sum_{j} J_{ij} (\mathbf{x}_{t}) \mathbf{m}_{j,k-1} \right)}{1+\sqrt{1+\beta^2 \lVert \mathbf{x}_{i,t} + \mathrm{FFN}\left( \mathbf{x}_{i,t} \right) + \sum_{j} J_{ij} (\mathbf{x}_{t}) \mathbf{m}_{j,k-1} \rVert^2 / R^2 }},
\end{equation}&lt;p&gt;hopefully settling into an instantaneous near-equilibrium steady-state (NESS) fixed point $\mathbf{m}^{*}_{t}(\mathbf{x}_{t})$ for $k \to \infty$ compatible with the current drive $\mathbf{x}_{t}$. If the fixed point is unique, the influence of the initialization is erased. If the landscape is funky, supporting multiple attractor basins or showing signs of hysteresis, then the response $\mathbf{m}^{*}_{t}(\mathbf{x}_{t})$ of the relaxation dynamics depends on the initialization: the system has an implicit memory. In this setup, we can interpret values in QKV attention as amortized feed-forward responses, approximating the internal relaxation process by learning a linear mapping from input drives directly to values. So a transformer block with QKV attention is like a one-shot learned estimator of a fixed-point relaxation response. This approach is also reminiscent of deep equilibrium models (DEQs) and looped, recursive reasoning approaches, but, arguably, less &lt;em&gt;ad hoc&lt;/em&gt; since here the looping is done to solve self-consistent mean-field message-passing equations. External time $t$ advances only when the drive changes $\mathbf{x}_{t} \to \mathbf{x}_{t+1}$ (a new sequence arrives) and the nonstationarity messes up everything again, provoking a transition $\mathbf{m}^{*}_{t}(\mathbf{x}_{t}) \to \mathbf{m}^{*}_{t+1}(\mathbf{x}_{t+1})$ between two NESSs.&lt;/p&gt;
&lt;p&gt;In the second scenario with a finite-step recurrent module, the driven nonstationary system keeps track of state $\mathbf{m}_{t-1}$ while chasing a moving target with only finite number of internal relaxation steps at every external time step $t$. This is a pretty challenging problem.&lt;/p&gt;
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;&lt;strong&gt;About time and clocks:&lt;/strong&gt; In this section, we have introduced an external physical time index $t$ as well as an internal relaxation index $k$. Yet at this point we are still only discussing a single module, &lt;em&gt;i.e.&lt;/em&gt; a single spin system, getting probed by an environment. A deep network is a stack of untied modules, which, in our framework, are part of a collective of &lt;em&gt;different&lt;/em&gt; driven spin systems driving each other sequentially. The layer index does not (have to) correspond to external time nor internal relaxation time (except maybe in how DEQ models are sometimes presented). It is an additional axis labeling the simple feed-forward topology (depth) of the computational graph.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="mean-field-proxy-for-entropy-production"&gt;Mean-field proxy for entropy production&lt;/h2&gt;
&lt;p&gt;Following
, the entropy production for the kinetic Ising model, assuming a non-equilibrium steady state, is given by&lt;/p&gt;
\begin{equation}
\sigma_{t} = \sum_{ij} \left(J_{ij} - J_{ji}\right) D_{ij,t} \geq 0,
\end{equation}&lt;p&gt;where $J_{ij}$ corresponds to the couplings and $D_{ij,t}$ denotes the time-delayed correlations. Intuitively, this is like&lt;/p&gt;
\begin{equation}
\sigma_{t} = \sum_{ij} \left[\operatorname{directionality}\right]_{ij} \times \left[\operatorname{delayed\ flow}\right]_{ij,t},
\end{equation}&lt;p&gt;or, even more hand-wavy, $\operatorname{dissipation} \sim \operatorname{force} \times \operatorname{flux}$. The asymmetric part of the couplings says whether that propagation channel is directionally biased. The full sum rewards directed, temporally effective, vector-aligned information flow.&lt;/p&gt;
&lt;p&gt;Back to reality. If we write down $D_{ij,t}$ for the vector-spin case,&lt;/p&gt;
\begin{equation}
D_{ij,t} = \int \mathrm{d} \mathbf{s}_{t} \int \mathrm{d} \mathbf{s}_{t-1} \; \left( \mathbf{s}_{i,t} - \mathbf{m}_{i,t} \right) \cdot \left( \mathbf{s}_{j,t-1} - \mathbf{m}_{j,t-1}\right) \; P( \mathbf{s}_{t}, \mathbf{s}_{t-1} ),
\end{equation}&lt;p&gt;we can compute a first-order &lt;code&gt;Plefka[t-1,t]&lt;/code&gt; mean-field approximation for the time-delayed correlations, similar to the computations we did previously for the magnetizations in
, leading to something like&lt;/p&gt;
\begin{align}
D_{ij,t} = &amp;\beta J_{ij} \operatorname{Tr} \left( \Sigma_{i,t} \Sigma_{j,t-1} \right),
\end{align}&lt;p&gt;where $\Sigma_{i,t} = \operatorname{Var} \left[ s_{i,t} \right]$ denotes the single-site covariance. The trace captures which directions on the vector-spin sphere are still free to fluctuate. If a spin is weakly magnetized, it has many soft directions. If it is strongly magnetized, many directions are suppressed because the spin is pinned close to its mean direction.&lt;/p&gt;
&lt;p&gt;Substituting the large-$D$ approximation&lt;/p&gt;
\begin{align}
\Sigma_{i,t} \approx \frac{1}{1+\gamma_{i,t}} - \frac{\mathbf{m}_{i,t} \mathbf{m}_{i,t}^{T}}{R^2 \gamma_{i,t}},
\end{align}&lt;p&gt;we end up with the explicit expression&lt;/p&gt;
\begin{align}
D_{ij,t} = &amp;\frac{\beta J_{ij}}{1+\gamma_{i,t}} \left(R^2 - \mathbf{m}_{j,t-1}^2 \right) \nonumber\\\\
&amp;- \frac{\beta J_{ij}}{R^2 \gamma_{i,t} \left( 1 + \gamma_{j,t-1} \right)} \mathbf{m}_{i,t}^2 \nonumber\\\\
&amp;+ \frac{\beta J_{ij}}{R^4 \gamma_{i,t} \gamma_{j,t-1}} \left( \mathbf{m}_{i,t} \cdot \mathbf{m}_{j,t-1} \right)^2,
\end{align}&lt;p&gt;where&lt;/p&gt;
\begin{align}
\gamma_{i,t} &amp;= \sqrt{1 + \beta^2 \lVert \boldsymbol{\theta}_{i,t} \rVert^2 / R^2 } \\\\
\boldsymbol{\theta}_{i,t} &amp;= \mathbf{x}_{i,t} + \sum_{j} J_{ij} \mathbf{m}_{j,t-1}.
\end{align}&lt;p&gt;The first-order time-delayed correlations $D_{ij,t}$ is a mean-field estimate of how much the fluctuation in one vector spin is transmitted one time step later &amp;ldquo;into&amp;rdquo; another spin. Or, put differently, when spin $j$ fluctuates away from its mean at the previous time step $t-1$, how much of that fluctuation shows up as a fluctuation of spin $i$ at the current time step $t$?&lt;/p&gt;
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;In the fixed-point implementation, the iteration index used by the solver should not be identified with physical time. Physical time is the index of the external drive. Each forward pass computes the fixed-point magnetizations induced by the current drive. The delayed correlations entering the entropy-production proxy are computed across external time steps, not across internal relaxation time steps.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="vibe-check"&gt;Vibe check&lt;/h2&gt;
&lt;p&gt;Let us try to get a feel for what the entropy production looks like for vector-spin models using some rough back-of-the-envelope estimations. Assume both vectors $\mathbf{m}_{i,t}$ and $\mathbf{m}_{j,t-1}$ have a norm $\mathcal{O}(R)$, then the time-delayed correlations behave approximately like&lt;/p&gt;
\begin{align}
D_{ij,t} \sim J_{ij} \cos^2 \alpha_{(i,t)(j,t-1)},
\end{align}&lt;p&gt;where $\alpha_{(i,t)(j,t-1)}$ denotes the angle between the magnetization vectors. So the entropy production looks approximately like&lt;/p&gt;
\begin{equation}
\sigma_{t} \sim \sum_{ij} \left(J_{ij}^2 - J_{ij} J_{ji}\right) \cos^2 \alpha_{(i,t)(j,t-1)},
\end{equation}&lt;p&gt;which, in general, is minimized for symmetric coupling matrices or orthogonal embeddings and maximized for fully-asymmetric couplings or (anti-)parallel embeddings.&lt;/p&gt;
&lt;p&gt;But for the softmax attention matrix Eq. \eqref{eq:softmax}, we have additional constraints $J_{ij} \geq 0$ as well as a Frobenius norm of $\mathcal{O}(\sqrt{N})$ preventing unbounded growth under maximization. Additionally, imposing a causal mask on the couplings to do autoregressive modeling leads to even more constraints since then the upper triangular part of $J_{ij}$ is fixed to zero. So it feels like maximizing entropy production for causal softmax couplings promotes some kind of compromise between &lt;em&gt;sparse attention&lt;/em&gt; (intuitively, if the upper-triangular part is zero then it is favorable to push the lower-triangular elements close to zero as well) and &lt;em&gt;clustering of embeddings&lt;/em&gt; (weighted maximization of cosine similarity).&lt;/p&gt;
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;✨ The mean-field entropy production proxy captures how much asymmetric attention transports aligned state fluctuations forward in time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h2 id="local-learning-rules-and-sparse-credit-assignment"&gt;Local-learning rules and sparse credit assignment&lt;/h2&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;p&gt;Imagine we want to turn our entropy production proxy into a loss function. One option would be a stop-gradient / local version&lt;/p&gt;
\begin{equation}
\sigma_{t} = \sum_{ij} \left(J_{ij} - J_{ji}\right) \operatorname{sg}\left(D_{ij,t}\right),
\end{equation}&lt;p&gt;then $\Delta J_{ij} \propto D_{ij} - D_{ji}$ is a temporally asymmetric Hebbian learning rule.&lt;/p&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h1 id="collectives-loops-and-adaptive-systems"&gt;Collectives, loops, and adaptive systems&lt;/h1&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h1 id="numerical-experiments"&gt;Numerical experiments&lt;/h1&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h2 id="model-behavior-in-a-noisy-environment"&gt;Model behavior in a noisy environment&lt;/h2&gt;
&lt;p&gt;Cybernetics, interfaces, environments, sensors, controllers, and effectors.&lt;/p&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h2 id="global-coherence-from-local-backpropagation"&gt;Global coherence from local backpropagation&lt;/h2&gt;
&lt;p&gt;We test a stack of spin-transformer modules in a toy femtoscale online learning setup and try to see if we can make synchronization or specialization happen between the spin-transformer modules when maximizing per-layer entropy-production losses &lt;em&gt;independently&lt;/em&gt;. If we detach module outputs after applying each layer, we end up with systems communicating via their boundary interfaces, but without gradients backpropagating through the whole stack. (Pretty unlikely that the entropy-production losses on their own provide enough signal though.)&lt;/p&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h2 id="growing-network-topologies"&gt;Growing network topologies&lt;/h2&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h1 id="discussion-and-related-work"&gt;Discussion and related work&lt;/h1&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h1 id="conclusion"&gt;Conclusion&lt;/h1&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;h1 id="references"&gt;References&lt;/h1&gt;
&lt;p&gt;If you happen to find this work useful, please consider citing it as:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;@article{bal2026,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; title = {Entropy Production in Non-Equilibrium Neural Networks},
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; author = {Bal, Matthias},
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; year = {2026},
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; month = {?},
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; url = {https://mcbal.github.io/post/entropy-production-in-non-equilibrium-neural-networks/}
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A non-exhaustive list of references and inspiration includes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
by
Miguel Aguilera, S. Amin Moosavi, and Hideaki Shimazaki&lt;/li&gt;
&lt;li&gt;
by Jacob Mitchell Gold&lt;/li&gt;
&lt;li&gt;
by Giovanni Pezzulo and Michael Levin&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="acknowledgements"&gt;Acknowledgements&lt;/h1&gt;
&lt;hr&gt;
&lt;h1 id="footnotes"&gt;Footnotes&lt;/h1&gt;</description></item></channel></rss>