pith. sign in

arxiv: 2606.19036 · v1 · pith:AKAX23NHnew · submitted 2026-06-17 · 💻 cs.LG

Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Experts

Pith reviewed 2026-06-26 21:18 UTC · model grok-4.3

classification 💻 cs.LG
keywords sparse mixture-of-expertsdiscontinuitiestop-k routingsmoothingstochastic analysisgeometric analysislanguage modelsvision models
0
0 comments X

The pith

Sparse mixture-of-experts maps are discontinuous at surfaces classified by order, with lower-order sets dominating volume and random diffusion paths hitting order-1 surfaces first almost surely.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper classifies discontinuities in sparse mixture-of-experts models by order according to the number of tied experts at a routing switch. Measure-theoretic arguments establish that lower-order discontinuity sets occupy asymptotically larger volume while higher-order sets vanish relatively. Modeling input perturbations as a diffusion process yields proofs that paths hit an order-1 discontinuity first with explicit probability bounds, plus occupation-time estimates showing time spent near each order. These facts motivate a smoothing mechanism that softly includes nearby experts near discontinuities. The mechanism adds only small overhead yet enforces continuity and raises empirical accuracy on language and vision benchmarks.

Core claim

Discontinuity surfaces in SMoE are partitioned by order; asymptotic volume estimates show lower-order surfaces dominate, diffusion paths encounter an order-1 surface first almost surely with finite-time bounds, and occupation times quantify exposure to each order; a direct smoothing operator then enforces continuity while keeping added cost small.

What carries the argument

Order classification of discontinuity surfaces by number of tied experts, combined with measure-theoretic slicing for volume asymptotics and diffusion-process first-hit analysis for stochastic encounter probabilities.

If this is right

  • Inputs lie near lower-order discontinuities with higher probability than near higher-order ones.
  • The proposed smoothing operator can be inserted into any existing SMoE without architectural change.
  • Added computation stays bounded because only a vanishing fraction of inputs lie near high-order surfaces.
  • Continuity enforcement yields measurable gains on downstream language and vision tasks.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same order-based volume argument may apply to other conditional-computation schemes that use top-k selection.
  • Smoothing near discontinuities could alter gradient statistics during training in ways not examined here.
  • If diffusion modeling is replaced by other perturbation distributions, the first-hit ordering might shift.

Load-bearing premise

Input perturbations can be modeled as a diffusion process whose paths meet the discontinuity surfaces in the way required for the first-hit and occupation-time derivations.

What would settle it

A numerical check that either the relative volume of higher-order discontinuity sets fails to vanish or that sampled diffusion paths hit higher-order surfaces before order-1 surfaces at rates exceeding the derived bounds.

Figures

Figures reproduced from arXiv: 2606.19036 by Huu-Tuan Nguyen, Nhat-Tri Ho, Tan Minh Nguyen, Thien-Hai Nguyen, Tho Quan, Tho Tran Huu, Viet-Hoang Tran.

