potentialpaper

Discovering Mechanistic Models of Neural Activity: System Identification in an in Silico Zebrafish

Jan-Matthis Lueckmann, Viren Jain, Michal Januszewski

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Structural constraints enable LLM-based discovery of mechanistic neural models within an in silico testbed.

Abstract. Constructing mechanistic models of neural circuits is a fundamental goal of neuroscience, yet verifying such models is limited by the lack of ground truth. To rigorously test model discovery, we establish an in silico testbed using neuromechanical simulations of a larval zebrafish as a transparent ground truth. We find that LLM-based tree search autonomously discovers predictive models that significantly outperform established forecasting baselines. However, in-distribution accuracy is a poor proxy for faithful system identification, as models exploit statistical shortcuts. Structural priors prove essential for enabling robust out-of-distribution generalization and recovery of interpretable mechanistic models. Our insights provide guidance for modeling real-world neural recordings and offer a broader template for AI-driven scientific discovery.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper is a bit of a conundrum. The idea is to develop and in-silico test-bed for models of whole-brain data, with a focus on zebrafish larvae. The choice and details make sense in that there is a lot of known information about zebrafish larva behavior and neural activity. The authors use this to their advantage in terms of making the simulated organism "true to life". The authors then propose an AI-driven approach to testing and refining models, coming to a number of conclusions on the necessity of visual information, utility of connectome information, etc.

The details are well laid out, however there seems to be a bit of a disconnect at the philosophical level that one reviewer latched onto. There is a bit of uncertainty in the reading of the work as to what information an experimenter can be expected to have vs. what internal variables are assumed in the simulation. This could make it pretty difficult to understand the sensitivity of the results to an actual experimental paradigm where some neurons might not be tagged, some activity might not be bright enough to see etc. This and the other points raised by the reviewers should be taken seriously as real-world system ID in neuroscience has a lot of caveats that are not discussed in the manuscript. Moreover, there should be better clarity on the metrics used and the connection to scientific questions that are often asked in real-world experiments (i.e., prediction error is rarely an object of interest but rather a validation that the model captures something about the data and can be explored further).

Final justification

The main concerns of the reviewers were centered around the practical utility and potential challenges from the ambiguity of known and assumed modeling assumptions in the model (especially for a model of this size and complexity). The reviewers appreciated the engagement of the authors and the clarifications on this and the other main concerns. After the discussion period, the reviewers are in unanimous agreement that the work is a positive contribution to the field and at the level of presentation at NeurIPS.

Area Chair 9WQH · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper is a bit of a conundrum. The idea is to develop and in-silico test-bed for models of whole-brain data, with a focus on zebrafish larvae. The choice and details make sense in that there is a lot of known information about zebrafish larva behavior and neural activity. The authors use this to their advantage in terms of making the simulated organism "true to life". The authors then propose an AI-driven approach to testing and refining models, coming to a number of conclusions on the necessity of visual information, utility of connectome information, etc.

The details are well laid out, however there seems to be a bit of a disconnect at the philosophical level that one reviewer latched onto. There is a bit of uncertainty in the reading of the work as to what information an experimenter can be expected to have vs. what internal variables are assumed in the simulation. This could make it pretty difficult to understand the sensitivity of the results to an actual experimental paradigm where some neurons might not be tagged, some activity might not be bright enough to see etc. This and the other points raised by the reviewers should be taken seriously as real-world system ID in neuroscience has a lot of caveats that are not discussed in the manuscript. Moreover, there should be better clarity on the metrics used and the connection to scientific questions that are often asked in real-world experiments (i.e., prediction error is rarely an object of interest but rather a validation that the model captures something about the data and can be explored further).

Final justification

The main concerns of the reviewers were centered around the practical utility and potential challenges from the ambiguity of known and assumed modeling assumptions in the model (especially for a model of this size and complexity). The reviewers appreciated the engagement of the authors and the clarifications on this and the other main concerns. After the discussion period, the reviewers are in unanimous agreement that the work is a positive contribution to the field and at the level of presentation at NeurIPS.

1 comment
Authors · CommentOpenReview ↗

Response to Area Chair 9WQH

Dear Area Chair,

Thank you for the constructive meta-review.

We briefly outline our approach to the three issues you raised.

1. Measurable vs. privileged variables

We agree with the need to clarify what information an experimenter can be expected to have versus what privileged internal variables are assumed, and will do this in the revision. Of all variables our identification task uses, only one is not measurable in a real experiment: the sensory covariate. The rest is measurable: the predicted populations by cellular-resolution calcium imaging, the bout state by high-speed tail tracking. Withheld from the search entirely are all weights, signs, nonlinearities and time constants. This idealization cannot help our negative result, and while it could inflate the absolute performance of the structure-constrained search, it cannot explain the difference between the ts and sts searches, since the covariate is identical across both.

2. Real-world caveats

You correctly point out the need to understand and discuss real-world caveats. In our limitations section, we mention extending the benchmark towards partial observability and lower signal-to-noise ratios as areas for future work. To directly address this, we are currently running structure-constrained tree searches with observation noise on the activity data (including autocorrelated noise scaled to the per-unit standard deviation at different levels). Given the high computational cost of these experiments (see our answer to reviewer 25qq), these tree searches are still in progress. We will report the full sweep in a dedicated appendix, and scope our recovery claims with respect to noise.

Since the units in our model correspond to populations, experimentally dim or missing cells would degrade population traces -- which is part of what our new observation noise experiments are designed to capture. Removing a unit of our model outright would be equivalent to ablating an entire cell type. Our ablation of gth\texttt{gt}_h is the closest version of an (albeit extreme) partial observability experiment we have: with the sensory drive unobserved, identifiability, not accuracy, is lost.

Real experiments introduce caveats our current setup abstracts away. Beyond partial observability of neurons (cells that are untagged or too dim to detect), there are caveats on the signal side as well: indicator kernels, segmentation errors, and neuropil mixing all degrade the relationship between measured fluorescence and underlying activity. The revision will discuss both explicitly, along with which of them our noise experiments do and do not capture.

