ELVIA.Evidence Atlas
NeurIPS 2025ELVIA assessment Minor

Error Forcing in Recurrent Neural Networks

A. Erdem Sağtekin, Colin Bredenberg, Cristina Savin

ELVIA analysis

Independent review pending

The first reported finding concerns “A state Kalman gain is not the fresh process-noise posterior”. The formulas can describe a state correction, but not the stated posterior of fresh generative process noise when inherited uncertainty is nonzero. If inherited uncertainty vanishes, the gain reduces to the valid greedy formula in Eq.(49). The main deterministic EF mechanism does not require this extension.

Problem 1. A state Kalman gain is not the fresh process-noise posterior

Minor
Evidence and reasoning

Problem statement

The appendix claims a filtered posterior for new process noise ϵt,\epsilon_t, but uses inherited state covariance plus new noise in its gain numerator.

Proof

In a linear Gaussian step, let inherited uncertainty be P,P, process covariance Q,Q, transition Jacobian J,J, readout WW and observation covariance R.R. State prior covariance is P−=JPJ⊤+Q,P^-=JPJ^\top+Q, but Cov⁡(ϵt,yt)=QW⊤,\operatorname{Cov}(\epsilon_t,y_t)=QW^\top, not P−W⊤.P^-W^\top.

For independent scalar inherited state N(0,3),N(0,3), fresh noise N(0,1),N(0,1), identity transition/readout and observation noise N(0,2),N(0,2), observe y=1.y=1.

The printed state gain gives mean 2/32/3 and covariance 4/3.4/3. Direct Gaussian conditioning gives the process-noise posterior mean 1/61/6 and variance 5/6.5/6. The example is exactly linear, so EKF linearization cannot explain the difference.

□\square

Possible revision

For the process-noise interpretation, write S=WP−W⊤+RS=WP^-W^\top+R and use posterior mean QW⊤S−1(y−Wrˉ),QW^\top S^{-1}(y-W\bar r), covariance Q−QW⊤S−1WQ.Q-QW^\top S^{-1}WQ. Alternatively rename the inferred quantity as a state correction; that does not derive a posterior for fresh process noise. Reconstructing the full state posterior requires additional covariance information.

Problem 2. The displayed M-step and experimental loss use different current outputs

Minor
Evidence and reasoning

Problem statement

The likelihood in Eq.(56) decodes the state after its inferred current correction. The printed deterministic EF mechanism and current source evaluate the present output before correcting the state.

Proof

Hold an inferred correction ϵ∗\epsilon^* fixed during the parameter step. The two current losses are Lpre(θ)=12∥Wrθ−y∗∥2,Lpost(θ;ϵ∗)=12∥W(rθ+ϵ∗)−y∗∥2.L_{\rm pre}(\theta)=\tfrac12\|Wr_\theta-y^*\|^2,\qquad L_{\rm post}(\theta;\epsilon^*)=\tfrac12\|W(r_\theta+\epsilon^*)-y^*\|^2. Stopping gradients through ϵ∗\epsilon^* does not equate these residuals.

Take a one-step model rθ=θ∈R2,r_\theta=\theta\in\mathbb R^2, W=diag⁡(1,2),W=\operatorname{diag}(1,2), y∗=(1,1)⊤,y^*=(1,1)^\top, θold=0,\theta_{\rm old}=0, and Q=R=I.Q=R=I. Equation (49) gives ϵ∗=(1/2,2/5)⊤.\epsilon^*=(1/2,2/5)^\top. At the old parameter, ∇θLpre=(−1,−2)⊤,∇θLpost=(−1/2,−2/5)⊤.\nabla_\theta L_{\rm pre}=(-1,-2)^\top,\qquad \nabla_\theta L_{\rm post}=(-1/2,-2/5)^\top. The vectors are not collinear, so a scalar learning rate or MSE normalization cannot identify the updates. The implementation returns the unchanged pre-correction output, which train.py uses in the loss.

In the full-row-rank deterministic projection limit with forcing strength 1,1, the corrected output equals its target; its current post-correction residual vanishes, while the pre-correction residual need not. This limiting diagnostic does not claim a finite Gaussian likelihood at zero observation variance.

□\square

Possible revision

Retain the experimental algorithm while explicitly distinguishing its pre-correction loss from the related corrected-output Bayesian surrogate. Optimizing the latter defines a different algorithm whose performance and full-forcing behavior require separate assessment.

Problem 3. Parameter descent does not generally follow the direct activity gradient

Minor
Evidence and reasoning

Problem statement

The text infers that activity changes induced by synaptic parameter updates follow the direction of the direct activity-space loss gradient.

Proof

For r=f(θ),r=f(\theta), Jacobian JθJ_\theta and gr=∇rL,g_r=\nabla_rL, the chain rule yields ∇θL=Jθ⊤gr.\nabla_\theta L=J_\theta^\top g_r. A parameter step therefore gives Δr=−ηJθJθ⊤gr+O(η2),\Delta r=-\eta J_\theta J_\theta^\top g_r+O(\eta^2), which need not be parallel to −gr.-g_r.

