Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Measuring Robustness and Efficiency in a Connectome-Constrained Fly Visual System Model: Linking an Adversarial and a Perceptual Illusion

Connectome-constrained fly model shows how illusions and adversarial textures share one failure mechanism

  • Problem Brain-like networks have not been compared with gradient-attackable networks on robustness and cost. Biological circuits fail under illusions, but no illusion had been tied to an adversarial stimulus within one system.
  • Method FlyNet is a fly visual model wired by its real synaptic connectome. The authors optimize 3D object textures until FlyNet misclassifies looming objects, then test whether reverse-phi illusions disrupt the same motion code.
  • Results FlyNet uses up to five orders of magnitude fewer FLOPs than RAFT and is more robust to common video corruptions than RAFT, though the CTRNNs are more robust than FlyNet across almost all perturbations.

Figure 3: A static adversarial texture and a dynamic illusion exploit the same low-level motion
computation. (a) p(hit) and position and velocity decoding erro…

Figure 3 :A static adversarial texture and a dynamic illusion exploit the same low-level motion computation. (a) p(hit) and position and velocity decoding errors across adversarial optimization and counterfactual restoration (30 trajectories). Stars mark initial (black), illusion (red), and restored (blue) textures; texture evolution is shown above.(b)Position and velocity decoding errors at the three counterfactual restoration checkpoints.(c)HR correlator g(τ= 8) (Eq. 4) across counterfactual restoration steps (left), and at the three checkpoints (right).(d)Minimization (left) and maximization (right) of g(τ= 8) (top) and corresponding p(hit) (bottom) across optimization steps. Shaded area represents SEM; asterisks indicate significance from pairedt-test ( **:p <0.01, ***:p <0.001).

Original paper · CC BY 4.0 · Alexandre Garcia-Duran, Alejandro Rodriguez-Garcia, Manuel Molano-Mazón, Alexandre Hyafil, Srikanth Ramaswamy, Janne K. Lappalainen · Measuring Robustness and Efficiency in a Connectome-Constrained Fly Visual System Model: Linking an Adversarial and a Perceptual Illusion · Original paper figure · Extracted the figure area from page 7 of the original PDF.

Why robustness and efficiency are hard to test together

Brain circuits keep computing reliably even though they operate under tight metabolic and wiring limits. Artificial networks, in contrast, consume far more energy and can fail under many kinds of perturbation. Biological circuits still aren't immune to perturbation, and classical visual illusions expose their limits. Comparing the two directly is hard, because the networks researchers can attack with gradients aren't wired like biological circuits.

FlyNet, a fly visual model constrained by real synaptic wiring, makes that comparison possible. The authors trained FlyNet on motion detection with the Sintel optical flow dataset, and it reproduces single-neuron responses across three decades of experiments. FlyNet lacks most of the features linked to robustness in artificial networks, since it has sparse recurrence and mostly local connectivity.

Its continuous-time dynamics are the one such feature it does share. Any robustness FlyNet shows might therefore come from sources other than recurrence or global integration.

The authors ask whether biological wiring adds robustness, efficiency, or both, and this split frames the whole study. To test this, they built a looming collision-detection task that scores both connectome-constrained and conventional optic-flow models. Rather than perturbing pixels, they optimize textures in 3D scene space, so the textures stay consistent as objects scale during looming.

Each robustness measurement is paired with computational cost in FLOPs per inference, so efficiency enters the comparison directly. No perceptual illusion had yet been tied to an adversarial stimulus within one system, so the authors ask whether both share a mechanism. They frame connectome-constrained models as a way to surface testable hypotheses about biological perceptual vulnerabilities.

FlyNet and the networks it is compared with

FlyNet models the early fly motion circuit, excluding LPLC2 and giant fiber neurons, with 45,669 neurons and 1.51M anatomically constrained edges. Each neuron is modeled as a passive-point unit that follows a leaky dynamics equation driven by synaptic input and a resting term. The synaptic weights are fixed by connectomic measurements, so the connectome sets the wiring of the model.