We note that App. E.4 already reports robustness to degraded structural information -- the structural prior is corrupted rather than the observations, so it addresses a different axis than the experiments above, but it is evidence that recovery does not depend on the prior being exactly right.

3. Metrics and scientific questions

We strongly agree with your assessment that prediction error is rarely an object of interest, but rather an indicator that a model captures something about the data and can be explored further. Demonstrating this specific point is central to our paper: We use prediction error only as a proxy for the AI search to minimize, relying on our mechanistic metrics (the Jacobian and impulse responses) to test system identification -- and we show that models can achieve low in-distribution prediction error while failing to recover the underlying circuit mechanisms. Our revision will clearly distinguish the proxy metric minimized by the search from the mechanistic metrics we use to evaluate system identification. An advantage of measuring prediction error is that it can easily be computed on real data.

Both our recovery metrics match questions asked of real circuits: the Jacobian scores effective connectivity -- e.g., whether one population drives another, with what sign and strength -- and we use impulse responses to assess dynamic mechanisms: how the system relaxes from perturbed states back to rest, and how this dynamic is modulated by behavioral states. While Jacobians and impulse responses can be computed for any (differentiable) predictive model, what is missing is known ground-truth to compare against, which is the gap our testbed fills. Validation of mechanisms on real data should therefore be on experimental predictions, testable e.g. through perturbation studies.

We provided detailed answers to all reviewers' questions in our individual responses to them.

Thank you for your time and for steering the review process.

Reviewer YFqbOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a testbed for verifiable neural system identification. Using the simZFish simulator, it generates roughly seven minutes of neural activity under four binocular motion conditions that probe the visuomotor circuit. The evaluation comprises two parts: forward prediction, which tests both within-distribution interpolation and out-of-distribution extrapolation, and alignment of the underlying dynamical system, assessed via functional connectivity and impulse-response analyses. Empirically, the paper reports that an LLM-guided tree search discovers models that outperform standard time-series forecasting baselines, and that incorporating structural priors is particularly important for obtaining a model that generalizes.

Strengths and weaknesses

Strengths:

  • The paper is well written and easy to follow.
  • The claims are supported by the experiments and are convincing.
  • Another successful application of AI-driven scientific discovery using LLM-guided tree search.

Weakness:

  • Of the listed contributions, points 2 and 4 are not new, and point 3 is unsurprising.
  • The baseline comparisons are limited (see Questions 1–3 below).
Questions
  • How were the hyperparameters for the baseline models selected? Was the search systematic, using compute (machine-hours) comparable to that consumed by the tree search?
  • It would strengthen the comparison to include classic, more interpretable methods — e.g., a linear-nonlinear cascade — endowed with the same structural priors about the neuronal hierarchy that were supplied to the LLM-guided search.
  • An established class of methods for inferring neural activity is absent from the comparison — e.g., LFADS.
  • When estimating effective connectivity, what motivates clamping activity at artificial values rather than at recorded/ realistic ones?
  • Similarly, for the impulse-response analysis, what motivates the particular choice of initial conditions?
Limitations

I am not yet convinced that the baseline comparison is sufficiently comprehensive.

Final justification

The authors addressed some of my concerns: I agree that the comparison to the baseline methods they considered is fair, and that's great, but I still think the paper lacks comparisons to more standard approaches in computational neuroscience analysis (LFADS, linear-nonlinear cascade models, etc.). Also, I remain underwhelmed by the contributions the authors listed, and the authors acknowledged the weaknesses I raised.

Formatting concerns

None.

2 comments
Authors · CommentOpenReview ↗

Response to Reviewer YFqb (1/2)

We thank the reviewer for the thoughtful review. We are highly encouraged that they found the paper well-written, and the experiments and claims convincing. We address the feedback regarding the baselines and the specific nuances of our contributions below.

1. Baseline hyperparameters (Q1)

Yes, the hyperparameter search for the baselines was systematic and substantial. Our grid search for the human-curated baselines consumed roughly 900 GPU-hours, predominantly on V100s. For nlinear, tide, and tsmixer, we swept context window sizes and learning rates, keeping other hyperparameters as defined in ZAPBench. For DeepAR, we swept a broader grid that included layer counts, hidden units, learning rates, and an optional LFADS-style bottleneck of varying size.

While a single tree search consumed more raw GPU hours (roughly 2,700-3,200 T4-hours, as detailed in our response to Reviewer 25qq), the LLM-guided search is solving a fundamentally harder joint problem: open-ended neural architecture search (via code generation) and hyperparameter optimization. Our 900 GPU-hour budget (mostly ran on more capable GPUs, V100s instead of T4s) dedicated strictly to hyperparameter tuning over fixed, human-curated architectures ensures the baselines were thoroughly optimized. Also note that the axes in Fig. 3–5 are logarithmic, i.e., the differences between methods are substantial.

2. Linear-nonlinear cascade with the same priors (Q2)

We agree with the reviewer's intent: separating the contribution of the structural prior from that of the search is the right control. That control is the ts/sts comparison we report: the two searches are identical in every respect except the prior text (App. E.3), so the difference between them isolates the effect of the prior on mechanistic recovery.

On the LN cascade specifically, one practical difficulty is worth stating. Our prior is spatiotemporal: it specifies not only which units interact but whether a dependence is instantaneous or lagged (see App. E.3). There is no canonical LN cascade that accepts this, so building one means choosing a temporal filter and an update rule -- and we would be making those choices knowing the ground truth. We think the outcome would say more about our design choices than about the prior.

For predictive comparison we report human-curated architectures tuned over roughly 900 GPU-hours (Q1); for the prior-versus-search question we report the ts/sts ablation. A hand-specified grey-box model sits between the two and would be a reasonable addition, and we will note it as such in the revision.

3. LFADS (Q3)

