FLYNN: Robust Neural Network for Robot Navigation using Fly Brain Topology

arXiv:2607.00025 · cs.RO, cs.AI · Submitted 2026-06-21 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: We're looking at the paper: "FLYNN: Robust Neural Network for Robot Navigation using Fly Brain Topology".

Paper summary: Rosa: So we’re digging into FLYNN again. The main thesis is that current deep learning models are fragile when things change or when you take away their sensory input, but biological systems are naturally robust to those kinds of failures >

Dev: They address this vulnerability by developing a recurrent neural network called FLYNN whose architecture is derived from the synaptic-resolution brain connectome of the fruit fly, Drosophila melanogaster >

Rosa: What they claim is that they managed to train this fly connectome neural network to perform vision-based navigation in MuJoCo, and it achieved performance levels comparable to modern hand-crafted networks of similar parameter counts >

Dev: Crucially, the paper states that FLYNN exhibits superior resistance to out-of-distribution data and tolerance to sensory loss without further training >

Taro: That's a huge claim. They found it remained functional even under total vision loss while hand-crafted networks largely failed, even when they were specifically trained with camera dropout >

Rosa: It’s not just about surviving a glitch; it’s about how the structure itself allows for that resilience, which is inspired by the fly brain topology >

Dev: The architecture itself is derived from the fly brain connectome, and they found that Principal Component Analysis of the internal state of FLYNN suggests it exhibits a particularly high degree of representational modularity >

Taro: So instead of one giant network, it seems to have these separate information streams, which might be related to why it can maintain navigation logic even when vision input is removed >

Rosa: That’s the core idea. It suggests that this biological structure acts as a topological prior for linear sensory integration, enabling graceful degradation in response to sensor loss >

Dev: The authors say this is one of three key findings: feasibility, competitive performance against hand-crafted models, and graceful degradation to out-of-distribution data and sensor ablation >

Conclusion: Rosa: Looking at the whole thing, FLYNN, by Benquan Wang and Jingdao Chen, shows that we can actually train a neural network with a structure inspired by biology to handle navigation tasks >

Dev: It proves that an RNN constrained strictly by biological connectivity can be trained to perform complex tasks like vision-based multi-sensory navigation >

Taro: The implication for us is that maybe we don't always need massive, purely data-driven models if we can engineer the underlying structure to be inherently resilient >

Rosa: It serves as a blueprint for designing robust, resilient neural networks by showing how biological brains achieve resilience to sensory loss through modularity and connectivity >

Dev: But they do have limitations. They explicitly state that their evaluation is limited to a visual domain shift where textures change but the arena geometry stays the same >

Taro: And they also say that robustness to broader distribution shifts, like changes in dynamics or sensor noise, still needs to be evaluated on a physical robot >

Rosa: So it’s a very promising platform for studying how biological brains achieve resilience, even if we still have a long way to go before we can apply this directly to our toughest real-world scenarios >

Mississippi State University

cs.RO, cs.AI

Submitted: 2026-06-21

Updated: 2026-07-13

DOI: 10.1109/IROS61738.2026.11777315

Code: https://github.com/ben-gitdev/fly-gym

License: http://creativecommons.org/licenses/by-nc-sa/4.0/

Importance score: 83/100

The gist: While deep learning models achieve state-of-the-art performance in complex tasks, they remain brittle when faced with new environments or sensory deprivation.<ref:2607.00025#pg1…

Key concepts

FLYNN
A recurrent neural network (RNN) whose structure is strictly constrained by the biological connectivity map of a fruit fly's brain. This architecture was trained to perform vision-based navigation in simulated environments like MuJoCo.
Dataset Aggregation (DAgger)
The imitation learning method used to train FLYNN. In this process, an expert planned paths using algorithms like VFH and PID controllers, and the network iteratively collected new data based on these expert demonstrations.
Graceful Degradation
The ability of FLYNN to maintain navigation capability even when faced with out-of-distribution (OOD) data or sensory loss (like removing vision). This robustness is linked to its modular architecture, which preserves independent information streams from different sensors.

Terminology

Summary