Only the neuronal and synaptic parameters are fitted, using an optic flow dataset for motion detection. The whole model keeps just 734 free parameters, and the authors trained it on Sintel optical flow. Two pretrained instances were edited into a hybrid model that shows accurate direction selectivity for all T4 and T5 subtypes.

CTRNN has 11,593 free parameters, and the authors trained it under the same Sintel protocol. sCTRNN starts from the trained CTRNN, unties the shared filter weights and prunes edges by the mean absolute injected current. It is pruned down to FlyNet's 1.51M connections and then fine-tuned on Sintel. sCTRNN reaches an EPE 2% below FlyNet's on held-out Sintel samples, so it serves as an edge-count-matched control that separates edge count from specific wiring.

The CNN baselines follow a FlowNet-inspired design of about 414k parameters and use the same hexagonal sampling as FlyNet. vCNN processes two consecutive frames with local receptive fields, while gCNN adds channel-wise global pooling to the second hidden layer. Two more vCNN variants, with 5 and 10 input frames, test the effect of temporal context.

RAFT has about 5.3M parameters and is run with 1, 6 or 12 recurrent iterations to probe recurrence. RAFT-small, with about 1M parameters, serves as a lower-parameter baseline, and hexRAFT is trained on Sintel with the hexagonal input that FlyNet uses.

Every network feeds a task-specific decoder, and the decoders are trained on frozen network representations. The hit/miss classifier has 512 hidden units with tanh, and the position/velocity regressor uses ReLU units. The decoder is spatial-only and nonlinear, because the authors modeled the LPLC2 computation that integrates spatial patterns.

All models use instantaneous T4/T5 responses, 5,768 units, as decoder input, so the readout is matched across the backbones.

A 3D looming task where textures are the object of attack

The stimulus is a binary task in which an object either hits the fly-observer or misses it. The authors implement the task in a fully differentiable 3D rendering pipeline built on pytorch3d. Rendering in 3D scene space keeps the perturbation consistent across frames as the object scales during looming. Optimizing in pixel space would lose effectiveness under geometric transformations, which is why the authors avoid it.

The pipeline renders grayscale sequences at 416×416 pixels and 100 Hz.

This polar sampling gives isotropic coverage of trajectories across the visual field. A trajectory is a linear translation over duration Ttraj, aimed at the origin for a hit or at a nearby offset endpoint for a miss. The miss endpoint keeps motion statistics comparable to hits, so the two classes differ mainly in collision. Each stimulus is defined by (R, θ, z0, Ttraj) and its appearance parameters.

Shapes are Sphere or Cube, and textures X come from Black, White, Checkerboard, Wavy or Random. Each texture is a 128×128 array, so the optimized object appearance is a compact tensor. That offset keeps the local mean different from the background. The trajectories span angular sizes from about 5 to 110 degrees, with peak expansion speeds up to 1,420 degrees per second.

Some networks take the rendered frames directly, while others take them through a hexagonal sampler. FlyNet receives the luminance of the stimulus on a regular hexagonal lattice of 721 columns.

Optimizing textures to fool the decoder, then restoring them

The adversarial stage works on hit trials and pushes the decoder's predicted probability of a collision down. Each texture X is optimized on hit trajectories, so the decoder's output p(hit) is the quantity being suppressed. Written out, the loss is L(X) = L_CE(X, y_target = 0) + λ_init ||X − X_init||_2, with the target label set to 0 (miss).

The L2 term keeps the texture close to its starting appearance, so the optimized pattern stays a small change from the baseline. The texture that minimizes this loss is the illusion texture, X_illusion.

The counterfactual stage starts from X_illusion and looks for the nearest texture that restores a correct hit classification. It minimizes L(X) = L_CE(X, y_target = 1) + λ_init ||X − X_illusion||_2, so the target label flips to 1 (hit). The L2 penalty now measures distance from X_illusion, which keeps the restored texture close to the adversarial one.

The authors describe this search as akin to optimization-based counterfactual explanations.

CW minimizes a distance plus misclassification objective, and NES estimates gradients from Gaussian perturbations, so it needs no gradient access. Robustness R is the area under the accuracy curve as the perturbation magnitude is swept.

