Papers
Topics
Authors
Recent
Search
2000 character limit reached

Simplex-Space Smoothing Overview

Updated 12 July 2026
  • Simplex-space smoothing is a unifying framework that replaces hard or high-dimensional operations with simplex-aware averaging across probability simplices, geometric simplices, and simplicial lattices.
  • It encompasses methods like Gibbs smoothing for vector quantization, barycentric interpolation on permutohedral lattices for scalable Gaussian processes, and Dirichlet-based diffusion for categorical modeling.
  • Applications span improved quantizer utilization, efficient kernel matrix-vector multiplies, nonparametric regression on simplices, and enhanced higher-order attention in neural networks.

Across recent literature, the expression simplex-space smoothing appears in several technically distinct settings in which smoothing is performed either on a probability simplex, on the standard geometric simplex, or on a simplicial lattice (Morita, 26 Sep 2025, Kapoor et al., 2021, Richemond et al., 2022, Ma et al., 2021, Genest et al., 2024, Dussolle et al., 17 Dec 2025). In smoothed vector quantization, continuous features are mapped to simplex-valued soft assignments and regularized toward simplex vertices to prevent code collapse (Morita, 26 Sep 2025). In scalable Gaussian-process inference, kernel matrix-vector multiplies are approximated by splat–blur–slice operations on the permutohedral lattice (Kapoor et al., 2021). In categorical diffusion, independent Cox–Ingersoll–Ross processes on the positive orthant are normalized to induce Dirichlet-attracted dynamics on Δn1\Delta^{n-1} (Richemond et al., 2022). In approximation theory and nonparametric regression, smoothing is performed directly on Δd\Delta^d via Kantorovich-type operators or Dirichlet kernels (Ma et al., 2021, Genest et al., 2024). In higher-order attention, the phrase denotes the contraction of feature differences under NN-simplicial aggregation (Dussolle et al., 17 Dec 2025). This suggests a unifying geometric theme rather than a single algorithm: hard or high-dimensional operations are replaced by simplex-aware averaging.

1. Smoothed vector quantization and simplex vertices

In smoothed vector quantization, a continuous feature zRdz\in\mathbb R^d is quantized with respect to a codebook C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d. Classical hard quantization selects

i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},

which is non-differentiable. The smoothed formulation relaxes the one-hot index to a density on the probability simplex

ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},

typically via Gibbs smoothing

si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},

or, under L2L_2 normalization of both zz and the codebook, Δd\Delta^d0. The differentiable quantized output is then

Δd\Delta^d1

The vertices of Δd\Delta^d2 are the canonical one-hot vectors Δd\Delta^d3, and the limit Δd\Delta^d4 recovers hard assignment. The two stated desiderata are that smoothed assignments remain close to a one-hot vector and that all codebook entries be utilized; the second requirement addresses code collapse, where only a small subset of vertices is ever approached and unused codewords receive little or no gradient (Morita, 26 Sep 2025).

Morita proposes a KNN vertex regularizer that minimizes the average distance between each simplex vertex and its Δd\Delta^d5 nearest smoothed assignments in the current mini-batch or a small buffer:

Δd\Delta^d6

The distance Δd\Delta^d7 may be squared Δd\Delta^d8 distance or cross-entropy. The regularizer is added to the task loss, for example

Δd\Delta^d9

or, in Wav2Vec 2.0 style pretraining, to the contrastive objective on internal smoothed codes. Because NN0 is fully differentiable, gradients of NN1 flow to both the codebook and upstream parameters, and no additional annealing schedule for NN2 is required.