We appreciate the question. LFADS as published targets spike trains with a Poisson observation model; adapting it here means changing the observation model which is feasible but yields something that is no longer LFADS. What we did instead was to capture the component of that methodological family we judged most relevant -- low-dimensional sequential latent dynamics -- by evaluating a DeepAR variant with an LFADS-inspired bottleneck across several bottleneck sizes (App. D.5).

As briefly noted in App. D.5, this bottleneck did not improve performance over the standard DeepAR architecture, so we reported the unbottlenecked version in the main results. We should be precise that this is not equivalent to LFADS: it has no variational sequential prior and no inferred controller inputs. The revision will name LFADS in the main text, state this correspondence and its limits, and report the bottlenecked variant's numbers rather than only noting that it did not help.

Authors · CommentOpenReview ↗

Response to Reviewer YFqb (2/2) -- continued from above

4. Clamping at artificial values (Q4)

Our motivation for using an artificial sweep of uniform probe states, rather than empirical recordings, is twofold.

Probing the full dynamic range. The system relies on saturating non-linearities (e.g., sigmoids). A Jacobian evaluated over empirical states is unreliable because it heavily biases the estimate toward wherever the system happens to spend the most time, potentially masking gradients in other regimes. By sweeping across K=11K=11 homogeneous probe states with regular spacing from 0.0 to 1.0, we force the evaluation to characterize the interaction structure across the entire continuous dynamic range.

Decoupling from the dataset. Evaluating over recorded states would weight the effective connectivity estimate toward the specific stimulus conditions and state distributions that dominate the training or test sets. By clamping at a fixed, neutral grid of canonical operating points, we ensure that differences in LJac\mathcal{L}_{\text{Jac}} reflect true differences in the recovered mechanistic structure, unconfounded by empirical dataset biases. We will add a condensed version of this rationale to the revision.

5. Impulse-response initial conditions (Q5)

The underlying logic of using dataset-neutral states applies here as well.

As detailed in App. C.2, we actually evaluate the impulse response across N+1=37N+1=37 distinct initial conditions and average the error over all of them. These comprise the 36 standard basis vectors (single-neuron activations, a0=ei\mathbf{a}_0 = \mathbf{e}_i) plus the fully saturated state (a0=1\mathbf{a}_0 = \mathbf{1}). Probing with single-unit impulses is the standard approach for characterizing a multi-channel system. Because our model is non-linear and superposition does not hold, evaluating all combinatorial permutations of active neurons is computationally intractable; instead, we include the fully saturated state to capture system-wide thresholding behaviors that isolated impulses might miss. (Figure S2 plots only this saturated case purely for visual legibility).

Regarding the covariates, we chose two specific settings: rest and swim, with the sensory drive explicitly zeroed. This was done to deliberately isolate the network's internal state-dependent dynamics—such as the ePT update rate, which switches with the bout state—from external sensory forcing. Testing whether a model can recover these isolated internal dynamics is the core purpose of the LIR\mathcal{L}_{\text{IR}} metric.

6. On novelty and the value of in silico quantification (W1)

We appreciate the opportunity to clarify the contributions. While the reviewer is correct that the high-level principles that our contributions rest on are established, the primary contribution of our in silico testbed is the ability to quantify and verify them against a known ground truth -- which is impossible on real recordings.

Contribution 2 (Sensory drive is a prerequisite for identifiability): We agree this is a classical principle of system identification. What is new is the consequence we can measure with ground truth: the true transition function, given only autoregressive history, scores worse than the mean baseline (Fig. 3). The correct mechanism is not merely harder to find, it is ranked below a trivial model by the standard metric. This challenges the setup of benchmarks like ZAPBench that treat neural activity as a self-contained time series to a degree which the theoretical principle alone does not capture.

Contribution 3 (In-distribution accuracy is a poor proxy for system identification): We agree this is qualitatively unsurprising; the magnitude is not. Our best in-distribution model, ts422\mathtt{ts}_{422}, is more than 500-fold worse than sts445\mathtt{sts}_{445} on the holdout condition. Providing concrete measurements for these theoretical blind spots is a key utility of the testbed, particularly as test error remains a standard metric for ranking models.

Contribution 4 (Structural priors enable mechanistic recovery): This result is in line with previous work on connectome-constrained modeling which we cite. A key element is that recovery is verified with principled metrics rather than assumed: we compare against the true Jacobian and true impulse responses, obtaining a 32-fold reduction in LJac\mathcal{L}_{\text{Jac}} relative to the unconstrained search. On real data, this definitive comparison cannot be made.

Reviewer RC5COpenReview ↗
Rating
5/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

In this paper, the authors introduce an in-silico, neuromechanical model of the zebrafish using the simZFish platform and propose it as a model organism for studying neural system identification under known ground truth. Because the simulator's dynamics, wiring, and internal states are fully observable and differentiable (as well as validated to real-world zebrafish under prior work), it avoids the verification gap that limits real neural recordings, where models can only be ranked relative to one another rather than checked against the true mechanism. On this testbed, the authors define a forecasting-based system identification task over a 36-unit visuomotor circuit and use LLM-guided tree search to evolve code-based transition models, comparing/contrasting an unconstrained black-box search with one constrained by a binary connectivity prior derived from the wiring diagram. Models are assessed on in-distribution and out-of-distribution forecasting error as well as two mechanistic-fidelity metrics, specifically effective connectivity error via Jacobian analysis and impulse response error, computing this against the ground truth. The authors report three main findings. 1. sensory drive is a prerequisite for identifiability, 1. in-distribution accuracy is a poor proxy for mechanistic recovery, and 3. structural priors enable faithful recovery of connectivity and dynamics, albeit with a dependence on the LLM backbone. They conclude the paper with recommendations for connectome-constrained modeling of real neural recordings and increasing the complexity/validity of the zebrafish model.

Strengths and weaknesses

