01
Future actions become predictable
Similar to the fly's brain activity, neural activity in the intrinsically trained policies is predictive of future turn directions seconds in advance.
Preprint
We asked whether intrinsic motivation alone can explain how flies generate spontaneous behavior and represent future actions. Across 20 intrinsic objectives in a biomechanical fly with no external reward, hierarchical skill discovery is the strongest joint match to fly behavior and neural signatures of future turning.
The fly appears to be maximizing state space coverage over the population not individuals via DIAYN, a form of curiosity!
Left: a real fly walking on a ball in the dark. Right: a trained DIAYN policy on the same kind of ball.
The training arena for our simulated fly agents has obstacles and multiple odor sources. The insets show each eye and the odor readout. The playback is at 0.24x speed.
01
Similar to the fly's brain activity, neural activity in the intrinsically trained policies is predictive of future turn directions seconds in advance.
02
Each point is a recording from a real fly or a model episode. The y-axis shows turning bias. DIAYN's repertoire of skills covers the distribution of the turning biases seen in the real fly population.
03
In the real fly, the difference in activity between the left and right hemispheres of the IPS correlates with angular velocity, while the sum correlates with forward velocity. The same internal geometric relationship is present in the actor LSTM layer of the trained DIAYN agent.
1
We train PPO policies with reward from twenty intrinsic objectives in FlyGym.
2
Freeze the policy and place the fly on a ball in the dark, the virtual version of the real fly experiment.
3
Spontaneous turning, decoding of future turn direction, and low-dimensional internal structure, against real flies.
In the window from 15 to 8 seconds before a turn, the fly IPS predicts turn direction above chance. The same readout on frozen agents shows that only some intrinsic objectives develop this prospective signal. DIAYN is the objective that also keeps the fly's relationship between what the internal state predicts and what the behavior itself predicts.
DIAYN learns a set of skills. Held fixed, each skill is a different exploratory strategy. Plotted one rollout at a time, those strategies spread across left- and right-turning biases in the same way the flies do. Other objectives and random controls do not capture this variability.
In the fly IPS, the difference in activity between the left and right hemispheres correlates with angular velocity, while the sum correlates with forward velocity. The same relationship emerges in trained DIAYN and is absent in the random control.
@misc{kutscher2026intrinsic,
title = {Intrinsic Goals for Autonomous Agents: Hierarchical Exploration Captures Future Volitional Action in Drosophila},
author = {Declan Kutscher and Reece Keller and Alyn Kirsch and Felix Pei and Aran Nayebi},
year = {2026},
eprint = {XXXX.XXXXX},
archivePrefix = {arXiv},
primaryClass={cs.XX},
url = {xxxx}
}