Adversarial failure is not caused by unfamiliar textures

FlyNet keeps its hit/miss accuracy under flicker, but optimized L2-PGD adversarial textures pull its accuracy down. The open question is whether these attacks break the motion representations FlyNet was trained to compute, or only push the texture outside the training distribution. Reverse-phi offers a way to test the first option, because it disrupts motion without any change in the texture distribution.

The authors built reverse-phi looming stimuli from familiar textures by inverting the object's contrast every T seconds. Decoding errors for position and velocity spike at each inversion, as shown in Figure 2d, and they depend on T. Short periods leave the network too little time to recover, while long periods bring both p(hit) and the decoding errors back toward baseline.

Counterfactual restoration tests novelty directly, by finding the nearest texture to the illusion that recovers correct classification. If unfamiliar textures caused the failure, restored textures should still disrupt accuracy, but they don't. Position and velocity readouts recover together with p(hit), which ties the failure to the motion code that reverse-phi disrupts.

Activity induced by the adversarial illusion sits closest to reverse-phi's across all 5,768 T4/T5 neurons, compared with the original and restored conditions. The authors read this as adversarial textures and reverse-phi exploiting similar computational vulnerabilities.

A second-order motion statistic that is enough to fail the model

The authors ask whether the Hassenstein–Reichardt correlation is the lever behind both failures, rather than a texture that is simply unfamiliar. A positive g(τ) indicates looming, a negative value indicates contraction, and zero marks static or non-directional input. Because the computation depends only on the input, the correlator is agnostic to the model.

The authors first checked whether the correlator tracks the motion decoding errors across counterfactual restoration steps. It closely tracks those errors, so the statistic moves with the failure during restoration. The authors then minimized and maximized g(τ=8) directly, without access to the network. The delay of τ=8 corresponds to 8 frames, which is 80 ms.

Under minimization p(hit) dropped to ∼0.3, whereas under maximization it stayed above 0.8.

When the network is maximally fooled, the HR correlator reaches values close to those from reverse-phi. This points to a common vulnerability in FlyNet's motion representations, not to an unfamiliar texture statistic.

Which architectural features buy robustness

FlyNet is mostly local and feedforward, unlike the recurrent and globally integrating networks that robustness is usually linked to. The authors asked whether those ingredients are needed for robustness in general, and which one best explains FlyNet's profile.

Global pooling helps only when the pooled signal carries information that the perturbation needs. It fell behind vCNN under fog, low-photon shot noise and adversarial textures, where the pooled scene average can swamp weak local signals.

Recurrence helps against white-box attacks: accuracy under PGD rose substantially from RAFT-6 to RAFT-12. Robustness stayed unchanged under black-box NES and transfer attacks, and it dropped under motion jitter and fog. FlyNet is recurrent too, but it updates once per frame, so the RAFT result doesn't carry over directly.

Temporal context helps a feedforward network: vCNN with 5 or 10 frames beat the 2-frame version under most perturbation types. The continuous-time models low-pass filter frame-to-frame changes, which fits their high robustness to jitter, flicker and frame noise.

FlyNet's influence-weighted mean distance is about 1.5 hexagonal columns, compared to 2.2 for sCTRNN and 2.8 for CTRNN. sCTRNN raises robustness under PGD L2 and fog above both other models, but falls below CTRNN under L∞ transfer attacks. Neither edge count nor locality explains the ordering consistently, and under every adversarial attack FlyNet is the least robust of the three.

Robustness per order of magnitude of compute

The authors ask how much robustness each architecture buys per unit of compute, and they answer with a single score. That score is LERS, defined as robustness R minus log10 of FLOPs per inference, so it reads as robustness per order of magnitude of compute. The logarithm is conservative, because it penalizes compute less than a linear normalization would.

Any trade-off advantage seen for low-compute architectures would therefore only grow under a stricter normalization.

FlyNet versus CTRNN is the one within-group comparison where LERS departs from robustness. On common video corruptions, all three continuous-time models have R of at least 0.87. CTRNN's roughly 4 times higher compute raises its log10 E by about 7.5%, which outweighs its robustness lead over FlyNet. So FlyNet has higher LERS than CTRNN on common corruptions, even though CTRNN is more robust.

