△ Mechanism confirmed, baseline not beaten 2026

Wasserstein-Budgeted Width Allocation

Implementation & benchmark of arXiv:2607.06290 — Quantitative Gaussian-Process limits of Tensor Programs

Usefulness7/10
Difficulty5/10
Novelty7/10

Source paper: Quantitative Gaussian-Process limits of Tensor Programs arXiv:2607.06290 ⓘ · analyzed Aug 30, 2026

AI-generated research hypothesis, automatically tested. Not peer-reviewed.

Idea description

Use the paper's finite-width O(n^{-1/2}) Gaussian-process approximation bound as a width-budgeting rule rather than choosing every hidden dimension uniformly. Estimate an architecture-specific constant for each layer or attention contraction, then allocate width according to the smallest dimension satisfying its allowed distributional error. This should produce narrower models at comparable GP-like behavior, or permit the same parameter budget to be concentrated in the layers where finite-width noise is most damaging.

Formulas

$$\mathcal{W}_{p}(X_n,X_\infty)\leq\frac{\mathsf{c}}{\sqrt{n}}.$$
$$K^{(1)}=\frac{c^{(0)}}{d}x^{\top}x,\qquad K^{(\ell+1)}=\frac{c^{(\ell)}}{n_\ell}\mathbb{E}\left[\phi^{(\ell)}(\mathcal{G}^{(\ell)})^{\top}\phi^{(\ell)}(\mathcal{G}^{(\ell)})\right].$$
$$n_r\geq\left(\frac{\widehat{\mathsf{c}}_r}{\varepsilon_r}\right)^2,\qquad \sum_{r=1}^{R}\varepsilon_r\leq\varepsilon_{\mathrm{total}}.$$

Mathematical statement

The paper bounds the p-Wasserstein distance between normalized finite-width executions and their infinite-width Gaussian execution by \(\mathcal{W}_{p}(X_n,X_\infty)\leq\mathsf{c}/\sqrt{n}\). Here \(\mathcal{W}_{p}\) is the p-Wasserstein distance between probability laws, \(X_n\) is the vector of finite-network outputs or hidden states normalized by the relevant width, \(X_\infty\) is the corresponding jointly Gaussian-process execution, \(n\) is the hidden contraction width, and \(\mathsf{c}\) is an architecture-, activation-, input-, and p-dependent constant. For a deep MLP, the limiting covariance is recursively defined by \(K^{(1)}=(c^{(0)}/d)x^{\top}x\) and \(K^{(\ell+1)}=(c^{(\ell)}/n_\ell)\mathbb{E}[\phi^{(\ell)}(\mathcal{G}^{(\ell)})^{\top}\phi^{(\ell)}(\mathcal{G}^{(\ell)})]\), where \(c^{(\ell)}\) is the weight-variance numerator, \(n_\ell\) is the input width of layer \(\ell\), \(\phi^{(\ell)}\) is the componentwise activation, and \(\mathcal{G}^{(\ell)}\) is the Gaussian preactivation with covariance \(K^{(\ell)}\). The engineering rule is \(n_r\geq(\widehat{\mathsf{c}}_r/\varepsilon_r)^2\) for module r, where \(\widehat{\mathsf{c}}_r\) is an empirically estimated constant and \(\varepsilon_r\) is that module's allocated Wasserstein-error budget.

Implementation notes

(1) Integration point: apply this during architecture search to hidden dimensions of MLP layers, the head/key/query contraction dimension in attention, the feed-forward dimension, and the hidden dimension of an RNN. Keep the usual variance scaling \(W_{ij}\sim\mathcal{N}(0,c/n_{\mathrm{in}})\). Do not initially change the forward computation. (2) Pseudocode: for each candidate module r, choose calibration width n_cal; run B random initializations on calibration inputs; collect finite-network outputs; generate corresponding GP samples or a very-wide reference; estimate c_hat[r] = sqrt(n_cal) times the measured distance; choose error budgets eps[r] with sum eps[r] <= eps_total; set width n[r] = ceil((c_hat[r] / eps[r])^2); round widths to hardware-friendly multiples; train the resulting model. (3) Computed from the paper's mathematics: the inverse-square-root scaling and covariance recursion. Estimated empirically: c_hat[r], because the extracted theorem does not provide a universal usable constant. Use sliced Wasserstein distance or a Gaussian mean/covariance distance as a cheap proxy. For shared-weight RNNs, calibrate over the full unroll length rather than treating time steps as independent. (4) First cheap experiment: train 6-layer width-1024 and width-512 MLPs on CIFAR-10, then compare a width-allocated model with the same parameter or FLOP budget. Use 32 to 64 random initializations on 1,000 examples for calibration. Measure validation loss, activation covariance error relative to a width-4096 reference, and training/inference FLOPs. Success is a 10 to 20 percent parameter reduction at matched validation loss, or lower loss at equal parameter count.

