Sub-Gaussian Reachability Sparse Attention
Implementation & benchmark of arXiv:2608.16170 — On hitting time distributions of Markov processes with sub-Gaussian heat kernel bounds
Source paper: On hitting time distributions of Markov processes with sub-Gaussian heat kernel bounds arXiv:2608.16170 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Constrain a graph or token attention layer to behave like a row-stochastic diffusion with walk dimension \(\beta\), and choose its neighborhood radius from the paper's first-hitting-time tail bound. At propagation time \(t\), interactions with effective distance larger than \(r(t,\varepsilon)\) are removed because their total reachability probability is bounded by a prescribed error budget \(\varepsilon\).
Formulas
Mathematical statement
The paper establishes the upper bound \({\mathbb P}^{x}[\sigma_{B}\leq t]\leq C_{3}\exp\{-C_{4}(\widetilde d(x,B)^\beta/t)^{1/(\beta-1)}\}\), where \(X_t\) is a Borel right Markov process on a metric-measure space \((E,d,\mu)\), \(\sigma_B=\inf\{t>0:X_t\in B\}\) is the first hitting time of a nearly Borel set \(B\), \(\widetilde d(x,B)\) is the distance from \(x\) to \(B\) after removing polar subsets, \(\beta>1\) is the walk dimension, and \(C_3,C_4>0\) are constants inherited from the volume and heat-kernel upper bounds. Solving the inequality \(C_3\exp[-C_4(r^\beta/t)^{1/(\beta-1)}]\leq\varepsilon\) gives the implementable cutoff \(r(t,\varepsilon)=\left[t(C_4^{-1}\log(C_3/\varepsilon))^{\beta-1}\right]^{1/\beta}\). The construction assumes the attention transition kernel is nonnegative and row-normalized, so it can be interpreted as a discrete Markov propagation; \(C_3,C_4,\beta\) are hyperparameters or estimated from empirical propagation tails rather than automatically guaranteed for arbitrary transformers.
Implementation notes
Integrate this into the attention-logit and neighborhood-construction path of a graph transformer or a long-context token transformer. Inputs are queries \(q_i\), keys \(k_j\), values \(v_j\), an effective metric \(\widetilde d(i,j)\), propagation time \(t\), target tail budget \(\varepsilon\), and parameters \(\beta,C_3,C_4\). First compute \(r=[t(\log(C_3/\varepsilon)/C_4)^{\beta-1}]^{1/\beta}\). Construct a sparse mask containing only pairs with \(\widetilde d(i,j)\leq r\), using a radius-neighbor index for graph data or a banded/local index for sequences. Compute standard scaled dot-product logits only on this mask, add an optional learnable distance bias \(b_{ij}=-a(\widetilde d(i,j)^\beta/t)^{1/(\beta-1)}\), apply a row-wise softmax, and multiply by values. To emulate several propagation times, use heads with \(t_h\) geometrically spaced and corresponding radii, then concatenate heads. The paper's mathematics supplies the radius formula and the exponential tail shape. The coder must estimate or tune the constants: build the empirical one-step transition matrix \(P\) from detached attention probabilities on a calibration batch, estimate \(\widehat p_{>r}(t)\) from \(P^t\) or repeated propagation, fit \(\log \widehat p_{>r}(t)\) against \((r^\beta/t)^{1/(\beta-1)}\), and use conservative lower estimates of \(C_4\) and upper estimates of \(C_3\). For a first experiment, train a 6-layer graph transformer on ZINC or a 4-layer long-context transformer on synthetic sequences with local-plus-rare-long-range dependencies, comparing dense attention, fixed-window attention, and this adaptive mask at equal hidden size. Measure validation accuracy, attention approximation error versus dense attention, peak memory, and wall-clock time. Success means at least 2x lower attention memory or FLOPs at matched accuracy, with the measured discarded propagation mass below \(\varepsilon\) and no instability from disconnected masks.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.