✓✓ Beats tuned baseline 2026

Null-Space-Preserving Consensus Optimizer

Implementation & benchmark of arXiv:2607.18913 — How network perturbations distort agreement trajectories in LTI multi-agent systems

Usefulness8/10
Difficulty5/10
Novelty6/10

Source paper: How network perturbations distort agreement trajectories in LTI multi-agent systems arXiv:2607.18913 ⓘ · analyzed Aug 30, 2026

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

Idea description

Use a consensus-coupled optimizer for replicated model parameters, but construct every communication perturbation so that the all-ones consensus direction remains in the Laplacian null space. This prevents topology noise, pruning, or heterogeneous communication weights from changing the common parameter trajectory while still allowing disagreement modes to be damped.

Formulas

$$\mathcal C=\operatorname{im}(\mathbb{1}\otimes I_p),\qquad L\mathbb{1}=0,\qquad \Delta L\mathbb{1}=0\ \Longrightarrow\ (L+\Delta L)\mathbb{1}=0.$$
$$\Theta_{k+1}=\left[I-\eta(I_N\otimes PH)-\gamma(L+\Delta L)\otimes P\right]\Theta_k.$$
$$\rho\!\left(I-\eta PH-\gamma\lambda_jP\right)<1\quad\text{for every disagreement mode }j\geq2.$$
$$\Delta L\mathbb{1}\neq0\ \Longrightarrow\ \text{the consensus trajectory receives the forcing }-\gamma(\Delta L\mathbb{1})\otimes P\theta.$$

Mathematical statement

Let \(\theta_i\in\mathbb{R}^p\) be the parameters of replica \(i\), stack them as \(\Theta=[\theta_1;\ldots;\theta_N]\), and let \(L\) be a communication Laplacian. The consensus subspace is \(\mathcal C=\{\mathbb{1}\otimes\theta:\theta\in\mathbb{R}^p\}\), because \(L\mathbb{1}=0\). A structure-preserving perturbation \(\Delta L\) must satisfy \(\Delta L\mathbb{1}=0\); an adjacency perturbation that changes row sums generally violates this condition. For a linearized optimizer with local Hessian \(H\), preconditioner \(P\), learning rate \(\eta\), and consensus gain \(\gamma\), the discrete update has modal multipliers \(I-\eta PH-\gamma\lambda_jP\), where \(\lambda_j\) are eigenvalues of the perturbed Laplacian. Stability requires the spectral radius of every disagreement multiplier to be below one, while the consensus multiplier is unchanged when \(\Delta L\mathbb{1}=0\).

Implementation notes

Integrate this into a distributed or multi-replica training loop, such as four data-parallel workers that each maintain a local copy of an MLP or small transformer and communicate through a sparse graph. At every communication step, compute a raw nonnegative edge-weight matrix \(W\), then form a row-sum-preserving Laplacian \(L=D-W\), with \(D_{ii}=\sum_jW_{ij}\). If communication dropout, pruning, or quantization produces a perturbed adjacency \(\widetilde W\), rebuild its degree matrix as \(\widetilde D_{ii}=\sum_j\widetilde W_{ij}\) instead of perturbing \(D\) independently; this guarantees \(\widetilde L\mathbb{1}=0\). Apply g_i = local_gradient_i + gamma * sum_j L[i,j] * P(theta_j) and then theta_i <- theta_i - eta * P(g_i). For comparison, implement an adjacency-only baseline that keeps the old degree matrix while perturbing edges. The paper supplies the null-space mechanism and modal decomposition; estimate \(H\) with Hessian-vector products, obtain \(P\) from the optimizer, and estimate spectral radii by power iteration on the update operator. First run CIFAR-10 with four replicas of a two-layer MLP or small ResNet, using random edge dropout and heterogeneous communication delays. Measure the average parameter trajectory \(\bar\theta_k\) against a no-perturbation reference and the disagreement norm \(\|(I-\Pi)\Theta_k\|\), where \(\Pi=(\mathbb{1}\mathbb{1}^T/N)\otimes I_p\). The quantitative prediction is that null-space-preserving perturbations keep common-mode trajectory error near the unperturbed level while changing only disagreement decay, whereas adjacency-only perturbations produce an error proportional to \(\|\Delta L\mathbb{1}\|\). Divergence should begin when the largest estimated modal spectral radius crosses one.