Figure 1
Figure 1. Figure 1: Effect of ℓ∞,ϵ smoothing on discontinuity boundaries. (a) Standard SMoE shows a jump at the boundary. (b) SmoothSMoE, with identical weights, removes the jump and yields continuity. (c) Continuity check: maximum output difference vs. perturbation ∥∆x∥. For SmoothSMoE (orange) it vanishes as ∥∆x∥ → 0, while for SMoE (blue) it remains nonzero. indicating that our smoothing mechanism provides robust benefits … view at source ↗
Figure 2
Figure 2. Figure 2: Illustration for gating logit smoothing within the ℓ∞,ϵ-thickening. A.2.1. MIXTURE-OF-EXPERTS Let X = R D and Y = R D′ , each regarded as a finite-dimensional normed vector space with the Euclidean inner product. We equip them with their Borel σ-algebras B(X), B(Y), and with the standard Lebesgue measures λ D, λ D′ , respectively. Then, we define the input space as (X, B(X ), λD) and the output space as (Y… view at source ↗
Figure 3
Figure 3. Figure 3: Visualizing the effect of our smoothing mechanism on SMoE layer outputs. Each row corresponds to a different SMoE layer from a pre-trained model. The columns show the standard SMoE, our SmoothSMoE, and the maximum output change, respectively. Left Column (SMoE): The standard SMoE exhibits sharp discontinuities as the input crosses the decision boundary. Middle Column (SmoothSMoE): Our SmoothSMoE, using ide… view at source ↗
Figure 4
Figure 4. Figure 4: The effect of boundary loss on controlling ϵ and the average number of activated experts (K) across various layers [PITH_FULL_IMAGE:figures/full_fig_p047_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Average number of activated experts K training dynamic across layers under the three-stage smoothing schedule. C. Experimental Details Before proceeding to the experiments, we establish the choice of coefficients for the log-smoothstep function h defined in Section 6. We have experimented with various values for the coefficients a and b, and found that setting a = 1 and b = 50 provides consistent and effec… view at source ↗
Figure 6
Figure 6. Figure 6: Average number of experts near boundaries of SMoE (k = 2, number of experts = 16) while training on Wikitext-103 across various ϵ thresholds within the range [0.0, 1.0]. where z[k](x) denotes the k-th largest gating score. An expert is classified as being in the boundary proximity if its relative score gap satisfies: 0 ≤ ∆zi < ϵ where ϵ represents a predefined boundary threshold. We investigate the evoluti… view at source ↗
Figure 7
Figure 7. Figure 7: Average number of experts near boundaries of SMoE (k = 2, number of experts = 16) while training on Wikitext-103 across various ϵ thresholds within the range [1.0, 4.0]. 52 [PITH_FULL_IMAGE:figures/full_fig_p052_7.png] view at source ↗
read the original abstract

Sparse Mixture-of-Experts (SMoE) architectures are now widely deployed in state-of-the-art language and vision models, where conditional routing allows scaling to very large networks. However, this very Top-$k$ expert selection that enables conditional routing also renders the SMoE map inherently discontinuous. In the vicinity of these discontinuity surfaces, even inputs that are arbitrarily close may activate substantially different sets of experts resulting in significantly different outputs. In this work we give a rigorous geometric and stochastic analysis of these discontinuities. We first classify them by order, determined by the number of tied experts at a switching event. Using measure-theoretic slicing arguments, we establish asymptotic volume estimates for the thickened discontinuity surfaces, showing that lower-order discontinuity sets dominate, whereas higher-order ones occupy a vanishingly small relative volume. Next, modeling random perturbations in the input space via a diffusion process, we prove that the path eventually encounter a discontinuity, and moreover that the first hit almost surely occurs on an order-1 discontinuity with explicit finite-time probability bounds. We further derive occupation-time bounds that quantify the duration the random path spend in the neighborhoods of each discontinuity order. These theoretical results imply that inputs are more likely to lie near lower order discontinuities. Motivated by this insight, we propose a simple smoothing mechanism that can be directly applied to existing SMoEs, softly incorporating experts near discontinuities; our analysis guarantees that the added computational overhead remains small while providing localized smoothing near discontinuities, and experiments across language and vision tasks show that smoothing not only enforces continuity of the SMoE map but also enhances empirical performance.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The paper claims to deliver a rigorous geometric and stochastic analysis of discontinuities in Sparse Mixture-of-Experts (SMoE) models. Discontinuities are classified by order according to the number of tied experts at a switching event. Measure-theoretic slicing arguments establish that lower-order discontinuity sets dominate asymptotically in volume while higher-order sets occupy vanishing relative volume. Modeling input perturbations as a diffusion process, the work proves that paths encounter discontinuities almost surely, with the first hit occurring on an order-1 discontinuity and with explicit finite-time probability bounds; occupation-time bounds are also derived. These results motivate a simple smoothing mechanism that softly incorporates nearby experts near discontinuities, with guarantees of small overhead, and experiments on language and vision tasks are reported to show both enforced continuity and improved empirical performance.

Significance. If the derivations hold, the geometric volume estimates and stochastic first-hit/occupation results would supply a principled foundation for analyzing and mitigating discontinuities in widely deployed SMoE architectures. The measure-theoretic slicing and diffusion-based hitting-time analysis constitute non-trivial technical contributions when complete; the proposed smoothing carries direct practical implications for continuity and efficiency. Reproducible code or explicit parameter-free derivations are not mentioned, but the falsifiable predictions on volume dominance and hitting probabilities would be a strength if verified.

major comments (2)
  1. [Stochastic analysis section] Stochastic analysis section (diffusion modeling of perturbations): the assumption that random input perturbations are represented by a diffusion process whose paths encounter discontinuities in the manner required for the first-hit and occupation-time results is introduced without justification that it approximates the actual distribution of perturbations encountered by deployed SMoE models. This modeling choice is load-bearing for the almost-sure statements and the quantitative finite-time bounds; if the process is not Brownian or the local input geometry differs, the claims do not transfer.
  2. [Empirical evaluation] Empirical evaluation: the abstract states that smoothing 'enhances empirical performance' on language and vision tasks, yet the experiments are unspecified (no datasets, model sizes, baselines, metrics, or statistical details are referenced). This undermines assessment of whether the smoothing mechanism delivers the claimed gains and whether the overhead remains small in practice.
minor comments (2)
  1. Notation for Top-k routing and expert selection should be introduced with a clear definition early in the manuscript to avoid ambiguity when discussing tied experts and discontinuity orders.
  2. The abstract refers to 'explicit finite-time probability bounds' and 'occupation-time bounds'; the main text should include a dedicated statement of these bounds with equation numbers for easy reference.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the constructive feedback and the recommendation of major revision. We address each major comment below with clarifications and proposed changes to the manuscript.

read point-by-point responses
  1. Referee: [Stochastic analysis section] Stochastic analysis section (diffusion modeling of perturbations): the assumption that random input perturbations are represented by a diffusion process whose paths encounter discontinuities in the manner required for the first-hit and occupation-time results is introduced without justification that it approximates the actual distribution of perturbations encountered by deployed SMoE models. This modeling choice is load-bearing for the almost-sure statements and the quantitative finite-time bounds; if the process is not Brownian or the local input geometry differs, the claims do not transfer.

    Authors: We acknowledge that the diffusion-process modeling of perturbations is introduced as a modeling choice without an extended discussion of its fidelity to real deployed perturbations. In the revised version we will add a new subsection in the stochastic analysis section that (i) motivates Brownian motion as a standard local approximation for small random input noise (with citations to prior neural-network perturbation literature), (ii) states the modeling assumptions explicitly, and (iii) discusses limitations and possible extensions to other Itô processes. This will make the scope and transferability of the almost-sure and finite-time claims transparent. revision: yes

  2. Referee: [Empirical evaluation] Empirical evaluation: the abstract states that smoothing 'enhances empirical performance' on language and vision tasks, yet the experiments are unspecified (no datasets, model sizes, baselines, metrics, or statistical details are referenced). This undermines assessment of whether the smoothing mechanism delivers the claimed gains and whether the overhead remains small in practice.

    Authors: The full manuscript contains a detailed experimental section (Section 5) that specifies the datasets, model scales, baselines, metrics, and statistical protocol. To address the referee’s concern about the abstract, we will revise the abstract to include a concise statement of the evaluation setting and main empirical outcomes, and we will add an explicit forward reference to Section 5. We will also ensure that all numerical claims about overhead and performance gains are accompanied by the corresponding experimental details in the main text. revision: yes

Circularity Check

0 steps flagged

No significant circularity; derivations are independent measure-theoretic and stochastic arguments

full rationale

The paper derives asymptotic volume estimates via measure-theoretic slicing and first-hit/occupation-time bounds via diffusion-process modeling of perturbations. These steps invoke standard tools from geometric measure theory and stochastic processes without any reduction to fitted parameters, self-citations, or author-specific ansatzes. The diffusion modeling choice is an explicit modeling assumption rather than a self-referential construction, leaving the central claims self-contained against external mathematical benchmarks.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The paper relies on standard measure theory and diffusion process properties; no free parameters or invented entities are described in the abstract.

axioms (1)
  • standard math Standard properties of diffusion processes on Euclidean space and measure-theoretic slicing arguments hold without additional restrictions.
    Invoked to establish volume estimates and first-hit probabilities.

pith-pipeline@v0.9.1-grok · 5842 in / 1192 out tokens · 16888 ms · 2026-06-26T21:18:12.558531+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

25 extracted references · 4 canonical work pages · 2 internal anchors

  1. [1]

    9 Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Experts Chen, Y .-C., Li, L., Yu, L., El Kholy, A., Ahmed, F., Gan, Z., Cheng, Y ., and Liu, J

    URL https://openreview.net/forum? id=w1hwFUb_81. 9 Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Experts Chen, Y .-C., Li, L., Yu, L., El Kholy, A., Ahmed, F., Gan, Z., Cheng, Y ., and Liu, J. Uniter: Universal image-text representation learning. In Vedaldi, A., Bischof, H., Brox, T., and Frahm, J.-M. (eds.),Computer Vision – E...

  2. [2]

    Training Compute-Optimal Large Language Models

    URL https://openreview.net/forum? id=T26f9z2rEe. Han, X., Ren, T., Nguyen, T., Nguyen, K., Ghosh, J., and Ho, N. Designing robust transformers using robust kernel density estimation. In Oh, A., Naumann, T., Globerson, A., Saenko, K., Hardt, M., and Levine, S. (eds.),Advances 10 Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Expe...

  3. [3]

    cc/paper_files/paper/2019/file/ c74d97b01eae257e44aa9d5bade97baf-Paper

    URL https://proceedings.neurips. cc/paper_files/paper/2019/file/ c74d97b01eae257e44aa9d5bade97baf-Paper. pdf. Mahoney, M. Large text compression benchmark,

  4. [4]

    Efficient large-scale language model training on gpu clusters using megatron-lm,

    URL https://mattmahoney.net/dc/ text.html. Merity, S., Xiong, C., Bradbury, J., and Socher, R. Pointer sentinel mixture models. InInternational Conference on Learning Representations, 2017. URL https:// openreview.net/forum?id=Byj72udxe. Muqeeth, M., Liu, H., and Raffel, C. Soft merging of experts with adaptive routing, 2024. URL https://arxiv. org/abs/23...

  5. [5]

    URL https://openreview.net/forum? id=B1ckMDqlg. Tan, H. and Bansal, M. Lxmert: Learning cross-modality encoder representations from transformers, 2019. URL https://arxiv.org/abs/1908.07490. Teo, R. and Nguyen, T. M. Unveiling the hidden structure of self-attention via kernel principal component analy- sis. InThe Thirty-eighth Annual Conference on Neural I...

  6. [6]

    cc/paper_files/paper/2017/file/ 3f5ee243547dee91fbd053c1c4a845aa-Paper

    URL https://proceedings.neurips. cc/paper_files/paper/2017/file/ 3f5ee243547dee91fbd053c1c4a845aa-Paper. pdf. Venkateswara, H., Eusebio, J., Chakraborty, S., and Pan- chanathan, S. Deep hashing network for unsupervised do- main adaptation. In2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5385–5394,

  7. [7]

    Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., and Bow- man, S

    doi: 10.1109/CVPR.2017.572. Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., and Bow- man, S. GLUE: A multi-task benchmark and analysis plat- form for natural language understanding. In Linzen, T., Chrupała, G., and Alishahi, A. (eds.),Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and In- terpreting Neural Networks for NLP, pp. 353–35...

  8. [8]

    A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference

    URL https://openreview.net/forum? id=4D0f16Vwc3. Warstadt, A., Singh, A., and Bowman, S. R. Neural network acceptability judgments.Transactions of the Association for Computational Linguistics, 7:625–641, 2019. doi: 10. 1162/tacl a 00290. URL https://aclanthology. org/Q19-1040/. Williams, A., Nangia, N., and Bowman, S. A broad- coverage challenge corpus f...

  9. [9]

    findings-acl.71/

    URL https://aclanthology.org/2022. findings-acl.71/. Zhou, Y ., Lei, T., Liu, H., Du, N., Huang, Y ., Zhao, V ., Dai, A. M., Le, Q. V ., Laudon, J., et al. Mixture-of- experts with expert choice routing.Advances in Neural Information Processing Systems, 35:7103–7114, 2022. 12 Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Expert...

  10. [10]

    The number of experts is smaller than the input dimension(M < D)

  11. [11]

    sgn(b)B b2 1 2 , α −sgn(a)B a2 1 2 , α # . Substituting back yields the exact formula λD Tϵ(Hm)∩B D(0, R) = ωD−1RD 2

    The number of experts activated is positive and less than the full set of available expert(1≤k < M). 3.W g ∈R M×D has full row rank. RemarkA.1.On the space RM×D we define the product measure λM×D induced by the row measures λW (i) . If each λW (i) is absolutely continuous with respect to the Lebesgue measure λD or has the Lebesgue measure itself, it follo...

  12. [12]

    Relate the measure of theϵ–thickeningλ D Tϵ(Γ(r) J )∩B R to the base measure of the sliceλ d Γ(r) J ∩B R

  13. [13]

    Derive the asymptotics of a single thickened slice using definition ofα J,r: λD Tϵ(Γ(r) J )∩B D(0, R) =ω D−r ωr αJ,r ϵr RD−r +O(ϵ rRD−r−1)

  14. [14]

    Estimate overlaps between distinct thickeningsT ϵ(Γ(r) J )andT ϵ(Γ(r) J ′ )forJ̸=J ′, showing they are bounded by O(ϵ r+1RD−r−1)

  15. [15]

    We are now ready to state and prove the main theorem

    Assemble the contributions of all slicesJ∈ J r to obtain Ur(R) =λ D Tϵ(Γ(r))∩B D(0, R) , and then compare the casesr=nandr=mto deduce the asymptotic ratio Un(R) Um(R) . We are now ready to state and prove the main theorem. Theorem A.18(Ratio of ϵ-thickening of order-n discontinuity vs. ϵ-thickening of order-m discontinuity).Fix integers 1≤m, n < Dandϵ >0....

  16. [16]

    Derive the fiber decomposition of a sliceΓ (r) J ⊂S (r) J in the subspaceS (r) J

  17. [17]

    Establish explicit two–sided bounds for the measure of the ℓ∞–tube λD T (∞) ϵ (Γ(r) J )∩B R in terms of the subspace volumeλ d(Γ(r) J ∩B D(0, R))

  18. [18]

    Reduce to base volumes in the subspace by evaluating λd(Γ(r) J ∩B D(0, R)) and derive the asymptotic expansion of λD(T (∞) ϵ (Γ(r) J )∩B D(0, R))

  19. [19]

    Control overlaps between distinct tubes T (∞) ϵ (Γ(r) J ) and T (∞) ϵ (Γ(r) J ′ ) for J̸=J ′, showing their contribution is O(ϵ r+1RD−r−1)

  20. [20]

    walls” partitioning the space where one active and one inactive expert swap. Higher-order sets correspond to intersections of several such walls, forming “edges

    Derive the asymptotic measure of the unionS J∈J r T (∞) ϵ (Γ(r) J ) for fixed r, and then compare Un(R) and Um(R) to obtain the asymptotic ratio Un(R) Um(R) . 31 Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Experts Theorem A.19(Weighted union– ℓ∞ tube ratio for orders n vs. m).Fix integers 1≤m, n < D and ϵ >0 . For each r∈ {m,...

  21. [21]

    This dataset contains 9,991 examples of dimension(3,224,224)and 7 classes

    PACS (Li et al., 2017) comprises four domains: art, cartoons, photos, sketches. This dataset contains 9,991 examples of dimension(3,224,224)and 7 classes

  22. [22]

    This dataset contains 10,729 examples of dimension(3,224,224)and 5 classes

    VLCS (Fang et al., 2013) comprises photographic domains: Caltech101, LabelMe, SUN09, VOC2007. This dataset contains 10,729 examples of dimension(3,224,224)and 5 classes

  23. [23]

    This dataset contains 15,588 examples of dimension(3,224,224)and 65 classes

    Office-Home (Venkateswara et al., 2017) includes domains: art, clipart, product, real. This dataset contains 15,588 examples of dimension(3,224,224)and 65 classes

  24. [24]

    This dataset contains 24,788 examples of dimension(3,224,224)and 10 classes

    TerraIncognita (Beery et al., 2018) contains photographs of wild animals taken by camera traps at locations: L100, L38, L43, L46. This dataset contains 24,788 examples of dimension(3,224,224)and 10 classes

  25. [25]

    This dataset contains 586,575 examples of size(3,224,224)and 345 classes

    DomainNet (Peng et al., 2019) has six domains: clipart, infograph, painting, quickdraw, real, sketch. This dataset contains 586,575 examples of size(3,224,224)and 345 classes. We follow the standard DomainBed evaluation protocol using train-domain validation. For each test domain, we train on the remaining domains and use the left-out domain for validatio...