Romantic engagement can bias sensory perception. This 'love blindness' reflects a common behavioural principle across organisms: favouring pursuit of a coveted reward over potential risks1. In the case of animal courtship, such sensory biases may support reproductive success but can also expose individuals to danger, such as predation2,3. However, how neural networks balance the trade-off between risk and reward is unknown. Here we discover a dopamine-governed filter mechanism in male Drosophila that reduces threat perception as courtship progresses. We show that during early courtship stages, threat-activated visual neurons inhibit central courtship nodes via specific serotonergic neurons. This serotonergic inhibition prompts flies to abort courtship when they see imminent danger. However, as flies advance in the courtship process, the dopaminergic filter system reduces visual threat responses, shifting the balance from survival to mating. By recording neural activity from males as they approach mating, we demonstrate that progress in courtship is registered as dopaminergic activity levels ramping up. This dopamine signalling inhibits the visual threat detection pathway via Dop2R receptors, allowing male flies to focus on courtship when they are close to copulation. Thus, dopamine signalling biases sensory perception based on perceived goal proximity, to prioritize between competing behaviours.
© 2024. The Author(s).