Dario Fumarola
← Presented workNeurIPS 2025

Recurrent control

Who Needs
Attention Anyway?

Retaining state corrections in recurrent control

A local optimizer can improve a recurrent controller's action while leaving its memory unchanged. We test whether retaining the corrected state improves subsequent decisions, beyond the benefit of caching the same corrected plan.

A single common correction is followed by an identical executed action, then two branches retain or discard the corrected recurrent state.
Figure 1. The same-action intervention changes only the memory passed to the next recurrence.
View figure ↗

Bounded state correction

A frozen controller proposes a persistent state \(z_t^0\), then decodes a short control sequence \(U_t^0\). Action refinement searches directly over the control sequence. State correction searches over the state that produces it, using the same task residuals, dynamics and physical limits.

\[ \begin{aligned} z_t^0&=f_\theta(z_{t-1},x_t),\qquad U_t^0=g_\phi(z_t^0;c_t),\\ L_t(z)&=F_t\bigl(g_\phi(z;c_t)\bigr). \end{aligned} \]

The local update uses a fresh damped Gauss–Newton matrix. Candidates must reduce the evaluated objective and stay within cumulative state and action-change bounds. The reference configuration permits three candidate trials per input.

\[ \begin{aligned} b&=J^\top R_t(z),\qquad P=J^\top J+\lambda I,\\ v&=-P^{-1}b,\qquad \|z-z_t^0\|_2\leq\rho_z. \end{aligned} \]

Both retain and discard branches execute the corrected first action. Retain stores the corrected state; discard stores the original proposal. Both receive the executed action as an input at the next step.

Section 2 and Algorithm 1 ↗

State retention and plan reuse

With subsequent correction disabled and identical observations replayed to both branches, retention lowers next-proposal loss by 3.2% in navigation and 4.4% in chain control. The effect declines over the next few inputs and is close to zero by eight.

A separate experiment independently varies state retention and plan caching after the same common solve. All four branches then resume the same action-space solver.

The reduction in proposal loss from retention declines between one and eight inputs in navigation and chain control, with paired 95% intervals.
Figure 2. Common-input replay isolates the effect on future recurrent proposals.
View figure ↗
Eight-input realized cost reduction (%) relative to the uncorrected state with no cache. Table 1; ± is the rounded 95% interval half-width.
What is retainedNavigationChain control
Neither correction nor plan0 (reference)0 (reference)
Plan only1.1 ± 0.71.7 ± 1.1
State only0.8 ± 0.71.4 ± 1.0
State and plan1.8 ± 0.82.8 ± 1.2

Conditioning on both branches having the same cached plan, state retention adds a 0.7% [0.2, 1.2] navigation cost reduction and 1.1% [0.3, 1.9] in chain control. These conditional ratios are computed against the plan-only branch, rather than by subtracting table entries.

Sections 5.1 and 5.2 ↗

Full-episode control results

Retaining rather than discarding corrections raises navigation success from 82.7% to 85.4%, a paired gain of 2.7 percentage points [1.7, 3.7]. Action refinement is a stronger baseline than discarded state correction. Fitting its solution back into memory recovers most of the retention benefit.

Navigation within the 4 ms mean / 8 ms p99 validation envelope. Table 2. Five independently trained models; ± is the rounded 95% interval half-width.
ControllerSuccess (%)Contacts / 1,000 stepsMean time (ms)
Frozen recurrent policy68.4 ± 1.937.1 ± 2.32.10
CBF filter79.2 ± 1.66.4 ± 0.82.58
Predictive filter82.1 ± 1.54.1 ± 0.63.92
Action refinement83.9 ± 1.415.9 ± 1.13.82
Action + state fitting85.2 ± 1.314.4 ± 1.13.91
State correction, discard82.7 ± 1.518.2 ± 1.23.81
State correction, retain85.4 ± 1.314.2 ± 1.03.79
Warm-started MPC85.8 ± 1.36.0 ± 0.73.93

MPC achieves similar navigation success with substantially fewer contacts. The chain task shows the same retention effect: success increases from 74.2% to 78.6%, while MPC reaches 79.4% with the lowest contact rate. At larger latency budgets, direct planning benefits more from additional solve time.

Tables 2 and 3; Figure 3 ↗

Context changes and rollback

Replacing the target or delaying the relevant sensor records removes the average benefit of a retained correction. The rollback variant saves the proposal for one additional input and checks the target identifier and record age before the next recurrence:

\[ \widehat z_t=z_t^0+a_{t+1}(\widetilde z_t-z_t^0),\qquad a_{t+1}\in\{0,1\}. \]

The switch is zero when the active target changes or the relevant record is more than one input old. In full episodes with intermittent sensing delays, rollback raises navigation success from 82.1% to 83.4% and chain success from 71.8% to 73.0% compared with unconditional retention.

The experiments use one recurrent architecture in two simulators with differentiable geometry. A local loss decrease is a statement about the supplied objective. Under stale sensing, that objective can improve while physical control deteriorates. Rollback removes only the latest correction, leaving older changes already propagated through memory.

Table 4 and Discussion ↗

Full paper

Who Needs Attention Anyway? Retaining State Corrections in Recurrent Control

Dario Fumarola · Amazon Web Services