While deep learning models achieve state-of-the-art performance in complex tasks, they remain brittle when faced with new environments or sensory deprivation. p. 0

Where the paper says it

FLYNN: Robust Neural Network for Robot Navigation using Fly Brain Topology Benquan Wang1 and Jingdao Chen2 Abstract— While deep learning models achieve state-of-theart performance in complex tasks, they remain brittle when faced with new environments or sensory deprivation. In contrast, biological systems exhibit remarkable tolerance to these challenges.

<ref:2607.00025#pg1, "While deep learning models achieve state-of-the-art performance in complex tasks, they remain brittle when faced with new environments or sensory deprivation">. p. 0
Where the paper says it

FLYNN: Robust Neural Network for Robot Navigation using Fly Brain Topology Benquan Wang1 and Jingdao Chen2 Abstract— While deep learning models achieve state-of-theart performance in complex tasks, they remain brittle when faced with new environments or sensory deprivation. In contrast, biological systems exhibit remarkable tolerance to these challenges.

The fly connectome neural network (FLYNN) demonstrates feasibility of training to perform vision-based navigation in MuJoCo and exhibits superior resistance to out-of-distribution data and tolerance to sensory loss without further training. p. 0
Where the paper says it

We demonstrate the feasibility of training the fly connectome neural network (FLYNN) to perform vision-based navigation in MuJoCo, achieving performance comparable to modern hand-crafted networks of similar parameter counts. Crucially, FLYNN exhibits superior resistance to out-of-distribution (OOD) data and tolerance to sensory loss without further training.

<ref:2607.00025#pg1, "We demonstrate the feasibility of training the fly connectome neural network (FLYNN) to perform vision-based navigation in MuJoCo, achieving performance comparable to modern hand-crafted networks of similar parameter counts. p. 0
Where the paper says it

We address this vulnerability by developing a recurrent neural network (RNN) whose architecture is directly derived from the synaptic-resolution brain connectome of the fruit fly Drosophila melanogaster. We demonstrate the feasibility of training the fly connectome neural network (FLYNN) to perform vision-based navigation in MuJoCo, achieving performance comparable to modern hand-crafted networks of similar parameter counts.

Crucially, FLYNN exhibits superior resistance to out-of-distribution (OOD) data and tolerance to sensory loss without further training">. p. 0
Where the paper says it

We demonstrate the feasibility of training the fly connectome neural network (FLYNN) to perform vision-based navigation in MuJoCo, achieving performance comparable to modern hand-crafted networks of similar parameter counts. Crucially, FLYNN exhibits superior resistance to out-of-distribution (OOD) data and tolerance to sensory loss without further training.

Feasibility and Performance

The research demonstrates that an RNN architecture constrained strictly by biological connectivity can be trained to perform complex tasks like vision-based multi-sensory navigation.<ref:2607.00025#pg1, "Feasibility: An RNN architecture constrained strictly by biological connectivity can be trained to perform complex tasks, such as vision-based multi-sensory nav">. p. 0

Where the paper says it

We evaluated the fly connectome neural network (FLYNN) in a simulated MuJoCo environment [25], compared it against standard networks of similar parameter sizes such as EfficientNet-B0 [26], MobileNetlarge-v3 [27], and small-world RNN [28], and investigated the sources of robustness in biological neural architectures. Our results demonstrate three key findings: 1) Feasibility: An RNN architecture constrained strictly by biological connectivity can be trained to perform complex tasks, such as vision-based multi-sensory navarXiv:2607.

p. 0
Where the paper says it

We evaluated the fly connectome neural network (FLYNN) in a simulated MuJoCo environment [25], compared it against standard networks of similar parameter sizes such as EfficientNet-B0 [26], MobileNetlarge-v3 [27], and small-world RNN [28], and investigated the sources of robustness in biological neural architectures. Our results demonstrate three key findings: 1) Feasibility: An RNN architecture constrained strictly by biological connectivity can be trained to perform complex tasks, such as vision-based multi-sensory navarXiv:2607.

The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts. p. 1
Where the paper says it

Sensor input, bias, and activation function were not included for simplicity. 2) Competitive Performance: The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts.