For the exact linear example r(θ)=(θ,θ)⊤,r(\theta)=(\theta,\theta)^\top, W=(1,0),W=(1,0), target 1,1, and L=(Wr−1)2/2,L=(Wr-1)^2/2, at θ=0\theta=0 the activity gradient is (−1,0)⊤.(-1,0)^\top. Parameter descent produces (η,η)⊤,(\eta,\eta)^\top, while direct activity descent produces (η,0)⊤.(\eta,0)^\top. These vectors are not parallel. Sequence losses can introduce additional cross-time Jacobian terms.

□\square

Possible revision

Retain the Jacobian-mediated displacement above and describe Eq.(36) as a direct activity intervention. Collinearity requires additional structure, such as grg_r being an eigenvector of JθJθ⊤.J_\theta J_\theta^\top.

Problem 4. The XOR convergence threshold is overwritten

Minor
Evidence and reasoning

Problem statement

The paper counts delayed-XOR convergence after MSE below 0.10.1 for ten consecutive epochs. The source first assigns that threshold for MDXOR, then immediately overwrites it with 0.010.01 unless the task is Cue.

Proof

For task MDXOR, the second conditional assignment has a false Cue test and sets 0.01.0.01. Ten consecutive validation losses 0.050.05 satisfy the paper’s criterion but fail the release’s criterion. This follows by direct case analysis of the two assignments and stopping branch; no training execution is needed.

□\square

Possible revision

Use one task-to-threshold assignment with 0.10.1 for both MDXOR and Cue, and 0.010.01 for the remaining task, then assess affected convergence histories under the intended definition.

Problem 5. The sine-task configuration has one output for two target channels

Minor
Evidence and reasoning

Problem statement

The task uses two phase-shifted waveforms and the task source constructs two channels, while the common configuration sets nout=1,n_{\rm out}=1, including for Cos.

Proof

For batch size 22 and recurrent dimension 50,50, predicted output has shape 2×1,2\times1, while the target slice is 2×2.2\times2. Subtraction broadcasts to a 2×22\times2 error. The one-output pseudoinverse has shape 1×50,1\times50, so feedback attempts (2×2)(1×50),(2\times2)(1\times50), with incompatible inner dimensions. Teacher forcing has the same target-product mismatch. Even if feedback were skipped, a broadcast scalar output would be a different task from two independently decoded phase-shifted targets.

□\square

Possible revision

Set the sine task’s output dimension to 2,2, while retaining 11 for the scalar tasks. Error then has shape B×2B\times2 and feedback matrix 2×N.2\times N. This checks the local dimensions, not successful end-to-end training.

Problem 6. A trainable output bias is omitted from the teacher-forcing target

Minor
Evidence and reasoning

Problem statement

The configuration requests a frozen output bias, but b_out is created as a trainable parameter and omitted from the flag-setting loop. Decoding adds that bias, while the teacher state still uses W+y∗.W^+y^*.

Proof

Under a linear effective readout y=Wr+b,y=Wr+b, choose scalar W=1,b=1/2,y∗=1W=1,b=1/2,y^*=1 and full forcing.

The released teacher target is r=1,r=1, decoding to 3/2;3/2; the correct state for that affine readout is r=1/2,r=1/2, decoding to 1.1. The error-forcing branch uses the actual output residual and retains the correct bias dependence. Zero-initialized bias is a countercontrol, but its requested training flag is not applied and the optimizer receives it. A ridge of 10−710^{-7} in the inverse cannot explain the order-one mismatch.

□\square

Possible revision

Honor the frozen zero-bias flag, or subtract the output bias in the teacher target and use the same effective linear readout and scaling as decoding.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

The error forcing mechanism involves an optimization process in terms of both network activity states and network parameters; in fact, the error driving mechanism can be viewed as a form of second order optimization derived from Bayesian principles [7171] (Appendix B).

NeurIPS 2025 official proceedings PDF (retained local copy); PDF p. 17

Actual review scope

The recorded inspection concerns these source locations: Appendix B.4, Eqs.(57)–(64), PDF p.21; Section 2.3, PDF pp.4–5; Appendix B.3, Eqs.(51),(55)–(56), p.20; RNN_cells.py, lines 85–109; train.py, line 159; Appendix A.1, after Eq.(35), PDF p.17; Eq.(36), p.18; Section 3.1, PDF p.6; Appendix D, p.23; train.py, lines 134–135,267–270; Section 3.1, PDF pp.6–7; Appendix D, p.23; train_single.py, line 60; tasks/all.py, lines 146–152; RNN_cells.py, lines 89–107; Eq.(2), PDF p.2; train_single.py, line 75; RNN_cells.py, lines 41,46–47,89,104; train.py, line 107.

Submit an author revisionContribute a review