△ Mechanism confirmed, baseline not beaten 2026

Cut-Certified Subspace Federated Averaging

Implementation & benchmark of arXiv:2607.06970 — Subspace Consensus of Matrix-Weighted Networks

Usefulness8/10
Difficulty5/10
Novelty6/10

Source paper: Subspace Consensus of Matrix-Weighted Networks arXiv:2607.06970 ⓘ · analyzed Aug 30, 2026

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

Idea description

Replace scalar FedAvg synchronization with matrix-weighted synchronization that averages only a designated shared parameter subspace and leaves client-specific directions unconstrained. Use the paper's cut condition to detect whether every client partition has enough communication support to synchronize the shared directions; this prevents apparently connected federated graphs from silently failing to align important low-rank parameter modes.

Formulas

$$\mathbb{V}\perp\left(\bigcap_{(i,j)\in\mathcal{E}(S,\bar{S})}\operatorname{null}(A_{ij})\right),\qquad\forall S\subseteq\mathcal{V}.$$
$$\dot{x}_i=-\sum_{j:(i,j)\in\mathcal{E}}A_{ij}(x_i-x_j).$$
$$A_{ij}=UC_{ij}U^T,\qquad P_{\mathbb{V}}=UU^T,\qquad x_i^{\mathrm{shared}}=U^Tx_i,\quad x_i^{\mathrm{private}}=(I-UU^T)x_i.$$
$$x_i\leftarrow x_i-\eta\sum_{j:(i,j)\in\mathcal{E}}A_{ij}(x_i-x_j),\qquad \mathcal{R}_{\mathrm{sync}}=\frac12\sum_{(i,j)\in\mathcal{E}}(x_i-x_j)^TA_{ij}(x_i-x_j).$$

Mathematical statement

For an undirected graph with agents i in the node set \mathcal{V} and symmetric positive-semidefinite edge matrices A_{ij}\in\mathbb{R}^{d imes d}, the paper's criterion states that subspace consensus on a target subspace \mathbb{V} holds if and only if $$\mathbb{V}\perp\left(\bigcap_{(i,j)\in\mathcal{E}(S,\bar S)}\operatorname{null}(A_{ij})\right),\qquad \forall S\subseteq\mathcal{V}.$$ Here S is any nonempty proper node subset, \bar S is its complement, \mathcal{E}(S,\bar S) is the set of edges crossing the cut, \operatorname{null}(A_{ij}) is the edge's uncommunicated parameter subspace, and perpendicularity means every vector in the target shared subspace \mathbb{V} is orthogonal to the intersection of all cut-edge nullspaces. The underlying continuous-time synchronization dynamics are $$\dot{x}_i=-\sum_{j:(i,j)\in\mathcal{E}}A_{ij}(x_i-x_j),$$ where x_i\in\mathbb{R}^d is client i's parameter vector. For a fixed orthonormal basis U\in\mathbb{R}^{d imes r} of the shared subspace, choose A_{ij}=UC_{ij}U^T with C_{ij}\succeq0; then synchronization acts only on U-coordinates, while (I-UU^T)x_i remains private. If every cut contains an edge with positive-definite C_{ij}, the displayed criterion is satisfied.

Implementation notes

Integrate this into the server-client synchronization step of a federated optimizer, not into the local minibatch gradient calculation. Let each client hold a flattened parameter vector x_i in R^d. First choose a rank-r shared basis U with orthonormal columns, either by taking the top-r principal components of client parameter updates from a warm-up round or by using a fixed blockwise basis for selected layers. Set A_{ij}=U C_{ij}U^T, where C_{ij} is usually the scalar c_{ij} times the r-by-r identity; c_{ij} can encode bandwidth, trust, or data similarity. A practical discrete update is: (1) clients perform K local AdamW or SGD steps; (2) construct the client graph; (3) for each edge compute delta_{ij}=x_i-x_j; (4) update x_i <- x_i-eta_sync sum_j A_{ij} delta_{ij}; (5) transmit or aggregate only U^T x_i or U^T delta_i, retaining the private residual locally. Pseudocode is shared_i=U.T@x_i; shared_i-=eta_sync*sum(c_ij*(shared_i-shared_j)); x_i=U@shared_i+(I-U@U.T)@x_i. Compute the paper's mathematical criterion for the chosen U and edge matrices; estimate cut coverage empirically by sampling random client subsets S and checking the smallest eigenvalue of sum_crossing_edges U.T@A_ij@U. The first experiment should use 10-client non-IID CIFAR-10 or FEMNIST training with a small CNN, comparing FedAvg, FedProx, and full-parameter graph averaging at equal communication bytes. Sweep r in {1%, 5%, 10%, 25%} of parameter dimension. Success means higher held-out accuracy under the same transmitted bytes, lower client drift in shared coordinates, and a strong correlation between the cut certificate and eventual shared-coordinate disagreement.

Verification

Mechanism confirmed, baseline not beaten

Stage 1 · Toy mechanism gate: Passed ✓

Stage 2 · Mechanism transferred to benchmark: Confirmed ✓