Strengths:

  1. The authors tackle a real and important challenge in neural system identification. Without fully verifiable, interpretable, and realistic models of neural systems, comparisons can only be made against other methods rather than ground truth. This is a significant limitation in the existing approaches and this work addresses it in an elegant way.
  2. The experiments performed demonstrate that LLM-based tree search significantly outperforms the SOTA, however, this outperformance leverages statistical patterns that do not generalize. This is an interesting finding with real consequences and this testbed enables such findings to be discovered. This is a clear demonstration of the utility of the proposed tool for the computational neuroscience community.
  3. The authors will release all data and code after publication, supporting the research community and enabling new methods to be built and tested with higher confidence and validity.
  4. The evaluation methodology, including effective connectivity via Jacobian sensitivity analysis, impulse-response analysis for dynamics, and the LJac/LIR metrics are well-designed and repeatable. These analyses are only possible because of the in silico setup, which is the paper's main methodological payoff in my view.
  5. The authors are honest and upfront about the limitations of this work, particularly the fact that some components of the zebrafish's neurobiological systems are not modeled. This does not reduce the impact of this work but offers opportunities for future work.

Weaknesses:

  1. The LLM-based tree search evaluation utilizes only fairly weak LLMs. Evaluating more frontier LLMs like Anthropic's Opus and OpenAI's latest 5-series models would improve the robustness of the evaluation and claims made from it.
  2. The out-of-distribution experiments are narrow compared to the others, evaluating only 1 held-out condition. The results would be strengthened by a broader and more comprehensive evaluation.
  3. It's not clear whether this study scales with network size/complexity. The zebrafish provides a 36 unit ground truth but the authors make recommendations at the end of the paper that extrapolate to brain-level scans. From this study, I am not convinced that the results can or should inform studies performed on larger neural circuits comprising thousands or more units.
Questions
  1. How does LLM intelligence/capability affect the outcome of the tree-based search? Do more capable systems with higher reasoning exhibit better generalization?
  2. Why do the author's believe that the results of this study can provide meaningful recommendations on neural system identification in larger-scale circuits?
Limitations

The authors provide a dedicated Limitations section and are quite transparent about the limitations of this study. Some additional thoughts on scaling would improve it, however (see Questions).

Final justification

The authors did not address my main concerns but did partially address one of the concerns. I maintain my original score of Accept but increase significance to excellent. I cannot justify Strong Accept without weaknesses 1 and 2 directly addressed.

Formatting concerns

None

2 comments
Authors · CommentOpenReview ↗

Response to Reviewer RC5C

We thank the reviewer for the detailed and confident assessment. We are glad they found our in silico testbed to be a well-designed, elegant solution that provides real utility to the computational neuroscience community. We address the feedback below.

1. LLM backbone (Q1, W1)

We have a partial answer, currently in App. E.2 and Fig. S4: an identical structure-constrained search run with Gemini 2.5 Flash instead of Gemini 3 Flash failed to discover solutions of comparable quality. Within the comparison we ran, capability matters, and it matters specifically for the property the reviewer asks about -- the weaker backbone did not produce the generalizing, mechanistically faithful solutions that the stronger one did. We think this deserves the main text rather than an appendix figure, because it qualifies our own claim: structural priors are necessary but not sufficient. The prior constrains the hypothesis space, but the search still has to navigate it.

Running tree searches with frontier models would be interesting, in particular to see whether they can identify faithful mechanistic solutions with fewer iterations than Gemini 3 Flash. Due to the high compute costs for running the candidate solutions (detailed in our response to Q1 of Reviewer 25qq), we will scope this as a clearly stated future direction; it is an interesting open question that the testbed makes askable.

2. Scaling (Q2, W3)

We agree that our findings do not extrapolate equally, and will scope the recommendations accordingly.

The identifiability result is an argument about the structure of the task rather than about NN: if a system is sensory-driven and the drive is unobserved, the transition function is not identifiable from history, and nothing about that depends on circuit size. The shortcut result is about search dynamics under an error metric, and if anything grows more severe with scale, since a larger hypothesis space offers more shortcuts.

The recovery result is the one that plausibly is scale-dependent. How much a binary connectivity prior constrains the search depends on how much of the hypothesis space it removes, and that ratio changes with NN. We do not have evidence that a binary wiring diagram remains a sufficient scaffold for circuits comprising thousands of units, let alone a whole larval zebrafish brain (∼105\sim10^5 neurons), and we will say so directly rather than letting the recommendations imply otherwise in the revision.

3. On the breadth of the OOD evaluation (W2)

We agree that evaluating on a single held-out condition is a limitation. A comprehensive leave-one-condition-out protocol would require running a completely independent tree search for each held-out condition.

Given that a single tree search requires roughly 2,700–3,200 T4 GPU-hours (see our response to Reviewer 25qq), we faced a trade-off for this initial study: expanding the breadth of OOD conditions, or running additional ablations like the ones in App. E.4. We deliberately scoped the experiments to the latter. Analyzing population statistics across the top 50 independent solutions of each search indicates our findings reflect a systemic pattern (App. H).

We will explicitly state this in the revision. Importantly, because simZFish natively supports diverse stimulus families, the testbed is fully equipped to support a broader OOD evaluation in the future.

Reviewer RC5C · CommentOpenReview ↗

Response

Thank you for your comment, I appreciate the authors considering each points.

I certainly understand that there are computational considerations/limitations on points (1) and (3). I agree with your response to point (2).

Without addressing the weaknesses directly for (1) and (2), I maintain my original review of Accept but will increase the significance to "excellent."

Reviewer opZMOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces an in-silico testbed for neural system identification, built on simZFish, an existing open-source simulator of the larval zebrafish optomotor circuit. Because the ground-truth circuit is fully known, the authors can test not only whether a discovered model predicts neural activity but whether it recovers the true mechanisms. Candidate models are discovered via LLM-guided tree search over code that minimizes predictive error. The authors report three findings: (1) sensory drive is a prerequisite for identifiability; (2) in-distribution accuracy is decoupled from mechanism recovery; and (3) a structural prior encoding only the presence/absence of connections (no weights) is sufficient to steer the search toward a model that recovers correct connectivity signs and magnitudes.

