Failed on benchmark 2026

Detailed-Balance Graph Transport Layer

Usefulness8/10
Difficulty5/10
Novelty7/10

Source paper: Structure-Preserving Detailed-Balance Master-Equation Discretizations for Fokker--Planck Equations arXiv:2608.30121 · analyzed Sep 1, 2026

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

Idea description

Replace an unconstrained graph residual update with a reversible master-equation update on a nonnegative latent mass vector. Each edge transfers mass in two directions with rates tied by detailed balance, so the layer preserves total mass, preserves nonnegativity under an appropriate discretization, and relaxes toward a learnable equilibrium while dissipating a specified free energy. This is suitable for iterative graph inference, diffusion-like architectures, and probability-valued hidden representations.

Formulas

$$\rho_{t}=\nabla\cdot\big(m(\rho,x)\nabla\mu\big),\qquad\mu=\frac{\delta\mathcal{F}}{\delta\rho}$$
$$\frac{\mathrm{d}}{\mathrm{d}t}\mathcal{F}[\rho]=-\int_{\Omega}m(\rho,x)|\nabla\mu|^{2}\,\mathrm{d}x\leq 0$$
$$\dot\rho_i=\sum_{j\ne i}c_{ij}\left(\frac{\rho_j}{\pi_j}-\frac{\rho_i}{\pi_i}\right),\qquad c_{ij}=c_{ji}\ge0$$
$$\frac{\mathrm dF}{\mathrm dt}=-\frac12\sum_{i,j}c_{ij}L(q_i,q_j)(\mu_i-\mu_j)^2\le0,\quad q_i=\frac{\rho_i}{\pi_i},\quad \mu_i=\log q_i,\quad F(\rho)=\sum_i\rho_i\log\frac{\rho_i}{\pi_i}$$

Mathematical statement

The paper uses the variational Fokker--Planck equation \(\rho_t=\nabla\cdot(m(\rho,x)\nabla\mu)\), where \(\rho\ge0\) is a density, \(m(\rho,x)\ge0\) is mobility, \(\mathcal F[\rho]\) is free energy, and \(\mu=\delta\mathcal F/\delta\rho\) is chemical potential. Its key guarantee is the energy-dissipation law \(\frac{d}{dt}\mathcal F[\rho]=-\int m(\rho,x)|\nabla\mu|^2dx\le0\). For a graph with nodes \(i=1,\ldots,n\), use symmetric nonnegative conductances \(c_{ij}=c_{ji}\ge0\), positive equilibrium masses \(\pi_i>0\), normalized ratios \(q_i=\rho_i/\pi_i\), chemical potentials \(\mu_i=\log q_i\), and entropy free energy \(F(\rho)=\sum_i\rho_i\log(\rho_i/\pi_i)\). Define jump rates \(k_{ij}=c_{ij}/\pi_i\); then \(k_{ij}\pi_i=k_{ji}\pi_j=c_{ij}\), which is detailed balance. The master equation \(\dot\rho_i=\sum_{j\ne i}(k_{ji}\rho_j-k_{ij}\rho_i)=\sum_{j\ne i}c_{ij}(q_j-q_i)\) conserves \(\sum_i\rho_i\) by pairwise cancellation. With logarithmic mean \(L(a,b)=(a-b)/(\log a-\log b)\) for \(a\ne b\) and \(L(a,a)=a\), the edge flux is \(J_{ij}=c_{ij}L(q_i,q_j)(\mu_i-\mu_j)\), and the free-energy derivative is nonpositive: \(\dot F=-\frac12\sum_{i,j}c_{ij}L(q_i,q_j)(\mu_i-\mu_j)^2\le0\).

Implementation notes

(1) Exact integration point: insert the module after graph attention or message passing and before the next MLP/residual connection. Let each node feature \(h_i\in\mathbb R^d\) produce \(K\) positive transport channels \(\rho_{i,k}=\operatorname{softplus}((W_\rho h_i)_k)+\epsilon\). Normalize each channel over nodes if a fixed channel mass is desired. Construct an edge conductance from the current features, \(c_{ij}=\operatorname{softplus}(u^T[h_i,h_j,|h_i-h_j|])+\epsilon\), and symmetrize it as \(c_{ij}\leftarrow(c_{ij}+c_{ji})/2\). Predict positive equilibrium masses \(\pi_{i,k}\) with a softplus head and normalize them over nodes. (2) Pseudocode: compute \(q_{i,k}=\rho_{i,k}/\pi_{i,k}\); for every undirected edge compute \(J_{ij,k}=c_{ij,k}(q_{i,k}-q_{j,k})\); update \(\rho_{i,k}\leftarrow\rho_{i,k}+\Delta t\sum_j c_{ij,k}(q_{j,k}-q_{i,k})\). For an explicit baseline require \(\Delta t\le\min_i\rho_i/\sum_j c_{ij}/\pi_i\). Prefer an implicit step \((I-\Delta t A)\rho^{new}=\rho^{old}\), where \((A\rho)_i=\sum_j c_{ij}(\rho_j/\pi_j-\rho_i/\pi_i)\), solved with a sparse linear solver. Feed \(\log(\rho^{new}+\epsilon)\) through a learned projection and add or concatenate it to \(h_i\). (3) The mathematics computes conservation, detailed balance, and the dissipation diagnostic; learned conductances, equilibria, step size, and downstream usefulness are estimated empirically. Log total mass, minimum mass, and \(F(\rho)\) after every transport step. (4) First cheap experiment: use a 2-layer GCN or Graph Transformer on Cora and a synthetic stochastic-block-model node-classification dataset. Compare standard residual message passing, ordinary diffusion/GCN propagation, and this transport layer with equal hidden width, parameter count, and propagation FLOPs. Run 5, 10, and 20 refinement steps under both normal and deliberately large residual step sizes. Success requires no negative activations, monotone measured free energy, bounded iterates, and higher validation accuracy or calibration at equal compute; the strongest signal is graceful accuracy degradation when refinement depth increases, unlike the unconstrained residual baseline.

