arXiv:2610.17885cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17885

Deep Mesoscopic Dynamics

Yue Zhao, Shiqi Wu, Yihang Ouyang, Sergey Grebenchuk, Magdalena Grzeszczyk, Xiaoxu Zhao, Kostya S. Novoselov, Maciej Koperski, Qianxiao Li

Yue Zhao a,∗^{a,*}, Shiqi Wu b,∗^{b,*}, Yihang Ouyang a,c,d^{a,c,d}, Sergey Grebenchuk a^{a}, Magdalena Grzeszczyk a^{a}, Xiaoxu Zhao e,f^{e,f}, Kostya S. Novoselov a,c,†^{a,c,\dagger}, Maciej Koperski a,c,†^{a,c,\dagger}, and Qianxiao Li a,b,†^{a,b,\dagger}

a^{a}Institute for Functional Intelligent Materials, National University of Singapore, Singapore 117544, Singapore

b^{b}Department of Mathematics, National University of Singapore, Singapore 117543, Singapore

c^{c}Department of Materials Science and Engineering, National University of Singapore, Singapore 117575, Singapore

d^{d}Integrative Sciences and Engineering Programme, NUS Graduate School, National University of Singapore, 119077, Singapore

e^{e}School of Materials Science and Engineering, Peking University, Beijing 100871, China

f^{f}AI for Science Institute, Beijing 100871, China

October 14, 2026

Abstract. Microscopic simulations resolve spatial patterns but are feasible only over small domains and short timescales, whereas bulk descriptions erase those patterns through spatial averaging. Mesoscopic fields preserve this spatial organisation, but their effective equations are known only for selected microscopic systems and scaling limits. We introduce Deep Mesoscopic Dynamics (DeepMesoD), which uses neural networks to learn an effective mesoscopic field equation from microscopic trajectories at a prescribed coarse-graining scale. For the nonconserved dissipative dynamics studied here, DeepMesoD learns the free-energy functional with a spatial interaction kernel and a state-dependent dissipation operator constrained by the fluctuation–dissipation relation. We first validate the construction in the Ising–Kac model, where the learned mesoscopic equation recovers the known hydrodynamic limit and rollouts remain stable far beyond the training horizon. We then treat two systems without closed-form mesoscopic descriptions. For a two-dimensional Heisenberg ferromagnet governed by atomistic spin dynamics, DeepMesoD learns a mesoscopic model whose predictions match atomistic references up to 1 ns, and a rollout with an unseen initial condition remains bounded up to 25 ns. For layered CrBr₃, the learned kernel captures the suppression and sign reversal of interlayer coupling at a stacking fault whose location and strength are not supplied as inputs. Controlled changes to the learned interaction show how fault number and placement shape multistep magnetic responses, complementing our magneto-photoluminescence measurements. Across the two atomistic systems, DeepMesoD achieves a three-to-four-order-of-magnitude reduction in wall-clock time compared with atomistic spin dynamics.

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors: kostya@nus.edu.sg; msemaci@nus.edu.sg; qianxiao@nus.edu.sg.

In magnets, alloys, and other many-body systems, microscopic interactions organise spins or atoms into spatial patterns whose evolution controls material behaviour. For example, magnetic domains can store information (1), with localised spin textures such as skyrmions explored for spintronic and probabilistic-computing applications (2, 3), while antiphase domains and phase boundaries shape the evolution of alloy microstructures (4, 5). Predicting how these structures form, move, and interact requires a dynamical description that resolves their spatial variation. Microscopic simulations such as atomistic spin dynamics and molecular dynamics evolve the coupled dynamics of individual spins or atoms, but their computational cost limits the spatial region over which complete patterns can be resolved (6–8). On the other hand, descriptions based only on bulk averages such as total magnetisation or mean composition cannot capture domains, textures, or interfaces.

A mesoscopic description lies between these two levels and provides an efficient means to simulate these spatial features at realistic timescales. This description is captured by a field ϕ:Ω→Rq\phi: \Omega \to \mathbb{R}^q defined on a spatial domain Ω\Omega, and qq is the number of field components. The field value ϕ(x)\phi(\mathbf{x}) at each spatial location x∈Ω\mathbf{x} \in \Omega is obtained by a local coarse-graining map acting on the microscopic configurations near x\mathbf{x}. For example, for magnetic systems ϕ(x)\phi(\mathbf{x}) may be the average magnetic moment near x\mathbf{x}. The mesoscopic field ϕ\phi describes the formation, motion, and interaction of spatial structures without the need to record microscopic arrangement below the prescribed scale (Figure 1, left). In particular, if an accurate evolution equation can be derived for ϕ\phi, simulations can then be realised over spatial and temporal scales that are relevant to probe important phenomena, such as domain formation and phase transitions. However, even when the microscopic dynamics and coarse-graining map are known, determining an accurate evolution equation for ϕ\phi is a central open problem in dynamics modelling.