Verification

Mechanism confirmed, baseline not beaten

Stage 1 · Toy mechanism gate: Passed ✓

Stage 2 · Mechanism transferred to benchmark: Confirmed ✓

Stage 2 · Practical benchmark result: Inconclusive

Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works

Stage 1 — Mechanism check agent confidence 6/10

Built a reproducible Wasserstein-budgeting MVP in experiment.py with analytic Gaussian limits, width sweeps, epsilon inversion, and fixed-budget allocation. The square-activation toy showed the predicted inverse-square-root scaling (observed log-log slope -0.441 versus -0.5) and budget-derived widths tracked target errors reasonably well, with observed distance/epsilon ratios about 0.87–1.04 for epsilon 0.12–0.05. The fixed-budget proxy improved from 0.05495 to 0.05152, but empirical allocated Wasserstein error was slightly worse than uniform (0.07445 versus 0.07253), so there is a mechanism signal but no demonstrated practical allocation win.

Agent confidence
6/10
Baseline
Uniform widths [256,256]; observed summed Wasserstein distance 0.07253; analytic proxy 0.05495.
Idea
Allocated widths [152,360] using n proportional to c^(2/3); observed summed Wasserstein distance 0.07445; analytic proxy 0.05152. Square-module scaling slope was -0.441 versus predicted -0.5.

Limitations: This is only a scalar normalized-CLT initialization toy, not a trained MLP or CIFAR-10 experiment. ReLU scaling was noisier (slope -0.311), empirical Wasserstein estimates have a sampling floor, and allocation was not validated on downstream loss, FLOPs, latency, or a real deep architecture.

How to run: python3 experiment.py

Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.06290)

No significant difference vs. the tuned baseline (+1.6%, p=0.7026, wins 3 / 8 paired seeds).

Benchmark
Tabular regression (Friedman)
Model
mlp_med
Paired seeds
8
Baseline mean
9.2433
Idea mean
9.3914
Effect (Δ)
0.1481 (+1.6%; negative = idea better)
Wins
3 / 8 paired seeds
p-value
0.7026 (permutation test, 20 000 shuffles)
Smallest detectable effect
±8.8%
Mechanism
Confirmed ✓
Practical effect
Inconclusive
Baseline tuning
swept over 3 configs
Limitations:

Only the registered tabular MLP track was tested. Calibration used an activation-dispersion proxy rather than a direct high-sample Wasserstein estimator, and the allocation budget approximated hidden contraction width rather than exact parameters or FLOPs.

How to run: python3 bench_width_allocation.py

Verdict computed by deterministic test code from paired-seed statistics — not by the language model.

Stage 2 — Benchmark latest Failed ✗

Agent confidence: 9/10

Implemented and ran Wasserstein-budgeted width allocation on the registered tabular Friedman#1 MLP track using the full 8-seed paired protocol. The idea had higher mean test MSE than the tuned uniform-width baseline, with paired delta +0.1481 and permutation p=0.70265, so it is not a significant win.

Baseline
Uniform width 64, best lr 0.006: mean test MSE 9.2433265448 over 8 seeds.
Idea
Allocated widths by c_hat^(2/3), best lr 0.006: mean test MSE 9.3914476037 over 8 seeds; paired delta +0.1481210589, p=0.70265.

Benchmark result

No significant difference vs. the tuned baseline (+1.6%, p=0.7026, wins 3 / 8 paired seeds).

Benchmark
Tabular regression (Friedman)
Model
mlp_med
Paired seeds
8
Baseline mean
9.2433
Idea mean
9.3914
Effect (Δ)
0.1481 (+1.6%; negative = idea better)
Wins
3 / 8 paired seeds
p-value
0.7026 (permutation test, 20 000 shuffles)
Smallest detectable effect
±8.8%
Mechanism
Confirmed ✓
Practical effect
Inconclusive
Baseline tuning
swept over 3 configs
Limitations:

Only the registered tabular MLP track was tested. Calibration used an activation-dispersion proxy rather than a direct high-sample Wasserstein estimator, and the allocation budget approximated hidden contraction width rather than exact parameters or FLOPs.

How to run: python3 bench_width_allocation.py

Artifacts

Implementation overview ⬇ Download all as ZIP 6 files · code, reports and structured results