Unverified 2026

Lyapunov Sign-Search Optimizer

Implementation & benchmark of arXiv:2607.14839 — Modular Sign Compensation for MIMO Systems with Unknown Control Direction: An Exact Nominal Recovery Approach

Usefulness6/10
Difficulty5/10
Novelty8/10

Source paper: Modular Sign Compensation for MIMO Systems with Unknown Control Direction: An Exact Nominal Recovery Approach arXiv:2607.14839 ⓘ · analyzed Aug 30, 2026

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

Idea description

Wrap a nominal gradient-based optimizer with a diagonal sign matrix that flips updates independently for parameter blocks, while a scheduler tests candidate sign configurations using short-horizon decrease of a Lyapunov-like training energy. The wrapper never changes the magnitude of the nominal update, and when the effective sign pattern is constant, it should recover the behavior of the correctly oriented nominal optimizer after a finite search period.

Formulas

$$\theta_{t+1}=\theta_t-\eta D_t v_t,\qquad D_t=\operatorname{diag}(s_{1,t},\ldots,s_{m,t}),\quad s_{i,t}\in\{-1,+1\}.$$
$$\dot V(\theta)=\nabla V(\theta)^\top f_{D^\star}(\theta)\leq-c\|\nabla V(\theta)\|^2,\qquad c>0.$$
$$\widehat r_t(D)=\frac{V(\theta_t)-V(\theta_t-\eta Dv_t)}{\eta},\qquad D_{t+1}=\begin{cases}D_t,&\widehat r_t(D_t)\geq\rho\|v_t\|^2\text{ for }K\text{ steps},\\\operatorname{Next}(D_t),&\text{otherwise}.\end{cases}$$
$$\text{if }\eta L<2\text{ and }D_t=D^\star,\quad V(\theta_{t+1})\leq V(\theta_t)-\eta\left(1-\frac{L\eta}{2}\right)\|\nabla V(\theta_t)\|^2.$$

Mathematical statement

Partition parameters into blocks with parameter vector $\theta\in\mathbb{R}^{d}$ and nominal update $v_t$; for Adam, $v_t=\widehat m_t/(\sqrt{\widehat q_t}+\epsilon)$. The wrapped update is $\theta_{t+1}=\theta_t-\eta D_t v_t$, where $D_t=\operatorname{diag}(s_{1,t},\ldots,s_{m,t})$ and $s_{i,t}\in\{-1,+1\}$. Assume an unknown constant orientation $D^\star$ over a search interval and a nominal Lyapunov function $V(\theta)$, usually the loss or a smoothed validation loss, satisfying $\dot V\leq-c\|\nabla V\|^2$ under the correct sign. Estimate dissipation for a candidate $D$ by $\widehat r_t(D)=[V(\theta_t)-V(\theta_t-\eta Dv_t)]/\eta$. Retain a candidate when this quantity exceeds $\rho\|v_t\|^2$ for $K$ consecutive steps; otherwise advance through candidate signs. Under $L$-smoothness, the correct-sign update has descent whenever $\eta L<2$, giving a measurable step-size boundary.

Implementation notes

1. Integration point: insert the wrapper after a standard optimizer computes its proposed block update and before parameters are modified. Divide the model into four to eight blocks, such as transformer layers, attention heads, convolutional channel groups, or federated-client parameter groups. Use ordinary SGD or AdamW to produce the nominal proposal $v_t$; do not change its norm, momentum, or variance estimates.

2. Pseudocode: maintain a candidate sign vector $s$. Compute $v_t$, form a probe update $u_t=-\eta(s\odot v_t)$, and evaluate a cheap loss probe at $\theta_t+u_t$ using the current minibatch or a small held-out subset. Set $r=(L_t-L(\theta_t+u_t))/\eta$. If $r\geq\rho\|v_t\|^2$ for $K$ consecutive steps, retain $s$; otherwise advance one block sign in a vector scheduler or enumerate sign patterns with a cyclic scalar scheduler. Apply only the selected update and discard the probe state. Reset the scheduler after $J$ consecutive failures.

3. Computed versus estimated: the diagonal signs, candidate schedule, and update rule are exact design quantities. The smoothness constant $L$, descent constant $c$, and noise scale are estimated empirically. Estimate $L$ with power iteration on a minibatch Hessian or finite-difference gradient ratios. Use three repeated loss probes to estimate variance and select $\rho$ above twice the probe standard deviation.

4. First cheap experiment: train a two-layer MLP on MNIST with SGD, split parameters into four blocks, and inject a planted fixed random sign reversal into each block's effective update. Compare ordinary SGD, AdamW, random sign search, and the proposed wrapper over step sizes from $0.1/L$ to $3/L$. The falsifiable signatures are: the scheduler recovers the planted pattern after at most approximately $K2^m$ probes for scalar enumeration; after recovery, its loss curve matches correctly oriented SGD within probe noise; and the stable-step boundary occurs near $\eta_c=2/L$, within 20 percent of the Hessian estimate. If the injected sign pattern changes faster than the persistence window $K$, permanent recovery should fail gracefully rather than produce a false stability claim.

Verification

This idea has not been verified yet.

Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.

Artifacts

Artifacts unavailable.