# Gauge-Covariant Wilson-Loop Regularization

- ID: 2472
- Canonical URL: https://synthcore.org/idea/2472/gauge-covariant-wilson-loop-regularization
- API JSON: https://synthcore.org/api/idea/2472.json
- API Markdown: https://synthcore.org/api/idea/2472.md
- Verification status: failed_benchmark
- Source: [arXiv:2608.17817](https://arxiv.org/abs/2608.17817)
- Category: architecture
- Solves: stability, generalization, accuracy
- ML areas: graph-nn, regularization, training-dynamics
- Math tags: statistical-mechanics, geometry, graph-theory, linear-algebra
- Ratings: usefulness 7/10; difficulty 6/10; novelty 7/10

## Idea description

Attach an SU(2) transport matrix to every directed edge of a graph neural network and penalize nontrivial plaquette holonomies instead of penalizing individual edge transformations. The regularizer is invariant to arbitrary local changes of latent representation frame, encouraging path-consistent relational features without requiring all edges to share one global coordinate system.

## Mathematical statement

Let G=(V,E,F) be a graph with triangular faces F. Let U_ij belong to SU(2) and represent transport from node j to node i, with U_ji equal to the Hermitian conjugate of U_ij. A local gauge transformation maps U_ij to h_i U_ij h_j dagger, where h_i belongs to SU(2). The triangular plaquette holonomy is H_ijk = U_ij U_jk U_ki. It transforms by conjugation, so its real trace is gauge invariant. Define compatibility M_P as the mean normalized real trace of all plaquette holonomies. The Wilson frustration energy penalizes deviations from the preferred identity holonomy. A disorder sweep predicts a susceptibility peak at the transition from globally compatible to frustrated correlated representations.

## Key formulas

- U_ij ∈ SU(2),  U_ji = U_ij†,  U_ij -> h_i U_ij h_j†,  h_i ∈ SU(2).
- H_ijk = U_ij U_jk U_ki,  H_ijk -> h_i H_ijk h_i†,  M_P = (1 / |F|) sum over faces f of ReTr(H_f) / 2.
- E_F = (1 / |F|) sum over faces f of J_f [1 - ReTr(H_f) / 2],  L = L_task + lambda E_F.
- chi_P = |F| [average(M_P squared) - average(M_P) squared],  sigma_c(L) = argmax over sigma of chi_P(L,sigma).

## Implementation notes

Integrate the mechanism into a message-passing GNN. For each directed edge, use an MLP on the endpoint features and edge attributes to output four real numbers, normalize them to a unit quaternion, and convert that quaternion into a 2 by 2 SU(2) matrix. Set the reverse-edge matrix to the Hermitian conjugate. For sampled triangular faces, compute the ordered product of the three edge matrices and add the Wilson energy to the task loss. Pseudocode is: q = normalize(edge_mlp(x_i, x_j, e_ij)); U_ij = quaternion_to_su2(q); U_ji = dagger(U_ij); H = U_ij @ U_jk @ U_ki; loop_loss = mean(J * (1 - real_trace(H) / 2)); loss = task_loss + lambda * loop_loss; backward(loss). Use the transport in messages through m_ij = U_ij @ z_j, or concatenate the equivalent quaternion action with scalar features. The gauge-covariance identities are analytic; lambda, the plaquette couplings J, and the critical disorder are empirical. The first cheap experiment should use a 20-node triangulated random geometric graph and synthetic node labels generated from a planted global transport frame. Compare a standard GNN, an unconstrained transport GNN, and this regularized model while sweeping the standard deviation sigma of random J. Measure M_P, task accuracy, and chi_P over several seeds and graph sizes. The quantitative prediction is a continuous compatibility transition: M_P should fall rapidly near sigma_c, chi_P should peak there, and the peak should shift weakly with graph size. Randomly rotate every node latent frame at train and test time; the gauge model should retain accuracy, while a non-covariant baseline should degrade. Excessive lambda should drive M_P toward one and cause feature oversmoothing.

## Verification

- Status: failed_benchmark
- Mechanism evidence: yes
- Mechanism confirmed: no
- Practical verdict: inconclusive
- Verdict: Built a self-contained quaternion/SU(2) Wilson-loop implementation with gauge transformations, plaquette compatibility, frustration energy, disorder sweeps, and a regularized toy optimization. The mechanism manifested: gauge-conjugation error was 1.0e-15, pure-gauge loops had M_P=1 with energy below 8e-16, and the predicted disorder law M_P=exp(-3 sigma^2/2) matched with maximum absolute error 0.0028. Mild regularization improved task MSE from 0.0508 to 0.0383 while reducing loop energy from 0.3400 to 0.1730; stronger regularization increased compatibility but removed the task benefit.

### Mechanism check

- Verdict: Built a self-contained quaternion/SU(2) Wilson-loop implementation with gauge transformations, plaquette compatibility, frustration energy, disorder sweeps, and a regularized toy optimization. The mechanism manifested: gauge-conjugation error was 1.0e-15, pure-gauge loops had M_P=1 with energy below 8e-16, and the predicted disorder law M_P=exp(-3 sigma^2/2) matched with maximum absolute error 0.0028. Mild regularization improved task MSE from 0.0508 to 0.0383 while reducing loop energy from 0.3400 to 0.1730; stronger regularization increased compatibility but removed the task benefit.
- Confidence: 8/10
- Limitations: The baseline comparison is a small local-angle optimization rather than a full message-passing GNN on a triangulated graph. No train/test latent-frame randomization, graph-size sweep, CUDA experiment, or empirical susceptibility peak near a phase transition was tested.

### Practical benchmark

- Paired seeds: 8
- Baseline mean: 0
- Idea mean: 0
- p-value: 0.2182
- Paired wins: 6/8
- Benchmark verdict: no significant win

## Artifacts

- [bench_report.json](https://synthcore.org/code/955/bench_report.json)
- [report.md](https://synthcore.org/code/955/report.md)
- [report_bench_2026-09-01T164407.md](https://synthcore.org/code/955/report_bench_2026-09-01T164407.md)
- [results.json](https://synthcore.org/code/955/results.json)
- [stage2_bench.py](https://synthcore.org/code/955/stage2_bench.py)
- [wilson_experiment.py](https://synthcore.org/code/955/wilson_experiment.py)
- [Download all files as ZIP](https://synthcore.org/download/955)

## Disclaimer

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