Visual attraction in Drosophila larvae develops during a critical period and is modulated by crowding conditions
The development of social behavior is poorly understood. Many animals adjust their behavior to environmental conditions based on a social context. Despite having relatively simple visual systems, Drosophila larvae are capable of identifying and are attracted to the movements of other larvae. Here, we show that Drosophila larval visual recognition is encoded by the movements of nearby larvae, experienced during a specific developmental critical period. Exposure to moving larvae, only during a specific period, is sufficient for later visual recognition of movement. Larvae exposed to wild-type body movements, during the critical period, are not attracted to the movements of tubby mutants, which have altered morphology. However, exposure to tubby, during the critical period, results in tubby recognition at the expense of wild-type recognition indicating that this is true learning. Visual recognition is not learned in excessively crowded conditions, and this is emulated by exposure, during the critical period, to food previously used by crowded larvae. We propose that Drosophila larvae have a distinct critical period, during which they assess both social and resource conditions, and that this irreversibly determines later visually guided social behavior. This model provides a platform towards understanding the regulation and development of social behavior.