The reported empirical pattern is explicit. In discrete image autoencoding on ImageNet, STE or Gumbel-softmax plus perplexity-maximization often collapse without the KNN regularizer: only NN3–NN4 of codes are used when NN5, with similarly poor results for NN6. With KNN-NN7 or KNN-CE, code-use goes to NN8 across all three feature-map NN9 code-book configurations, and reconstruction metrics (rMSE, FID, IS) improve or match the best prior method that required carefully annealed Gumbel-softmax and perplexity penalties. In contrastive speech representation learning with Wav2Vec 2.0 pretraining on LibriSpeech, single-codebook zRdz\in\mathbb R^d0 and dual-codebook zRdz\in\mathbb R^d1 settings show near zRdz\in\mathbb R^d2–zRdz\in\mathbb R^d3 usage without the KNN loss; KNN-CE yields zRdz\in\mathbb R^d4 usage of every code in all settings, and downstream word-error-rate improvements track the improved quantizer utilization. The ablation reported in the same study states that cross-entropy is more robust to code collapse under Gumbel sampling, whereas zRdz\in\mathbb R^d5 suffices for pure softmax smoothing.

2. Permutohedral-lattice smoothing for scalable kernel MVMs

A different use of simplex-space smoothing arises in scalable Gaussian processes through the permutohedral lattice. The construction works in the zRdz\in\mathbb R^d6-dimensional hyperplane

zRdz\in\mathbb R^d7

whose simplicial cells are permutations of a canonical simplex. Kapoor et al. use a fast triangular embedding matrix zRdz\in\mathbb R^d8 to map zRdz\in\mathbb R^d9 to C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d0. A Conway–Sloane style algorithm then locates the enclosing simplicial cell in C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d1 time, identifies its C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d2 neighboring lattice vertices, and computes barycentric weights C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d3 such that

C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d4

These barycentric coordinates are the simplex-valued interpolation coefficients that drive the subsequent sparse MVM approximation (Kapoor et al., 2021).

The core computation is the three-stage splat–blur–slice pipeline. Given inputs C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d5 with values C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d6, splat scatters each C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d7 to the C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d8 lattice vertices of the enclosing simplex using the barycentric weights; blur performs 1D convolutions along each of the C={c1,,cK}RdC=\{c_1,\dots,c_K\}\subset\mathbb R^d9 lattice axes using a small stencil; slice interpolates the blurred lattice values back to the original points. In SKI notation, these three stages are

i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},0

so that

i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},1

The reported complexity is i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},2 time and i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},3 memory, where i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},4 is the number of occupied lattice nodes and typically satisfies i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},5. The stated practical significance is that i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},6, so the method avoids the curse of dimensionality associated with dense rectangular grids.

For the RBF kernel i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},7, a 1D convolution along each lattice axis with the binomial stencil i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},8 yields a separable approximation to the multi-dimensional Gaussian in i(z)=argmini=1..Kzci2,q(z)=ci(z),i^*(z)=\arg\min_{i=1..K}\|z-c_i\|^2,\qquad q(z)=c_{i^*(z)},9. More generally, any stationary kernel can be approximated by choosing a small 1D stencil of radius ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},0 on each axis. The paper also gives a fused CUDA implementation: each input point is processed in its own GPU thread during splat and slice; the sparse hash table of active lattice nodes is stored in shared or global memory with open addressing; and blur along each axis is launched as a separate kernel. On a Titan RTX GPU, for ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},1 and ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},2, a single MVM is reported as approximately ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},3 faster than an exact KeOps implementation of the RBF MVM. Even with order-1 stencils ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},4, the cosine-error of the approximate MVM relative to the exact MVM is below ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},5.

3. Simplex diffusion and Dirichlet-attracted dynamics

In categorical diffusion, simplex-space smoothing is realized through stochastic dynamics on the positive orthant followed by normalization. Fix ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},6 and concentration parameters ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},7. The forward process consists of ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},8 independent Cox–Ingersoll–Ross processes

ΔK1={pR+K:i=1Kpi=1},\Delta^{K-1}=\{p\in\mathbb R_+^K:\sum_{i=1}^K p_i=1\},9

with si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},0 and independent Brownian motions si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},1. Since each coordinate remains nonnegative almost surely, one normalizes

si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},2

As si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},3, each si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},4 converges in law to si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},5, hence si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},6 converges to si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},7. The paper presents this as the simplex analogue of progressive Gaussian smoothing in Euclidean diffusion models (Richemond et al., 2022).

The scalar CIR transition law is available in closed form. If

si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},8

