Manuscript Offprint
arXiv:2611.07065Stochastic Dynamics of Generative AI: From Autoregressive Models to Interacting LLM Networks and Neural SDEs
Abstract
This paper develops a stochastic dynamical-systems perspective on three classes of generative AI models. First, we formulate large language models (LLMs) as high-dimensional nonlinear autoregressive models with attention-based dependencies. This formulation connects pretraining by conditional maximum likelihood to sequential token generation and provides a probabilistic interpretation of LLM operation. Second, we consider networks of interacting LLMs and characterize their collective behavior through mean-field ordinary differential equations. These dynamics provide a framework for understanding emergent preferential attachment and persistent structural biases, including type-dependent glass-ceiling effects. Third, we consider neural stochastic differential equations (SDEs) as continuous-time generative models for stochastic trajectories, including those observed at irregular time intervals. We discuss their training with particular emphasis on Wiener-space cubature methods based on rough-path analysis as an efficient alternative to Monte Carlo estimation. Together, the three settings address probabilistic prediction, information exchange and emergent behavior in interacting networks, and path-space generative modeling.
Index Terms
LLM, High Dimensional Autoregression, Mean Field Dynamics, Collaborative Q&A, Glass Ceiling Effect, Neural SDE, Wiener Space Cubature, Irregularly-Sampled Time Series
The authors contributed equally to the paper. Vikram Krishnamurthy vikramk@cornell.edu and Yiming Zhang yz2926@cornell.edu are with the School of Electrical and Computer Engineering, Cornell University, Ithaca, NY 14853, USA. Luke Snow luke.snow@yale.edu is with the Department of Electrical Engineering, Yale University, New Haven, CT 06520, USA.
This research was supported by NSF grant CCF-2312198 and Army Research office grant W911NF-24-1-0083.
This tutorial paper presents a unified dynamical-systems perspective on generative AI through three complementary settings: (i) large language models (LLMs) as high-dimensional nonlinear autoregressive models; (ii) networks of interacting LLMs and their mean-field dynamics; and (iii) neural stochastic differential equations (SDEs) as continuous-time generative models. Although these settings differ in their state spaces, interaction mechanisms, and time scales, they share a common mathematical foundation: stochastic evolution governed by learned nonlinear functions. Our treatment is selective: we emphasize modeling and underlying stochastic mechanisms rather than a broad survey of the literature. Accordingly, we cite only selected references.
Part 1. LLMs as high-dimensional nonlinear autoregressive (AR) models. LLMs based on transformer architectures generate text by sequentially sampling tokens from conditional probability distributions determined by the preceding token history. Part 1 discusses the formulation of LLMs as high-dimensional, high-order nonlinear autoregressive (AR) models with attention-based dependencies. Here, “dimension” refers to the dimension of the latent hidden state produced by the transformer (typically ), while “order” refers to the number of past tokens available for predicting the next token, as determined by the context window (which can be of order ). We describe how the nonlinear AR model is constructed through causal self-attention and how its conditional probability distributions are estimated by maximum-likelihood pretraining and subsequently used for token generation. The exposition emphasizes mathematical abstraction over architectural detail, with brief remarks on alignment and inference.
Part 2. Mean-Field Dynamics and Structural Bias in Networks of LLMs. Motivated by sociological phenomena in human social networks, Part 2 models interacting LLMs as networks of coupled nonlinear AR systems. We characterize their collective evolution through a mean-field ordinary differential equation (ODE) obtained in the large-network limit, under suitable assumptions.
The mean-field dynamics provide a framework for analyzing emergent network structure and structural bias. We study how preferential attachment and type-dependent interactions lead to disparities in connectivity, including glass-ceiling effects. The equilibria and stability properties of the mean-field ODE characterize the long-run behavior of the interacting agents.
Part 3. Neural SDEs as continuous-time generative models. While Parts 1 and 2 focus on LLMs and networks of LLMs (discrete-time autoregressive models and their interactions), many other applications of generative AI involve continuous-time stochastic processes observed at irregular time intervals. Neural stochastic differential equations (SDEs) provide a flexible generative framework for such time series by parameterizing the drift and diffusion coefficients with neural networks. These models generate probability distributions on path space, with applications including financial time-series simulation, modeling human motion trajectories, and reconstructing gene-regulatory dynamics from noisy, irregularly sampled data.
In Part 3 we introduce neural SDEs. After motivating their usefulness, we introduce the powerful method of Wiener space cubature and illustrate its use in training neural SDEs. Wiener space cubature replaces the Brownian motion driving an SDE with a finite collection of judiciously chosen deterministic trajectories, yielding an ordinary differential equation for each trajectory. Drawing on rough-path analysis, these trajectories and their associated weights are constructed to match moments of iterated Brownian integrals, so that a weighted convex combination of the resulting solutions approximates the desired expectation. They provide improvements over the default Monte Carlo estimator, with the capability of root mean-squared error of instead of . Neural SDEs can be considered as a form of generative AI for continuous-time stochastic processes; they generalize finite-dimensional generative models, such as score-based diffusion, to a function space.
The three parts of this paper connect probabilistic prediction, information exchange in interacting networks, and efficient computation of expectations under continuous-time generative models. They illustrate how nonlinear AR models describe stochastic token generation in LLMs, how interactions among LLMs produce emergent network structure and bias, and how Wiener-space cubature provides an alternative to Monte Carlo estimation in neural SDE training.
II. PART 1. LLMs AS HIGH-DIMENSIONAL NONLINEAR AUTOREGRESSIVE MODELS
This section formulates LLMs as high-dimensional nonlinear autoregressive (AR) models with attention-based dependencies, and explains how their conditional probability distributions are learned through pretraining.
How does an LLM generate tokens?: As a short appetizer, we first outline how an LLM generates new tokens. An LLM can be viewed as a -order nonlinear AR model, where denotes the context window length. After training, the optimized parameters of the transformer neural network are fixed. The user-provided prompt, consists of the initial tokens . For , subsequent tokens are generated autoregressively by the LLM as follows: At time , the LLM uses the previous up to tokens to predict the next token. These tokens constitute the model's context. The LLM then draws the next token randomly from the -dimensional probability vector (where denotes the size of the LLM vocabulary):
In the above AR model, is the user-chosen sampling temperature, and , are learned parameters, where denotes the latent hidden-state (embedding) dimension of the transformer. Also for any , is the -dimensional probability vector with elements , .
The AR feature map appearing in (1) is the final-layer hidden state corresponding to the most recent token , defined by the composition of layers of the transformer neural network:
(2)
initialized at layer 0 by
where denotes the learned token embedding matrix that maps each discrete token to . We refer to as the hidden-state representation outputted at layer for token . Detailed constructions are given in (13), (14).
Indices corresponding to t < 1 are omitted.
An important feature of (2) is the self-attention mechanism in each layer :
where denotes the vector of attention scores with real-valued elements
and denotes the -th component of the -dimensional probability vector . Here, , and are learned matrices. In (3), denotes a nonlinear transformation of the attention output. It is a schematic representation of a transformer layer; the full architecture also includes residual connections, normalization, and feedforward operations, see (13).
Context. There are two main takeaways: First, tokens are drawn from probability vector (1) specified by a -order AR model, where the dimension of the hidden state is . Second, inside the softmax operator lies the all-important attention mechanism (3) which is a bilinear function of the hidden states inside the softmax, followed by a linear (weighted-sum) aggregation of . Remarkably, this bilinear–softmax–linear mechanism, when composed repeatedly across multiple layers of a transformer neural network, makes an LLM appear almost sentient, despite the absence of explicit symbolic reasoning or predesigned task-specific user interface.
By the chain rule of probability, the distribution of a token sequence factors into conditional next-token distributions. The causal transformer parametrizes these distributions through a high-dimensional nonlinear AR map with attention. Pretraining estimates the parameters of this conditional probability kernel by maximizing the likelihood of observed token sequences. Once trained, the same kernel generates new sequences by recursively sampling the next token and updating the context.
Training an LLM has two stages:
-
- Pretraining, where the LLM learns its core language ability by predicting the next token on a large text corpus;
-
- Alignment training, where the pretrained LLM is fine-tuned using human feedback to make its behavior helpful, honest, and safe.
Pretraining and alignment constitute the main stages of LLM training. Pretraining learns the conditional next-token distributions from a large corpus, while alignment subsequently modifies these distributions to favor responses satisfying human preferences or other objectives. Once trained, the LLM generates text by recursively sampling from its learned conditional distributions. We will focus on the formulation of pretraining, with brief remarks on alignment and generation.
A. Vocabulary, Corpus and Token Embeddings
a) Vocabulary: The LLM has fixed vocabulary
where the vocabulary size is typically around 100,000 Byte Pair Encoding (BPE) tokens. A BPE token is generally smaller than a word and larger than a character.
b) Training Corpus: The training corpus for an LLM comprises documents (sequences). Each document is a collection of token sequences where each token .
with the length of document . LLMs train on total number of tokens of 1–20 trillion tokens.
c) Token embeddings.: The learned embedding matrix maps a token index into the continuous feature vector
For sequence , comprising tokens, stack the embeddings as columns into the matrix
These vectors are the input to the causal transformer; their dimension is distinct from the vocabulary size and the context length .
B. Causal Transformer Architecture as a Nonlinear Map
a) Hidden Latent State.: A causal transformer with parameters is a nonlinear map
We identify each token in the vocabulary with its integer index in . Thus, denotes the index of the token at position in sequence .
composed of masked self-attention and feedforward layers. For a sequence of length , it produces the hidden-state matrix
Each column is a context-dependent representation of token t. The transformer processes the sequence in parallel, but causal masking ensures that depends only on tokens .
Let denote the -th unit vector in . Then
Thus, causal masking imposes a block lower-triangular structure on the Jacobian of , with each block of dimension .
For an arbitrary position in a longer sequence, recall the context window . Evaluating the same causal transformer on this truncated context gives the nonlinear AR representation
Here is applied to an input of length , with the corresponding positional information. By construction,
Hence the induced mapping from a full token sequence to its hidden states has a banded block lower-triangular Jacobian, with bandwidth in token positions. The context restriction applies to the entire transformer computation, across all its layers.
b) Output Layer: Logits.: The hidden state is mapped to a vector of next-token logits:
where and are learned parameters.
The explicit construction of , including multi-head causal self-attention and Rotary Position Embeddings (RoPE), is developed below.
C. Pretraining: Conditional Maximum Likelihood
The standard cross-entropy pretraining objective is the negative log-likelihood associated with the nonlinear AR model introduced above.
a) Softmax Prediction.: Given the logit vector in (9), the predicted next-token probability distribution is
where denotes the probability simplex over the tokens. Thus, is the conditional probability assigned to token given the observed context .
b) Conditional Maximum Likelihood.: The AR formulation provides a direct connection between pretraining and generation. By the chain rule for probabilities, the conditional likelihood of an observed token sequence is
Here each conditional probability depends on at most the preceding tokens.
Pretraining estimates the model parameters by minimizing the negative log-likelihood over the training corpus:
where denotes the -dimensional indicator vector corresponding to the observed next token. denotes the Kullback–Leibler divergence between probability vectors and .
The maximum likelihood estimate of the model parameters is obtained by solving
In pretraining, the conditional distributions are evaluated using the token histories from the training corpus, rather than tokens generated by the model. Causal masking allows these conditional distributions to be evaluated in parallel across token positions in each training sequence.
The key observation is that pretraining estimates the conditional probability kernel of the nonlinear AR model, whereas generation recursively samples from the learned kernel, as in (1). Thus, pretraining and generation are two complementary uses of the same stochastic AR model.
Summary (Nonlinear AR Model): For each token position in document , the LLM predicts the distribution of the next token as
Notice that prediction of uses the entire prefix . Hence the above representation is a large ( -order) nonlinear AR model, where is the context window length. We write it more transparently as
where defined in (8) is a deterministic nonlinear state construction function induced by the transformer. The structure of in terms of self attention is elaborated below.
D. Multi-Head Self-Attention
In (6), the transformer neural network was defined abstractly as a nonlinear map
where the hidden state matrix outputted by the transformer was used to produce the conditional distribution of the next token using (9) and (10). We now specify the internal structure of .
a) Layered Structure of : The transformer is the composition of L layers,
Here, denotes the hidden-state matrix after layer , with
Thus is the intermediate hidden state at layer and token position , while is the final-layer hidden state. We suppress the document index on for notational simplicity. Note that are the input token embeddings.
Each layer consists of a self-attention block followed by a position-wise feed-forward network, denoted , applied to each token's hidden state:
(13)
Thus , namely the output of the -th (final) layer of the transformer.
Here LayerNorm denotes layer normalization: for , it is defined by
where denotes element-wise multiplication, are learned parameters and ensures numerical stability. The primed operator LayerNorm' has the same form with separate independent learned parameters.
b) Multi-Head Self-Attention with Bilinear Scores: Self-attention lets the current token look back at all previous tokens within the context window and automatically learn – from their content – how much attention to pay to each one when predicting the next token. Multi-head attention runs many such mechanisms in parallel and combines them.
Each layer has attention heads. Fix a layer , attention head , and let . For each token and context window length , attention is computed over the context window of previous tokens:
Then for each token and any earlier token , define the query, key and value vectors as
The query vector , key vector , value vector , and state depend on the training document ; we suppress this index to simplify notation. In contrast, are the learned query, key and value projection matrices, respectively, shared across all training documents (and not dependent).
The (causal) attention scores are defined as bilinear functions of the hidden states :
where the matrices implement rotary position embeddings (defined below). The attention scores are unconstrained real-valued scalars; nonnegativity and normalization arise after applying the softmax, yielding the attention weights that form a -dimensional probability vector:
Finally the m-th attention head output at token t in layer is
Note that where . For token , and any vector , is the -th component of probability vector .
Concatenating all heads and applying an output projection matrix gives
The above attention scores, weights, and multi-head attention outputs depend on the training document n through its hidden states. We suppressed the index n for notational simplicity.
Remarks: 1. The hidden state h enters the attention mechanism in (16) three times: as query, key, and value. Thus, each attention head implements a bilinear similarity kernel followed by a linear state aggregation.
-
The attention score is best viewed as a learned similarity score: how much does the current token t match the earlier token s. The larger the score, the more token s will contribute to predicting the next token.
-
Matrix Form of Attention (Per-Head Decomposition). Multi-head attention is obtained by applying the following construction for each head and then concatenating the results followed by the output projection : Stack the rotated query and key vectors, and the value vectors, over all tokens of the -th training document:
Then the attention output for head m over the entire sequence can be written compactly as:
The softmax is applied column-wise. In column , the entries indexed by are the attention weights ; all other entries are zero.
Causality and the context-window restriction are enforced by setting the entries of to whenever or , before applying the column-wise softmax.
- Rotary Position Embeddings (RoPE): Because transformers contain no recurrence or convolution, self-attention is permutation-equivariant with respect to token order unless positional information is injected; positional encodings allow the model to represent word order.
Rotary Position Embeddings (RoPE) incorporate positional information into the attention scores. In (14), denotes an orthogonal rotation matrix associated with token position . These matrices satisfy , so that the bilinear attention scores depend on the relative positions of tokens, without adding positional vectors to the input embeddings.
E. Alignment training and Generation
a) Alignment training: Pretraining estimates the parameters of the conditional next-token distribution by maximizing the likelihood of the training corpus. Alignment subsequently modifies these parameters to favor responses satisfying additional criteria, such as human preferences or verifiable rewards. Methods include reinforcement learning from human feedback (RLHF), direct preference optimization (DPO), and reinforcement learning from verifiable rewards (RLVR). Although their objectives differ, these methods preserve the underlying AR formulation: alignment changes the conditional probability kernel rather than the mechanism of sequential token generation. See [1] for details.
b) Generation: After training and alignment, the parameters are fixed at , and the LLM generates a response conditioned on the initial prompt by successively sampling from the AR kernel. The probability distribution over the generated tokens is
Sampling temperature and other decoding rules modify the generation procedure without changing the learned parameters. Similarly, in-context learning and chain-of-thought prompting modify the conditioning history rather than model parameters. This stochastic dynamical viewpoint extends to networks of interacting LLMs, where the generated tokens of one agent enter the conditioning context of other agents, as discussed in Part 2.
III. PART 2. MEAN-FIELD DYNAMICS AND STRUCTURAL BIAS IN NETWORKS OF LLMs
Part 1 (previous section) formulated LLMs as high-dimensional nonlinear autoregressive (AR) models with attention-based dependencies. In this section, we extend the formulation to networks of interacting LLMs, modeled as coupled nonlinear AR models. Fig. 1 summarizes the modeling framework, connecting individual token generation and network interactions to mean-field dynamics and utility-based approximations. The key results of this section are:
- A mean-field ordinary differential equation (ODE) model describing the evolution of opinions among interacting LLM agents.