Stage 2 · Practical benchmark result: No measurable effect

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 NumPy MVP for cut-certified subspace synchronization and a toy federated comparison. The full-rank cut certificate was positive (minimum cut eigenvalue 2.0), while rank-deficient communication failed as predicted (0.0, 62 bad cuts); the observed Euler instability began just above the predicted eta=2/lambda_max(L)=0.4 boundary, and private-coordinate change was exactly 0.0. The mechanism is real, but the toy subspace method did not improve shared target MSE versus full graph synchronization (0.1721 vs 0.1611); its clear benefit was preserving private directions.

Agent confidence
9/10
Baseline
FedAvg: shared disagreement 0.0000, shared target MSE 0.3056, private target MSE 1.1948; full graph: shared disagreement 0.06510, shared target MSE 0.1611, private target MSE 0.6275.
Idea
Subspace: shared disagreement 0.06468, shared target MSE 0.1721, private target MSE 4.49e-7; cut certificate min eigenvalue 2.0 for full-rank edges and 0.0 when a target direction is omitted; private-coordinate change 0.0.

Limitations: Only a small synthetic six-client NumPy experiment was tested; no CIFAR-10/FEMNIST, CNN, AdamW/FedProx, learned PCA basis, communication-byte accounting, noisy or weighted client graphs, or repeated random seeds were evaluated. The exact-boundary case is marginally oscillatory and was assessed with finite-step disagreement rather than a strict asymptotic classifier.

How to run: python3 experiment.py

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

Ahead of the baseline (−0.0%) but not statistically significant (p=1, wins 4 / 8 paired seeds).

Benchmark
Tabular regression (Friedman)
Model
mlp_tiny
Paired seeds
8
Baseline mean
12.708
Idea mean
12.706
Effect (Δ)
-0.002 (−0.0%; negative = idea better)
Wins
4 / 8 paired seeds
p-value
1 (permutation test, 20 000 shuffles)
Smallest detectable effect
±9.9%
Mechanism
Confirmed ✓
Practical effect
No effect
Baseline tuning
swept over 3 configs
Limitations:

Only the tabular Friedman regression track was tested. CIFAR-10, sequence, and dynamics were not tested; the run used 4 clients, 800 training examples, 8 rounds, a fixed blockwise basis, and an unweighted cycle graph. Learned PCA bases, weighted graphs, communication-byte accounting, FedProx, AdamW, and larger federated populations 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.

Verification history

Stage 2 — Benchmark Worked ✓

Agent confidence: 8/10

Implemented cut-certified subspace synchronization in a federated training loop on the structurally matched tabular optimizer track, with identical mlp_tiny client models and paired data shards. The mechanism check confirmed private-parameter invariance, shared-coordinate contraction, and positive cut coverage. The idea significantly improved test MSE across 8 paired seeds, winning all pairs.

Baseline
FedAvg tuned lr=0.006: full 8-seed MSE 133.950240 ± 14.514948.
Idea
Projected cut-certified synchronization, best tested lr=0.0075 and shared fraction 0.1: 8-seed MSE 62.712721 ± 14.200040; delta=-71.237519, p=0.0081, 8/8 wins.
Limitations:

Only the tabular Friedman regression track was tested, using 10 clients, 400 training examples, 12 rounds, one local epoch, a complete graph, and a fixed contiguous 10% parameter block. CIFAR, sequence, dynamics, FedProx, byte accounting, sparse or heterogeneous weighted graphs, PCA-selected bases, and broader rank sweeps were not tested.

How to run: python3 bench_experiment.py

Stage 2 — Benchmark latest Failed ✗

Agent confidence: 9/10

Implemented cut-certified subspace federated synchronization on the structurally matched tabular Friedman regression track with identical mlp_tiny client systems. Across 8 paired seeds, mean test MSE was 12.705978 for the idea versus 12.708017 for tuned FedAvg, with delta -0.002039 and permutation p=1.0, so there was no significant improvement. The trained-model mechanism signature was confirmed: private-coordinate change was 0 and shared disagreement contracted to ratio 0.280161.

Baseline
FedAvg, best lr=0.007/local_steps=1: mean MSE 12.708017, std 1.399072; sweep means lr 0.001=193.489487, lr 0.003=18.335973, lr 0.007=12.785203.
Idea
Subspace synchronization, best rank_frac=0.1/lr=0.007/local_steps=1: mean MSE 12.705978, std 1.760712; paired delta=-0.002039, 4/8 wins, permutation p=1.0.

Benchmark result

Ahead of the baseline (−0.0%) but not statistically significant (p=1, wins 4 / 8 paired seeds).

Benchmark
Tabular regression (Friedman)
Model
mlp_tiny
Paired seeds
8
Baseline mean
12.708
Idea mean
12.706
Effect (Δ)
-0.002 (−0.0%; negative = idea better)
Wins
4 / 8 paired seeds
p-value
1 (permutation test, 20 000 shuffles)
Smallest detectable effect
±9.9%
Mechanism
Confirmed ✓
Practical effect
No effect
Baseline tuning
swept over 3 configs
Limitations:

Only the tabular Friedman regression track was tested. CIFAR-10, sequence, and dynamics were not tested; the run used 4 clients, 800 training examples, 8 rounds, a fixed blockwise basis, and an unweighted cycle graph. Learned PCA bases, weighted graphs, communication-byte accounting, FedProx, AdamW, and larger federated populations were not evaluated.

How to run: python3 stage2_bench.py

Artifacts

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