then si(z)=exp(zci2/τ)j=1Kexp(zcj2/τ),s_i(z)=\frac{\exp(-\|z-c_i\|^2/\tau)}{\sum_{j=1}^K \exp(-\|z-c_j\|^2/\tau)},9 can be sampled exactly through a noncentral L2L_20 random variable:

L2L_21

By sampling the L2L_22 independently in parallel and normalizing, one obtains exact samples on the simplex with no time-discretization error. The associated Fokker–Planck equation,

L2L_23

plays the role that the Ornstein–Uhlenbeck heat/Fokker–Planck equation plays in Gaussian diffusion: the law is progressively driven from a delta-like initial condition toward the stationary Gamma law, and after normalization toward the Dirichlet law on the simplex.

The paper is equally explicit about limitations. Euler–Maruyama discretization requires clipping or reflection to maintain nonnegativity and a small stabilizer L2L_24 inside the square root. Exact noncentral-L2L_25 sampling avoids time-discretization bias but can be more expensive for large L2L_26 or very small L2L_27. In high-dimensional simplices, the normalized vector L2L_28 can exhibit extremely heavy-tailed behavior in its components, making score estimation difficult. There is also an interpretational gap: while the Dirichlet is presented as a natural Gaussian analogue on L2L_29, the posterior zz0 after normalization is a nonlinear function of zz1, so the Dirichlet view is described as a helpful but inexact intuition for the final categorical likelihood.

4. Approximation operators on the standard simplex

A classical smoothing perspective appears in approximation theory on the standard simplex

zz2

The paper on convergence in Orlicz space studies multivariate operators on zz3 within the Orlicz class zz4 associated with a Young function zz5 satisfying the zz6 condition. Two positive linear operators are central: the Meyer–König–Zeller–Kantorovich operator zz7 and the Stancu–Kantorovich operator zz8, both defined by weighted averages of local integrals over small simplex-aligned cells. They reproduce constants exactly and satisfy

zz9

with first moments vanishing like Δd\Delta^d00. Their operator norms obey

Δd\Delta^d01

(Ma et al., 2021).

The relevant smoothness functional is the second-order modulus of smoothness

Δd\Delta^d02

The two main approximation theorems have the same rate:

Δd\Delta^d03

and

Δd\Delta^d04

The approximation scale is therefore Δd\Delta^d05.

The interpretation given in the paper is directly smoothing-theoretic: these operators average Δd\Delta^d06 over cells of diameter Δd\Delta^d07 and thus smooth out fine oscillations. If Δd\Delta^d08, then

Δd\Delta^d09

The same framework covers the special case Δd\Delta^d10, Δd\Delta^d11, where the Orlicz norm reduces to the usual Δd\Delta^d12 norm. This places simplex smoothing in a classical approximation-theoretic lineage, distinct from machine-learning relaxations but still centered on localized averaging over simplex-adapted cells.

5. Dirichlet-kernel local linear smoothing for regression surfaces

In nonparametric regression on the simplex, the sample consists of independent pairs

Δd\Delta^d13

with Δd\Delta^d14, Δd\Delta^d15, and Δd\Delta^d16. The local smoother is built from a Dirichlet kernel centered at an evaluation point Δd\Delta^d17 with bandwidth Δd\Delta^d18,

Δd\Delta^d19

where

Δd\Delta^d20

The stated properties are that Δd\Delta^d21 integrates to one on Δd\Delta^d22, concentrates around Δd\Delta^d23 as Δd\Delta^d24, and automatically tilts near a face of the simplex to avoid leaking outside the support. The local linear estimator solves

Δd\Delta^d25

with fitted value Δd\Delta^d26, or equivalently

Δd\Delta^d27

in matrix form (Genest et al., 2024).

Under the stated smoothness assumptions Δd\Delta^d28, Lipschitz Δd\Delta^d29 and Δd\Delta^d30, Δd\Delta^d31, and Δd\Delta^d32, the interior-point bias expansion begins with

Δd\Delta^d33

followed by Δd\Delta^d34 and Δd\Delta^d35 terms. The variance is of order Δd\Delta^d36. Balancing Δd\Delta^d37 gives