Fig. 1. Overview of the modeling framework: from single-agent autoregressive (AR) generation to collective dynamics in LLM networks. Interactions couple agents' AR processes through their contexts, while mean-field approximations describe population-level dynamics. For collaborative Q&A, the random utility model (RUM) approximates the transition probabilities governing response-state proportions. For evolving networks, the cross-attention model (CAM) approximates the expected weight allocations and governing type-level centrality and glass-ceiling effects.
- A characterization of structural bias in interacting LLM networks through the stable fixed points of the mean-field ODE, revealing conditions under which a glass-ceiling effect emerges.
Following the AR interpretation in Part 1, an LLM processes and generates text as sequences of discrete tokens from a fixed vocabulary. Let denote the input prompt (context), a sequence of tokens encoding the instructions, query, and any additional information provided to the model. Let denote the single token generated at output position , and let denote the sequence of previously generated tokens.³ Conditioned on and , the LLM generates the next token according to
Fig. 1 summarizes the modeling framework of Part 2. Starting from a single-agent autoregressive (AR) model, we incorporate interactions among agents to obtain a network AR model. A mean-field approximation then describes the evolution of aggregate system states. Finally, RUM or CAM approximates the transition probabilities or expected increments governing these dynamics, providing a unified framework for collaborative Q&A and the glass-ceiling effect.
³In Part 1, the prompt consisted of the tokens , and the generated response begins with . In Part 2, for notational convenience we denote the prompt separately by and restart the token indexing for the generated response at .
A. Network of LLM Agents as Interacting AR Model
In this section, we extend the AR model of a single LLM to a network of interacting LLM agents. By an LLM agent, we mean a prompted LLM of a specified base model, e.g., GPT-6 or Gemini-4. Such agents increasingly operate within larger systems, where they interact by exchanging messages or consuming content generated by one another [2]. Privacy requirements, finite context windows, and computational costs can limit each agent's access to information, motivating networks in which agents combine partial observations through communication. Applications include conversational workflows [3], collaborative reasoning and debate [4], and distributed processing of long documents [5]. As one agent's response enters another's context, their AR generation processes become coupled, enabling information sharing but also potentially reinforcing errors and producing herding [2]. The network determines who influences whom, while agents' choices of interaction partners can in turn reshape the network [6]. An interacting AR model captures these dependencies by specifying how neighboring responses enter each agent's context and influence its next output. It thus provides a common framework for studying information propagation over fixed networks and the feedback between agent-generated decisions and network evolution.
Therefore, we extend the above AR model to a network of interacting LLM agents. Consider a directed network , where is the set of agents and is the set of directed edges. An edge means that agent can receive information from agent , and denotes its incoming neighbors. Agents interact through random asynchronous updates, following standard models of distributed interaction and opinion dynamics [7]. At each interaction round, one agent is selected independently and uniformly from . The selected agent generates a new response using the most recent responses of its incoming neighbors, while the responses of all other agents remain unchanged. These neighboring responses may have been generated at different earlier events, so agents do not need to update in synchronized rounds. This schedule has an equivalent continuous-time interpretation: each agent has an independent Poisson clock with the same rate and updates whenever its clock rings. Observing the process at successive clock events therefore yields independent, uniformly distributed agent selections.
Let denote the -th token generated by agent at interaction round , and let denote the token sequence representing agent 's current response after interaction round
, with token indices suppressed. At each interaction round , one agent is sampled to receive the current responses of all its incoming neighbors and generate its next response token by token:
Here, the pmf is defined by (18) with the transformer parameters of agent . All other agents retain their current responses. The initial prompt differs across agents and remains fixed throughout the interaction process. For interaction round , the context used by the sampled agent is
Here, denotes the set of incoming neighbors of agent . The braces specify the information included in the context: the initial context , agent 's current response , and its neighbors' current responses . These inputs are formatted into an ordered token sequence and remain fixed during generation, while the generated prefix grows as new tokens are generated. Thus, each agent follows a token-level AR model whose context incorporates responses from its neighbors, coupling the agents' generation processes across rounds.
B. Example 1. Collaborative Q&A
In this section, we study collaborative question-and-answering (collaborative Q&A) through information propagation in a network of interacting LLM agents.
- Why Collaborative Q&A?: Collaborative Q&A has become increasingly important for long-context reasoning [8], addressing concerns about sensitive-data leakage [9], and enabling collaboration among LLM agents with different roles [10]. Collaborative Q&A encourages distributing document processing across LLM agents that exchange intermediate responses, as demonstrated by multi-agent approaches to long-context reasoning [5]. However, communication does not necessarily improve accuracy: repeated interactions can reinforce shared misconceptions and lead agents toward an incorrect consensus [10]. The main question is:
How does network structure, agent capability, and the distribution of private evidence jointly shape the propagation of information and hallucinations?
We consider LLM agents answering a shared question , with each agent receiving private evidence . Both and are token sequences encoding the question and the evidence available to agent , respectively. For example, encodes “Where is Alice’s book?”, encodes “Alice put her book in the drawer,” and encodes “Alice left the room.” Here, provides sufficient information to answer , whereas alone does not. Agent ’s initial context is , formatted into an ordered token sequence.
- Motivation for Mean Field Dynamics: Mean-field dynamics describe the collective behavior of a large population of interacting stochastic agents through a deterministic equation governing the evolution of their empirical state distribution in the large-population limit.
To address the above question, we construct a mean-field dynamic ordinary differential equation (ODE) to model the evolving proportions of correct, uncertain, and hallucinating LLM agents. The main outcome is two fold: First, by estimating the parameters of the ODE from real LLM agents data, we can use the ODE as a parsimonious generative model to predict the behavior of the network as it evolves over time. Second, this mean field ODE has a unique stable fixed point (under reasonable conditions) – this facilitates predicting the asymptotic fraction of nodes that are truthful, uncertain or hallucinating for any initial condition.
- From Interacting AR model to Mean Field Dynamics: The agents interact over a fixed network with fixed neighbor sets . Specializing (19) to this setting, the agent selected at interaction round generates its next token sequence according to
Each agent generates its initial response from and subsequently incorporates its own current response and those of its neighbors. The question and private evidence remain fixed throughout these interactions. Let denote the set of finite token sequences over the model's vocabulary. We classify each response token sequence using
Hallucination refers broadly to generated content that is factually incorrect or unfaithful to the source information [11]. In our three-state model, we operationalize as a response that provides an incorrect answer, assessed against the question's ground truth. For the example above, “The book is on the table” is classified as H, “I don’t know” as D, and “The book is in the drawer” as T. This classification uses ground truth for analysis, which is not supplied to the agents.
We define the expected fraction of LLM agents in each response state as
Here, denotes the total number of agents in the network. We collect these fractions into the population vector
Its components represent the expected fractions of hallucinated, uncertain, and correct responses, respectively. The population state space is
Let denote the empirical population fractions, with , so that . Under the mean-field closure, their expectations evolve according to
The factor arises because only one agent updates at each interaction round. We rescale interaction time as
Under suitable regularity and initial-condition assumptions (equicontinuity and boundedness of the interpolated sequences so that the Arzelà–Ascoli theorem applies, together with Lipschitz continuity of ), the deterministic large-population limit satisfies the ODE
Here, is the population state as .
- Random Utility Model (RUM): Our next task is to obtain a tractable empirical approximation to the mean-field dynamics . For this purpose, we introduce the random utility model (RUM), widely used in microeconomics. RUM provides a parametric framework (typically logistic model) for estimating utility functions from observed stochastic choices of agents in a population. RUM models discrete choice by assigning each alternative a deterministic utility plus a random perturbation and selecting the alternative with the highest realized utility [12], [13]. Here, the alternatives are the response states , , and . For a sampled agent currently in state , the deterministic utilities depend on the population state and network structure, while the perturbations capture variability in response outcomes. Independent standard Gumbel perturbations yield multinomial logit transition probabilities, whose utility parameters can be estimated from observed transitions by maximum likelihood [13].
We use RUM to approximate the state-transition probabilities induced by LLM interactions, thereby obtaining an approximation to the drift . We detail this approximation and the mean-field derivation in Appendix A-A and use the resulting dynamics to study the group's equilibrium accuracy. For example, the -component of the drift is the net rate at which agents enter state . Let denote, under the mean-field closure, the probability that an activated agent currently in state transitions to state , given the population state . Then,
The first two terms describe transitions into state , while the last term describes transitions out of state . RUM is used to approximate the transition probabilities , thereby yielding an approximation to the mean-field drift. The drift components for states and are obtained in the same way.
- Stability of Mean Field Dynamics: We next state sufficient conditions for the closed RUM population model to converge to its mean-field ODE and for that ODE to approach a unique equilibrium. Let denote the RUM approximation of the averaged state-transition probability, with . The corresponding drift is
To make the population-size dependence explicit, we write for the empirical population vector in a model with agents. For the large-population limit, we consider closed population models governed by the same averaged transition kernel.
The RUM approximation admits a conditional universal approximation justification. For the sampled agent , the AR model (21) induces the response-state probabilities
where the sum runs over completed responses, including the end-of-sequence token. Thus, each state probability is obtained by summing the AR probabilities of all responses classified into that state. Under the mean-field closure, averaging over sampled agents and their contexts, conditional on the current state and population state , yields .
For strictly positive transition probabilities, a RUM with independent standard Gumbel perturbations and deterministic utilities reproduces these probabilities exactly:
Subtracting from all utilities preserves these probabilities and sets the reference utility to zero. This representation concerns the distribution of response states and does not require reproducing the token-level generation mechanism.
If the target transition probabilities are continuous and strictly positive on the compact simplex S, their log-utilities are continuous. A utility family capable of uniformly approximating continuous functions can therefore approximate these log-utilities arbitrarily well. The softmax map then transfers this approximation to the transition probabilities. Since the mean-field drift is a weighted sum of these probabilities, for every there exists a sufficiently expressive RUM such that
This provides a conditional justification for using RUM to approximate the population-level dynamics induced by interacting AR LLMs.
Theorem III.1 (Mean-field limit and equilibrium accuracy). Consider the closed population process in which, at each interaction round, one agent is selected uniformly and transitions from state to state with probability . Suppose that for every and , where . Assume further that, for some ,
(29)
If , then the following statements hold.
- Mean-field limit. For every finite S > 0,
(30) where solves
-
Unique attracting equilibrium. The simplex is positively invariant. The ODE has a unique equilibrium , and every solution starting in converges to .
-
Equilibrium accuracy. The equilibrium satisfies
In particular,
The proof is given in Appendix A-A3. The equilibrium determines the eventual proportions of hallucinated, uncertain, and correct responses. The result concerns the closed RUM state model; its application to the full AR network depends on the accuracy of the RUM approximation and the mean-field closure. We note that open-source code for implementing this collaborative Q&A can be found at https://github.com/aditj/llm_network_tmlr.
C. Example 2. Structural Bias and Glass-Ceiling Effects
In this section, we study structural bias and glass-ceiling effects (GCE) in networks autonomously formed by interacting LLM agents.
- Why Study Glass-Ceiling Effects?: In social networks, glass-ceiling effects describe barriers that limit certain groups' access to senior positions beyond what differences in relevant qualifications can explain. Such disadvantages become more pronounced at higher levels of the hierarchy and can intensify over the course of a career [14]. In social networks, related effects manifest as underrepresentation among highly connected nodes: homophily, unequal group sizes, and preferential attachment can jointly generate this disparity [15], [16], while social recommendation algorithms can further amplify it [17].
These findings motivate studying whether analogous barriers emerge in networks of interacting LLM agents. Following [18], we distinguish two cases. In the capability-aligned case, stronger agents become more influential, potentially improving collective performance. In the capability-misaligned case, weaker agents acquire disproportionate influence while stronger agents remain peripheral, suppressing useful contributions and amplifying errors. The main questions are:
How do local interaction decisions shape network influence? Can capable agent types remain structurally disadvantaged in the long run?
We construct a mean-field ODE for type-level incoming and outgoing centrality. By estimating its expected allocations from LLM-agent data, the ODE provides a parsimonious model for predicting network evolution. Under suitable conditions, the centrality dynamics converge to a unique stable fixed point, which determines whether an average GCE persists in the long run.
- Interacting AR Model to Mean Field Dynamics: Unlike collaborative Q&A in Example 1, the communication network now evolves through agent-generated decisions. Write , where each directed edge carries a weight recording accumulated interaction effort, such as token exchange, interaction frequency, and reasoning effort. An absent edge has zero weight, and is agent 's incoming neighbor set.
The agent i activated at interaction round generates its response according to
Here, is the fixed initial context, and the context components are formatted into an ordered token sequence. The generated response determines network changes:
The map extracts interaction partners and nonnegative edge-weight contributions, including contributions to previously absent edges. Assuming positive total contributions in every dimension, we normalize them so that . Thus, the network shapes agents' contexts, and their responses shape subsequent network changes.
a) Type-level centrality and average GCE.: Let and denote the two agent types, with each agent's type fixed throughout the process. Starting from zero weights, the total network weight after rounds is . New agents, if introduced, have zero existing edge weights. Define the empirical type- centrality as
Its components are the realized shares of incoming and outgoing weight associated with type . Write ; both vectors belong to .
Following [18], define type-level communication influence by the outgoing-to-incoming weight ratios
These ratios measure information supplied to other agents relative to information received. To formalize the requirement that type has substantially smaller long-run relative influence, fix . Type experiences an average GCE at level if
with the ratios well defined for all sufficiently large . Smaller indicates a stronger disparity. When type has comparable or greater task capability, this criterion identifies a persistent capability-influence mismatch.
b) Mean-field dynamics.: Let collect the incoming and outgoing weight added to type at round . Normalization by the total network weight gives
Assume that the conditional mean of the next increment given the full history is determined by and depends on it only through :
Under this type-level closure, define . Taking expectations yields
On the rescaled time axis , the associated mean-field ODE is
Stochastic approximation theory relates the empirical recursion to this ODE under suitable stochastic averaging theory conditions.
- Cross-Attention Utility Model (CAM): Our final modeling step, before analyzing the stability of the mean-field dynamics, is to characterize how interacting LLM agents respond to information received from other agents. For this purpose, we use the cross-attention mechanism of transformers [19]. Cross-attention provides a mechanism for modeling how interacting LLM agents respond to information supplied by other agents. A query represents the information sought by the target, each source key describes the information available from that source, and the corresponding value encodes the content to be aggregated. Query-key compatibility determines how strongly each source value contributes to the aggregate [19]. This mechanism supports information integration in perception and question answering [20], [21].
The same structure motivates a model of communication between LLM agents: a target agent's query represents its current information needs, while a source agent's key and value represent the relevance and content of its potential contribution, respectively. Following [18], the cross-attention response utility model (CAM) uses query-key compatibility to weight source contributions. Together with candidate-selection and normalization rules, these weighted contributions determine the modeled communication allocations, linking agents' contexts to the evolution of the interaction network. These allocations determine the mean-field drift:
Each component compares the expected new allocation with the corresponding current centrality share. The CAM construction is detailed in Appendix A-B.
- Stability and Average GCE at Equilibrium: We now give sufficient conditions for centrality convergence and connect the limiting allocation to average GCE.
Theorem III.2 (Convergence of centrality). Consider (37) on . Assume that , agent types remain fixed, , and determines the conditional mean of the next increment given the full history. Suppose that (38) holds and, for some ,
Then:
-
Unique attracting equilibrium. The ODE (40) has a unique equilibrium satisfying . Every ODE trajectory starting in converges to .
-
Centrality convergence. The empirical centrality satisfies almost surely, and its expectation satisfies .
The proof is given in Appendix A-B3. The contraction condition limits feedback from current prominence to future allocation. The same result applies to the CAM surrogate when its formation process satisfies the stated closure and contraction assumptions.
To connect the fixed point to average GCE, suppose
Almost-sure convergence and (35) imply
Therefore, average GCE at level occurs if and only if
In particular, a limiting relative influence below one is equivalent to . Thus, convergence establishes that influence allocation stabilizes, while the fixed point determines whether the allocation retains an average GCE. We note that open-source code for implementing this GCE effect can be found at https://github.com/yimingz1218/LLM_GCE.
Summary. Parts 1 and 2 developed a dynamical-systems perspective on LLMs, from individual nonlinear autoregressive models to networks of interacting agents. In the large-population limit, mean-field ODEs connect local stochastic interactions to emergent network structure, including preferential attachment and persistent structural bias manifested through type-dependent glass-ceiling effects.
IV. PART 3. FLEXIBLE TIME-SERIES GENERATIVE MODELING VIA NEURAL SDES
In this part of the paper, we consider a complementary class of generative AI models: neural stochastic differential equations (neural SDEs) [22], [23], [24], [25] for generating continuous-time stochastic time-series trajectories, including those observed at irregular time intervals. Our presentation is a high-level exposition of neural SDEs and their training methodology. Technical details are deferred to the cited literature.
Overview of Neural SDEs: Whereas AR models generate sequences through successive conditional distributions, neural stochastic differential equations (SDEs) generate stochastic trajectories through learned drift and diffusion coefficients of an SDE. Both approaches specify probability laws on sequences or paths through parameterized stochastic dynamics. Neural SDEs extend the dynamical-systems perspective of generative AI to continuous-time processes, particularly for modeling irregularly sampled time series and other path-valued data.
Let us first explain the main ideas informally. We express a neural SDE in the Itô form as
Here denotes standard Brownian motion, and (45) has specified initial condition . We denote the path-law of (45) as – this is the probability law on an appropriate function space. Also, the drift and volatility are parametrized as neural networks with weights .
A neural SDE is a generator in the same sense as a generative adversarial network or a score-based diffusion [26]: one samples noise and pushes it through a parametrized map to obtain draws from an unknown law [23]. Here that law is a measure on path space rather than on a Euclidean state space. This is the natural model for stochastic time series, including irregularly sampled observations, and it has been used for market-path simulation in quantitative finance [27], latent dynamics of motion-capture trajectories [25], data-driven turbulence closures [28], and reconstruction of noisy gene-regulation series [29]. The usefulness of neural SDEs is captured in part by their universal approximation of arbitrary stochastic dynamics [30], inheriting the flexibility and expressivity that have made neural networks widely applicable function approximators.
Figure 2 illustrates this generative modeling pipeline. Panel (a) is the generator: determines the law of , and are the parametrized drift and volatility functions of the neural SDE; learning is then equivalent to learning the law of the dynamics if the neural parametrization is rich enough. Panel (b) illustrates a collection of irregularly sampled data points, which do not determine a common discrete mesh or a single endpoint; however, they can be modeled as evaluations along continuous trajectories. Section IV-B distinguishes matching the path law from matching the terminal-time distribution .
Main Ideas: “Learning” in general means making the path law close to an empirical measure which corresponds to observed data, by minimizing an appropriate discrepancy functional which captures the distance between and the data. Existing methods differ in the discrepancy they minimize, e.g., adversarial path-space objectives [23], variational free
(a) Neural SDE as a generative model

