# Integral Sparse Dynamics Training

- ID: 2057
- Canonical URL: https://synthcore.org/idea/2057/integral-sparse-dynamics-training
- API JSON: https://synthcore.org/api/idea/2057.json
- API Markdown: https://synthcore.org/api/idea/2057.md
- Verification status: failed_benchmark
- Source: [arXiv:2608.09722](https://arxiv.org/abs/2608.09722)
- Category: training
- Solves: stability, generalization, sample-efficiency
- ML areas: rnn, ssm, optimizer, training-dynamics
- Math tags: dynamical-systems, optimization, statistics, linear-algebra
- Ratings: usefulness 7/10; difficulty 5/10; novelty 7/10

## Idea description

Train a recurrent or neural-ODE state transition with an integral residual instead of matching noisy finite-difference derivatives. Enforce sparse regulator-to-state connectivity with group sparsity, so the model learns a compact dynamical mechanism while avoiding the severe variance amplification caused by estimating derivatives from sampled data.

## Mathematical statement

Let \(x(t)\in\mathbb{R}^{d}\) be the hidden state, \(F_{\theta}(x(t),r(t))\) the learned vector field, and \(0=t_{0}<t_{1}<\cdots<t_{N}\) observation times. The model satisfies \(x(t_{j+1})-x(t_j)=\int_{t_j}^{t_{j+1}}F_{\theta}(x(\tau),r(\tau))\,d\tau\). With piecewise-constant or interpolated observations, fit \(\theta\) by minimizing the integral residual plus a group-lasso penalty on regulator-to-state blocks \(W_{gr}\). If \(\Phi\) is the design matrix formed from integrated candidate features and \(S\) is the true active support, sparse recovery is controlled by excitation of active directions, for example \(\lambda_{\min}(\Phi_S^{\top}\Phi_S/N)>0\), with estimation error decreasing approximately as \(O(\sigma\sqrt{s\log p/N}/\lambda_{\min})\), where \(\sigma\) is observation noise, \(s=|S|\), and \(p\) is the number of candidate couplings.

## Key formulas

- $$\dot{x}(t)=F_{\theta}(x(t),r(t)),\qquad x(t_{j+1})-x(t_j)=\int_{t_j}^{t_{j+1}}F_{\theta}(x(\tau),r(\tau))\,d\tau.$$
- $$\mathcal{L}(\theta)=\frac{1}{N}\sum_{j=0}^{N-1}\left\|x_{j+1}-x_j-\Delta t_jF_{\theta}\left(\frac{x_j+x_{j+1}}{2},r_{j+1/2}\right)\right\|_{2}^{2}+\lambda\sum_{g,r}\|W_{gr}\|_{2}.$$
- $$\lambda_{\min}\left(\frac{1}{N}\Phi_{S}^{\top}\Phi_{S}\right)>0,\qquad \|\widehat{W}-W^{\star}\|=O\left(\frac{\sigma\sqrt{s\log p/N}}{\lambda_{\min}(\Phi_S^{\top}\Phi_S/N)}\right).$$

## Implementation notes

Integrate this at the transition-learning component of a recurrent state-space model or neural ODE. Let the hidden state be \(x_j\), let \(r_j\) contain selected input or regulator channels, and parameterize the vector field as a small MLP with explicit linear regulator-to-state blocks \(W_{gr}\). Apply group lasso to each block so an entire edge is removed rather than only individual scalar weights. For each minibatch trajectory, compute the midpoint vector field \(\hat f_j=F_\theta((x_j+x_{j+1})/2,(r_j+r_{j+1})/2)\), form \(L=\sum_j\|x_{j+1}-x_j-\Delta t_j\hat f_j\|^2/N+\lambda\sum_{g,r}\|W_{gr}\|_2\), backpropagate, and use Adam followed by proximal group soft-thresholding. Compute midpoint integrals cheaply; for higher accuracy replace them with two- or four-point quadrature. Estimate the active Gram eigenvalue from the minibatch feature matrix and estimate noise from held-out residuals. First test on 1,000 trajectories of a 20-dimensional sparse tanh RNN with 10% active edges, Gaussian observation noise, and irregular sampling. Compare finite-difference regression, ordinary one-step prediction, and integral training. The prediction is that finite-difference error scales approximately as \(\sigma^2/\Delta t^2\), while integral training is substantially less sensitive; support recovery should fail sharply as the empirical active Gram eigenvalue approaches zero.

## Verification

- Status: failed_benchmark
- Mechanism evidence: yes
- Mechanism confirmed: no
- Practical verdict: inconclusive
- Verdict: The MVP confirmed the predicted derivative-noise amplification: integral increment variance stayed near 0.0098 while finite-difference variance followed 0.0098 divided by delta-t squared. Support recovery degraded when the active Gram minimum eigenvalue approached zero. The integral method achieved a small clean-increment MSE improvement, but not a decisive win.

### Mechanism check

- Verdict: The MVP confirmed the predicted derivative-noise amplification: integral increment variance stayed near 0.0098 while finite-difference variance followed 0.0098 divided by delta-t squared. Support recovery degraded when the active Gram minimum eigenvalue approached zero. The integral method achieved a small clean-increment MSE improvement, but not a decisive win.
- Confidence: 7/10
- Limitations: The test used a linear toy sparse-regression system rather than a tanh RNN or neural ODE. It did not test Adam, minibatching, higher-order quadrature, repeated seeds, confidence intervals, or runtime. The support-recovery trend was qualitative and non-monotonic at intermediate correlations.

### Practical benchmark

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

## Artifacts

- [bench_report.json](https://synthcore.org/code/827/bench_report.json)
- [bench_stage2.py](https://synthcore.org/code/827/bench_stage2.py)
- [integral_sparse_dynamics.py](https://synthcore.org/code/827/integral_sparse_dynamics.py)
- [integral_sparse_dynamics_v1.py](https://synthcore.org/code/827/integral_sparse_dynamics_v1.py)
- [report.md](https://synthcore.org/code/827/report.md)
- [report_bench_2026-09-01T115352.md](https://synthcore.org/code/827/report_bench_2026-09-01T115352.md)
- [results.json](https://synthcore.org/code/827/results.json)
- [Download all files as ZIP](https://synthcore.org/download/827)

## Disclaimer

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