<ref:2607.00025#pg1, "Competitive Performance: The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts">. p. 1
Where the paper says it

Sensor input, bias, and activation function were not included for simplicity. 2) Competitive Performance: The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts.

p. 1
Where the paper says it

Sensor input, bias, and activation function were not included for simplicity. 2) Competitive Performance: The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts.

How the training signal is built

The FLYNN model was trained using Dataset Aggregation (DAgger) imitation learning.<ref:2607.00025#pg4>. The expert teacher planned paths using the Vector Field Histogram Star (VFH) algorithm and a Proportional Integral Derivative (PID) controller. p. 2

Where the paper says it

The teacher used privileged information to generate optimal paths. These paths were planned using the Vector Field Histogram Star (VFH*) algorithm [32], a locally deterministic method that yields smooth, obstacle-

<ref:2607.00025#pg4, "These paths were planned using the Vector Field Histogram Star (VFH*) algorithm, a locally deterministic method that yields smooth, obstacle-avoiding trajectories resembling Drosophila navigation and provides stable, consistent training data">. p. 2
Where the paper says it

The teacher used privileged information to generate optimal paths. These paths were planned using the Vector Field Histogram Star (VFH*) algorithm [32], a locally deterministic method that yields smooth, obstacle-

Training involved four iterations where 500 new episodes were collected at the beginning of each iteration. p. 3
Where the paper says it

The model underwent four training iterations. At the beginning of each training iteration, 500 new episodes were collected, processed, and added to the cumulative training pool.

<ref:2607.00025#pg4, "At the beginning of each training iteration, 500 new episodes were collected, processed, and added to the cumulative training pool">. p. 3
Where the paper says it

The model underwent four training iterations. At the beginning of each training iteration, 500 new episodes were collected, processed, and added to the cumulative training pool.

Where the gains come from

The superior robustness of FLYNN is attributed to its architecture derived from the synaptic-resolution brain connectome.<ref:2607.00025#pg1, "We address this vulnerability by developing a recurrent neural network (RNN) whose architecture is directly derived from the synaptic-resolution brain connectome of the fruit fly Drosophila melanogaster">. p. 0

Where the paper says it

In contrast, biological systems exhibit remarkable tolerance to these challenges. We address this vulnerability by developing a recurrent neural network (RNN) whose architecture is directly derived from the synaptic-resolution brain connectome of the fruit fly Drosophila melanogaster.

Principal Component Analysis (PCA) suggests that FLYNN exhibits a particularly high degree of representational modularity, which might be related to its robustness. p. 0
Where the paper says it

It remained functional even under total vision loss while hand-crafted networks largely failed, even when specifically trained with camera dropout. Principal Component Analysis (PCA) of the internal state of FLYNN suggests that it exhibits a particularly high degree of representational modularity, which might be related to its robustness.

<ref:2607.00025#pg1, "Principal Component Analysis (PCA) of the internal state of FLYNN suggests that it exhibits a particularly high degree of representational modularity, which might be related to its robustness">. p. 0
Where the paper says it

It remained functional even under total vision loss while hand-crafted networks largely failed, even when specifically trained with camera dropout. Principal Component Analysis (PCA) of the internal state of FLYNN suggests that it exhibits a particularly high degree of representational modularity, which might be related to its robustness.

Robustness Mechanisms

The paper highlights several key findings regarding robustness.<ref:2607.00025#pg1, "Our results demonstrate three key findings">:

  1. Feasibility: An RNN architecture constrained strictly by biological connectivity can be trained to perform complex tasks.<ref:2607.00025#pg1, "Feasibility: An RNN architecture constrained strictly by biological connectivity can be trained to perform complex tasks, such as vision-based multi-sensory nav">.

  2. Competitive Performance: The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts.<ref:2607.00025#pg1, "Competitive Performance: The FLYNN achieved performance levels comparable to modern hand-crafted models of similar parameter counts">.

  3. Graceful Degradation: Most notably, and as observed in biological organisms, the FLYNN exhibits unique robustness to OOD data and sensor ablation even though it was never trained for this.<ref:2607.00025#pg1>.

Internal State Geometry