(b) Path measure and irregular samples

Fig. 2. Neural SDEs as path-space generative models. (a) Initial noise and Brownian motion are mapped through neural networks with weights to sample paths . Sampling is a numerical SDE solve. (b) The induced object is a path measure (thin trajectories). Observed data may be irregular samples on those trajectories, so the natural training target is , not a shared time grid or the terminal law .
energy [22], finite-dimensional distribution matching [31], signature-kernel scores [32], and in how gradients of that discrepancy are computed, e.g. automatic differentiation through an SDE solver [22] or stochastic adjoints [33]. Section IV-B organizes these choices; Appendix B then presents the key idea of Wiener-space cubature [34], [35] – which serves as a useful alternative to Monte Carlo path simulation.
The main results of this section are:
(i) We introduce the mathematical framework of neural SDEs, and motivate them as principled path-space generative models;
(ii) We organize training methods by the law they match and by the differentiation engine/estimator pair they use, including representative time and memory scalings;
(iii) We summarize Wiener-space cubature as a drop-in replacement for Monte Carlo estimation of path-functional objectives, following [35].
Before presenting the main neural SDE framework, we first introduce the high level main results of our Wiener space cubature technique for improving the efficiency of neural SDE training by exploiting high-order deterministic approximations to SDE solutions.
A. Wiener-Space Cubature for Neural SDE Training
Figure 2 displays the neural SDE generative modeling pipeline. The generative modeling optimization proceeds by first specifying a discrepancy between the path law and data, then estimating and differentiating that discrepancy to optimize the generative law. The default evaluation method in most estimators is via Monte Carlo simulation of the SDE (45) along independent driving Brownian motion paths, with root-MSE sampling error of .
Wiener-space cubature [34], [35] enables replacing the Brownian motion driving an SDE with a finite collection of judiciously chosen deterministic trajectories, yielding an ordinary differential equation for each trajectory. Brownian motion is replaced by a finite set of bounded-variation paths with weights , chosen once and independently of , which match the Brownian motion statistics up to high order; Appendix B specifies the precise sense in which this is meant. Then, each neural SDE path evaluation becomes an ordinary differential equation along , and the training objective becomes a weighted sum of ODE trajectories. The key consequences are:
(i) ODE gradients. Brownian paths need not be stored, and the -gradient (a crucial step in backpropagation) can be evaluated via deterministic ODE adjoints rather than an SDE adjoint [36], [37].
(ii) Fewer paths. Under suitable conditions, the root-MSE in the number of ODE solves improves from to [35].
These efficiency improvements are complementary: in reasonable settings we need fewer trajectories for a prescribed estimation accuracy, and each trajectory is cheaper since it is a deterministic ODE. These efficiency gains require suitable structure in the neural SDE drift and volatility functions and must be weighed against the preprocessing cost of computing the cubature paths and weights; see [35].
We make this more precise now. Write for a sample path of the neural SDE (50) (defined in Section IV-B), and let be a fixed empirical path measure on the space of continuous trajectories on . A data-dependent path functional
reduces matching the law to
(We seek a local stationary point.) Wiener space cubature is an estimator of (46); it is compatible with the discrepancies and differentiation engines of Section IV-B.
- Efficient Neural SDE Training Guarantees: The estimate and its gradient are as follows. Proofs and the full cubature path construction are in [35]; Appendix B expands on this and provides the definitions used to make these objects precise.
Meta Theorem 1 (Wiener Space Cubature Approximation, Informal). The objective (46) admits the deterministic surrogate
where is the solution on of the Stratonovich ODE with the vector fields of (45), driven by a cubature path . The weights satisfy and , and do not depend on . After suitable high-order recombination of cubature paths, we obtain error .
Evaluating the Wiener space cubature objective in (47) enables the minimization (46) with rate :
Furthermore, each path evaluation is now a deterministic ODE and we thus obtain improved efficiency of backpropagation, as introduced in the following Meta Corollary.
Meta Corollary 1 (Efficient ODE Gradient Evaluations). Given (47),
where each summand is computed by automatic differentiation or an ODE adjoint [36], [37]. These evaluations are typically cheaper in time and memory than differentiation through SDE solvers [22], [33].
Remark. Why more efficient than Monte Carlo? Monte Carlo approximates by an empirical average of independent Brownian paths. That estimator does not exploit the structure of the Wiener measure, so the root-mean-squared error is a central-limit fluctuation of size .
Wiener space cubature treats the same expectation as a quadrature problem on path space. The quantities that enter the stochastic Taylor expansion of solutions of (45) are a finite list of iterated Stratonovich integrals. Tchakaloff's theorem [38] is a finite-dimensional analogue of this quadrature problem, and says that a measure on with finite moments of degree admits an exact cubature rule for all polynomials of degree , with at most (dimension of the vector space of polynomials on of total degree at most ) positive-weight nodes. In [34] an analogous statement is made for the Wiener measure, with polynomials replaced by iterated integrals of degree : there is a discrete path measure, supported on a number of bounded-variation paths only depending on , that matches these iterated integrals exactly. The approximation error is then the unmatched remainder of the Taylor expansion (a deterministic bias) rather than a sampling variance. This, together with a particular high-order recombination scheme [39], yields the rate in Meta Theorem 1. Appendix B makes this precise.
However, these efficiency improvements hold only under suitably structured neural SDE drift and volatility functions, and after an appropriate pre-processing step has been completed which computes the cubature paths and weights. In-depth discussion of the trade-offs between these necessary computational contingencies and the possible efficiency gains can be found in [35].
Going forward, Section IV-B introduces the neural SDE model and the training taxonomy in more detail. Appendix B then gives the Wiener space cubature construction behind (47)–(49).
We note that open-source code for implementing this Wiener space cubature approach to neural SDE training can be found at https://github.com/LukeSnow0/Neural-SDE.
B. Neural SDEs: Generative Modeling and Training
We now specify the neural SDE model and the common training choices underlying discrepancy evaluations such as introduced in (46).
- Model class: We first define the neural SDE model more precisely. Fix a finite time horizon . Let
be a standard Brownian motion (the process in Figure 2) and an initial latent, respectively. A neural stochastic differential equation is given by, for ,
(50) where
are neural networks collectively parametrized by .
Let denote the space of continuous paths on . A sample path of (50) is , and the path-space law is
This is the law in Figure 2 and in (46).
Used as a generative model, (50) is trained to fit a data law either at a fixed terminal time or on the path space . Terminal-time training matches a finite-dimensional readout and sits in the same family as score-based diffusions [26], which learn a reverse drift for a prescribed forward noising process rather than a fully learned pair . Path-space training matches itself, i.e. infinite-dimensional generative modeling of a trajectory law [23]. That is the natural target for stochastic time series, including irregularly sampled observations [40], [25]. Both regimes are developed in Section IV-B2.
We next outline details for these distributional training objectives, as well as neural optimization techniques in each of these distinct training regimes.
- Distributional training regimes: Let denote the empirical data law on the path space (or on a finite-dimensional observation space derived from it). Training a neural SDE consists of choosing so that the model law is close to this data law in the sense of a discrepancy functional measuring an appropriate distance between and . The choice of is independent of how the resulting objective is estimated or differentiated, which is the subject of Section IV-B3. It is useful to distinguish path-space from terminal-time learning; we include finite-dimensional distribution (FDD) matching as the computationally important intermediate [41].
a) Path-space learning: In path-space learning, the target is the law of the entire trajectory. One fits to via
This is the natural regime for stochastic time-series generation, irregularly sampled sequential data, and any setting in which temporal evolution itself is part of the modeling target. Even if a decoder is applied pathwise, , the problem remains one of matching laws on path space.
Here we list two representative discrepancies in order to make (52) explicit. Integral probability metrics (IPM) with a neural path-functional critic [23] take the form
typically with parametrized by a neural controlled differential equation. Signature-kernel scoring rules [32] replace the adversarial inner supremum here by a closed-form kernel score on . In both cases the decision variable is a path measure, not a fixed finite-dimensional terminal distribution.
b) Finite-dimensional distribution matching: An intermediate target (between path-law and terminal-time modeling) is the collection of finite-dimensional laws
In this setting, one minimizes on a grid (or a sum of such discrepancies over subgrids), rather than a discrepancy on the continuous path-space directly. Because (50) is Markov, matching a generating family of FDDs, in particular consecutive pairs, given the initial law, is enough in principle to control the process, and reduces the objective-side cost from quadratic in the number of time steps to linear [41]. FDD matching is therefore path-valued in spirit, but finite-dimensional in the quantity actually compared; it should not be conflated with terminal-time learning, which uses only .
c) Terminal and latent-variable learning: A distinct regime arises when the observations are finite-dimensional random variables derived from the dynamics, most commonly the terminal state or a readout of it. Write . Here, one matches to an empirical distribution via
This is the natural viewpoint when the neural SDE is a continuous-time latent-variable generator rather than a direct model of an observed series. The standard realization is variational: an evidence lower bound on the observation likelihood, as in the diffusion-limit latent Gaussian models of Tzen and Raginsky [22] and the scalable latent SDEs of Li et al. [25].
Score-based generative models [26] sit in this terminal-time family, but they are a strict special case. There, the forward noising process is prescribed, the diffusion coefficient is not learned, and the neural network parametrizes the score appearing in the reverse drift. A general neural SDE instead learns both and in (50), and is thus more general in both the neural parametrization and the target distribution (possibly path-dependent) which is matched.
- Optimization of the training objective: Section IV-B2 specified what is matched. Training still requires efficient evaluation of , where denotes the chosen discrepancy as a function of the neural-SDE parameters . There are two largely orthogonal design choices:
(i) a pathwise differentiation engine, which approximately evaluates of a functional (discrepancy) of a single realization of (50);
(ii) an objective / expectation estimator, which approximates (typically an expectation under , or a saddle-point in the adversarial case) by averaging, critic updates, or a deterministic surrogate.
A training method consists of these choices, of which we list several below. Differentiation engine costs below are quoted per simulated path of solver steps; estimator costs multiply or add to that baseline, and here denotes the state dimension of .
a) Pathwise differentiation engines:
-
Automatic differentiation. Simulate a discretized neural SDE and backpropagate through the solver graph, [22]. Time and memory are both per path. This is exact relative to the chosen discretization and is simplest for short trajectories.
-
Stochastic adjoint backpropagation. Rather than storing the forward graph, solve a backward adjoint SDE associated with the loss, reconstructing the primal path [25], [33]. Time remains per path, while memory drops to in . This is often the default method in settings where is large.
-
Forward sensitivity propagation. Propagate Jacobian information along the forward solve. The solver graph need not be stored, but the state is enlarged by the sensitivity, giving time and memory in [42]. This scaling is unattractive once the dimension is moderate.
b) Objective / expectation estimators:
TABLE I
REPRESENTATIVE COMPLEXITY OF NEURAL SDE TRAINING. ENGINE COSTS ARE per path OF SOLVER STEPS; IS THE STATE DIMENSION. ESTIMATOR COSTS MULTIPLY OR ADD TO THE CHOSEN ENGINE. IS THE NUMBER OF SIMULATED (VARIATIONAL) PATHS, THE NUMBER OF CRITIC STEPS PER GENERATOR STEP, AND THE NUMBER OF CUBATURE ODES, VS. MONTE CARLO PATHS IN A STANDARD EXPECTATION EVALUATION.
| Method | Time | Memory | Comment |
|---|---|---|---|
| Pathwise differentiation engines (per path) | |||
| AD through solver | exact relative to discretization | ||
| Stochastic adjoint | in | default for long trajectories | |
| Forward sensitivity | in | poor in high dimension | |
| Objective / expectation estimators | |||
| Variational MC | engine | engine | ELBO; SDE paths |
| Adversarial | engine | critic + engine | critic steps |
| Signature-kernel score | engine + | objective-dependent | kernel / PDE overhead |
| FDM | engine + | objective-dependent | Markov reduction |
| Cubature / ODE surrogate | ODE solves | ODE-style | no Brownian MC; rate |
- Variational (reparametrized) Monte Carlo. In latent-SDE models one maximises an evidence lower bound
using simulated paths of the variational process [22], [25]. Here and are appropriately parametrized variational probability distributions. The total cost is then that of the chosen engine, times .
-
Adversarial objectives. For an integral probability metric (53) one alternates critic and generator updates [23]. With critic steps per generator step the training cost is multiplied by roughly .
-
Score- and kernel-based objectives. Signature-kernel scores incur an objective-side cost in the number of discretization steps [32]. Finite-dimensional distribution matching reduces this to by exploiting the Markov structure of (50) [41]. Both are estimators of a discrepancy from Section IV-B2; they still require a differentiation engine.
-
Deterministic expectation approximations. Wiener space cubature, previewed in Section IV-A,
replaces Monte Carlo by the weighted ODE ensemble of (47),
with , , and each driven by a bounded-variation cubature path [34]. Gradients then pass through ODE solvers (Corollary 1). Under the conditions of [35], the weak error improves from to .
Table I summarizes the resulting time and memory scalings. The two axes are independent: adjoint + signature kernel, AD + cubature, and so on, are all well-defined pairs. Implementation details for the first seven rows are in the cited papers.
Monte Carlo estimation converges at and requires simulating and storing Brownian paths. Wiener-space cubature, developed in Appendix B, keeps the same pathwise loss but replaces that estimator by (57): fewer trajectories, each of them an ODE, differentiated with standard ODE adjoints.
C. Discussion
This section introduced neural SDEs as path-space generative models: noise is pushed through neural vector fields (50) to a law on , which is the natural target when observations are irregular trajectories, rather than a shared grid or a terminal snapshot (Figure 2). Training of neural SDEs is comprised by two largely independent choices. Section IV-B2 specified what is matched (the path measure, a generating family of finite-dimensional distributions, or a terminal/latent readout). Section IV-B3 specified how the resulting discrepancy is estimated and differentiated (SDE adjoints, variational Monte Carlo, adversarial critics, signature kernels, or a deterministic cubature ensemble). A training method is a pair of these choices.
The Wiener space cubature estimator replaces Brownian Monte Carlo by a discrete path measure that is exact for iterated Stratonovich integrals up to a chosen degree, i.e., Tchakaloff's theorem on Wiener space [34]. Each model solve is then an ODE, gradients are ODE adjoints (Corollary 1), and after recombination the weak error in the number of paths can improve from to (Meta Theorem 1). The construction is a pre-processing step, independent of ; the price is the need for an explicit degree- rule (currently ) and a recombination of the concatenated support. Proofs, the recombination algorithm, and numerical comparisons with Monte Carlo training are in [35]. Importantly, cubature changes how training expectations are computed, not the stochastic nature of the generative model. A trained neural SDE still generates random trajectories according to a learned probability law on path space. Together with the autoregressive LLMs and interacting networks of Parts 1 and 2, this illustrates a common principle of generative AI: learning stochastic dynamical models from data and generating new realizations from the learned models.
V. CONCLUSION
This paper developed a stochastic dynamical-systems perspective on three classes of generative AI models. For LLMs, the nonlinear autoregressive formulation connects pretraining by conditional maximum likelihood to stochastic token generation. For networks of interacting LLMs, mean-field dynamics characterize how local stochastic interactions give rise to emergent network structure, preferential attachment, and type-dependent glass-ceiling effects. For continuous-time generative modeling, neural SDEs define probability distributions over stochastic trajectories, with rough-path cubature providing an alternative to Monte Carlo training. Together, these examples illustrate how concepts from stochastic processes and dynamical systems provide insight into the structure, collective behavior, and computation of modern generative AI models.
REFERENCES
[1] V. Krishnamurthy, “LLMs as high-dimensional nonlinear autoregressive models with attention: Training, alignment and inference,” arXiv preprint arXiv:2602.00426, 2026.
[2] A. Jain and V. Krishnamurthy, “Interacting large language model agents. Bayesian social learning based interpretable models,” IEEE Access, vol. 13, pp. 25465–25504, 2025.
[3] Q. Wu, G. Bansal, J. Zhang, Y. Wu, B. Li, E. Zhu, L. Jiang, X. Zhang, S. Zhang, J. Liu, A. H. Awadallah, R. W. White, D. Burger, and C. Wang, “AutoGen: Enabling next-gen LLM applications via multi-agent conversation,” arXiv preprint arXiv:2308.08155, 2023.
[4] Y. Du, S. Li, A. Torralba, J. B. Tenenbaum, and I. Mordatch, “Improving factuality and reasoning in language models through multiagent debate,” in Proceedings of the 41st International Conference on Machine Learning, vol. 235 of Proceedings of Machine Learning Research, pp. 11733–11763, PMLR, 2024.
[5] Y. Zhang, R. Sun, Y. Chen, T. Pfister, R. Zhang, and S. Ö. Arík, “Chain of agents: Large language models collaborating on long-context tasks,” in Advances in Neural Information Processing Systems, vol. 37, pp. 132208–132237, 2024.
[6] M. Papachristou and Y. Yuan, “Network formation and dynamics among multi-LLMs,” PNAS Nexus, vol. 4, no. 12, p. pgaf317, 2025.
[7] D. Elboim, Y. Peres, and R. Peretz, “The asynchronous DeGroot dynamics,” Random Structures & Algorithms, vol. 65, no. 4, pp. 857–895, 2024.
[8] M. Levy, A. Jacoby, and Y. Goldberg, “Same task, more tokens: The impact of input length on the reasoning performance of large language models,” in Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 15339–15353, Association for Computational Linguistics, 2024.
[9] Y. Song, R. Liu, S. Chen, Q. Ren, Y. Zhang, and Y. Yu, “SecureSQL: Evaluating data leakage of large language models as natural language interfaces to databases,” in Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 5975–5990, Association for Computational Linguistics, 2024.
[10] A. Estornell and Y. Liu, “Multi-LLM debate: Framework, principals, and interventions,” in Advances in Neural Information Processing Systems, vol. 37, 2024.
[11] Z. Ji, N. Lee, R. Frieske, T. Yu, D. Su, Y. Xu, E. Ishii, Y. J. Bang, A. Madotto, and P. Fung, “Survey of hallucination in natural language generation,” ACM Computing Surveys, 2023.
[12] D. McFadden, “Conditional logit analysis of qualitative choice behavior,” in Frontiers in Econometrics (P. Zarembka, ed.), pp. 105–142, Academic Press, 1974.
[13] K. E. Train, Discrete Choice Methods with Simulation. Cambridge University Press, 2 ed., 2009.
[14] D. A. Cotter, J. M. Hermsen, S. Ovadia, and R. Vanneman, “The glass ceiling effect,” Social Forces, vol. 80, no. 2, pp. 655–681, 2001.
[15] C. Avin, B. Keller, Z. Lotker, C. Mathieu, D. Peleg, and Y.-A. Pignolet, “Homophily and the glass ceiling effect in social networks,” in Proceedings of the 2015 Conference on Innovations in Theoretical Computer Science, pp. 41–50, 2015.
[16] B. Nettasinghe, N. Alipourfard, S. Iota, V. Krishnamurthy, and K. Lerman, “Scale-free degree distributions, homophily and the glass ceiling effect in directed networks,” Journal of Complex Networks, vol. 10, no. 2, p. cnac007, 2022.
[17] A.-A. Stoica, C. Riederer, and A. Chaintreau, “Algorithmic glass ceiling in social networks: The effects of social recommendations on network diversity,” in Proceedings of the 2018 World Wide Web Conference, pp. 923–932, 2018.
[18] Y. Zhang and V. Krishnamurthy, “Emergence of preferential attachment and glass-ceiling effects in autonomous networks of LLMs,” arXiv preprint arXiv:2607.01148, 2026. Version 2.
[19] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, E. Kaiser, and I. Polosukhin, “Attention is all you need,” in Advances in Neural Information Processing Systems, vol. 30, 2017.
[20] A. Jaegle, F. Gimeno, A. Brock, O. Vinyals, A. Zisserman, and J. Carreira, “Perceiver: General perception with iterative attention,” in Proceedings of the 38th International Conference on Machine Learning, vol. 139 of Proceedings of Machine Learning Research, pp. 4651–4664, PMLR, 2021.
[21] G. Izacard and E. Grave, “Leveraging passage retrieval with generative models for open domain question answering,” in Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pp. 874–880, Association for Computational Linguistics, 2021.
[22] B. Tzen and M. Raginsky, “Neural stochastic differential equations: Deep latent Gaussian models in the diffusion limit,” arXiv preprint arXiv:1905.09883, 2019.
[23] P. Kidger, J. Foster, X. Li, H. Oberhauser, and T. Lyons, “Neural SDEs as infinite-dimensional GANs,” in Proceedings of the 38th International Conference on Machine Learning, vol. 139 of Proceedings of Machine Learning Research, pp. 5453–5463, PMLR, 2021.
[24] B. Tzen and M. Raginsky, “Theoretical guarantees for sampling and inference in generative models with latent diffusions,” in Conference on Learning Theory, pp. 3084–3114, PMLR, 2019.
[25] X. Li, T.-K. L. Wong, R. T. Q. Chen, and D. Duvenaud, “Scalable gradients for stochastic differential equations,” in Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics, vol. 108 of Proceedings of Machine Learning Research, pp. 3870–3882, PMLR, 2020.
[26] Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, “Score-based generative modeling through stochastic differential equations,” in International Conference on Learning Representations, 2021.
[27] V. Choudhary, S. Jaimungal, and M. Bergeron, “Funvol: multi-asset implied volatility market simulator using functional principal components and neural SDEs,” Quantitative Finance, vol. 24, no. 8, pp. 1077–1103, 2024.
[28] A. Boral, Z. Y. Wan, L. Zepeda-Núñez, J. Lottes, Q. Wang, Y. fan Chen, J. R. Anderson, and F. Sha, “Neural ideal large eddy simulation: Modeling turbulence with neural stochastic differential equations,” in Advances in Neural Information Processing Systems, vol. 36, 2023.
[29] J. Zhang, X. Li, X. Guo, Z. You, L. Böttcher, A. Mogilner, A. Hoffmann, T. Chou, and M. Xia, “Reconstructing noisy gene regulation dynamics using extrinsic-noise-driven neural stochastic differential equations,” PLoS Computational Biology, vol. 21, no. 9, p. e1013462, 2025.
[30] A. P. Kwossek, D. J. Prömel, and J. Teichmann, “Universal approximation property of neural stochastic differential equations,” arXiv preprint arXiv:2503.16696, 2025.
[31] J. Zhang, J. Viktorov, D. Jung, and E. Pitler, “Efficient training of neural stochastic differential equations by matching finite dimensional distributions,” arXiv preprint arXiv:2410.03973, 2024.
[32] Z. Issa, B. Horvath, M. Lemercier, and C. Salvi, “Non-adversarial training of neural SDEs with signature kernel scores,” in Advances in Neural Information Processing Systems, vol. 36, 2023.
[33] P. Kidger, J. Foster, X. C. Li, and T. Lyons, “Efficient and accurate gradients for neural SDEs,” Advances in Neural Information Processing Systems, vol. 34, pp. 18747–18761, 2021.
[34] T. Lyons and N. Victoir, “Cubature on Wiener space,” Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, vol. 460, no. 2041, pp. 169–198, 2004.
[35] L. Snow and V. Krishnamurthy, “Efficient Neural SDE Training using Wiener-Space Cubature,” arXiv preprint arXiv:2502.12395, 2025.
[36] R. T. Chen, Y. Rubanova, J. Bettencourt, and D. K. Duvenaud, “Neural ordinary differential equations,” Advances in neural information processing systems, vol. 31, 2018.
[37] T. Matsubara, Y. Miyatake, and T. Yaguchi, “Symplectic adjoint method for exact gradient of neural ODE with minimal memory,” Advances in Neural Information Processing Systems, vol. 34, pp. 20772–20784, 2021.
[38] C. Bayer and J. Teichmann, “The proof of Tchakaloff’s theorem,” Proceedings of the American mathematical society, vol. 134, no. 10, pp. 3035–3040, 2006.
[39] C. Litterer and T. Lyons, “High order recombination and an application to cubature on Wiener space,” 2012.
[40] Y. Rubanova, R. T. Q. Chen, and D. K. Duvenaud, “Latent ordinary differential equations for irregularly-sampled time series,” in Advances in Neural Information Processing Systems, vol. 32, 2019.
[41] J. Zhang, J. Viktorov, D. Jung, and E. Pitler, “Efficient training of neural stochastic differential equations by matching finite dimensional distributions,” in The Thirteenth International Conference on Learning Representations, 2025.
[42] Y. Ma, V. Dixit, M. Innes, X. Guo, and C. Rackauckas, “A comparison of automatic differentiation and continuous sensitivity analysis for derivatives of differential equation solutions,” arXiv preprint arXiv:1812.01892, 2021.
[43] A. Jain, V. Krishnamurthy, and Y. Zhang, “Collaborative QA using interacting LLMs. impact of network structure, node capability and distributed data,” Transactions on Machine Learning Research, 2026.
[44] P. E. Kloeden and E. Platen, Numerical Solution of Stochastic Differential Equations, vol. 23 of Applications of Mathematics. Berlin, Heidelberg: Springer-Verlag, 1992.
[45] E. Ferrucci, T. Herschell, C. Litterer, and T. J. Lyons, “High-degree cubature on wiener space through unshuffle expansions,” Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, vol. 482, no. 2330, 2026.
Supplementary Material
APPENDIX A
APPENDIX FOR PART 2
A. Mean-Field Derivation and Proof of Theorem III.1
We explain how the interacting autoregressive model yields the mean-field dynamics in (27). We first approximate the state-transition probabilities using a random utility model (RUM), then derive the population ODE under a mean-field closure and an asynchronous interaction schedule. Finally, we prove Theorem III.1.
Recall that denotes agent 's current response, denotes its context, and denotes its response state. The empirical population vector is , its expectation is , and the population state space is
- Construction of the RUM Transition Model: We approximate the state-transition probabilities induced by (21) using the RUM in [43]. Let denote agent 's current state. For each possible next state , let be a feature vector encoding the current state, neighbor count , neighbors' response-state composition, and textual context. The deterministic utility is parameterized as
where collects the fitted parameters, including and any trainable parameters of the feature representation. The model assigns a random utility to each candidate state and selects the state with the largest utility:
Any incentive or inference budget is held fixed and suppressed in the notation. Averaging over the Gumbel perturbations yields the softmax transition probabilities.
The parameters are estimated by maximizing the conditional log-likelihood of observed state transitions, with fixing the reference score. Ground-truth state labels are used for fitting and analysis, not supplied to the interacting agents. The state-level model assumes Markov dependence and homogeneous parameters within each in-degree class. Its probabilities approximate the AR-induced state transitions; they do not specify the full token distribution.
- Derivation of the Population Dynamics: We derive the population drift by averaging the state-transition probabilities over the contexts encountered during interaction. This requires a mean-field closure: conditional on an agent's current state and the population proportions, we approximate the distribution of its context by a time-independent family of distributions determined by the fixed network and evidence allocation.
As in the overview, denotes the AR-induced transition probability under this closure. Its RUM approximation is
The expectation averages over agents and the contexts associated with their current state, including the responses of all incoming neighbors. Since each RUM transition distribution sums to one, . The fitted parameters remain fixed; the dependence on arises from the changing distribution of contexts. For readability, we suppress below.
The closure assumes that these averaged probabilities can be described using alone. When degree, capability, or evidence heterogeneity must be retained, separate population fractions are required for the corresponding agent classes, as in the degree-based formulation of [43].
We use the asynchronous interaction schedule introduced in the overview. At each interaction round, one agent is sampled uniformly and generates a new response using the current responses of all its incoming neighbors. All other agents retain their responses. The empirical population fractions are
Their expectations are , while denotes the deterministic large-population limit.
Under the closed RUM state model, the sampled agent is in state with probability and enters state with probability . A transition from to changes the population vector by , where is the unit vector for state . Consequently,
The first term counts the expected contribution of the new response to state b; the second removes the sampled agent's previous contribution.
The corresponding drift component is
(62)
Collecting these components gives . Each component is the net population flow into the corresponding state. For state , incoming flow represents correction of hallucinated responses or resolution of uncertainty, while outgoing flow represents the loss of correct answers.
Taking expectations in (61) gives
Rescaling interaction time as yields the associated ODE
Thus, replacing the AR-induced transition probabilities by their RUM approximations replaces in (27) by . Here and below, denotes the limiting trajectory of the closed RUM model.
Each interaction changes the empirical fractions by , where , and a bounded interval of rescaled time contains interactions. The proof below shows that the accumulated sampling fluctuations vanish as . The asynchronous schedule is essential: simultaneous generation by all agents instead produces a discrete-time mean-field recursion.
- Proof of Theorem III.1: We write for the empirical population vector with agents. For the large-population limit, we consider closed population models governed by the same averaged transition kernel .
Proof. For the fixed network and fitted RUM parameters, define the probability matrix
and the population map . By (62),
Row-stochasticity and (29) imply that this drift is Lipschitz on .
First, row-stochasticity gives . At a boundary point with ,
Thus the total population mass is preserved and no component can become negative. This proves positive invariance of , and Lipschitz continuity gives a unique ODE solution for every initial condition in .
We next prove the mean-field limit. Subtracting the conditional expected increment from each population increment produces a martingale difference under the closed Markov state model. Each such difference has norm bounded by a constant times . Over interaction rounds, the accumulated martingale therefore satisfies
by coordinatewise application of Doob's inequality. Writing , the population recursion becomes
Since the drift is the difference of two probability vectors, . The discretization remainder therefore satisfies . Comparing (65) with the integral form of the ODE and applying Gronwall's inequality gives
where is a Lipschitz constant of the drift. The initial-condition assumption and the martingale bound prove (30).
We now establish contraction of . Let be the three-dimensional all-ones vector. Since every entry of is at least , the matrix is nonnegative and each of its rows sums to . For any vector with , it follows that
(66)
Decomposing the difference between two population maps gives
Applying (66) to the first term and (29) to the second yields
Since , is a contraction of into itself. The Banach fixed-point theorem therefore gives a unique fixed point , which is also the unique equilibrium of the ODE.
To establish global attraction, set . For a small , the ODE gives
Using (67), the upper right Dini derivative satisfies . Hence , proving global convergence.
Finally, the fixed-point identity gives . Setting the component of (62) to zero balances the flows into and out of the correct response state and yields (31). The denominator is positive because each transition probability is at least .
The assumptions separate state mixing from social sensitivity. The lower bound prevents any response state from becoming inaccessible, while measures how strongly the transition probabilities change with the population. The condition requires this population feedback to be sufficiently weak relative to state mixing. Although finite RUM scores give positive choice probabilities, a uniform lower bound and the required sensitivity bound must still be verified over the modeled contexts.
Equation (31) is an implicit equilibrium relation, since the transition probabilities are evaluated at . Its numerator measures correction of hallucinated and uncertain responses, while its denominator measures the probability of leaving the correct response state. The theorem does not imply : a stable population can still have low accuracy. Its conclusions concern the closed RUM model; application to the full AR network requires justification of the approximation and closure.
B. Mean-Field Derivation and Proof of Theorem III.2
We connect response-driven network formation to the centrality dynamics in (40). We introduce a cross-attention model (CAM) for edge-weight proposals, derive the stochastic centrality recursion, and prove Theorem III.2.
The evolving network is , with vector-valued edge weights . The response-derived network increment is , and collects its type- incoming and outgoing contributions. The empirical centrality is , its expectation is , and denotes the associated deterministic ODE trajectory.
- Construction of the CAM Allocation Model: We approximate the edge-weight proposals underlying in (33) using a cross-attention-inspired utility model, following [18]. Let denote agent 's type, and let be a latent representation of its context. For a candidate interaction , define
The query represents the receiving agent's information needs, the key represents the candidate source's relevance, and the value specifies a vector of proposed edge-weight contributions. Here, is the query-key dimension, and applies coordinatewise nonnegative truncation.
Let collect the encoder and projection parameters. These parameters are fitted by minimizing prediction error against edge-weight proposals extracted from observed LLM responses. Once fitted, they remain fixed during the modeled dynamics. We suppress their dependence in and for readability.
Each formation step contains candidate interactions , , sampled according to the formation protocol. Candidates may include previously unconnected agents, allowing new edges to form. Newly introduced agents have zero existing edge weights, and their context representations are computed from their initial contexts.
To convert utilities into increments, we normalize them separately in each edge-weight dimension. The CAM approximation to the response-derived increment is
where denotes coordinatewise division. We assume that the denominator is positive in every dimension. The normalized surrogate increments sum to , matching the normalization of in the overview. When these surrogate increments define the modeled formation process, (69) holds with equality.
The surrogate depends on both the learned utilities and the candidate-selection protocol. In particular, the expectation of normalized utilities must be computed after normalization; it generally differs from normalizing their expectations.
- Derivation of the Centrality Dynamics: We derive the centrality drift by tracking how each normalized formation step changes the type-R edge-weight totals. Let denote the type-R agents at step k, with types fixed after assignment. The type-R incoming and outgoing weight added at step is
The first block records new weight received by type-R agents, and the second records new weight originating from them. When agents arrive, existing weights are extended by zeros, so their arrival does not change previously accumulated totals.
Starting from zero weights, the total network weight after k formation steps is . Using (34), we obtain the exact recursion
(71)
The subtraction arises because centrality is normalized by a total weight that increases at every step.
Let denote the sigma-algebra generated by the complete history through step , including the network, contexts, and past random choices. We impose a type-level mean-field closure: the conditional expectation of the next increment depends on this history only through . Collect the expected allocations into
The closure and the centrality drift satisfy
(73)
If the closure is stated conditional on , the current network must also be sufficient to determine this full-history conditional mean. If additional context or network statistics remain relevant, they must be retained in the state description.
The CAM approximates these expected allocations through the normalized trial utilities. Writing
define
(74)
The expectation averages over candidate selection and the context distribution specified by the closure. Thus, CAM predicts local weight proposals, while the formation protocol determines their contributions to type-level centrality.
The induced approximate drift is
Consequently,
This is the allocation-to-drift relationship used in the approximation statement in the overview.
Returning to the empirical centrality process, define the centered increment
It satisfies , and (71) becomes
Taking expectations recovers (39).
This is a stochastic approximation recursion with step size . Its associated continuous time is , which grows approximately as . On this time scale, the associated ODE is (40). Replacing by yields the surrogate ODE with drift . Unlike the fixed-population scaling in Collaborative Q&A, this diminishing step size follows directly from normalization by accumulated network weight.
- Proof of Theorem III.2: Let . By construction, . To quantify average influence disparity, consider the outgoing-to-incoming weight ratios
(77)
The ratios are defined when both types have positive incoming weight. A positive realized gap means that type R generates less outgoing influence per unit of incoming weight than type B. When type R has comparable or greater independently assessed capability, a persistent positive gap provides an average GCE criterion.
Proof. Since maps the complete set into itself and is a contraction, the Banach fixed-point theorem gives a unique satisfying . By (73), this is exactly the equilibrium condition .
The ODE preserves . At a boundary point with coordinate , the corresponding drift is . At a boundary point with , the drift is . Thus the vector field points into at its boundary.
Let . Using the equilibrium identity, Cauchy–Schwarz, and (42), we obtain
(78)
Therefore every ODE trajectory starting in converges to .
For the stochastic process, write and . The recursion (71) is a convex combination of two vectors in , so the empirical centrality remains in . Expanding the square, taking conditional expectations, and using (73) gives
The final term follows from , since both vectors belong to .
Because and , the nonnegative almost-supermartingale convergence lemma implies that converges almost surely and . The divergence of then forces the limit of to be zero. This proves almost surely.
Since takes values in the bounded set , dominated convergence also gives
Finally, the assumption makes both influence ratios well-defined and continuous in a neighborhood of the equilibrium. Almost-sure centrality convergence therefore makes the realized gap well-defined for all sufficiently large and gives almost surely. Writing and , we have
The denominator is positive, so the sign of the limiting gap equals the sign of , proving (44). If this gap is strictly positive, convergence implies that the realized gap is eventually positive almost surely.
The contraction condition limits the strength of feedback from current prominence to future edge allocation. For the CAM surrogate, the same theorem applies with and in place of and , provided that its formation process satisfies the stated closure and contraction assumptions. This condition concerns the combined CAM, normalization rule, and candidate-selection protocol; it does not follow from the cross-attention formula alone.
The exact and surrogate equilibria satisfy and , respectively. Convergence of the fitted surrogate does not by itself establish convergence of the original AR-driven network, which requires the corresponding assumptions for its conditional increments.
The average influence criterion differs from representation relative to population size. If type has limiting population share , its outgoing representation can also be compared with . Neither benchmark is guaranteed by convergence: a unique stable equilibrium may retain a substantial influence disparity.
APPENDIX B
APPENDIX FOR PART 3. WIENER SPACE CUBATURE FOR NEURAL SDE TRAINING
The aim of this Wiener space cubature method is to provide a finite set of deterministic paths and weights which approximate the statistics of Brownian motion, and which can be exploited to obtain high-order approximations of expected discrepancy evaluations in the neural SDE training context.
Meta Theorem 1 and Corollary 1 used a cubature ensemble and ODE trajectories . We now define those objects and state the path functional bound that justifies (47). Proofs are in [35].
A. Preliminaries. Cubature on Wiener space.
Cubature on Wiener space [34] is a deterministic replacement for the law of in (50): one matches all iterated Stratonovich integrals up to a chosen degree, then realizes the diffusion as an ODE along those paths. The underlying expansion is the weak Taylor formula of [44].
We first write (50) in Stratonovich form: we absorb time-dependence of by the usual augmentation , and apply the Itô–Stratonovich correction, so that there are autonomous fields and Brownian components:
with the convention . Here for , and is the corrected drift. Throughout this subsection the initial condition is deterministic; random is restored in Section B-C by conditioning.
Let be the index set
For , the weak Taylor formula gives, at time ,
Each acts as the directional derivative , and
. The times parametrize the simplex of an iterated integral of length ; they are not a numerical time grid.
Definition B.1 (Cubature Paths and Weights [34]). Let denote continuous paths of bounded variation on . A collection in that space, together with weights such that , defines a cubature formula of degree at time if, for every ,
For any and there exist such paths and weights [34]. Explicit rules are known for degrees 3 and 5 [34] and degree 7 [45]. The practical consequence is that can be evaluated by a weighted ensemble of ODEs.
Assumption 1 (Smoothness, polynomial growth). For a fixed cubature degree , the fields in (80) lie in and are globally Lipschitz in . Moreover, for every multi-index with there exist such that for .
Proposition B.2 (Cubature ODE approximation [34]). Let be the solution at time of
with . Then, under Assumption 1, for every ,
Proposition B.2 is Taylor expansion of (84) together with the moment matching (83): the ODE and the SDE share the same iterated integrals up to degree . The path in (47) is this ODE trajectory, run over rather than a single time .
Concatenation and recombination. The bound (85) is local, on an interval of length . To reduce it one partitions into pieces and concatenates the same degree- formula on each piece [34, Prop. 3.2]. This partition is a numerical grid on the integration interval; it is distinct from the iterated-integral simplex in (83) and from any observation grid used to evaluate . The concatenated collection has paths. Writing , the weak error along the concatenated ensemble is
High-order recombination [39] then thins this exponential support to polynomial cardinality while preserving the matched moments. That thinning is what converts Theorem B.3 into the claim of Meta Theorem 1; the algorithm is in [35].
B. Path-functional cubature
Proposition B.2 controls for a smooth test function of the state at a single time. However, the loss in (46) is a functional of the whole trajectory. The step from pointwise cubature to (47) is a Wasserstein bound for Lipschitz path functionals [35].
Let us introduce the following technical assumptions which are necessary for the remaining quantitative contributions.
A1 The maps in (50) are Lipschitz in the state, , and there exists such that
A2 is -Lipschitz for the metric on :
A3 The Stratonovich fields of (80) satisfy a uniform Hörmander condition: the Lie algebra generated by spans uniformly in . (A sufficient condition is uniform ellipticity of .)
A1 is the standard unique-strong-solution setup [44], with a uniform bound that is the working hypothesis of [39] and holds on compact sets that trap on with high probability. A2 is the structural assumption on (46); it covers common latent-SDE losses [25]. A3 supplies the density smoothness used in the estimates behind Theorem B.3.
C. Cubature path construction and error
The paths and trajectories in (47) are built as follows. Fix a local Lyons–Victoir rule of degree at time 1, with paths and weights as in Definition B.1 ( of Section B-A). Explicit nodes exist for [34] and [45]. Partition
For write the Brownian scaling
Index concatenated paths by . The path on is the continuous concatenation of the local pieces on ,
and the associated weight is . Let solve
and write . (The construction is conditional on the initial draw ; A1 makes the bound below uniform in that draw.) The cubature estimator before recombination is
which is (47) with .
Theorem B.3 (Cubature path approximation error [35]). In the notation of this subsection, take the graded mesh with . Under A1–A3,
where K is independent of T and depends only on m and .
Proof. We sketch the argument; the full proof is in [35]. By A2 the left-hand side of (91) is at most times the 1-Wasserstein distance between and the discrete path measure . Cylinder functionals are dense for that metric, so it is enough to control finite-dimensional (time-grid) weak error. On each piece of (87) this is the Lyons–Victoir remainder of Proposition B.2; concatenating on the graded mesh and using A3 to pass from smooth test functions to Lipschitz path functionals produces (91).
Thus can be approximated to arbitrary accuracy in the partition size k by solving the ODE ensemble (89), which is the constructive content of (47) before recombination. Available explicit rules fix , hence the admissible ; already yields the training rates discussed in [35].
Remark (Wasserstein duality). The bound (91) is inherited from a estimate between and the cubature path measure. By Kantorovich–Rubinstein duality, the same estimate applies to every path functional satisfying A2, not only to a linear readout of .
Exponential support, then recombination. The raw estimator (90) uses ODEs. [35] applies the recombination procedure of [39] to reduce that support to a polynomial number of paths while keeping a controlled bias. For an explicit admissible tuple the resulting error is in the number of surviving ODE solves, which is the rate stated in Meta Theorem 1. The trainer in Corollary 1 differentiates the recombined sum. We do not repeat the recombination algorithm here.
The constraint is why higher-degree constructions [45] tighten (91). Degrees 3 and 5 of [34] suffice for the complexity claims in Meta Theorem 1.