arXiv:2605.19944v1 [cs.LG] 19 May 2026
A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits
Yuyang Zhang McGill University [email protected]
Yifu Zhang McGill University [email protected]
Xuehai Zhou McGill University [email protected]
Xiaoyin Chen∗ Mila - Quebec AI Institute Université de Montréal [email protected]
Abstract While empirical scaling laws for LLM reasoning are well-documented, the theoretical mechanisms governing out-of-distribution (OOD) generalization remain elusive. We formalize reasoning via optimal transport, projecting discrete trajectories into a continuous metric space to quantify domain shifts using the Wasserstein-1 distance. Invoking Kantorovich duality, we bound OOD generalization via architectural Lipschitz continuity and functional approximation limits. This exposes two primary constraints. First, position-dependent attention (e.g., Absolute Positional Encoding) fails to preserve shift invariance, yielding an Ω(1) Lipschitz constant and expected risk, whereas shift-invariant mechanisms (e.g., Rotary Embeddings) preserve equivariance and bound the error. Second, by mapping sequential backtracking to a Dyck-k language, we establish a strict circuit depth lower bound for TC0 Transformers. Scaling physical layer depth is necessary to avert representation collapse—a constraint that scaling representation width cannot bypass due to irreducible approximation bounds in Barron spaces. Evaluations across 54 Transformer configurations on combinatorial search corroborate these bounds, demonstrating that generalization risk degrades monotonically with the Wasserstein domain shift.
1
Introduction
The transition of large language models (LLMs) from associative pattern matching to explicit, multistep reasoning has been catalyzed initially by prompting techniques [Wei et al., 2023, Yao et al., 2023] and, increasingly, by Reinforcement Learning and other post-training methods [Lightman et al., 2023, OpenAI, DeepSeek-AI, 2025, Lambert et al., 2024]. In formal logical domains, such as combinatorial planning and mathematical problem-solving, these intermediate reasoning trajectories correspond to traversals over an implicit algorithmic search tree. While the empirical scaling properties of reasoning have been heavily documented, a fundamental theoretical gap persists. This raises a critical research question: Under what specific architectural conditions can an autoregressive model reliably generalize its reasoning capabilities across macroscopic structural domain shifts? When a model trained on shallow search steps is evaluated on deep, highly sequential Out-of-Distribution (OOD) reasoning spaces, standard sequence-level log-likelihoods and discrete zero-one losses fail to geometrically isolate the fidelity of the model’s output, leaving this question largely unanswered. ∗ Corresponding author.
Preprint.
Currently, theoretical and empirical analyses of LLM reasoning remain fragmented. Complexity bounds for Transformers (TC0 ) establish limitations on inherently sequential reasoning but abstract away training data distributions [Hahn, 2020, Merrill and Sabharwal, 2023]. Studies on length extrapolation evaluate mechanisms like Absolute Positional Encoding (APE) and Rotary Position Embedding (RoPE) [Kazemnejad et al., 2023, Ruoss et al., 2023], yet rarely do so while jointly bounding computational capacity. Conversely, data-centric analyses emphasize distributional shifts but treat the architecture as an analytic black box [Zhao et al., 2026, Prystawski et al., 2023]. No existing framework bridges discrete circuit complexity with continuous distribution shifts. To address this limitation, our primary contribution is a measure-theoretic framework that mathematically unifies four critical variables in LLM reasoning: discrete circuit complexity (layer depth L), representation capacity (hidden width m), architectural priors (positional encodings), and continuous data distributions (measure shifts). We formulate the evaluation of reasoning as an optimal transport problem. First, we project discrete, variable-length reasoning trajectories into a continuous macroscopic metric space. By extracting scale-invariant features such as nesting depth and backtracking rates, this projection allows us to represent any reasoning dataset as a pushforward probability measure. Consequently, the distributional discrepancy between distinct reasoning tasks can be rigorously quantified via the Wasserstein-1 distance. To bridge this continuous domain shift with the discrete expected risk, we introduce an ϵ-relaxed structural sufficiency assumption. By demonstrating that the expected zero-one loss can be approximated by a Lipschitz continuous structural risk function over our metric space, we invoke Kantorovich duality. What falls out of this formulation is a powerful decomposition: the target generalization risk is strictly bounded by three competing terms—the optimal transport cost (Wasserstein domain shift), the induced Lipschitz constant of the architecture (KP E ), and its functional approximation bounds (Cwidth and Cdepth ). This non-additive lower bound dictates that breaching any single architectural limit induces an Ω(1) expected risk. From this unified bound, we establish two architectural laws of reasoning: First, we analyze translation equivariance and the Lipschitz gap by contrasting the two predominant paradigms of sequence position modeling: absolute and relative encodings [Zhao et al., 2024]. We select standard Absolute Positional Encoding (APE) as the baseline for position-dependent attention kernels, and Rotary Position Embedding (RoPE) [Su et al., 2023] as the representative of a broader class of relative, translation-equivariant positional schemes. Robust generalization requires the attention mechanism to remain invariant to global sequence shifts, as locally consistent search sub-trajectories occur at arbitrary absolute indices. We prove that APE inherently fails to preserve this symmetry; shifting a trajectory’s absolute coordinates causes the local attention kernel to diverge almost surely. This coordinate disruption yields a macroscopic structural Lipschitz constant Kf,AP E = Ω(1) that guarantees an Ω(1) expected out-of-distribution risk. Conversely, we demonstrate that RoPE acts as a continuous structural regularizer that preserves sequence equivariance, averting this representation collapse. Second, building upon the TC0 limits of Transformers [Hahn, 2020], we formalize a circuit depth lower bound. By mapping the grammar of sequential backtracking to a Dyck-k language, we link continuous measure shifts with discrete circuit complexity. Because balanced parenthesis matching is complete for the complexity class NC1 , the fixed physical layer depth L of TC0 Transformers acts as an algorithmic truncation boundary. Scaling physical depth is a necessary prerequisite to avert an Ω(1) expected risk—a constraint that scaling representation width m cannot bypass due to irreducible Ω(m−1/2 ) approximation bounds in Barron spaces [Barron, 1993, Makovoz, 1996]. To rigorously test our framework, we evaluate 54 distinct architectural configurations (crossing Small/Medium/Large scales, Deep/Wide/Balanced aspect ratios, and APE/RoPE) against controlled target distributions. Rather than relying on arbitrary datasets, we synthesize distinct measures within our proxy space, isolating behaviors such as shallow lateral state expansions, deep recursive backtrackings, and highly translated compositional mixtures. The empirical results corroborate our measure-theoretic bounds: (1) The empirical accuracy on deep, highly sequential reasoning structures is strictly capped by the theoretically derived TC0 upper bound. (2) Scaling parameter counts via representation width intrinsically plateaus or collapses, whereas scaling physical layer depth establishes a dominant performance trajectory. (3) Under severe coordinate shifts induced by
2
mixture distributions, wide APE models suffer an Ω(1) representation collapse, while RoPE restores stability. (4) Generalization risk degrades monotonically in proportion to the continuous Wasserstein distance between the source and target measures. Ultimately, our framework establishes that LLMs undergoing reasoning perform structural regressions over a continuous metric space.
2
Preliminaries and Measure-Theoretic Formulation
To analyze the generalization of autoregressive models on search-based reasoning tasks, we formalize the generation process. We map discrete, variable-length sequence trajectories into a continuous metric space, quantifying domain shifts via optimal transport. Detailed measure-theoretic constructions and full proofs are deferred to Appendices A and B. 2.1
The Measurable Space of Search Trajectories
Let V be a finite discrete vocabulary. The ambient space of bounded-length sequences up to a STmax t maximum physical length Tmax ∈ N+ is defined as Zall = t=1 V . We define the search trajectory space Z ⊂ Zall as the subset of sequences satisfying a valid autoregressive search grammar Γ. Every trajectory z ∈ Z admits a unique decomposition via the string concatenation operator ⊕: (z) z = xinit ⊕ ysearch , representing the initial problem state and the generated search trace. Given finite |V| and Tmax , the set Z is finite. We equip Z with the discrete σ-algebra ΣZ := 2Z , forming a complete measurable space with source and target probability measures µS , µT ∈ P(Z). Let FL,m,P E denote the hypothesis class of autoregressive Transformer functions characterized by physical layer depth L, hidden dimension m, and positional encoding scheme P E ∈ {APE, RoPE}. A model f ∈ FL,m,P E acts as a deterministic mapping f : V ∗ → Z. Let Sz : Z → R be a deterministic scoring function parameterized by the target state of the reference trajectory z, evaluating the formal validity of the generated output. We define the zero-one loss function ℓ : FL,m,P E × Z → {0, 1} as: (z) ℓ(f, z) = 1 − I(0,∞) Sz f (xinit ) (1) For any measure µ ∈ P(Z), the expected risk of f is defined as the Lebesgue integral over the R discrete space: Rµ (f ) = Z ℓ(f, z) dµ(z). 2.2
Structural Projection and Pushforward Measures
Computing distances directly over discrete sequences obscures search behavior. Thus, we map trajectories into a continuous metric space X ⊂ R12 equipped with the Euclidean metric dX (u, v) = ∥u − v∥2 . As volumetric coordinates (e.g., χ4 ) scale with sequence capacity Tmax , the geometric diameter diam(X ) = Θ(Tmax ). Thus, for any finite Tmax , X is a bounded, locally compact subset. Definition 1 (Structural Projection Operator Φ). We define a deterministic, Borel measurable projection operator Φ : Z → X , mapping z 7→ χ = [χ1 , . . . , χ12 ]⊤ . This operator provides a summary of the graph-traversal dynamics, encoding maximum tree depth (χ1 ), total search volume (χ4 ), directional state transitions (e.g., child expansion χ5 , parent backtracking χ6 , sibling lateral shifts χ7 ), and pruning frequencies. By applying this projection, we define the structural pushforward measures νS , νT ∈ P(X ) induced by Φ: νS := Φ# µS and νT := Φ# µT . The structural measure shift is quantified by the Wasserstein-1 (Kantorovich-Rubinstein) distance over the coupled metric space: Z W1 (νS , νT ) = inf dX (u, v) dπ(u, v) (2) π∈Π(νS ,νT )
X ×X
where Π(νS , νT ) denotes the set of all joint probability measures on X ×X with marginals νS and νT . Because X is bounded for finite Tmax , the integral converges absolutely, yielding W1 ≤ O(Tmax ). 3
2.3
Error Decomposition via Kantorovich Duality
To bridge the continuous domain shift W1 (νS , νT ) and the discrete expected risk Rµ (f ), we establish a sufficiency assumption that decouples the architecture’s capacity from the empirical data distribution. Assumption 1 (ϵ-Relaxed Structural Sufficiency). Let ϵ > 0 be an irreducible approximation error. We assume there exists a measurable risk function Lf : X → [0, 1]. For any trajectory measure µ ∈ {µS , µT }, the absolute difference between the true expected risk on Z and the expected risk integrated over Φ# µ on X is bounded by ϵ: Z Rµ (f ) −
Lf (χ) d(Φ# µ)(χ) ≤ ϵ
(3)
X
This assumption formalizes the premise that the macroscopic representation Φ(z) captures the taskrelevant components of the search trajectory up to a microscopic residual ϵ. We emphasize that this condition naturally holds in formal combinatorial planning and algorithmic search tasks, where outcome correctness is strictly dominated by macroscopic structural routing (e.g., sufficient tree depths and backtracking) rather than isolated token semantics. Consequently, the out-of-distribution generalization gap is bounded by the Lipschitz continuity of the underlying neural architecture. Lemma 1 (ϵ-Relaxed Error Decomposition). Assume the induced risk function Lf (χ) is Lipschitz continuous on (X , dX ) with minimal Lipschitz constant Kf = supu̸=v |Lf (u) − Lf (v)|/dX (u, v). Then the generalization error gap is bounded by: |RµT (f ) − RµS (f )| ≤ Kf · W1 (νS , νT ) + 2ϵ
(4)
Proof Sketch. R ApplyingRthe triangle inequality alongside Assumption 1 bounds the risk difference |∆R| by | Lf dνT − Lf dνS | + 2ϵ. Normalizing the structural risk function as g = Lf /Kf trivially yields R ∥g∥Lip R≤ 1. Invoking the Kantorovich-Rubinstein duality, the normalized integral difference | g dνT − g dνS | is bounded by W1 (νS , νT ). Scaling the duality bound by Kf yields the claim.
3
Theoretical Limits of Architectural Choices
Having established that the out-of-distribution generalization gap is bounded by the Lipschitz constant Kf and the approximation bounds of Lf , we now formalize how specific architectural priors govern these bounds. We dissect the autoregressive Transformer architecture along two computational axes: the positional encoding scheme (APE vs. RoPE) and the aspect ratio of the computational graph (Deep vs. Wide). 3.1
Sequence Equivariance and the Lipschitz Gap
Algorithmic search trajectories are inherently modular. A locally consistent reasoning sub-trajectory (e.g., a specific subtree traversal) can occur at arbitrary absolute sequence indices, depending entirely on the volume of preceding graph explorations. To quantify a model’s robustness to these domain shifts, we examine the behavior of the attention kernel under sequence translations. Definition 2 (Minimal Sequence Translation Operator Tk ). Let z ∈ Z. We define the translation operator Tk : Z → Z for k ∈ N+ as the operation that inserts one structurally inert node whose textual realization contains exactly k tokens immediately before a local reasoning sub-trajectory ω. Under Φ, this increments the search volume (χ′4 = χ4 + 1), while every token in the subsequent ω undergoes an absolute index shift of +k. Hence the distance in X is 1/2
2
dX (Φ(z), Φ(Tk (z))) = 1 +
X
(∆χm )
2
=: δ ≤ Cδ
(5)
m̸=4
where Cδ is independent of Tmax . For a model to generalize across diverse tree structures, its local computational graph must remain invariant under Tk . We evaluate the pre-softmax attention score Aa,b between two tokens in ω originally at indices a and b, now shifted to a + k and b + k. 4
Lemma 2 (APE Absolute Coordinate Sensitivity). Assume the network parameters (projection matrices WQ , WK and absolute embeddings pt ) are generically parameterized, and the projection ⊤ matrices satisfy WQ WK ̸= 0. Under the operator Tk (k > 0), the local computational attention E E kernel of an APE model differs almost surely: ∆AAP E = |ÃAP − AAP a,b a,b | > 0. Proof Sketch. Expanding the bilinear forms of the APE attention kernel cancels the positionindependent terms. The residual divergence ∆AAP E forms a non-trivial multivariate quadratic polynomial. By the properties of real algebraic geometry, the zero-locus of this polynomial defines a proper algebraic variety with Lebesgue measure zero in R2d . Consequently, exact cancellation under random initialization occurs with probability zero. Conversely, Rotary Position Embedding (RoPE) relies on orthogonal rotation matrices, yielding ∆ARoP E = 0. See Appendix C. Assumption 2 (Autoregressive Sensitivity via Markov Compounding). We assume the base searchbased reasoning task exhibits an intrinsic global smoothness, yielding a baseline structural Lipschitz constant O(1/Tmax ). Furthermore, generating a formal search trajectory constitutes a zero-tolerance Markov decision process over a directed acyclic graph. We assume that a local attention-kernel coordinate disruption (∆A > 0) at a critical routing step forces the autoregressive process into an incorrect subtree. Due to exact-match evaluation, this localized divergence irrevocably precludes reaching the target state, compounding the localized error into a global trajectory failure. This bounds the expected structural risk variation below by the uniform error probability: ∆L = |Lf (χ′ ) − Lf (χ)| ≥ 1 − 1/|V| := γ > 0. Theorem 1 (The Lipschitz Gap). Under Assumption 2, for a sufficiently large sequence capacity Tmax , the Lipschitz constant of the induced risk function for APE is asymptotically larger than that of RoPE: Kf,RoP E = O(1/Tmax ) ≪ Ω(1) ≤ Kf,AP E . Proof Sketch. The Lipschitz constant is bounded below by the evaluation at the specific perturbed pair: Kf,AP E ≥ |∆L|/δ ≥ γ/Cδ . Because γ and Cδ are Ω(1) constants independent of Tmax , it follows that Kf,AP E = Ω(1). By preserving relative sequence distances, RoPE maintains the local dependency structure without introducing artificial discontinuities, inheriting the task’s intrinsic baseline smoothness O(1/Tmax ). 3.2
Capacity Limits: The TC0 vs. NC1 Algorithmic Bottleneck
Beyond sequence equivariance, graph-traversal dynamics impose distinct computational complexity constraints on the hypothesis space FL,m,P E . In shallow, lateral state expansions, maintaining mutually independent states allows the evaluation process to be efficiently parallelized across attention heads in a wide network. Conversely, deep recursive backtracking necessitates a Last-In-First-Out (LIFO) stack mechanism. To execute a backtracking transition, the model must implicitly identify and resolve the most recently suspended, non-adjacent sibling node across a flattened 1D sequence history. Lemma 3 (Surjective Monoid Homomorphism to Dyck-k). Let k denote the maximum branching (1) (k) factor of the implicit search tree. Defining the traversal alphabet Σsearch = {δdown , . . . , δdown } ∪ (1) (k) {δup , . . . , δup } ∪ {ωeval }, there exists a surjective monoid homomorphism ψ : Σ∗search → Σ∗Dyck mapping child expansions to left parentheses (c and backtracking steps to right parentheses )c . Every valid search trajectory projects to a balanced prefix in Dk , where the maximum tree depth χ1 maps exactly to the maximum parenthesis nesting depth. Parsing Dyck-k for k ≥ 2 is complete for the complexity class NC1 . However, a Transformer computing L sequential layers under bounded numerical precision belongs to TC0 . Under the standard separation TC0 ⊊ NC1 , a constant-depth circuit cannot evaluate arbitrary NC1 functions. We formalize this limitation into two independent capacity bounds on the expected risk. Let L∗ (χ) = inf h Ez∼µT [ℓ(h, z) | Φ(z) = χ] denote the Bayes-optimal structural risk function. To relate the L1 (νT ) approximation error in HBarron to the discrete zero-one risk, we assume a standard margin condition on the target structural measure νT [Tsybakov, 2004]; the formal statement is given in Appendix D.1 (Assumption 3). 5
Lemma 4 (Width Capacity Bound via Barron Spaces). Assuming L∗ ∈ HBarron , any autoregressive Transformer hypothesis bounded by an internal representation width m satisfies the lower bound: width RµT (f ) ≥ C√ − ϵ. m Proof Sketch. While the Transformer operates on microscopic token embeddings, correctly routing recursive transitions requires its internal representations to implicitly track global tree states. Thus, the physical Feed-Forward Network (FFN) width m acts as an information-theoretic upper bound on of Lf . By R the capacity R R applying R the linearity of the Lebesgue integral, we decompose the risk Lf = (Lf − L∗ ) + L∗ ≥ |Lf − L∗ |. By universal approximation limits for Barron spaces, this absolute L1 error decays at best via Ω(m−1/2 ). While the external autoregressive generation linearly expands the global causal graph length, the model must execute implicit heuristic routing evaluations at each discrete step that are not serialized in the output. Resolving non-adjacent sibling dependencies across a flattened history relies entirely on the fixed physical depth L of a single forward pass. Prior work shows that finite-precision Transformers with bounded depth face limitations on hierarchical formal-language dependencies such as Dyck-style nesting [Hahn, 2020, Merrill and Sabharwal, 2023]. Motivated by these limits, we introduce a task-dependent truncation constant αcirc > 0 and model the recoverable structural depth of a depth-L architecture by the threshold χ1 ≤ αcirc L. Lemma 5 (Implicit Depth Bottleneck Bound). Defining the Borel measurable indicator function PimplicitR(χ; L, αcirc ) = I(αcirc L,∞) (χ1 ), the expected target risk is bounded below by: RµT (f ) ≥ 1 Cdepth X Pimplicit dνT − ϵ, where Cdepth = 1 − |V| ∈ (0, 1).
4
Synthesis of the Main Bound
Theorem 2 (The Generalization Bound). For any autoregressive Transformer f ∈ FL,m,PE , the target generalization risk RµT (f ) is bounded below by the maximum of three independent lower bounds, and bounded from above by its source risk and domain shift penalty: (
(LB) (UB)
RµT (f ) ≥ max
Cwidth √ − ϵ, Cdepth m
)
Z Pimplicit dνT (χ) − ϵ, RµS (f ) − Kf,PE · W1 (νS , νT ) − 2ϵ
(6)
X
RµT (f ) ≤ RµS (f ) + Kf,PE · W1 (νS , νT ) + 2ϵ
(7)
Proof Sketch. Applying Kantorovich duality to the ϵ-relaxed structural risk, and intersecting this with the TC0 circuit depth lower bound and Barron space approximation bounds, isolates the respective bounds. See Appendix E. Corollary 1 (The Divergent OOD Guarantees of APE vs. RoPE). Let RµS (f ) = ϵtrain ≈ 0 and W1 (νS , νT ) = Ω(Tmax ). RoPE preserves equivariance: its expected generalization error degrades proportionally to the normalized shift, RµT (fRoP E ) ≤ ϵtrain + Csmooth · (W1 /Tmax ) + 2ϵ. Conversely, APE suffers coordinate disruption, yielding an Ω(1) expected risk: RµT (fAP E ) ≥ γ · pshif t − ϵ, precluding any generalization guarantee. Corollary 2 (The “Deep is Better” Law for Search Reasoning). Let the target measure νT place probability mass on trajectories satisfying the tree depth threshold χ1 > αcirc L. Scaling the −1 discrete physical depth L ≥ αcirc supχ χ1 explicitly eliminates the Ω(1) lower bound, establishing a dominant scaling trajectory over the representation width m, which inherently plateaus as √ limm→∞ (Cwidth / m − ϵ) = −ϵ ≤ 0.
5
Empirical Verification
To empirically validate Theorem 2, we evaluate how architectures navigate domain shifts under controlled configurations by decoupling layer depth L, width m, and positional encodings, while holding total parameter counts asymptotically constant per scale. Motivated by depth-separation theorems [Eldan and Shamir, 2016, Levine et al., 2021] and TC0 bounds [Merrill and Sabharwal, 6
Table 1: Summary of the 54 Transformer Architectural Configurations Evaluated Core Params†
Total Params‡
4 4 4
5.3 M 4.7 M 5.3 M
24.8 M 30.7 M 44.3 M
512 768 1024
8 12 16
75.5 M 84.9 M 75.5 M
127.6 M 163.0 M 179.5 M
768 1024 1536
12 16 24
339.7 M 301.9 M 339.7 M
418.2 M 405.8 M 495.9 M
Scale / Shape
Layers (L)
Width (d)
Heads (h)
Small Deep Small Balanced Small Wide
12 6 3
192 256 384
Medium Deep Medium Balanced Medium Wide
24 12 6
Large Deep Large Balanced∗ Large Wide
48 24 12
Note: All configurations crossed with PE ∈ {APE, RoPE} and Training Data ∈ {BFS, DFS, Mixed}. † Core Params = 12Ld2 , isolating the architectural capacity independent of vocabulary. ‡ Total Params includes embeddings (V = 50257) without weight tying. ∗ Adjusted d = 1024 to match computational capacity of its scale group.
2023], we systematically design a grid of 54 Transformer architectures crossing three parameter scales (Small, Medium, Large) and three aspect ratios (Deep, Wide, Balanced). To evaluate the Lipschitz constant Kf,P E , we cross every configuration with APE and RoPE [Su et al., 2023]. While empirical literature highlights their role in length extrapolation, our framework casts them more fundamentally: APE establishes a rigid absolute coordinate system vulnerable to disruption, whereas RoPE injects relative equivariance to preserve continuous structural regularities. Table 1 summarizes these models. To instantiate the grammar Γ and probability measures (µS , µT ), we utilize the Stream of Search (SoS) framework [Gandhi et al., 2024] as a discrete trajectory simulator. While our theoretical bounds govern general autoregressive reasoning, utilizing SoS allows us to strictly enforce the target distributions required for empirical validation, providing a rigorous testbed that satisfies our axiomatic requirements. We synthesize 500,000 ground-truth trajectories on a combinatorial planning task (the Countdown game). By manipulating the simulator’s heuristic evaluation strategies, we enforce distinct distributions. The µBF S measure is synthesized via queue-based state expansions, generating shallow, lateral traversal traces. The µDF S measure is synthesized via recursive stack expansions, forcing deep backtracking when trajectories encounter dead-ends. The µM IXED distribution is constructed as an exact 0.5µBF S + 0.5µDF S mixture to test architectural plasticity against extreme coordinate shifts. Given the unforgiving exact-match nature of formal combinatorial planning, the zero-one loss establishes a rigorous baseline where partial memorization yields zero reward. Structural Optimal Transport Estimation. To operationalize the Kantorovich bounds, we estimate the Wasserstein-1 distance between structural pushforward measures using entropically regularized optimal transport, solved via the Sinkhorn-Knopp algorithm with regularization parameter λ = 0.1 [Cuturi, 2013]. Utilizing N = 2, 000 uniformly sampled trajectories per distribution, we construct empirical structural measures on X . Following global standardization and cost-matrix c1,λ (ν̂BF S , ν̂M IXED ) ≈ 0.42 supremum normalization, we report the regularized transport costs: W c and W1,λ (ν̂BF S , ν̂DF S ) ≈ 0.81. Exact estimation procedures, cost-matrix construction, normalization details, and robustness checks across sample sizes are reported in Appendix G. Note: Since c1,λ empirical Wasserstein estimation in R12 is subject to sample complexity bounds, the reported W values serve as comparative regularized proxies for the true structural shifts rather than exact analytic distances. 5.1
Positional Encodings as Structural Regularizers
To empirically validate our insight regarding positional encodings as regularizers, we examine the Lipschitz gap established in Theorem 1. As predicted by our bounds, APE yields trivial generalization limits under sequence translations. When trained on the µM IXED distribution, the model continuously alternates between shallow and deep traversals, subjecting the attention kernel to largescale absolute sequence index shifts. Here, the coordinate disruption proven in Lemma 2 manifests 7