The spacetime sheaf leaves its temporal half as a generator to be supplied. Generator Matching is exactly the principle that learns such a generator from data, so placing it on a sheaf base turns the coupled spacetime generator into a learned, superposable object, with the sheaf fixing the spatial structure the matched generator must respect.
The temporal half is a generator to be matched
The spacetime construction pairs a spatial Laplacian with a temporal generator
Which time is being matched
Generator Matching as published runs in generation time, carrying noise to data, whereas the spacetime construction runs in physical time, carrying one state of a simulation to the next. The two must not be conflated. The physical-time reading takes the conditional paths between consecutive observed frames rather than between noise and a sample, so each conditional generator transports
Superposition is the coupling
Generator Matching is closed under superposition, since a sum of Markov generators is again a Markov generator and the framework trains the combined process. On the state space
What the sheaf contributes
A plain Generator Matching model carries no spatial structure beyond what its network learns. The sheaf supplies it by construction. The spatial generator is the sheaf Laplacian, so the matched temporal generator acts on fields that already satisfy cross-cell consistency, and the restriction maps constrain how transport moves between cells. Equivariance and locality enter through the base rather than through the loss, so Generator Matching inherits the inductive bias of the sheaf.
A worked example
The linear case can be run end to end. On a ring of 48 nodes, with diffusion

Left, the true mixing generator. Right, the matched generator, rolled out from the single mode code/SpacetimeDemo.lean).
The rollout from the unseen initial state stays within
The sheaf prior, tested
The gap between rollout accuracy and generator accuracy is exactly what a local prior should close. Restricting each row of the generator to a node and its two neighbours, the locality the base imposes, turns the regression into one
| generator error | rollout error at | |
|---|---|---|
| dense matching | ||
| sheaf-local matching |

True generator, dense matching and sheaf-local matching rolled out from a rough initial state unseen in training. The dense model leaves its high-mode directions unconstrained and distorts the profile, whereas the local model recovers the generator itself.
In two dimensions locality stops being a refinement and becomes the condition for learning at all. A

True field, the field under the learned five-point stencil, and their difference scaled to its largest value. Frames generated in Lean (code/SpacetimeLab.lean).
The learned object is a Koopman generator throughout. Generator Matching defines a generator by its action on observables,
A nonlinear field
The same comparison runs on a nonlinear field. Allen–Cahn with transport,
| model | vector-field error | rollout from an unseen state |
|---|---|---|
| dense linear, DMD-like | large | diverges |
| local linear dictionary | diverges | |
| local cubic dictionary, |

True field, the local linear model and the local cubic dictionary, rolled out from a small random state that is not in the training set. A full cubic dictionary in all code/SpacetimeLab.lean).
The frame spacing matters. With pairs spaced at
Against standard baselines
The local dictionary should be compared with the methods that already learn dynamics from data. On the same Allen–Cahn ring, three estimators share the training data: DMD, a dense linear generator; a PDE-FIND or SINDy style model, one coefficient vector shared by every node and fitted by sequentially thresholded least squares; and the per-node local dictionary.
| velocity | method | parameters | vector-field error | rollout at |
|---|---|---|---|---|
| constant | DMD | diverges | ||
| constant | PDE-FIND, shared | |||
| constant | local per-node dictionary | |||
| modulated | DMD | diverges | ||
| modulated | PDE-FIND, shared | |||
| modulated | local per-node dictionary |
The split is clean. When the dynamics is translation invariant, sharing one coefficient vector across nodes is the stronger prior and wins with four parameters. When the velocity varies with position, a shared vector cannot represent the field and its rollout fails, whereas the per-node dictionary keeps both the vector field and the rollout accurate. Locality is the necessary prior, and weight sharing is a further one that holds only for homogeneous systems.
A stochastic generator
The same comparison applies to a diffusion. An Ornstein–Uhlenbeck process
Relative errors against the number
The stationary covariance, solving code/SpacetimeLab.lean).
Open
- Why the sheaf prior helps is worked out in identifiability-of-generator-matching-on-a-sheaf: identifiability localises to a nonsingular Gram matrix per neighbourhood, never worse conditioned than the global one.
- Does Generator Matching on the sheaf Laplacian together with a learned transport generator recover advection–diffusion surrogates, with the Péclet regime as a single scalar?
- Is the non-commuting mixing superposition trainable stably, or does it need the crossed-product structure the spacetime construction proposes?
- Can jump generators on the base model discrete events, such as bond changes or state switches, that a velocity-field flow cannot?
References
- P. Holderrieth, M. Havasi, et al., Generator Matching: Generative modeling with arbitrary Markov processes (arXiv:2410.20587).
- Y. Lipman, R. T. Q. Chen, H. Ben-Hamu, M. Nickel, M. Le, Flow Matching for Generative Modeling (ICLR 2023).
- S. Zhang, W. Wu, J. Oh, J. Chen, X. Qian, Perron–Frobenius Operator Matching for Generative Modeling (arXiv:2606.17465).
- B. O. Koopman, Hamiltonian systems and transformation in Hilbert space, PNAS (1931).