FlyNet and sCTRNN have nearly identical compute, so they are ordered by R alone and reach comparable LERS.

This holds despite CTRNN's higher raw robustness. The authors conclude that the efficiency advantage comes from sparsity, since sCTRNN reaches a comparable LERS without FlyNet's synapse-level wiring. The connectome seems to contribute efficiency through sparsity, not robustness.

Limitations of the connectome-constrained robustness claims

The authors list limits that bound how far their robustness and efficiency claims reach. Biological circuits also work under neuromodulation, synaptic plasticity, synaptic stochasticity and spiking, and FlyNet models none of these.

Decoder input dimensionality differs across architectures, so a higher-dimensional readout could add to measured robustness rather than the backbone alone.

The robustness and efficiency results hold only for the binary looming task. Generalization to object tracking, navigation and more naturalistic scenes remains untested and is left as future work. Compute is measured in FLOPs, which allows consistent cross-architecture comparison but doesn't capture the metabolic cost of biological computation.

Paper info

Authors
Alexandre Garcia-Duran, Alejandro Rodriguez-Garcia, Manuel Molano-Mazón, Alexandre Hyafil, Srikanth Ramaswamy, Janne K. Lappalainen
Venue
arXiv · Preprint
First published
2026-11-10
Added
2026-11-12
Updated
2026-11-10
Version
v1
arXiv
2611.14498
Category
cs.CV · q-bio.NC
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

Biological visual systems compute reliably under tight metabolic and wiring constraints, whereas artificial vision systems consume far more energy and can be sensitive to adversarial perturbations. Whether networks with brain-like wiring are more robust at lower computational cost is unclear. We address this by benchmarking a task-optimized, continuous-time recurrent neural network of the fly visual system constrained by its synaptic connectome (FlyNet) against artificial neural networks. We compare it against CNNs, RAFT, and continuous-time recurrent neural networks without detailed connectome constraints (sCTRNN, CTRNN) on a collision-detection task within a differentiable 3D rendering pipeline. FlyNet is adversarially vulnerable but, relative to its compute, more robust to common video corruptions than RAFT, while using up to five orders of magnitude fewer FLOPs. The CTRNNs remain more robust than FlyNet across almost all tested perturbations, suggesting that connectome constraints benefit efficiency, through their low edge count, over robustness. Recurrence improves robustness to white-box attacks in RAFT and temporal context improves robustness to common corruptions. FlyNet's position and velocity representations degrade under adversarial textures but recover under counterfactual textures that restore correct classification while staying equally far from training, ruling out unfamiliar textures as the cause of failure. The reverse-phi illusion similarly disrupts these representations and inverts the same low-level motion statistic as the adversarial textures. Optimizing this input statistic alone, without access to the network, suffices to induce classification failure, attributing both perturbations to the same circuit vulnerability. Connectome-constrained models can thus surface adversarial failure mechanisms as testable hypotheses about biological perceptual vulnerabilities.

Figures from the paper

Quote from the paper

Alexandre Garcia-Duran, Alejandro Rodriguez-Garcia, Manuel Molano-Mazón, Alexandre Hyafil, Srikanth Ramaswamy, Janne K. Lappalainen (2026). Measuring Robustness and Efficiency in a Connectome-Constrained Fly Visual System Model: Linking an Adversarial and a Perceptual Illusion. arXiv:2611.14498v1. https://arxiv.org/abs/2611.14498v1

BibTeX
@misc{garciaduran2026measuring,
  title = {{Measuring Robustness and Efficiency in a Connectome-Constrained Fly Visual System Model: Linking an Adversarial and a Perceptual Illusion}},
  author = {Alexandre Garcia-Duran and Alejandro Rodriguez-Garcia and Manuel Molano-Mazón and Alexandre Hyafil and Srikanth Ramaswamy and Janne K. Lappalainen},
  year = {2026},
  eprint = {2611.14498},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14498v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up