Δd\Delta^d38

and the same rate for the mean integrated squared error:

Δd\Delta^d39

The boundary behavior is a central point. Local linear smoothing with the Dirichlet kernel has bias Δd\Delta^d40 even at boundary points, whereas the Nadaraya–Watson estimator with Dirichlet kernel has boundary bias of order Δd\Delta^d41 or Δd\Delta^d42 in special settings. Practical implementation uses least-squares cross-validation, numerically stable log-Gamma evaluation for the weights, and inversion of the weighted design matrix Δd\Delta^d43. In the reported Monte Carlo experiments for Δd\Delta^d44, integrated squared errors were recorded over Δd\Delta^d45 replications for sample sizes Δd\Delta^d46. For every regression function and every Δd\Delta^d47, the local linear estimator had smaller mean ISE, median ISE, standard deviation, and interquartile range than the Nadaraya–Watson competitor, with typical gains in mean ISE ranging from a factor Δd\Delta^d48 to a factor Δd\Delta^d49.

6. N-simplicial attention, over-smoothing, and recurrent limitations

In higher-order attention, simplex-space smoothing refers not to probabilistic diffusion or kernel estimation but to the contraction induced by aggregation over simplices of order Δd\Delta^d50. Let Δd\Delta^d51 denote token features. N-simplicial attention introduces Δd\Delta^d52 key maps and Δd\Delta^d53 value maps, forms logits on allowed Δd\Delta^d54-simplices Δd\Delta^d55,

Δd\Delta^d56

normalizes with a softmax over Δd\Delta^d57, and outputs

Δd\Delta^d58

On a bounded input ball, the operator is locally Lipschitz with constant

Δd\Delta^d59

The reported dependence is polynomial in the token count Δd\Delta^d60, with multiplicative growth in the value and key norms and in the interaction order Δd\Delta^d61 (Dussolle et al., 17 Dec 2025).

The principal theoretical result is negative with respect to a common intuition: higher-order aggregation does not remove over-smoothing. In the unmasked complete-hypergraph case, repeated application of pure N-simplicial attention contracts the residual part of the representation toward a constant row, and with residual connections the residual norm is stated to decay doubly-exponentially in the number of layers. In the masked quasi-strongly connected case of radius Δd\Delta^d62, the residual obeys an exponential bound of the form

Δd\Delta^d63

The paper therefore concludes that N-simplicial attention remains a contracting operator on the residual component of token features.

Because fully dense N-simplicial attention costs Δd\Delta^d64 per head, two sparse routing schemes are proposed. Expert-choice Top-Δd\Delta^d65 learns a scalar score per token, retains only the top-Δd\Delta^d66 tokens, and reduces complexity to Δd\Delta^d67. Simplicial Path Sparse Attention first applies pairwise sparse attention, then forms each Δd\Delta^d68-simplex by walking along Δd\Delta^d69 edges in the sparse graph, yielding complexity approximately Δd\Delta^d70 for Δd\Delta^d71. The empirical illustration uses discrete Forman–Ricci curvature on Δd\Delta^d72 QM9 molecules: the average curvature of the line-graph is higher than that of the original graph in Δd\Delta^d73 of cases, and the minimum edge curvature improves in at least Δd\Delta^d74 of molecules.

Taken together, these literatures suggest several recurring technical distinctions. First, simplex-aware smoothing may be vertex-seeking, as in smoothed vector quantization, boundary-adaptive, as in Dirichlet-kernel regression, or lattice-interpolative, as in permutohedral MVMs. Second, smoothing is often beneficial only when paired with a mechanism that preserves structural coverage: the KNN regularizer enforces per-vertex usage in vector quantization, while sparse simplex selection in N-simplicial attention is introduced to control combinatorial growth. Third, simplex formulations do not by themselves remove failure modes. The supplied results explicitly retain code collapse as a risk in quantization without per-vertex coverage, high-dimensional instability in simplex diffusion, and over-smoothing in higher-order attention.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Simplex-Space Smoothing.