Classically, such mesoscopic field dynamics are commonly constructed in two ways. The first prescribes phenomenological forms for the free energy and field dynamics using symmetry, conservation laws, and empirical knowledge. For example, Landau-Ginzburg theory (9, 10) posits that ϕ\phi evolves according to a gradient flow with respect to a phenomenological free energy functional

F[ϕ]=∫Ω[V(ϕ(x))+κ2∣∇ϕ(x)∣2]dx.\mathcal{F}[\phi]=\int_{\Omega}\left[V\big(\phi(\mathbf{x})\big)+\frac{\kappa}{2}\left|\nabla\phi(\mathbf{x})\right|^{2}\right]d\mathbf{x}.

where the local free energy density V=a2ϕ2/2+a4ϕ4/4V = a_2 \phi^2 / 2 + a_4 \phi^4 / 4, κ>0\kappa > 0, a2∈Ra_2 \in \mathbb{R} and a4>0a_4 > 0, yielding the Allen-Cahn equation (4, 5) ∂tϕ=−δF/δϕ\partial_t \phi = -\delta \mathcal{F} / \delta \phi. The coefficients a2a_2, a4a_4, κ\kappa can be fitted, but the model remains restricted to the prescribed form of energy, and is not an accurate description of any particular dissipative dynamical process at the mesoscopic scale.

The second approach directly derives a mesoscopic field equation from a microscopic dynamical model. For selected microscopic systems, a controlled scaling limit yields an effective hydrodynamics equation for the coarse field (11, 12). The Ising–Kac model with Glauber dynamics is one example (13, 14). For more complex systems, eliminating microscopic variables that are not represented in the coarse field can produce conditional expectations, memory terms, or high-dimensional integrals that are not available in a computable form (15). In practice, dynamic mean-field models obtain a computable equation by prescribing a mean-field free energy and selected field dynamics (16). The resulting equation then depends on these modelling approximations, which can omit effects that remain relevant at the chosen coarse-graining scale.

To address these difficulties, we introduce DeepMesoD, which constructs accurate mesoscopic field dynamics without the need for phenomenological prescriptions or complex derivations. Instead, we consider a highly general class of dissipative dynamics with unknown dissipation operators and free energy functionals, where the thermal noise and the dissipation operator satisfy a fluctuation-dissipation relation. These operators are parametrised by structured neural networks and trained

Figure

Figure 1: Workflow of DeepMesoD. Microscopic trajectories are coarse-grained into observations of a mesoscopic field at a prescribed spatial scale. DeepMesoD uses these trajectories to estimate the physical structures in a mesoscopic field equation within a prescribed dynamical class.

directly on microscopic observations to obtain accurate mesoscopic descriptions that can then be used to simulate and analyse the system on large temporal and spatial scales.

We first validate DeepMesoD in the Ising–Kac model, whose hydrodynamic limit provides analytic references for the learned field equation (13, 14). We then apply the same construction to a Cr2Ge2Te6Cr_{2}Ge_{2}Te_{6}-like two-dimensional ferromagnet (17, 18) and layered CrBr3CrBr_{3} (19–24), two systems whose mesoscopic equations are not known in closed form. Atomistic-spin trajectories provide microscopic references in both systems. In CrBr3CrBr_{3}, the modelled multistep response is consistent with our magneto-photoluminescence measurements. Controlled numerical experiments with the learned stacking-fault interaction show how fault number and placement affect the calculated field response.

DeepMesoD Methodology

From microscopic trajectories to field observations We first describe how microscopic trajectories provide coarse-grained field observations. While our framework is designed for general dissipative mesoscopic dynamics, for clarity we specialise our discussion to magnetic spin systems defined on a lattice. We denote the index set of microscopic spins by I\mathcal{I} and the state space of each spin by S\mathbf{S}. The microscopic configuration σ(t)=(σj(t))j∈I∈SI\sigma(t) = (\sigma_j(t))_{j \in \mathcal{I}} \in \mathbf{S}^{\mathcal{I}} is assumed to evolve as a continuous-time Markov process. For example, in the Ising–Kac ferromagnet, S={−1,+1}\mathbf{S} = \{-1, +1\} and σ(t)\sigma(t) evolves as a Markov jump process under Glauber dynamics (13, 25, 26). Another example is classical Heisenberg magnets, where each atomic spin is represented by a three-dimensional unit vector. In this case, S=S2\mathbf{S} = \mathbb{S}^2 is the unit sphere, and σj(t)\sigma_j(t) specifies the orientation of atomic spin jj. The trajectories are recorded at discrete observation times. At each recorded time, we compute coarse observations at NN spatial locations xi∈Ω\mathbf{x}_i \in \Omega. For each location, C(xi)⊂I\mathcal{C}(\mathbf{x}_i) \subset \mathcal{I} contains the microscopic spins in its averaging neighbourhood, with Vc=∣C(xi)∣V_c = |\mathcal{C}(\mathbf{x}_i)| fixed within each system. The observation map Q\mathcal{Q} gives the value zi(t)z_i(t) at that position:

zi(t)=Q(xi;σ(t))=1Vc∑j∈C(xi)σj(t).z_{i}(t)=\mathcal{Q}(\mathbf{x}_{i};\sigma(t))=\frac{1}{V_{c}}\sum_{j\in\mathcal{C}(\mathbf{x}_{i})}\sigma_{j}(t).

These averages give scalar magnetisation for Ising–Kac (q=1)(q = 1) and three-component magnetisation for the atomistic spin systems (q=3)(q = 3), where each microscopic spin is a unit vector. We seek a mesoscopic field ϕ ⁣:Ω×[0,∞)→Rq\phi\colon \Omega \times [0, \infty) \to \mathbb{R}^q whose dynamics reproduce the observations,

zi(t)≈ϕ(xi,t).z_{i}(t)\approx\phi(\mathbf{x}_{i},t).

Thus each training observation pairs a spatial position xi\mathbf{x}_i with a field value zi(t)z_i(t). We write Φ\Phi for the space of these fields at any fixed time.

Field dynamics and fluctuation–dissipation structure We aim to learn an effective equation for the evolution of ϕ\phi from the observations zi(t)z_i(t). We consider fields whose spatial integral is not conserved and whose coarse-grained observations exhibit thermal fluctuations, motivating a description that combines relaxation and noise. We model the relaxation as free-energy-driven dissipation, giving the stochastic field equation in Itô form

∂tϕ=−K[ϕ]δF[ϕ]δϕ+1βVcDivϕK[ϕ]+2βVcB[ϕ]ξ,(1)\partial_{t}\phi=-\mathcal{K}[\phi]\frac{\delta\mathcal{F}[\phi]}{\delta\phi}+\frac{1}{\beta V_{c}}\mathrm{D i v}_{\phi}\mathcal{K}[\phi]+\sqrt{\frac{2}{\beta V_{c}}}\mathcal{B}[\phi]\xi, \tag{1}

where β=T−1\beta = T^{-1} is the inverse temperature in Boltzmann units. The noise ξ\xi is a zero-mean, p-component Gaussian field that is white in space and time, with

E[ξ(x,t)ξ(y,s)T]=Ipδ(x−y)δ(t−s),\mathbb{E}[\xi(\mathbf{x},t)\xi(\mathbf{y},s)^{\mathsf{T}}]=I_{p}\delta(\mathbf{x}-\mathbf{y})\delta(t-s),

where IpI_p is the p×pp \times p identity matrix.

This hypothesis space is inspired by Landau’s model, but with important distinctions. First, the free-energy functional F\mathcal{F} is not assumed to involve a polynomial energy density, nor gradient-based domain penalisation ( ∥∇ϕ∥2\|\nabla\phi\|^2). Instead, we minimally constrain this functional to satisfy locality and translational invariance on homogeneous domains (details below). Second, we explicitly model the rate of thermal dissipation via a general dissipation operator K\mathcal{K}. We similarly constrain K\mathcal{K} by symmetry principles, in the spirit of Onsager’s reciprocal relations (27). Third, we explicitly model state-dependent thermal noise ( B\mathcal{B}), which is assumed to satisfy a fluctuation–dissipation relation K[ϕ]=B[ϕ]B[ϕ]∗\mathcal{K}[\phi] = \mathcal{B}[\phi] \mathcal{B}[\phi]^*, where ∗* denotes the adjoint operator. The divergence term ( βVc)−1DivϕK[ϕ]\beta V_c)^{-1} \text{Div}_\phi \mathcal{K}[\phi] represents the thermal drift in the Itô form of the stochastic differential equation with state-dependent dissipation. As the fields and operators are defined on function spaces, rigorous definitions of this term and the stochastic-integral formulation are given in the SI Appendix, section 1. In summary, instead of guessing explicit function forms as in phenomenological modelling, here we constrain the physical quantities by broad symmetry and invariance principles, and leave exact functional and operator identification as a learning problem under these constraints. Below we present the precise constraints we apply to each quantity.

Free energy and spatial interaction We constrain the free-energy density at each position to depend on the local field and on a variation field that describes its spatial environment:

F[ϕ]=∫Ωρ(ϕ(x),(LJϕ)(x))  dx.(2)\mathcal{F}[\phi]=\int_{\Omega}\rho(\phi(\mathbf{x}),(\mathcal{L}_{J}\phi)(\mathbf{x}))\;d\mathbf{x}. \tag{2}

