arXiv(opens in a new tab)q-bio.NCOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.13018

FlyHack: Stress-Testing Mechanistic Claims in a Connectome-Constrained Visual Model

Aashish Dhawan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Connectome-constrained neural networks make biological components directly accessible to intervention, but their mechanistic conclusions can still depend on the comparison model, intervention, circuit representation and trained solution. We stress-test these dependencies in flyvis, a Drosophila motion-vision model, using its 50-model ensemble, task-matched causal CNN controls and replicated interventions. At the level of model behaviour, three-level reverse-phi reversal in flyvis is strongly period- and velocity-dependent and also appears in task-matched CNNs; neither family reproduces the fly's stationary-sawtooth response. Adversarial direction reversal requires a perturbation bound of 0.21–0.27 times stimulus contrast in flyvis versus 0.13–0.25 in CNNs, but the gap over a parameter-matched CNN largely closes for larger CNNs. At the level of mechanism, matching attribution to the intervention matters: for held-out-mean replacement, first-order edge attribution patching reaches pooled AUROC 0.970 and Spearman 0.872, versus 0.933 and 0.126 when its zero-aligned score is evaluated against the same ground truth. Circuit conclusions also vary with representation and ensemble member. Greedy cell-type sets meet a model-relative T4/T5 tuning criterion in 25 of 50 models, while T4/T5 output silencing reduces the tested optic-flow behaviour to at most two of eight clips in 40. In six models where the cell-type search first succeeds, the corresponding connection sets can be pruned to 13–31 added classes; under an additional two-sided response-amplitude check, only two of those six first-success cell-type sets still meet the tuning threshold. These results support a narrower use of connectome-constrained models: they make mechanistic hypotheses directly testable, but the resulting claims must be scoped to the model family, intervention, representation and trained solution.

1 Introduction

Recent connectomes now span the adult Drosophila brain, visual system and male central nervous system (Dorkenwald et al., 2024; Nern et al., 2025; Berg et al., 2026), making it possible to build network models whose architecture is constrained by anatomy and whose remaining parameters are fitted by simulation or training (Lappalainen et al., 2024; Shiu et al., 2024). The most developed example in vision is flyvis (Lappalainen et al., 2024): a recurrent network of 64 optic-lobe cell types, with connectivity constrained by the connectome, whose 734 free parameters were trained to estimate optical flow. Its trained ensemble predicts physiological tuning in many cell types without having been fitted to neural recordings. Such models are increasingly used to generate in-silico predictions about circuit function and behaviour.

The central question in this paper is not whether flyvis is biologically constrained—it is—but how much a mechanistic conclusion changes when we change the comparison model, intervention, circuit representation or trained ensemble member. We address that question in two stages.

*AI assistants were used for software development and manuscript editing. The authors determined the research questions, experimental design, analyses and scientific claims; verified all reported results and references; and take full responsibility for the work.

First, we test model-family behaviour. We train causal CNNs on the same task, Sintel rendering and target, loss and sampled input lattice at three sizes, from a parameter-matched 8,161 parameters to about one million, and compare motion illusions and adversarial sensitivity. These are controls at the level of model families, not topology-only ablations: recurrence, learned time constants, type-shared parameters, readout and training schedule remain confounded with connectome wiring. The CNN training split is documented, whereas the released flyvis models' launch-time split is not recoverable; their common evaluation is therefore descriptive rather than a shared held-out generalization comparison.

Second, we turn from behaviour to mechanism within flyvis. Each of its 604 type-to-type connection classes and each modelled cell type can be intervened on directly. This lets us score circuit-discovery outputs against exhaustive single-component interventional ground truth rather than against a planted circuit (Lindner et al., 2023; Gupta et al., 2024) or a faithfulness proxy (Mueller et al., 2025), and then ask whether the answer changes with intervention semantics, circuit representation or ensemble member. Directional predictions and analysis criteria were specified before the corresponding analyses; they were not externally timestamped preregistrations, and we report failed predictions as well as successful ones (Appendix A).

References (50)