Carleman-Lifted Polynomial State Space
Implementation & benchmark of arXiv:2608.25822 — Fast-forwarding quantum algorithms for weakly nonlinear dissipative differential equations and beyond
Source paper: Fast-forwarding quantum algorithms for weakly nonlinear dissipative differential equations and beyond arXiv:2608.25822 ⓘ · analyzed Aug 29, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace a standard nonlinear recurrent transition with a truncated Carleman lift containing levels $z_j\approx u^{\otimes j}$, coupled by linear maps that represent quadratic, linear, and forcing terms. The resulting transition is linear in the lifted state but still expresses nonlinear dynamics in the original state, while the highest-order omitted interaction supplies an explicit truncation-defect signal that can be used for adaptive order selection or regularization.
Formulas
Mathematical statement
The base dynamics are $\dot u=F_2(t)u^{\otimes 2}+F_1(t)u+F_0(t)$, where $u\in\mathbb{C}^n$, $F_2\in\mathbb{C}^{n\times n^2}$, $F_1\in\mathbb{C}^{n\times n}$, and $F_0\in\mathbb{C}^n$. Define lifted variables $z_j=u^{\otimes j}\in\mathbb{C}^{n^j}$ for $j=1,\ldots,N$. The derivative of $z_j$ is a sum over applying the quadratic, linear, or forcing operator to each tensor factor, giving $\dot z_j=A_{j+1}^{j}z_{j+1}+A_j^jz_j+A_{j-1}^jz_{j-1}$, with $A_{j+1}^{j}=\sum_{r=1}^{j}I^{\otimes(r-1)}\otimes F_2\otimes I^{\otimes(j-r)}$, $A_j^j=\sum_{r=1}^{j}I^{\otimes(r-1)}\otimes F_1\otimes I^{\otimes(j-r)}$, and $A_{j-1}^{j}=\sum_{r=1}^{j}I^{\otimes(r-1)}\otimes F_0\otimes I^{\otimes(j-r)}$. Truncating at level $N$ yields $\dot{\hat y}=A\hat y+b$, where $\hat y=[\hat y_1;\ldots;\hat y_N]$ and $b=[F_0;0;\ldots;0]$. The exact-lift error $\eta_j=u^{\otimes j}-\hat y_j$ satisfies $\dot\eta=A\eta+\zeta$, $\eta(0)=0$, with $\zeta=[0;\ldots;0;A_{N+1}^{N}u^{\otimes(N+1)}]$. Thus truncation error is driven by the omitted level-$N+1$ interaction rather than an unspecified approximation term. In a neural implementation, replace the exponentially large tensor spaces by learned low-rank tensor maps or sampled tensor features, while retaining the same three-level coupling pattern and defect estimate.
Implementation notes
Integrate this at the transition of a sequence model, replacing the usual RNN update $h_{t+1}=h_t+\Delta t\,\phi(W h_t+U x_t)$ with a truncated lifted state. First choose lift order $N=2$ or $3$, base width $d$, and represent $z_1=h$, $z_2\approx h\otimes h$, and optionally $z_3\approx h\otimes h\otimes h$ using tensor-train or low-rank factors rather than dense vectors of sizes $d^2$ and $d^3$. For each input $x_t$, produce $F_0(x_t)$, $F_1(x_t)$, and $F_2(x_t)$ with small linear projections or an MLP. Compute, for every level $j$, the three contributions corresponding to $A_{j+1}^{j}z_{j+1}$, $A_j^jz_j$, and $A_{j-1}^{j}z_{j-1}$; in code, implement the Kronecker sums as factor-wise contractions, never materializing Kronecker matrices. Use an Euler, midpoint, or exponential-integrator step: $z_j\leftarrow z_j+\Delta t(A_{j+1}^{j}z_{j+1}+A_j^jz_j+A_{j-1}^{j}z_{j-1})$. Initialize $z_j$ from repeated low-rank contractions of $z_1$ or from learned projections. During training, estimate the omitted defect $r_t=\|A_{N+1}^{N}z_{N+1}\|$ using either a temporary approximate $z_{N+1}$ or a low-rank sampled contraction, and add $\lambda\sum_t r_t^2$ to the task loss; alternatively increase $N$ when a moving average of $r_t$ exceeds a threshold. The mathematical quantities are the block couplings and defect form; low-rank rank, step size, and defect threshold are empirical hyperparameters. Start with a 2-layer GRU and a Carleman-Lifted model of matched parameter count on adding, copy-memory, and long-range oscillatory synthetic tasks, then test WikiText-2 character modeling. Success means lower long-horizon error, fewer exploding trajectories, or faster loss descent at equal parameter count and FLOPs; failure is higher cost without improved stability or accuracy.
Verification
Stage 1 · Toy mechanism gate: Failed ✗
Stage 2 · Mechanism transferred to benchmark: Not tested
Stage 2 · Practical benchmark result: Not run
Methodology: Toy-system gate first; the benchmark stage runs only after a pass. How verification works
Stage 1 — Mechanism check agent confidence 9/10
Built an exact index-based truncated Carleman lift, a factor-wise N=2 neural cell, and reproducible verification/experiment code. The defect equation was confirmed exactly in the toy ODE with residual RMS 0.0, but the lifted learner reached MSE 0.02917 versus 0.00457 for the GRU on the same synthetic sequence task, so no practical win was observed.
- Agent confidence
- 9/10
- Baseline
- GRU final training MSE: 0.004574526567012072
- Idea
- N=2 Carleman lifted cell final training MSE: 0.02916671149432659; toy max lift error: 0.005699823487373749; mean defect norm: 0.004474148873655404; defect-identity residual RMS: 0.0
Limitations: Only a tiny d=2, T=32 synthetic task was tested; no copy-memory, long-range oscillation, WikiText, matched FLOP/parameter study, adaptive order selection, or defect regularization was evaluated. CUDA cuDNN failed in this shared environment, so training fell back to CPU.
How to run: python3 carleman_experiment.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Artifacts
- carleman_experiment.py 7.8 KB View Raw
- report.md 1.2 KB View
- results.json 0.3 KB View Raw