The energy density ρ ⁣:Rq×Rq→R\rho\colon \mathbb{R}^q \times \mathbb{R}^q \to \mathbb{R} depends on the local value ϕ(x)\phi(\mathbf{x}) and the variation field LJϕ\mathcal{L}_J\phi. The bounded operator LJ ⁣:Φ→Φ\mathcal{L}_J\colon \Phi \to \Phi is defined by

(LJϕ)(x)=∫ΩJ(x,y)[ϕ(x)−ϕ(y)]dy,(\mathcal{L}_{J}\phi)(\mathbf{x})=\int_{\Omega}J(\mathbf{x},\mathbf{y})[\phi(\mathbf{x})-\phi(\mathbf{y})]d\mathbf{y},

where J:Ω×Ω→RJ: \Omega \times \Omega \to \mathbb{R} is a spatial interaction kernel learned from data. We use the normalisation convention

∫ΩJ(x,y)dy=1,x∈Ω.\int_{\Omega}J(\mathbf{x},\mathbf{y})d\mathbf{y}=1,\qquad\mathbf{x}\in\Omega.

Notice that the variation field LJϕ\mathcal{L}_J\phi vanishes by construction on spatially uniform ϕ\phi. The energy-density function ρ\rho and the interaction kernel JJ are learned jointly from the coarse-field trajectories. This generalises the Landau form of the free energy functional, corresponding to the choice ρ(u,v)=g(u)+κ∥v∥2\rho(u,v) = g(u) + \kappa\|v\|^2, where gg is a local energy density and JJ is chosen so the last term is a non-local approximation of the gradient norm, which describes interfacial energy. Our parametrisation, however, allows for non-additive interactions between bulk and interfacial energies, and this turns out to be important for the van der Waals magnets we investigate later.

Factorised dissipation operator We now discuss the construction of the dissipation operator. Since we enforce the fluctuation–dissipation relation through the factorisation K=BB∗\mathcal{K} = \mathcal{B}\mathcal{B}^*, it suffices to parametrise the factor B\mathcal{B}. This factorisation makes K[ϕ]\mathcal{K}[\phi] self-adjoint and positive semidefinite, as expected for a dissipation operator. At a fixed field state, B[ϕ]\mathcal{B}[\phi] maps a p-component input noise field to a perturbation of the q-component magnetisation field. Its matrix-valued kernel b[ϕ](x,y)b[\phi](\mathbf{x}, \mathbf{y}) has q rows indexing magnetisation components at x\mathbf{x} and p columns indexing noise components at y\mathbf{y}. For an input field η\eta, the factor acts as

[B[ϕ]η](x)=∫Ωb[ϕ](x,y)η(y) dy.[\mathcal{B}[\phi]\eta](\mathbf{x})=\int_{\Omega}b[\phi](\mathbf{x},\mathbf{y})\eta(\mathbf{y})\,d\mathbf{y}.

In this work we study short-range interactions and assume a locality radius R>0R > 0. The factor b[ϕ](x,y)b[\phi](\mathbf{x}, \mathbf{y}) vanishes when the distance between x\mathbf{x} and y\mathbf{y} exceeds RR, and depends on ϕ\phi only through field values within distance RR of x\mathbf{x}. For example, single-spin flips in Ising–Kac Glauber dynamics produce local instantaneous fluctuations in nonoverlapping block averages, while their rates depend on surrounding spins, motivating these locality assumptions. On periodic homogeneous domains, sharing the same local coefficient rule across positions makes the factor translation equivariant and reusable on larger domains without retraining, at fixed coarse-graining scale and numerical resolution. Numerical details are given in Materials and Methods.

Learning from field observations We learn the energy density ρ\rho, the spatial interaction kernel JJ, and factor kernel bb from the observations zi(t)z_i(t) at positions xi\mathbf{x}_i. We use a multilayer perceptron (MLP) to represent ρ\rho, trainable interaction coefficients to represent JJ (here assumed to be piecewise constant, thus uniquely defined by a square matrix of function values), and a convolutional neural network (CNN) to represent the dependence of bb on local field values. For training, we first learn the noise factor B\mathcal{B} from fluctuations in the observed field increments after subtracting their fitted mean drift. The fluctuation–dissipation relation then gives K=BB∗\mathcal{K} = \mathcal{B}\mathcal{B}^*. With the factor parameters fixed, we jointly fit ρ\rho and JJ to the observed field increments using the complete deterministic drift in (1). After training, we numerically integrate the learned drift in (1) to simulate the mesoscopic field on a coarse grid. The learned equations enable simulations on much larger domains without retraining (SI Appendix, section 2G) and run thousands to tens of thousands of times faster than atomistic spin dynamics for the two magnetic materials (Materials and Methods). Details are given in Materials and Methods and the SI Appendix. For the magnetic systems below, we use the conventional notation mm for a scalar magnetisation field and m\mathbf{m} for a vector magnetisation field, in place of ϕ\phi.