Strengths and weaknesses

Strengths

  1. Important, timely problem. Distinguishing models that recover neural mechanisms from those that merely predict well is an unresolved issue for the field, made more pressing by large-scale recordings and connectome data.

  2. Promising approach. Held-out prediction tests forecasting, not mechanism recovery, and real data offers no reference to verify against. A fully known, experimentally-constrained simulator is a principled way to close this verification gap, and enables interventions impossible in a real animal.

  3. Results of interest. The core messages are relevant for the field: predictive accuracy can be decoupled from mechanistic fidelity, sensory drive is required for identifiability, and a weight-free connectivity prior suffices to recover signs and magnitudes.

Weaknesses

My main concern is accessibility. The core science may well be sound, but in its current form the paper is extremely hard to follow for a neuro-AI scientist who is not already working deep in this subarea, and several central choices are asserted rather than motivated. The contributions may be valid, but they are obscured to the point that the paper does not meet the bar for the venue, and I cannot recommend acceptance without a substantial rewrite.

  1. The contribution boundary relative to simZFish is not drawn. As far as I understand, the entire circuit, meaning all equations in Sec 2.1 and every matrix in App B, is from Liu et al., and the authors port the implementation to JAX. This is acknowledged in one line, but a reader working through Eqs 2–4 could mistake the model for new work. The paper should clarify the extent to which the circuit is adopted unchanged, and state plainly what the contributions are (the testbed, the experiments, and the findings).

  2. The distinction between measurable and privileged variables is not made clear enough, and it is central to the paper's value. The testbed is only informative if the variables fed into model identification are ones that could plausibly be observed in a real experiment. If the inputs include ground-truth quantities internal to the simulated circuit, it is unclear what the exercise demonstrates about real-world system identification, where those quantities are precisely what is unavailable. For example, the key conditioning covariate, Φ(u_ret), is the processed retinal drive; I believe this is an internal signal of the ground-truth circuit, not something measurable without already knowing the circuit. The paper should state explicitly which signals are experimentally measurable and which are simulator internals, and should justify the approach on the basis of the measurable ones; without this, a reader cannot assess how useful the method would be on real recordings.

  3. The goal and success criteria are never defined precisely. It is unclear what the model must fit (activity alone, or activity and mechanism), how mechanism recovery is scored, and how the two relate. Central terms, e.g. identifiability, mechanistic recovery, system identification, statistical shortcuts, structural priors, effective connectivity, are used before they are defined for a general reader. Each should be defined once, plainly, and the success measures stated.

  4. The motivation for the testbed is a bit muddled. The introduction leans on the cost and incompleteness of real experiments, which invites the objection that held-out data already tests models. The stronger argument, namely that held-out prediction does not test mechanism recovery, and that only a known ground truth can, is present but not made central. The paper should separate prediction from mechanism recovery and motivate the testbed on the latter.

  5. Performance is not reported in interpretable terms. MAE is shown on a log axis with no reference points. Because this is a simulation, the floor and ceiling are known, but neither is used to orient the reader, so a value such as 1e-3 carries little meaning. Results should be reported relative to these anchors, and the figures made legible.

  6. The embodiment is not motivated. If the focus is neural dynamics, the need for the full closed-loop body (fluid dynamics, motor CPGs) is not argued. A justification may exist but it is never explicitly stated; for example, supplying bout state as an exogenous input might be enough. The paper should justify the embodiment or show that it is necessary.

  7. Noise and partial observability are largely set aside. The only stochastic source is the bout trigger, which is then conditioned out, and all variables are observed. For a paper aimed at guiding real recordings, the brief deferral to future work is insufficient. Some treatment of degraded observability or lower signal-to-noise would strengthen the connection to real data.

  8. There is no related work in the main text. A related-work paragraph belongs in the body, not only the appendix, so readers can place the contribution without turning to the back matter.

Questions
  1. Which of the variables used for model identification correspond to quantities that could be measured in a real experiment without access to the ground-truth circuit, and which are simulator internals?

  2. What exactly must the discovered model fit: neural activity alone, or activity and mechanism?

  3. Given that the floor and ceiling are known in simulation, where do the reported MAE values sit relative to those anchors?

  4. How much of the circuit model is adopted unchanged from Liu et al. versus modified or newly developed? A one-paragraph delineation would resolve this.

  5. Is the full embodied simulator necessary for the neural-dynamics results, or would supplying bout state as an exogenous covariate reproduce the state-dependent mechanisms you test (e.g. swim vs rest)?

  6. How sensitive are the conclusions to the fully-observed, near-noiseless regime? Is there any evidence they hold under partial observability or realistic noise?

Limitations

See above comments

Final justification

The authors addressed many of my concerns during the rebuttal period, and I therefore raised my score from 2 to 4. I have one main concern related to point 1.

Formatting concerns

None

4 comments
Authors · CommentOpenReview ↗

Response to Reviewer opZM (1/2)

We thank the reviewer for a detailed and constructive review. We are glad they consider the problem we picked important and timely, our approach promising, and the core messages relevant for the field. We respond to all points raised in the review, beginning with the three that also appear in the initial metareview.

1. Measurable vs. privileged variables (Q1, W2, AC)

We agree with the reviewer regarding the sensory covariate; we should have been explicit that it is a simulator internal. Our sensory covariate is Φ(utret)=σ(ωept⊙(Wretutret−bept))\Phi(\mathbf{u}^{\text{ret}}_t) = \sigma(\boldsymbol{\omega}_{\text{ept}} \odot (\mathbf{W}_{\text{ret}}\mathbf{u}^{\text{ret}}_t - \mathbf{b}_{\text{ept}})), the drive term of the ePT update in Eq. 2. Computing it requires ground-truth circuit parameters (ωept\boldsymbol{\omega}_{\text{ept}}, Wret,bept)\mathbf{W}_{\text{ret}}, \mathbf{b}_{\text{ept}}). The revision will clarify this.

