Modeling Neural Activity with Conditionally Linear Dynamical Systems
ELVIA analysis
Independent review pending
The first reported finding concerns “Static residuals do not fit the returned conditional model”. The returned emission block is not an exact conditional noise maximizer. The code’s explicit TODO already acknowledges static dynamics statistics; no priority claim or universal full-iteration failure is made.
Problem 1. Static residuals do not fit the returned conditional model
MinorEvidence and reasoning
Problem statement
The code estimates noise covariance from a static coefficient, then returns different condition-dependent GP coefficients. In the active emission-GP branch its static coefficient is discarded.
Proof
Use two scalar times, independent standard-normal states, conditions basis current emission coefficient noise observations Exact Gaussian conditioning gives both posterior means variance and The covariance-aware update is Static cross-statistics cancel, so the code returns variance The actual returned coefficient’s expected residual is
For fixed coefficient, objective has derivative nonzero at the returned and unique minimizer These are realizable E-step moments, not arbitrary statistics.
Possible revision
Compute each new covariance from the expected residual of the actually selected conditional coefficients, including posterior variance/cross-covariance. With positive definite residual sum minimizing gives Coupled coefficient updates still need a coherent common-objective schedule.
The current repository explicitly flags static dynamics covariance statistics as a TODO. No completed author correction is established for the broader returned-model residual mismatch.
Problem 2. The GP bias/mean normal equation omits noise covariance
MinorEvidence and reasoning
Problem statement
With a unit Gaussian weight prior and general noise covariance, the correct normal equation is The helper instead solves
Proof
Use scalar dynamics one constant bias basis, current bias zero, initial variance dynamics variance observation variance emissions observations Exact posterior means are and variances Holding dynamics fixed gives bias statistics The helper returns the covariance-aware update is Its expected objective has derivative equal to at and zero uniquely at No whitening or changed prior is supplied in that call.
Possible revision
Solve using the relevant dynamics or initial covariance. For the Kronecker-sum eigenvalues are positive, proving a unique conditional minimizer. Preserve actual residuals and coupled-block ordering.
A proposed correction is described; author adoption is not established.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
In example applications, we apply CLDS to model thalamic neurons that nonlinearly encode heading direction and to model motor cortical neurons during a cued reaching task.
arXiv:2502.18347v2 (latest author version confirmed from current official metadata); Abstract, PDF p. 1
Actual review scope
The recorded inspection concerns these source locations: models.py, m_step, lines 657–735; paper Eq.(6); models.py, fit_gplinear_regression, lines 663–670; bias/initial-mean calls, lines 690 and 715; Eq.(6).