# Cycle-Current Integrability Monitor

- ID: 2751
- Canonical URL: https://synthcore.org/idea/2751/cycle-current-integrability-monitor
- API JSON: https://synthcore.org/api/idea/2751.json
- API Markdown: https://synthcore.org/api/idea/2751.md
- Verification status: unverified
- Source: [arXiv:2608.26621](https://arxiv.org/abs/2608.26621)
- Category: regularization
- Solves: stability, generalization
- ML areas: training-dynamics, rnn, diffusion
- Math tags: stochastic-processes, graph-theory, statistical-mechanics, linear-algebra
- Ratings: usefulness 6/10; difficulty 5/10; novelty 7/10

## Idea description

For a neural stochastic state-space model or discrete diffusion sampler, monitor whether learned transition logits admit a global scalar potential on the active latent manifold. Penalize residual cycle affinities in the conditional sector, but leave reset cycles unpenalized so the model can retain useful dissipative mixing. The distinctive prediction is a linear decrease of integrability error with residual cycle current and a quadratic decrease of entropy production near autonomous redistribution.

## Mathematical statement

Let q_ij(h) be the learned transition rate from state i to j at context h, and define the edge log-ratio one-form omega_ij=log(q_ij/q_ji). A thermodynamic occupation law exists on the conditional graph when omega is exact: omega_ij=X_j-X_i for node potentials X_i. Equivalently, every independent cycle c has zero affinity A_c=sum_(i,j in c) omega_ij. Let J_ij=pi_i q_ij-pi_j q_ji be the stationary edge current and let J_c be the independent cycle current. The paper predicts that near autonomous redistribution, the distance from omega to the nearest exact one-form is O(norm(J)), while entropy production sigma is O(norm(J)^2). In the neural implementation, cycles entirely inside the conditional manifold C are penalized; cycles involving reset state 0 are excluded.

## Key formulas

- $$\\omega_{ij}=\\log\\frac{q_{ij}}{q_{ji}},\\qquad A_c=\\sum_{(i,j)\\in c}\\omega_{ij},\\qquad A_c=0\\ \forall c\\Longleftrightarrow\\omega_{ij}=X_j-X_i.$$
- $$J_{ij}=\pi_iq_{ij}-\pi_jq_{ji},\qquad \sigma=\frac{1}{2}\sum_{i,j}J_{ij}\log\frac{\pi_iq_{ij}}{\pi_jq_{ji}}\ge 0.$$
- $$\lVert\omega-\mathrm{d}X^*\rVert_2=O(\lVert J\rVert),\qquad \sigma=O(\lVert J\rVert^2)\quad\text{near autonomous redistribution}.$$
- $$\mathcal{L}_{\mathrm{cycle}}=\sum_{c\subset\mathcal C}w_cA_c^2,\qquad X^*=\arg\min_X\sum_{(i,j)\subset\mathcal C}[\omega_{ij}-(X_j-X_i)]^2.$$

## Implementation notes

Apply this monitor to a learned Markov transition matrix in a neural ODE discretization, discrete diffusion model, stochastic RNN, or latent world model. The network outputs positive rates q_ij(h); reserve state 0 as the reset state and define the conditional manifold C={1,...,K}. At each minibatch context h, compute omega_ij=log((q_ij+epsilon)/(q_ji+epsilon)). Choose a spanning tree of C, fix X_1=0, solve the least-squares potential X* from omega_ij approximately equal to X_j-X_i, and calculate a cycle basis from non-tree edges. Add lambda_cycle times the sum of weighted squared cycle affinities to the task loss. Estimate pi and J using short chain rollouts or empirical transition counts, then log sigma using the displayed entropy-production formula. Do not include reset-containing cycles in the penalty, with global-cycle penalization as an ablation. First experiment: train a three-state latent stochastic RNN on a synthetic sequence task with known transition dynamics, comparing no penalty, conditional-only penalty, and global penalty. Sweep lambda_cycle and measure prediction loss, affinity RMS, current RMS, and sigma. The falsifiable signature is affinity RMS proportional to current RMS with log-log slope near 1, while sigma scales with current RMS squared with slope near 2 near the autonomous-redistribution regime. Conditional-only regularization should reduce affinity without eliminating reset current.

## Disclaimer

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