Crucially, everything else the search receives is measurable: the populations we predict (ePT, lPT, nMLF/aHB) via calcium imaging (subject to recording caveats), and the bout state via high-speed tail tracking. Both have been recorded in live zebrafish, and were used to build simZFish in the first place. The search prior utilizes connectome-level information, which will be available for larval zebrafish in the future.

The sensory covariate stands in for the sensory drive arriving at the first population we model. That is the signal our Recommendation #1 asks real benchmarks to condition on: upstream sensory neurons picked out by connectome, atlases, or genetic markers -- which for the OMR would be retinal ganglion cells or their downstream partners. An experimenter can measure that signal but not compute our idealized version of it.

Note that this idealization cannot help the negative result, i.e., the unconstrained tree search fails to recover mechanistic solutions under a covariate better than any experiment could provide. In principle, it could help the absolute performance of the structure-constrained search, and we will state this in the revision. It cannot, however, explain the difference between the ts and sts searches, since the covariate is identical across both.

2. Noise, partial observability, real-world caveats (Q6, W7, AC)

We agree running experiments with lower signal-to-noise ratios (SNRs) is a valuable next step. We are running structure-constrained searches with autocorrelated, per-unit-scaled observation noise across a range of levels, in order to characterize how recovery depends on SNR. These searches are still running; see our reply to 25qq on per-search cost. We will report the results in a dedicated appendix, including levels at which recovery fails, and scope our claims accordingly.

On partial observability, our units are populations rather than single neurons, so dim or missing cells degrade a population trace rather than remove it -- which is what our new experiments will capture. Removing a unit outright would be equivalent to ablating an entire cell type; gth\texttt{gt}_h is our extreme version of that, where what is lost is identifiability rather than accuracy (Fig. 3).

Two additional clarifications for the revision. App. E.4 corrupts the structural prior, not the observations, and the current text risks conflating the two. Our noise model adds noise to clean traces rather than simulating an imaging forward model -- we will discuss real-world caveats that can affect SNR (such as indicator kernels, segmentation errors, neuropil mixing and partial observation within a population) explicitly in the revision.

3. Goal, success criteria, metrics (Q2, W3, AC)

Regarding what the model has to fit: both activity and mechanism, but only one of the two is optimized for. Prediction error is the proxy the search minimizes, and it is not what we care about scientifically. The mechanisms are, and we score mechanistic recovery afterwards by comparing against the analytic ground truth: effective connectivity through the Jacobian (LJac\mathcal{L}_{\text{Jac}}), and dynamics through impulse responses (LIR\mathcal{L}_{\text{IR}}). We call a model mechanistically faithful when it generalizes OOD and recovers both. Sec. 2.2 will state this in one place. A central finding is that a model can win on the proxy and not be mechanistically faithful.

We will follow your suggestion and define the terms where they first appear. By structural prior we mean wiring-level information only: the group hierarchy, whether a dependence is instantaneous or lagged, and the binary ePT→lPT mask (App. E.3) -- with no weights, signs, nonlinearities or time constants, all of which had to be discovered.

Authors · CommentOpenReview ↗

Response to Reviewer opZM (2/2) -- continued from above

4. Interpretable anchors (Q3, W5)

The best possible performance is gts+h\mathtt{gt}_{s+h}, the ground truth model, at MAE ≈\approx 2×10−82 \times 10^{-8}. A trivial baseline is to repeat the last value across the prediction horizon, which yields MAE ≈\approx 0.06. We currently call that baseline mean\mathtt{mean}, which we plan to rename to persistence to better reflect what it computes. We will include the anchors in the revision.

5. Contribution boundary relative to simZFish (Q4, W1)

The reviewer's understanding is correct; we adopt the circuit model unchanged. Equations 2 to 4 are simply restating the model in our own notation, which is mathematically equivalent but more compact than the original, so that readers get an overview of the relevant core parts of the model and we refer to the original publication for all further details. No reader should mistake these equations for new modeling, and we will ensure this in the revision with a delineation paragraph in this section.

Our contributions include: (a) a differentiable JAX port of simZFish, which is what makes LJac\mathcal{L}_{\text{Jac}} computable, since it requires gradients of the ground-truth system; (b) the system-identification testbed, including data, splits, evals including the metrics LJac\mathcal{L}_{\text{Jac}} and LIR\mathcal{L}_{\text{IR}}; (c) the LLM-guided discovery experiments and baselines; (d) associated the findings and recommendations.

6. Motivating the testbed in the introduction (W4)

We agree, and the fix is largely one of ordering. The argument the reviewer prefers is already in the paper -- that without a known data-generating process models can only be ranked against each other -- but it arrives at the end of a paragraph about cost, throughput and preprocessing artifacts, which invites the objection raised. We will lead with the verification gap and demote the practical limitations of real recordings to a subordinate clause. Our own result is the cleanest illustration: ts422\mathtt{ts}_{422} wins on held-out test data and recovers the wrong circuit, which is not something held-out test predictions can detect.

7. Why the embodiment is necessary (Q5, W6)

Short answer: not for the model, but for the data.

For inference the reviewer is right. The discovered models never see the body. Bout state enters as an exogenous covariate, exactly as an experimenter treats measured behaviour, and the closed-loop simulator is not in any model's forward pass.

For data generation, the body is what makes the sensory input a consequence of the behaviour rather than an independent signal: what reaches the retina depends on how the fish actually moved, so bout state and sensory drive are coupled through the animal itself. Without a body we would have to prescribe that coupling by hand.

This matters because our central results are associated with exactly that coupling. ts422\mathtt{ts}_{422} reaches 5×10−55\times10^{-5} Test MAE by substituting recurrent lPT dynamics for sensory processing (Fig. 6b) -- a substitution available only because the two are correlated. Here that correlation comes from the sensorimotor loop; in an open-loop generator it would be a design choice of ours, and any shortcut we found would be a property of that choice rather than something real analyses face. The same holds for the state-dependent ePT update rate of the impulse response analysis: it exists to suppress self-generated visual motion, so it has a function only in closed loop.

