arXiv:2610.29205cs.NEOct 2026

Manuscript Offprint

arXiv:2610.29205

Reconstruction differences rival individual differences in the fly compass connectome and break trained circuit models

Md Ali Ashraf Yad, Nazifa Tabassum Nabila

ABSTRACT

Neural network models are increasingly constructed from synapse-resolution connectomes, and the same circuit is now available in reconstructions from other animals and pipelines. We do not know whether such models are dependent on the reconstruction they are built from, and whether connectome differences are biological or measurement errors. We studied the Drosophila head-direction circuit in nine versions: four flies (male CNS, hemibrain, Fly Wire, BANC) and five variants of the same fly varying only by thresholds, proofreading or synapse detection. Using wiring-based correspondences validated by anatomical labels, we place all differences on one scale. A change of synapse detection within one fly changed the circuit more than halfway to the smallest inter-fly difference on four distances; proofreading differences were smaller but depended on the metric, and left and right halves of one fly differed no more than a random half. Networks trained on each wiring to hold a cued heading developed near-perfect ring attractors, but their error increased from below 1° to 10–28° when all weights changed by 1%. Training on each wiring did not transfer to any other connectome, including other versions of the same fly; refitting thirty cell-type gains, we repaired filtering-level differences but remaining error depended on wiring distance. Training with noise lowered precision and enhanced transfer. Imaging data indicate compasses drift smoothly and do not break; they function despite differences comparable to those of this study. Therefore, connectome-constrained models need to reflect the reconstruction they stem from and the robustness normal circuits exhibit and models lack. 1^{1}

Keywords connectome · Drosophila · head-direction circuit · ring attractor

1 Introduction

Synapse-resolution connectomes are now routinely used to build neural network models (Lappalainen et al., 2024; Shiu et al., 2024; Duan et al., 2025). Reconstructed wiring specifies the connections between the neurons and their strengths, and the parameters which the wiring leaves unassigned, like gains of neurons, are assumed, fitted, or trained to replicate a behaviour or a recorded activity pattern. These models are constructed from a single animal's connectome, through a single reconstruction pipeline. The question of whether a certain behaviour is dependent on that reconstruction is seldom asked, and the degree of constraint the model based on a connectome imposes on the behaviour is debated (Beiran and Litwin-Kumar, 2025).

The question is now testable because the same circuit is now present in multiple reconstructions. The hemibrain, a reconstruction of the Drosophila central brain, was created by (Scheffer et al., 2020), the whole adult central brain, FlyWire, was created by (Dorkenwald et al., 2024; Schlegel et al., 2024), the male Drosophila central brain, BANC, was created by (Berg et al., 2026) and the central brain and nerve cord in BANC was created by (Bates et al., 2026). These datasets are from different flies and made by different groups, with different imaging, segmentation, synapse detection and proofreading.

1^{1}Preregistration: doi:10.5281/zenodo.23382486.

how to divide them. The hemibrain and FlyWire are similar in a vast majority of aspects of their morphology, but approximately one-third of the types of cells proposed for the hemibrain were not reliably reidentified (Schlegel et al., 2024). Others say the differences between FlyEM and FlyWire data are primarily technical (Okuno et al., 2025), and there will be a significant variation in the efficiency of synapse detection between different datasets (Scheffer, 2025). To distinguish between individuality and measurement, comparisons have to be made between re-constructions of the same fly. Now it is possible to compare two such things: FlyWire has two independent tables of synapses in one fly (Buhmann et al., 2021; Yu et al., 2025), and the male CNS and BANC have successive proofreading releases.

To our knowledge no test has been conducted on whether a trained model survives these differences. The most similar work demonstrated that each head direction circuit of four connectomes can be mapped onto an exact ring attractor with a couple rescalings of the cell types (Biswas et al., 2024). That analysis is performed individually for each connectome to fit an ideal attractor. It doesn’t require the modeler to ask if a model trained with one connectome is applicable to another connectome; the modeler’s job is to determine if a result from one set of connectomes applies to another set of connectomes.

The fly head-direction circuit is a good test case. EPG neurons have a bump of activity that tracks the fly’s heading and that persists in darkness (Seelig and Jayaraman, 2015), and the dynamics of a ring attractor are described (Kim et al., 2017); PEN neurons shift the bump when the fly turns (Turner-Evans et al., 2017; Green et al., 2017), and the circuit’s connectivity is described in detail (Hulse et al., 2021). The function of reconstructing the circuit is simple to read and update the heading, the circuit is reconstructed in all four datasets, and there is a known fine-tuning problem with continuous-attractor models of it (Seung, 1996; Noorman et al., 2024; Ságodi et al., 2024).

This study grew out of an earlier one (Yad, 2026a), in which we compared rate networks trained on the male CNS compass wiring with randomly rewired and degree-preserving rewired networks. The real wiring held a cued heading accurately (median error 1.7°) and better than 29 of 30 random and 24 of 30 degree-preserving rewirings, but an advantage over degree-matched wiring was not established (network-level rank p = 0.065 and 0.23). That result raised a more basic question: before asking whether one fly’s wiring is better than an alternative, one must know how far real connectomes differ from each other, how much of that difference is reconstruction, and whether trained models survive it.

In this study, we will examine nine different versions of the head-direction circuit: five different versions of the same circuit but with different versions of the filter on the synapses, and four different versions of the circuit with the same synapses but different proofreading circuits or synapse detection circuits. We give three contributions. First, a decomposition: all differences are grouped on one scale, and a change of synapse detector, which is inferred from wiring and confirmed by anatomical labelling, moves the wiring on every measure used more than half as far as the smallest change of fly, as the next section shows (Sec. 2.1–2.2). Secondly, fragility: networks trained on all real wiring forms near-perfect ring attractors, which break when all weights are changed by 1% (Sec. 2.3). Third, transfer: trained networks do not transfer to other connectomes (even to other fly connectomes) except for the differences in filtering level (which get fixed by refitting about 30 cell-type gains); failure is not affected by the wiring distance of the source (Sec. 2.4–2.5). However, imaging data from flies reveals that the actual compasses weaken, although not suddenly, over time (Sec. 2.6). The transplant hypotheses and the mechanism criteria were preregistered (Yad, 2026b); all deviations from these hypotheses and mechanism criteria are listed in Sec. 4.9 the noise-training and the refit and same-fly analyses are exploratory.

References (28)