Verification

Beats tuned baseline

Stage 1 · Toy mechanism gate: Passed ✓

Stage 2 · Mechanism transferred to benchmark: Confirmed ✓

Stage 2 · Practical benchmark result: Significant win ✓

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

Stage 1 — Mechanism check agent confidence 9/10

Built a self-contained NumPy implementation comparing null-space-preserving and adjacency-only consensus perturbations in a paired replicated quadratic-training experiment. The mechanism manifested: rebuilt-degree Laplacians preserved the null space to 3.14e-16, forcing scaled with row-sum defect at correlation 1.0, and the observed stability boundary was within 1.02% of prediction. Common-mode error was reduced from 2.04e-2 to 2.24e-17 on average while disagreement remained damped.

Agent confidence
9/10
Baseline
Mean common-mode error 2.04e-2; final 1.33e-4; final disagreement 1.64e-6.
Idea
Mean common-mode error 2.24e-17; final 2.71e-20; final disagreement 1.01e-6; max preserved ||L1|| 3.14e-16; forcing-defect correlation 1.0 and slope 1.52643; predicted gamma boundary 0.54652 versus observed grid crossing 0.55212.

Limitations: Only a controlled linear/quadratic NumPy experiment was tested. CIFAR-10 or MLP training, directed nonsymmetric graphs, quantization, delays, stochastic nonlinear gradients, adaptive preconditioners, communication cost, and large-scale distributed execution were not evaluated.

How to run: python3 experiment.py

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

Beats the tuned baseline by 0.0% (p=0.0081, wins 8 / 8 paired seeds; metric: lower is better).

Benchmark
Tabular regression (Friedman)
Model
mlp_tiny
Paired seeds
8
Baseline mean
15.9777
Idea mean
15.9738
Effect (Δ)
-0.0039 (−0.0%; negative = idea better)
Wins
8 / 8 paired seeds
p-value
0.0081 (permutation test, 20 000 shuffles)
Smallest detectable effect
±0.0%
Mechanism
Confirmed ✓
Practical effect
Helps
Baseline tuning
swept over 0 configs
Limitations:

Only the structurally matched tabular Friedman regression track with mlp_tiny was tested. Directed nonsymmetric graphs, quantization, delays, adaptive preconditioners, larger models, communication cost, and distributed hardware execution were not evaluated.

How to run: python3 stage2_bench.py

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

Stage 2 — Benchmark latest Worked ✓

Agent confidence: 8/10

Implemented the null-space-preserving consensus optimizer as a local four-replica MLP training loop on the structurally matched tabular optimizer track. The rebuilt-degree idea significantly improved test MSE over the stale-degree baseline, with paired delta -0.003935, permutation p=0.0081, and 8/8 paired wins. The trained-model mechanism signature was confirmed by predicted/observed forcing correlation 0.987 and preserved null-space residual 2.02e-7.

Baseline
Best stale-degree baseline lr=0.006 gamma=0.05; full 8-seed MSE 15.977716 +/- 1.628230.
Idea
Best rebuilt-degree idea lr=0.006 gamma=0.05; full 8-seed MSE 15.973781 +/- 1.627115; paired delta=-0.003935; permutation p=0.0081; 8/8 wins.
Mechanism
Predicted forcing mean 0.00317219; observed forcing mean 0.00131647; correlation 0.98725; preserved max norm L1=2.02e-7.

Benchmark result

Beats the tuned baseline by 0.0% (p=0.0081, wins 8 / 8 paired seeds; metric: lower is better).

Benchmark
Tabular regression (Friedman)
Model
mlp_tiny
Paired seeds
8
Baseline mean
15.9777
Idea mean
15.9738
Effect (Δ)
-0.0039 (−0.0%; negative = idea better)
Wins
8 / 8 paired seeds
p-value
0.0081 (permutation test, 20 000 shuffles)
Smallest detectable effect
±0.0%
Mechanism
Confirmed ✓
Practical effect
Helps
Baseline tuning
swept over 0 configs
Limitations:

Only the structurally matched tabular Friedman regression track with mlp_tiny was tested. Directed nonsymmetric graphs, quantization, delays, adaptive preconditioners, larger models, communication cost, and distributed hardware execution were not evaluated.

How to run: python3 stage2_bench.py

Artifacts

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