We do not claim every component is necessary for these particular results. The fluid dynamics and spinal CPGs matter because they are what make the simulated behavior match real zebrafish, which is what licenses treating the simulator as a testbed at all. We will state this division explicitly in Sec. 2.1.

8. Related work (W8)

We agree, and we will move the related work section into the main text using the extra page allowed for the camera-ready version.

We thank the reviewer for their detailed critique. The changes described above are additions, definitions and reorderings, and all of them fit within the camera-ready page allowance. If concerns remain after these clarifications, we would be grateful to know which are still blocking, so we can address them within the discussion period.

Reviewer opZM · CommentOpenReview ↗

I thank the authors for their detailed engagement with my review.

The responses to points 2 (tests across noise levels), 3 (success criteria), 4 (interpretable anchors), 5 (contribution relative to SimZFish), 6 (introduction), 7 (embodiment), and 8 (related work) address my concerns. I would ask that the corresponding changes be reflected in the manuscript: the new noise results added, the success criteria clarified in the text, the anchors indicated in the figures and/or legends, and the delta relative to SimZFish stated explicitly in the methods. Together these clarifications will make the paper substantially stronger, and I am raising my score to 4 on the basis of the rebuttal.

My remaining concern is point 1, the distinction between measurable and privileged variables. I agree the method is timely and the results are interesting, and making explicit which variables are privileged versus measured will already improve the interpretation of the work. But I am still not convinced there is a clear path to testing the method in a real-world setting.

Concretely: what would an experimenter need to measure in order to replace the privileged variable? The authors point to retinal ganglion cell responses or downstream neurons. Can they estimate the requirements — roughly how many neurons, recorded under what stimulus conditions, at what signal-to-noise? Is this achievable with current recording methods? This matters a great deal for judging the applicability of the method. If the authors are uncertain, or believe that sufficient recordings are not feasible at present, saying so explicitly would itself be valuable and would not weaken the paper.

A simulation would be one way to answer this: simulate RGC responses to stimuli and test how the method degrades as a function of the number of neurons, the noise level, and the stimulus set. Such an analysis would give a concrete recipe for when the privileged variable can be swapped for real measurements, and would let others adapt the method to their own data. I would find this considerably more convincing than a qualitative statement of feasibility.

Authors · CommentOpenReview ↗

We thank the reviewer for raising their score, and confirm that all the listed changes will be incorporated into the revised manuscript.

On the remaining point, we will follow the reviewer’s suggestion and state our uncertainty explicitly. We cannot at present state what would be required -- how many upstream neurons, under which stimulus conditions, and at what signal-to-noise level -- to replace the privileged covariate with a measured signal. We will be upfront about this in the revision.

What we can give concrete guidance on is which measurement would take its place. Applying the method to real data, e.g., on the ZAPBench dataset, together with the connectome of the same specimen that is slated for public release, one would use the connectome to identify the sensory population to condition on. That specimen has no retinal recordings, so one would instead trace where the retinal afferents terminate and condition on the activity of those immediate downstream partners. These neurons receive the sensory drive and encode the stimulus, making them the closest measurable analog to our privileged covariate. For models of wider scope, the same applies to other modalities: sensory populations should enter as conditioning information rather than as prediction targets, per our Recommendation #1.

We agree the simulation experiments the reviewer describes would be valuable, and the testbed is built to support them. We will name them among the immediate next steps, alongside other extensions we deprioritized given the compute cost of a single tree search (see our reply to Reviewer 25qq).

We thank the reviewer for their engagement, which has improved the paper.

Reviewer 25qqOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces an in silico testbed for AI-driven model discovery, using a differentiable larval zebrafish simulation to generate datasets with known anatomical ground truth. The framework employs an LLM-guided tree search to discover predictive models. The authors demonstrate that while standard LLM-based search outperforms time-series baselines on in-distribution data, it generalizes poorly out-of-distribution. However, incorporating anatomical connectivity as a structural prior significantly improves OOD generalization. Additionally, the study establishes that sensory drive is essential for mechanistic identifiability. Finally, the authors provide actionable recommendations for future research, advocating for the inclusion of sensory drive, OOD tasks, and grey-box modeling with structural priors in benchmark construction.

Strengths and weaknesses

Strengths:

This work is clearly written and timely in its application of AI-driven discovery to neuroscience. The study is rigorously designed, featuring careful curation of data splits and nicely leveraging a differentiable in silico testbed to establish ground truth. Beyond achieving strong predictive performance, the paper emphasizes scientific interpretability and utility, supported by a logical flow of evaluations and ablation studies. Its actionable recommendations for benchmark construction and grey-box modeling, combined with its potential to co-evolve with advancements in recording technologies (whole-brain recordings, synapse-resolution connectomes), make this a valuable framework for the computational neuroscience community.

Weaknesses:

While I do find the current demonstrations in Appendix E.4 sufficient for this venue, further stress testing the framework against less accurate or even misleading prior knowledge, partial observability, and higher noise levels—common in in vivo settings—would strengthen its real-world applicability. Additionally, the paper would benefit from greater transparency regarding the computational, monetary, and/or token costs of the proposed approach and baselines to better facilitate cost-benefit assessments. Finally, there are some minor areas where clarity could be improved. See Questions below.