KDE analysis of the PCA-projected internal states revealed distinct clusters for FLYNN under different vision conditions.<ref:2607.00025#pg7, "The KDE analysis showed where the models’ internal states appear most often in the principal component space when navigating through the episodes">. p. 6

Where the paper says it

We then performed Kernel Density Estimation (KDE) on the first two principal components of all the PCA trajectories over 300 episodes. The KDE analysis showed where the models’ internal states appear most often in the principal component space when navigating through the episodes.

The linear superposition of FLYNN internal states indicates that the Drosophila connectome preserves independent information streams of each sensor, allowing for coherent navigation logic even when vision input is removed. p. 6
Where the paper says it

The linear sum held almost perfectly for FLYNN and did not hold for SmallWorldNet. This linear superposition of FLYNN internal states indicates that the Drosophila connectome preserves the independent information streams of each sensor, allowing the agent to maintain a coherent navigation logic even when the vision input is partially or entirely removed.

<ref:2607.00025#pg7, "The linear sum held almost perfectly for FLYNN and did not hold for SmallWorldNet">. p. 6
Where the paper says it

01, and cosine similarity was 0. The linear sum held almost perfectly for FLYNN and did not hold for SmallWorldNet.

This geometric regularity suggests that the connectome acts as a topological prior for linear sensory integration, enabling graceful degradation in response to sensor loss. p. 6
Where the paper says it

The tight clustering observed in the KDE plots and the approximate linear summation of different states are consistent with the Drosophila connectome acting as a topological prior for linear sensory integration. This may allow the agent to gracefully degrade in response to sensor loss without disrupting the global navigation manifold, a property that we did not observe in the random small-world architecture.

<ref:2607.00025#pg8>.

Limitations and Future Directions

The work acknowledges simplifications made during construction, omitting biological properties like spiking neurons and electrical synapses.<ref:2607.00025#pg8>. The OOD evaluation is limited to a visual domain shift where realistic textures change low-level image appearance while keeping arena geometry unchanged. p. 6

Where the paper says it

Biological properties omitted here include spiking neurons, electrical synapses, gap junctions, axon-length differences, and neurotransmitter types; incorporating any of these could potentially improve performance and bring the model closer to real Drosophila behavior. We also note that the OOD evaluation in this work is limited to a visual domain shift: the realistictexture environment changes low-level image appearance while keeping the arena geometry, obstacle statistics, and

<ref:2607.00025#pg8>. Robustness to broader distribution shifts remains to be evaluated on physical robots. p. 7
Where the paper says it

task structure unchanged. Robustness to broader distribution shifts, such as changes in dynamics and sensor noise, remains to be evaluated, as does validation on a physical robot.

<ref:2607.00025#pg8, "Robustness to broader distribution shifts, such as changes in dynamics and sensor noise, remains to be evaluated on a physical robot">. p. 7
Where the paper says it

task structure unchanged. Robustness to broader distribution shifts, such as changes in dynamics and sensor noise, remains to be evaluated, as does validation on a physical robot.

The analysis is correlational and identifies which specific topological properties drive the behavior for future work. p. 6
Where the paper says it

Such linear sensory fusion may stem from the modular design of the Drosophila brain, and could be a potential explanation for the robustness of FLYNN. However, this analysis is geometric and correlational, identifying which specific topological properties drive this behavior remains an important direction for future work.

<ref:2607.00025#pg7, "This analysis is only correlational: it characterizes the geometry of the learned internal states rather than establishing a causal mechanism">. p. 6
Where the paper says it

Such geometric regularity was absent from the small-world network baseline. Note that this analysis is only correlational: it characterizes the geometry of the learned internal states rather than establishing a causal mechanism.

The findings provide a blueprint for designing robust, resilient neural networks. p. 7
Where the paper says it

Overall, we demonstrated both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation. We envision this work as a blueprint for designing robust, resilient neural networks and as a platform for studying how biological brains achieve such resilience.

<ref:2607.00025#pg8, "We envision this work as a blueprint for designing robust, resilient neural networks and as a platform for studying how biological brains achieve such resilience">. p. 7
Where the paper says it