Verification

Failed on benchmark

Mechanism evidence: Not confirmed

Practical benchmark: Did not beat baseline

Stage 1 — Mechanism check agent confidence 8/10

Built a NumPy detailed-balance master-equation transport implementation and a learnable PyTorch transport layer. The mechanism manifested: mass conservation error stayed below 4.4e-16, transport remained nonnegative at 0.99x and 1.01x the sufficient bound and became negative at 100x, while the finite-difference dissipation estimate matched the predicted value within 0.053% at the smallest tested step. Conductance scaling was exact across 0.25x–4x; the tiny classification test tied the baseline at 100% accuracy, so no accuracy win was observed.

Agent confidence
8/10
Baseline
Unconstrained residual graph update: 100.0% classification accuracy; minimum activation 0.0401 under the tested large residual multiplier.
Idea
Detailed-balance transport: 100.0% classification accuracy; minimum mass 0.00375 using 0.9x the positivity bound; total-mass error <4.4e-16; dissipation relative error 0.000525 at dt=1e-5 and 0.0514 at dt=1e-3; conductance-scaling relative error 0.0.

Limitations: Only a synthetic 80-node classification utility test was run, with no training, Cora benchmark, implicit solver, FLOP or parameter matching, calibration, or multi-seed statistical evaluation. The positivity sweep sampled factors up to 1000 and established failure at 100x, but did not bracket the exact first-failure threshold.

How to run: python3 run_experiment.py

Stage 2 — Benchmark vs. tuned baseline

Significantly WORSE than the tuned baseline (+121.8%, p=0.0081, wins 0 / 8 paired seeds).

Benchmark
Dynamics forecasting
Model
rnn_small
Paired seeds
8
Baseline mean
0.0004
Idea mean
0.001
Effect (Δ)
0.0005 (+121.8%; negative = idea better)
Wins
0 / 8 paired seeds
p-value
0.0081 (permutation test, 20 000 shuffles)
Smallest detectable effect
±58.0%
Mechanism
Not confirmed ✗
Practical effect
Hurts
Baseline tuning
swept over 3 configs
Limitations:

Only the built-in dynamics track was tested; no graph-specific benchmark, implicit sparse solver, Cora, sequence diffusion, calibration, FLOP accounting, or longer-horizon stability study was run. The idea sweep settings at lr=0.01 and lr=0.03 produced non-finite training metrics, while the baseline remained stable at those shared learning rates.

How to run: python3 bench_experiment.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

Built a local detailed-balance transport modification for the benchmark rnn_small dynamics model and evaluated it on the structurally matched controlled-pendulum rollout task. The mechanism preserved latent mass with relative error 3.49e-8 and decreased measured free energy, but the observed-vs-predicted finite-step energy change differed by 50.1%, so the signature was not confirmed quantitatively. On the independent task metric, transport MSE was 0.0009517 versus baseline 0.0004291, with paired delta +0.0005225 and permutation p=0.0081; therefore the idea was significantly worse.

Baseline
dynamics/rnn_small tuned baseline: test MSE mean 0.0004291251, std 0.0001791583, 8 paired seeds; best lr=0.01.
Idea
detailed-balance latent transport: test MSE mean 0.0009516680, std 0.0002400580, 8 paired seeds; best idea setting lr=0.0033333, dt=0.05.
Mechanism signature
mass conservation relative error 3.493e-8; observed energy change -0.0034661; predicted derivative -0.0463764; finite-step relative error 0.50085; confirmed=false.
Paired delta
idea - baseline = +0.0005225429 MSE; idea wins 0/8 seeds; permutation p=0.0081; verdict idea worse (significant).

Benchmark result

Significantly WORSE than the tuned baseline (+121.8%, p=0.0081, wins 0 / 8 paired seeds).

Benchmark
Dynamics forecasting
Model
rnn_small
Paired seeds
8
Baseline mean
0.0004
Idea mean
0.001
Effect (Δ)
0.0005 (+121.8%; negative = idea better)
Wins
0 / 8 paired seeds
p-value
0.0081 (permutation test, 20 000 shuffles)
Smallest detectable effect
±58.0%
Mechanism
Not confirmed ✗
Practical effect
Hurts
Baseline tuning
swept over 3 configs
Limitations:

Only the built-in dynamics track was tested; no graph-specific benchmark, implicit sparse solver, Cora, sequence diffusion, calibration, FLOP accounting, or longer-horizon stability study was run. The idea sweep settings at lr=0.01 and lr=0.03 produced non-finite training metrics, while the baseline remained stable at those shared learning rates.

How to run: python3 bench_experiment.py

Artifacts

⬇ Download all as ZIP 7 files · code, reports and structured results