Questions
  • I imagine that most readers will ask: Does this approach fit within my resource budget? It would be beneficial to provide a more comprehensive analysis of the computational and economic costs of the approach. Specifically, tracking computational metrics (e.g., total FLOPs, GPU-hours) across both human-curated and AI-discovered approaches, alongside an assessment of monetary costs (e.g., total tokens consumed across the entire search tree and the total cost at current token rates), would facilitate better cost-benefit evaluations. Including comparisons between different models, such as Gemini Flash 3 vs. Gemini Flash 2.5, to establish a Pareto front for these AI-driven discovery settings would serve as a valuable benchmark for future work.
  • Could the authors further annotate and interpret the solutions in Appendix F? What are the key differences across solutions, and what are the key modeling choices that led to improved performance, interpretability, or both?
  • The supplement is clear, but the main text could clarify more explicitly which data folds are accessible by which parts of the meta-optimization pipeline (train for model fitting; validation for model structure and code changes; test and hold-out are never seen by the AI tree search).
  • Could the authors clarify what context is provided to the LLM at each tree search step? Is the context limited to what’s shown in the appendix? More specifically, does the prompt include only the initial and current candidate programs (along with instructions), or does it incorporate broader context from other nodes of the search tree, such as the validation performance of other nodes, "good"/"bad" program examples, or prior reasoning traces?
  • Could the authors clarify the purpose of SCHEDULED_SAMPLING_*_PROB in Appendix E.3? The prompt mentions “teacher forcing”, but the meaning is not immediately obvious for this work.
Limitations

yes

Final justification

The initial submission was already a strong technical contribution, and the expanded discussion of cost and compute, along with the additional clarifications throughout, will further strengthen the paper. I continue to recommend acceptance.

Formatting concerns

N/A

2 comments
Authors · CommentOpenReview ↗

Response to Reviewer 25qq

We thank the reviewer for the careful reading and the constructive suggestions. We are glad they highlighted the rigorous design and the value of our actionable recommendations. We address the questions below.

1. Cost and compute (Q1)

We agree this belongs in the paper, and will add a more comprehensive analysis to the appendix. LLM inference is more than two orders of magnitude below the cost of training the candidates that are proposed.

LLM costs. As a rough estimate, each tree search consumed less than 5M input/1M output tokens (total over 500 solutions). At current Gemini 3 Flash rates (0.50 USD/M input, 3.00 USD/M output tokens) this is ≈ 5.50 USD per tree search. We estimate tokens as 4 characters ≈ 1 token and will report the exact input/output character counts per tree search in the revision.

Tree-search compute cost. Each tree search was stopped after 500 solutions, with each candidate allocated a Nvidia T4 and a 12-hour limit. The 12-hour limit was rarely reached; median training time was 6h (unconstrained) and 5h (constrained), with ≈ 3,200 and ≈ 2,700 T4-hours total per search. At current T4 pricing (~0.35 USD/GPU-hour) that is ≈ 1,120 USD and ≈ 950 USD. We did not log GPU utilization and so cannot reconstruct total FLOPs; we will report total GPU-hours instead.

Compute for baseline hyperparameter search. The total runtime of our hyperparameter grid searches for human-curated baselines was about 900 GPU-hours. Runs predominantly used a single V100 GPU (prices vary widely across providers but are usually above T4 prices). For nlinear, tide, and tsmixer we varied context window size, learning rate, and kept other hyperparameters as in ZAPBench. For DeepAR we explored different layer counts, number of hidden units, an optional LFADS-style bottleneck of different sizes, and varied learning rates.

Backbone comparison. Fig. S4 compares identical structure-constrained tree searches using Gemini 2.5 Flash and Gemini 3 Flash. Note that the Pareto front is degenerate: 2.5 Flash does not find a good mechanistic solution at all, so the weaker backbone buys no cost saving -- it does not faithfully recover mechanistic models, after consuming a comparable compute budget. Gemini 3 Flash is capable enough to solve the task with a structural prior. Whether or not more recent models are able to solve the task with fewer iterations is an interesting question that we plan to explicitly highlight.

2. Annotating Appendix F (Q2)

Thanks for the suggestions, we will add commentary to each listing.

The substantive differences are:

  • ts001\mathtt{ts}_{001} predicts the delta for the next timestep using a residual neural network.
  • ts422\mathtt{ts}_{422} predicts in a 256-dimensional latent space: it projects the full state, applies three residual blocks with FiLM modulation from a visual-plus-bout context, and updates via a convex combination of the previous state and a learned target, plus a small additive delta. No component maps onto a circuit element.
  • sts445\mathtt{sts}_{445} is explicitly hierarchical, in three stages that mirror the circuit. The ePT stage applies a rule shared across all eight units, on second-order interaction features of past state, visual channel and bout, with a per-unit output gain and gated leaky integration. The lPT stage is a two-layer per-neuron projection with the connectivity mask enforced in the einsum and no recurrence. The command stage integrates its own past state with the newly computed lPT activity.

3. Fold access (Q3)

Your reading is correct, and we will state it in Sec. 2.2: the training split is used to fit parameters θ\theta; the validation split scores candidates and therefore drives all structural and code changes; test and holdout are never seen by the search and are used only for the reported evaluation.

4. LLM context (Q4)

At each step the prompt contains the instructions in App. E.3 and the source of the selected parent node, and does not include sibling scores, curated good/bad examples, or reasoning traces from other nodes. We will state this explicitly in the revision.

5. Scheduled sampling (Q5)

Candidates train on truncated 32-step rollouts. SCHEDULED_SAMPLING_*_PROB sets the probability of feeding ground-truth activity rather than the model's own prediction at each rollout step during training, decaying from START to FINAL over DECAY_STEPS. A probability of 1.0 is full teacher forcing; decaying toward 0 trains the model on its own predictions, which can help keep the rollouts stable. The discovered solutions differ in a small way worth noting: ts422\mathtt{ts}_{422} decays to 0.05 over 300k steps, sts445\mathtt{sts}_{445} to 0.0 over 400k. We will also document this in App. F in the solution commentary.

Reviewer 25qq · CommentOpenReview ↗

I appreciate the authors' responses to my questions. These additions and clarifications will further strengthen the paper. My questions have been satisfactorily addressed. I will maintain my score and recommendation for acceptance.

Comments on the paper

1 comment
Area Chair 9WQH · CommentOpenReview ↗

Residual comments and discussion

Dear Reviewers and authors,

As we are after the halfway point of the response period I would like to remind the reviewers to please respond to the author responses and acknowledge or follow up with residual questions so that the authors have time to respond.

Best,

-AC

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…