Overall, we demonstrated both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation. We envision this work as a blueprint for designing robust, resilient neural networks and as a platform for studying how biological brains achieve such resilience.

p. 7
Where the paper says it

Overall, we demonstrated both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation. We envision this work as a blueprint for designing robust, resilient neural networks and as a platform for studying how biological brains achieve such resilience.

Conclusion

Overall, the study demonstrates both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation.<ref:2607.00025#pg8, "Overall, we demonstrated both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation">. p. 7

Where the paper says it

Robustness to broader distribution shifts, such as changes in dynamics and sensor noise, remains to be evaluated, as does validation on a physical robot. Overall, we demonstrated both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation.

The network maintains most of its navigation capability under unfamiliar conditions, outperforming modern hand-crafted networks in simulated navigation tasks. p. 6
Where the paper says it

More importantly, such a network showed remarkable OOD generalization and tolerance to vision loss even though the network never encountered such situations during training. The network was able to maintain most of its navigation capability under unfamiliar conditions, outperforming modern hand-crafted networks in simulated navigation tasks.

<ref:2607.00025#pg1>. The high success rate suggests FLYNN can fall back on residual signals like wind direction and collision information to maintain capability. p. 5
Where the paper says it

The high success rate of FLYNN suggests that FLYNN was able to fall back on the remaining sensory inputs, i. , wind direction and collision information, to maintain its navigational capability.

<ref:2607.00025#pg7>. The research serves as a platform for studying how biological brains achieve such resilience. p. 7
Where the paper says it

Overall, we demonstrated both the feasibility of training FLYNN for navigation and its superior robustness to OOD data and input deprivation. We envision this work as a blueprint for designing robust, resilient neural networks and as a platform for studying how biological brains achieve such resilience.

<ref:2607.00025#pg8, "We envision this work as a blueprint for designing robust, resilient neural networks and as a platform for studying how biological brains achieve such resilience">.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Rebuild neural network architectures by constraining connectivity to biological blueprints using connectome data to inherit the functional redundancy and modularity characteristic of biological systems. This allows for designing resilient artificial agents following the topology of biological brains.

  2. Train vision-based navigation models using Dataset Aggregation (DAgger) imitation learning, where the expert teacher uses optimal paths generated by the Vector Field Histogram Star (VFH) algorithm to provide stable, consistent training data.

  3. Implement specialized camera dropout training during model training, forcing agents to learn to navigate under partial or total vision loss conditions and achieving robustness even when EfficientNet and MobileNet would fail entirely without dropout training.

  4. Develop an internal state representation mechanism that utilizes Principal Component Analysis (PCA) and Kernel Density Estimation (KDE) on neuron states to identify distinct clusters corresponding to different vision conditions, such as the relationship where the sum of the vectors BL⃗ and BR⃗ – representing the transitions from KDE peak of the totally blind state B to single-eye states L and R – almost exactly equal[s] to the blind (B) to full-vision (F) states vector BF⃗.

  5. Create agents capable of robust Out-of-Distribution (OOD) generalization, as FLYNN exhibits unique robustness to OOD data and sensor ablation even though it was never trained for this, maintaining performance in environments with realistic textures that were not seen during training.

Abstract

While deep learning models achieve state-of-the-art performance in complex tasks, they remain brittle when faced with new environments or sensory deprivation. In contrast, biological systems exhibit remarkable tolerance to these challenges. We address this vulnerability by developing a recurrent neural network (RNN) whose architecture is directly derived from the synaptic-resolution brain connectome of the fruit fly Drosophila melanogaster. We demonstrate the feasibility of training the fly connectome neural network (FLYNN) to perform vision-based navigation in MuJoCo, achieving performance comparable to modern hand-crafted networks of similar parameter counts. Crucially, FLYNN exhibits superior resistance to out-of-distribution (OOD) data and tolerance to sensory loss without further training. It remained functional even under total vision loss while hand-crafted networks largely failed, even when specifically trained with camera dropout. Principal Component Analysis (PCA) of the internal state of FLYNN suggests that it exhibits a particularly high degree of representational modularity, which might be related to its robustness. Our work provides a new direction for designing resilient artificial agents following the topology of biological brains.

Related papers