Skip to main content An official website of the United States government Here's how you know Here's how you know Official websites use .gov A .gov website belongs to an official government organization in the United States. Secure .gov websites use HTTPS A lock ( Lock Locked padlock icon ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites. Search Log in Dashboard Publications Account settings Log out Search… Search NCBI Primary site navigation Search Logged in as: Dashboard Publications Account settings Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide PERMALINK Copy As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice eLife . 2026 Apr 13;13:RP98171. doi: 10.7554/eLife.98171 Search in PMC Search in PubMed View in NLM Catalog Add to search Individuality across environmental context in Drosophila melanogaster Thomas F Mathejczyk Thomas F Mathejczyk 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Thomas F Mathejczyk 1 , Cara Knief Cara Knief 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Cara Knief 1 , Muhammad A Haidar Muhammad A Haidar 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Muhammad A Haidar 1 , Florian Freitag Florian Freitag 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Florian Freitag 1 , Tydings McClary Tydings McClary 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Tydings McClary 1 , Mathias F Wernet Mathias F Wernet 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Mathias F Wernet 1, ✉ , Gerit A Linneweber Gerit A Linneweber 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany Find articles by Gerit A Linneweber 1, ✉ Editors: Sonia Q Sen 2 , Albert Cardona 3 Author information Article notes Copyright and License information 1 Institut für Biologie Abteilung Neurobiologie Fachbereich Biologie, Chemie und Pharmazie, Freie Universität Berlin, Berlin, Germany 2 Tata Institute for Genetics and Society, India 3 University of Cambridge, United Kingdom ✉ Corresponding author. Roles Sonia Q Sen : Reviewing Editor Albert Cardona : Senior Editor Collection date 2026. © 2024, Mathejczyk et al This article is distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use and redistribution provided that the original author and source are credited. PMC Copyright notice PMCID: PMC13075937 PMID: 41973503 Previous version available: This article is based on a previously available preprint with doi: https://doi.org/10.1101/2023.11.26.568741 . Previous version available: This article is based on a previously available preprint with doi: https://doi.org/10.7554/eLife.98171.1 . Previous version available: This article is based on a previously available preprint with doi: https://doi.org/10.7554/eLife.98171.2 . Previous version available: This article is based on a previously available preprint with doi: https://doi.org/10.7554/eLife.98171.3 . Previous version available: This article is based on a previously available preprint with doi: https://doi.org/10.7554/eLife.98171.4 . Abstract Animal behavior is individually variable, and this variability is often consistent over time, a phenomenon called individuality or personality when multiple traits are involved. However, most studies test individuality in only one environment, even though behavior is known to be context-dependent. Analogous to the human ‘person-situation debate,’ we asked whether and to what extent behavioral individuality persists across changing environmental situations in Drosophila melanogaster . Using established and new behavioral assays, we examined three individual traits, namely exploration, attention, and anxiety, across varying environmental contexts, including temperature, visual cues, and arena shape, in both walking and flying flies. We found that individuality is strongly context-dependent, but even under substantial environmental changes, at least one behavioral trait retained individual-specific variation. Different environmental features did not affect individuality equally; instead, they formed a hierarchy in their influence on behavioral consistency. This hierarchy was supported by generalized linear modeling and hierarchical linear mixed-model analysis. Our results show that, as in humans, individuality in flies persists across different situations, although less strongly than across repeated tests in the same context. These findings establish Drosophila as a model for dissecting the developmental, neural, and genetic mechanisms underlying consistent individual differences in behavior across variable environments. Research organism: D. melanogaster Introduction Animal species display enormous interindividual differences in behavior. The temporal consistency of these interindividual differences allows for defining these idiosyncrasies as animal individuality, also called animal temperament, behavioral syndrome, or if the entirety of trait differences between individuals is meant, even animal personality ( Sih et al., 2004 ; Dall et al., 2004 ; Gosling, 2008 ; Réale et al., 2007 ). Animal individuality has been described for numerous species and behaviors, including: mouse exploration behavior ( Freund et al., 2013 ), great tit feeding preferences ( Partridge, 1976 ), octopus threat responses and feeding behavior ( Mather and Anderson, 1993 ), pea aphid threat responses ( Schuett et al., 2011 ), as well as vinegar fly handedness ( Ayroles et al., 2015 ; Buchanan et al., 2015 ), olfaction ( Honegger et al., 2020 ), phototaxis ( Kain et al., 2012 ), and object orientation ( Linneweber et al., 2020 ). The temporal consistency of individuality allows for discriminating it from short-term behavioral changes, like internal state variations. Furthermore, temporal consistency of behavior allows modifications by learning ( Kahsai and Zars, 2011 ) and behavior-based natural selection ( Lapiedra et al., 2018 ). Historically, the ‘nature vs. nurture’ debate (i.e. genome vs. environment) has shaped our understanding of the origins of behavioral individuality ( Galton, 1875 ). Stochastic developmental processes are a more recently found factor ( Honegger and de Bivort, 2018 ; Linneweber et al., 2020 ), providing an additional layer to gene-environmental interactions ( Traynor and Singleton, 2010 ). Most experimental studies on animal individuality have focused on a single behavior set in a singular environment, yet commonly used definitions of animal individuality in predominantly field-based disciplines, such as behavioral ecology ( Réale et al., 2007 ), and the definition of human personality entail behavioral consistency across situations ( Mischel, 1968 ). Similar to humans, animals will never re-encounter the exact same situation under natural conditions, and animal personality can be an important factor in determining the ecological success of an animal and, as a consequence, its entire population ( Takola and Schielzeth, 2022 ). It is, therefore, crucial to understand how an animal’s personality or individuality in specific traits interacts with variable environments. Despite decades of interest in animal individuality across situations, the experimental evidence remains insufficient, and the results are contradictory, with studies arguing for ( Briffa et al., 2008 ; Herborn et al., 2010 ; Kralj-Fiser et al., 2007 ; Mowles et al., 2012 ) and against ( Coleman and Wilson, 1998 ; D’Eath and Burn, 2002 ) individuality in animals across situations with many finding mixed results ( Boissy and Bouissou, 1995 ; Spoolder et al., 1996 ; Werkhoven et al., 2021 ). Here, we sought to systematically investigate the consistency of individual behavioral differences across situations using laboratory-controlled variable environmental conditions. There is ample evidence for the consistency of human personality and animal individuality over time ( Costa and McCrae, 1988 ; Weisbuch et al., 2010 ). Intuitively, humans attribute consistent personalities to other humans ( Ross, 1977 ). The consistency of human behavior across situations, including environmental context, nevertheless remains highly debated, with several studies arguing for ( Costa and McCrae, 1988 ; Fleeson, 2001 ) and against it ( Hartshorne and May, 1930 ; Mischel, 1968 ). Summarized as the ‘person-situation debate,’ psychologists have argued for over a century about the relationship between personality and the situational environment, placing this question at the core of personality psychology ( Mischel, 1968 ). Animal models for behavioral consistency across situations provide an opportunity to address this question. In our study, the situation is the sum of all environmental features where a specific behavioral task is performed. The work presented here establishes a quantitative animal model to investigate this and related questions about behavioral consistency across environmental situations. The vinegar fly Drosophila melanogaster provides an enormous toolset for studying individuality and its origins across multiple scales, from neurons to circuits to behavior. This comprises a rapidly unfolding connectome ( Dorkenwald et al., 2024 ; Xu et al., 2020 ; Zheng et al., 2018 ), an extensive collection of cell type-specific, binary expression systems ( Luan et al., 2006b ; Pfeiffer et al., 2010 ), and a similarly extensive collection of tools for manipulating neuronal function, including neuronal silencers ( Baines et al., 2001 ; Sweeney et al., 1995 ), activators ( Luan et al., 2006a ), and thermogenetic ( Hamada et al., 2008 ) and optogenetic ( Klapoetke et al., 2014 ; Pulver et al., 2009 ) effectors. Hence, the availability of tools and reagents for manipulating small, defined sets of neurons is no longer a major limitation in answering questions about individual behavioral differences. Instead, what has been missing is an integrative approach combining different high-throughput behavioral assays, which would allow for behavioral screening and classification of large quantities of individual flies for several different behavioral parameters across a variety of environmental contexts. In recent years, mainly low-throughput, single-fly visual assays like the classical two-stripe Buridan assay ( Bülthoff et al., 1982 ; Götz, 1980 ), arenas for tethered walking ( Seelig et al., 2010 ) or virtual flight ( Mathejczyk and Wernet, 2020 ) have been used to study behavioral individuality in vision-based tasks ( Linneweber et al., 2020 ; Mathejczyk and Wernet, 2019 ). In Buridan’s paradigm, flies walk between two inaccessible visual targets (two vertical high-contrast stripes). The stripes are presented in a homogenously illuminated surrounding with no other visual or non-visual cues. Apart from work on individuality involving Dorsal Cluster Neurons (DCNs) ( Hassan et al., 2000 ), also known as Lobula Columnar Neuron 14 (LC14) ( Otsuna and Ito, 2006 ), Buridan’s paradigm has been used to show the importance of the central complex for normal walking speed ( Strauss et al., 1992 ) and for studying photoreceptor function or development ( Kiral et al., 2020 ; Strauss et al., 2001 ), and visual memory ( Neuser et al., 2008 ). Other circular arenas have been frequently used to study locomotory activity without visual stimuli ( Branson et al., 2009 ; Robie et al., 2017 ; Valente et al., 2007 ). In contrast to these low-throughput assays, high-throughput assays for studying the behavioral responses of large amounts of animals have been used primarily for genetic screens. Examples include apparatuses to study phototaxis ( Hirsch and Boudreau, 1958 ), geotaxis ( Hirsch, 1959 ), olfactory learning ( Jiang et al., 2016 ; Quinn et al., 1974 ), and circadian rhythms ( Konopka and Benzer, 1971 ). The Ethoscope ( Geissmann et al., 2017 ) and MARGO ( Werkhoven et al., 2019 ) are recent additions to this repertoire that offer several additional high-throughput assays. Except for the Drosophila activity monitors (DAM, Trikinetiks), Ethoscope, and MARGO, these group assays cannot distinguish individual behavioral differences. Only the Ethoscope and MARGO provide some visual modules. Hence, progress towards understanding individuality in visually guided behaviors in a high-throughput fashion remains meager, with few exceptions ( Ayroles et al., 2015 ; Buchanan et al., 2015 ; Kain et al., 2012 ). To investigate the influence of the environment on the consistency of visually guided individuality and to systematically quantify individuality across many behavioral traits and their dependency on the environment in walking flies, we built a new multi-parameter assay called Indytrax. Indytrax is a compact and affordable Mathworks MATLAB-based modular assay and tracker for high-throughput individual ethological quantification. The assay includes swappable modules for multiple high-throughput Buridan paradigms, a Y-maze choice assay for studying the decision-making and locomotor handedness ( Buchanan et al., 2015 ), and a simple setup to quantify locomotor activity in large groups of flies ( Branson et al., 2009 ). We used this tracker to determine the relative contribution of various environmental features (temperature, visual cues, arena shape) to the consistency of individual behavior. Our results show that identically defined visual stimuli (stripe color, width, and length) do not necessarily evoke the same behavior in an individual when presented in different environments. Conversely, we find that specific individual behavioral traits (attention, exploration, and anxiety, categorized via multiple behavioral parameters) remain consistent even in different environments. Finally, using an LED-based virtual flight arena, we show that attention towards a stimulus remains consistent even across different modalities of locomotion (walking versus flying) when using the same Buridan-type visual stimulus. Hence, we find consistent behavioral traits across situations in our fly model, in analogy to what has been demonstrated for humans ( Costa and McCrae, 1988 ; Fleeson, 2001 ). Altogether, our results provide the foundation for understanding the complex interaction between individuality and the environment, including the question of why individual behavior is more unpredictable in variable naturalistic conditions, much like the consistency across situations in human subjects ( Mischel, 1968 ). Results The goal of our study was to understand to what extent animal individuality is influenced by situational changes in the environment, i.e., how much of an animal’s individuality remains after one or more environmental features change. Based on our previous work on animal individuality ( Linneweber et al., 2020 ), we started our analysis in the multiparametric two-stripe Buridan’s paradigm ( Figures 1 for technical details) ( Colomb et al., 2012 ; Linneweber et al., 2020 ). As expected, we measured interindividually variable, yet remarkably consistent behavioral responses, both on the individual ( Figures 1b and 2a , Figure 2—figure supplement 2a ) and mean group level (average of all individuals in the same situation, Figure 2—figure supplement 1a ), when tested in the exact same situation with all environmental features kept the same. This was true for the five representative behavioral parameters (out of 20 parameters total, see Supplementary file 1 and Figure 4—figure supplement 3 , the specific five parameters were chosen as they describe important information about the behavior and importantly can be measured across situations), defined in three behavioral traits: exploration (% of time walked, walking speed), attention (vector strength, angular velocity), and anxiety (centrophobicity). The exploration trait is characterized by parameters describing activity. Parameters related to attention reflect heightened responses to visual cues, but unlike commonly used metrics, such as angle or stripe deviations ( Colomb et al., 2012 ; Linneweber et al., 2020 ), they can be calculated in the absence of visual cues. Lastly, the parameter centrophobicity, used as an indicator of the trait anxiety, is linked to the open-field test in mice, where the ratio of wall-to-open-field activity is frequently calculated as a measurement of anxiety ( Carter and Shieh, 2015 ). Figure 1. Setups for studying individuality in walking flies. ( a ) Overview of a classical (left, fluorescent tubes) and LED (middle) Buridan assay (behavioral platform diameter = 120 mm). A MATLAB script provides single fly tracking and analysis of behavioral key components (right). ( b–d ) persistence of individual walking patterns across time ( b ), different stripe numbers ( c ), and changes in background illumination ( d ). Figure 1—figure supplement 1. Construction of Buridan assays. ( a ) Two different types of Buridan assays (fluorescent tubes left, flexible LED matrix right) and the parts necessary for construction. Part numbers are referenced in Supplementary file 2 and for 3D printed parts under https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ) for replication. Black numbers indicate off-the-shelf parts; blue numbers indicate 3D-printed parts. ( b ) construction of Buridan bottom plates. An 850 nm LED strip is wrapped around a translucent acrylic disk (11), providing homogeneous near-infrared background illumination from below. ( c ) Schematic illustration of the tracking procedure. The provided MATLAB script automatically reads video frames, tracks the X- and Y-coordinates of individual flies over time, and saves data for further analysis. Open in a new tab Figure 2. Individual traits of walking flies persist over time but depend on the visual scenery. ( a–c ) Correlation of key behavioral parameters over time (n=60) ( a ), different stripe numbers (n=57) ( b ), and changes in background illumination (n=54) ( c ). Correlation coefficients are displayed in the upper left corner of each plot. *=p<0.05, **=p<0.01, ***=p<0.001, for detailed fly numbers per experimental condition, see Figure 2—figure supplement 1 . Figure 2—figure supplement 1. Group responses over time, varying stripe numbers, and background illumination. ( a–c ) Boxplots illustrating key behavioral parameters for the whole group (blue) and separately for females/males (green/magenta) over time ( a ), varying stripe numbers ( b ), and background illumination ( c ). Animal numbers are indicated next to each plot. Figure 2—figure supplement 2. Sex-specific differences in individual traits. ( a–d ) Correlation of key behavioral parameters for females and males over time ( a ), different stripe numbers ( b ), changes in background illumination ( c ), and depending on the usage of a clear dome around the arena ( d ). Magenta = females, green = males. Correlation coefficients are displayed in the upper left corner of each plot. *=p<0.05, **=p<0.01, ***=p<0.001, for detailed fly numbers per experimental condition, see Figure 2—figure supplement 1 . Open in a new tab Modifying the visual stimulus within the Buridan arena (0, 1, and 2 stripes were tested, Figures 1c and 2b , Figure 2—figure supplements 1b and 2b and Figure 2—figure supplement 2b ) significantly affected the mean group behavior across all three behavioral traits ( Figure 2—figure supplement 1b ). Especially, the means of the three parameters (% of time walked, vector strength, and centrophobicity) were strongly affected by the stimulus modification. Surprisingly, despite this change in group means, we observed only a minor effect on individuality when testing the same fly in different situations ( Figures 1c and 2b , measured by a high Pearson correlation coefficient and a consistent rank within the distribution). The individuality for the traits exploration and anxiety persisted even upon modulation (variation of stripe number) and after removing visual cues from the arena. Only those parameters describing the fly’s attention towards visual cues showed an unsurprising reduction in behavioral consistency upon removal of the visual stimuli ( Figure 2b ). Altogether, these results demonstrate that individuality persisted after stimulus modifications within the same arena, even when the modifications resulted in altered group responses. To further characterize the surprising relationship between individuality and group means upon situational changes, we modified the homogeneity of background illumination in the Buridan arena using two different diffuser materials (paper and acryl-based covers of fluorescent ring lights) and compared these conditions to a newly designed Buridan LED arena displaying the same visual stimulus (stripes of the same color, width, and height) ( Figures 1d and 2c and Figure 2—figure supplements 1c and 2c ). We measured no significant differences between the group means of the two diffuser conditions and only minor group-based changes compared to the LED Buridan ( Figure 2—figure supplement 1c ). We then tested the correlation of individual behavior across these conditions, as a measurement of behavioral consistency, expecting high correlations. Indeed, the different diffusers within the same arenas only had minor effects on the behavior of individual flies ( Figure 1d ). Conversely, the individual response changed dramatically when the same fly was tested again in the LED arena, albeit presenting the same stimulus ( Figure 1d ). A fly’s attention and anxiety parameters quantified within the original arena did not allow for any prediction for the LED arena ( Figure 2c ). Significant correlations between the LED arena and the original arenas were only measured for exploration parameters ( Figure 2c ). This unpredictability of individual fly behavior across situations was once again particularly surprising since group-based performances remained similar ( Figure 2—figure supplement 1c ). Finally, a detailed comparison of males and females revealed only quantitative but no qualitative differences across all parameters between the two sexes ( Figure 2—figure supplements 1 and 2 ). Based on the surprising result that individuality ( Gosling, 2008 ) of visual orientation behavior is more strongly influenced by the arena type (despite producing very similar group responses) and, only to a lesser degree, dependent on the visual cue (despite strong differences in the group response), we set out to characterize the contribution of environmental situations to individuality even more quantitatively. We, therefore, built a multiplatform high-throughput assay (Indytrax) to quantitatively study the behavior of the same individual flies in different environmental situations ( Figure 3 , technical details: Figure 3—figure supplement 1 ). Figure 3. A high-throughput assay for studying the influence of temperature, illumination, and arena shape on individuality. ( a ) Setup overview. Flies are filmed from below against a near-infrared backlight and are walking within a 5×5 array of small Buridan chambers ( b ) or one of up to 144 Y-maze arenas ( c ). The setup is housed within a temperature- and humidity-controlled enclosure (600×450 ×820 mm). The provided MATLAB code corrects lens distortions, automatically detects the arenas, and tracks each fly’s position over time, allowing for generating high-throughput single-fly behavioral data ( d ). See Materials and methods: Setup 2: IndyTrax multi-arena platform for details. Figure 3—figure supplement 1. Construction of a high-throughput assay for studying the influence of temperature, illumination, and arena shape on individuality. ( a ) Overview of parts necessary for constructing the assay. Part numbers are referenced in Supplementary file 2 and for 3D printed parts under https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ) for replication. Black numbers indicate off-the-shelf parts; blue numbers indicate 3D-printed parts. ( b ) Schematic illustration of the tracking procedure. The provided MATLAB script automatically reads video frames, detects single arenas, tracks the X- and Y-coordinates of individual flies over time, and saves data for further analysis. ( c ) Exemplary temperature- and humidity curves were measured within the center arena during heat-up to 25 and 30°C, respectively. Stable plateaus are reached after ~20 min. ( d ) The camera was calibrated using the MATLAB calibration toolbox. The provided MATLAB script uses these camera parameters to correct lens distortion artifacts during tracking. ( e ) Screenshots of the tracking procedure using the multi-Buridan assay. Arenas are detected automatically, and individual flies get thresholded after background subtraction, resulting in reliable trajectories of each individual fly. ( f ) Same as ( e ), but for the Y-maze assay. The box on the right shows an enlarged depiction of a single arena. ( g ) Same as ( e ), but for linear assays, demonstrating the usability of the setup with other arena shapes. The box on the right shows an enlarged depiction of a single arena. Figure 3—figure supplement 2. Data of a fly group (TopBanana) illustrating orientational responses. Flies walk between the two stripes and show randomly distributed headings in darkness, independent of temperature. ( a ) Velocity- (left, transparency added to tracks), transition- (middle), and angular plots (right, angles from moving periods only, non-axial) for vertical stripes positioned at 0° (top), 90° (middle), or in complete darkness (bottom), respectively for all tested flies at 25 °C. Scale bar = 10 mm. ( b ) Same as ( a ) but at 30 °C. Fly numbers are indicated in the velocity plots. Open in a new tab Using Indytrax, we compared the behavioral parameters of each fly in eight different environmental situations ( Figure 4 , Figure 4—figure supplement 1 , Figure 4—figure supplement 2 , Figure 4—figure supplement 3 ). The flies were tested in two independent arenas (Buridan and Y-maze) at two different temperatures (23°C and 32°C, Figure 3—figure supplement 2 ) and under both light and dark conditions. Our analysis showed that temperature significantly affected exploration parameters on the group mean level. As expected, most animals tested were more explorative at higher than at lower temperatures (reviewed in: Gibert et al., 2016 ; Figure 4—figure supplement 1 ). Despite these group changes, individuals kept their rank within the group, independent of the changed baseline activity. For example, fly #1 was the least explorative, fly #2 exploration performance ranked medium, and fly #3 the highest ( Figure 4a ). The graphical analysis of exploration parameters ( Figure 4b ) confirmed that most individuals maintain their rank in the distribution under different temperatures and light-dark conditions, whereas the individual distribution rank changed between the different arena types. This relationship was less pronounced for attention parameters. The detailed correlative analysis between individuals underscores these observations ( Figure 4c , Figure 4—figure supplement 2 and full analysis Figure 4—figure supplement 3 ), containing also many parameters that can only be measured under specific situations (e.g. deviations from a stripe can only be measured under light conditions and not in the dark): Amongst the exploration parameters, the percentage of time walked significantly correlated between individuals (Pearson r =0.263–0.398) independently of temperature, illumination, and arena. Walking speed was highly correlated between individuals (Pearson r =0.81, 0.825) under temperature and illumination changes but uncorrelated in different arena types (Pearson r =0.091). Vector strength was the most correlated attention parameter. The individual correlations ranged from Pearson r =0.533 to –0197. Angular velocity significantly correlated with temperature and illumination (Pearson r =0.246, 0.354) but not in different arenas (Pearson r =0.087). The same is true for anxiety measured through centrophobicity (Pearson r =0.694, 0.740, 0.033). In summary, these data revealed that individuality measured in three traits is mostly unaffected by temperature and illumination but strongly affected by the arena type. Our analysis confirmed that even in situations with a large effect on the mean group behavior (like temperature), individual behavioral consistency of idiosyncrasies remained high, while conversely, other environmental situations like the arena type had little impact on the mean but a massive effect on individual behavioral consistency ( Figure 4—figure supplement 1 ). Qualitatively similar results leading to the same conclusions were obtained for both sexes ( Figure 4—figure supplement 1a , Figure 4—figure supplement 2a ) and two different genotypes ( Figure 4—figure supplement 1b , Figure 4—figure supplement 2b ). Figure 4. The influence of temperature, illumination, and arena shape on individuality in walking flies. ( a ) Individuality in walking patterns across different temperatures, illumination, and arena type. Diameter circular arena = 49 mm, arm length from center Y-maze=13.5 mm. ( b ) Changes in the % of time walked and vector strength for all tested flies depending on environmental conditions (n=400). Right: data grouped by temperature, illumination, and arena. ( c ) Correlation of key behavioral parameters across temperature, illumination, and arena type (n=400). For detailed fly numbers per experimental condition, see Figure 4—figure supplement 1 . Figure 4—figure supplement 1. Sex- and genotype-specific group responses over varying temperature, illumination, and arena shape in walking flies. ( a ) Boxplots illustrating key behavioral parameters for the whole tested CantonS group (left, blue = 23 °C, red = 32 °C) and separately for females/males (green/magenta) over varying temperature, illumination, and arena shape. Animal numbers are indicated next to each plot. ( b ) Same as ( a ), but for all tested TopBanana flies. Figure 4—figure supplement 2. Sex- and genotype-specific differences based on the influence of temperature, illumination, and arena shape on the persistence of individual traits in walking flies. ( a ) Correlation of key behavioral parameters for females and males depending on temperature, illumination, and arena. Magenta = females, green = males. Correlation coefficients are displayed in the upper left corner of each plot. *=p<0.05, **=p<0.01, ***=p<0.001, for detailed fly numbers per experimental condition, see Figure 4—figure supplement 1 . ( b ) Same as ( a ) but sorted by genotype (red = CantonS, blue = TopBanana). Figure 4—figure supplement 3. Complete the correlation matrix across all behavioral parameters and contexts. Correlation coefficients with p <0.05 are color-coded. Open in a new tab Next, we drastically modified the behavioral situation while keeping the visual stimulus as constant as possible. We, therefore, decided to investigate the influence of a fly’s modality of locomotion (walking versus flying) on individuality. To do this, we designed a new virtual flight arena for tethered flight utilizing the exact same LED panels as were used in the LED Buridan arena ( Figure 5a-c , Figure 5—figure supplement 1 for technical details), to maximize the similarity of the visual context. This flight simulator tracked a fly’s heading in real-time in response to dynamic or static panoramic visual stimuli with high resolution (1.4° pixel size). This allowed us to quantitatively compare the visual decisions of both walking and flying flies in response to standard optomotor and Buridan-like stimuli ( Figure 5d–e ). We first tested individuality in flying flies over time under the same and a set of modified visual stimuli ( Figure 6 , Figure 6—figure supplement 1 and Figure 6—figure supplement 2 ). Each fly was tested over two consecutive days under three different visual conditions (dark stripes on a bright background with either 50% or 100% contrast, and an inverted Buridan with bright stripes on a dark background and 100% contrast) ( Figure 6a ). Overall, the flies showed some individuality in visual attention across days and contrast. This was also true for the inverted Buridan stimulus, in which the flies oriented themselves toward the dark areas, similar to previous results ( Han et al., 2021 ). To allow a quantitative comparison across behavioral traits between walking and flight behavior, we derived an adapted set of parameters for exploration and attention quantification (exploration parameters: # of pauses, Absolute angular velocity; attention parameters: Vector strength, Angular velocity, and Median heading axial, Figure 6b ). The resulting analyses revealed individuality in flying flies ( Figure 6c ). Only the inversion of the Buridan stimulus resulted in variable angles towards the black background on different days. However, it is remarkable that on a given day, each fly selected an arbitrary heading that was kept for the entire experimental length ( Figure 6a ). Again, the quantitative analysis between males and females did not reveal qualitative differences ( Figure 6—figure supplement 2 ). Figure 5. A virtual flight simulator for studying individuality in flying flies. ( a ) Setup overview (225×225 ×600 mm). Flies are glued to a steel pin and placed in a magneto-tether surrounded by an LED matrix for stimulus presentation. ( b ) Close-up photo of a tethered flying fly. ( c ) Schematic setup overview. Flies are filmed from below through an IR-pass filter against near-infrared back illumination. A connected pump provides air puffs to reinitiate flight if necessary. We provide a mounting port for an optional IR laser for heat punishment via a dichroic mirror. ( d ) A MATLAB script controls stimulus presentation (optomotor or Buridan stimulus) with an angular extent of 360° azimuthally and 100° vertically and provides simultaneous real-time tracking of flight heading over 360° ( e ). Before an experiment, each fly’s ability to rotate was tested using a 120°/s CW or CCW stripe rotation (optomotor stimulus), resulting in measured rotational flight movements close to the rotational velocity of the stripe pattern ( e ), upper left and uniform distribution of angles ( e ), lower left. This was followed by each fly flying under the Buridan stimulus for 10 min ( d ), right and an analysis of heading choices ( e ), upper right and their angular distribution ( e ), lower right. Figure 5—figure supplement 1. Construction of a virtual flight simulator for studying the persistence of individual traits in flying flies. ( a ) Overview of parts necessary for constructing the assay. Part numbers are referenced in Supplementary file 2 and for 3D printed parts under https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ) for replication. Black numbers indicate off-the-shelf parts; blue numbers indicate 3D-printed parts. ( b ) Schematic illustration of the tracking procedure. The provided MATLAB script works in real-time at ~90 Hz on a 4 GHz processor. The code automatically reads camera frames, computes the heading angle over time, and saves data for further analysis. ( c ) Illustration of the tracking procedure. The camera frame is thresholded using two different Gaussian filter settings to separately threshold the body (yellow) and legs/wings (dark blue). An ellipse is fitted around the thresholded body pixels, and its main axis is used to measure the distribution of body pixels within four virtual quadrants whose origin is the centroid of the fly. The head region can be determined because it appears smaller in the camera images than the abdominal region of the fly. Open in a new tab Figure 6. Individual traits of flying flies persist over time but depend on the visual scenery. ( a ) Angular histograms show the persistence of individual heading choices over consecutive days and across different contrast ratios. ( b, c ) Correlation of key behavioral parameters over time (n=30) ( b ) and depending on changes in visual contrast (n=30) ( c ). Figure 6—figure supplement 1. Group responses over time and different visual contrasts in flying flies. Boxplots illustrating key behavioral parameters for the whole group (blue) and separately for females/males (green/magenta) over time and varying stripe contrasts ( b ). Animal numbers are indicated next to each plot. Figure 6—figure supplement 2. Sex-specific differences in individual traits in flying flies persist over time but depend on the visual scenery. ( a ) Correlation of key behavioral parameters for females and males over time and dependent on stimulus contrast. Magenta = females, green = males. Correlation coefficients are displayed in the upper left corner of each plot. *=p<0.05, **=p<0.001, ***=p<0.0001, for detailed fly numbers per experimental condition, see Figure 6—figure supplement 1 . Open in a new tab After confirming that individuality also existed in flying flies, we tested how different locomotion modalities affected a given animal’s behavioral individuality. Behavioral parameters of both walking and flying flies were quantified in response to the same panoramic LED screen displaying an identical two-stripe Buridan stimulus ( Figure 7a , Figure 7—figure supplement 1 and Figure 7—figure supplement 2 ). We expected one of three possible outcomes: (1) There is no consistency of individual behavioral traits across flying and walking. (2) Only some behavioral traits are similar across flying and walking. 3. The fly’s individuality remains consistent across the same visual cue, independent of the locomotive modality. Subsequent quantitative analysis indeed revealed a significant correlation for angular velocity between flying and walking flies ( Figure 7b ), indicating that a fly’s attention towards a visual object is, to some degree, preserved independent of the locomotor modality. In contrast, we found no statistically significant correlations for any of the exploration parameters between flying and walking. Finally, a more detailed analysis revealed mostly comparable results for male and female data ( Figure 7—figure supplements 1 and 2 ). Figure 7. Visual attention persists across different behavioral states. ( a ) Experimental overview. Flies were untethered after flying within the flight simulator for 10 min (left) and walking for 15 min (right) under the same Buridan stimulus (stripe size = 11°). Single fly data (middle) and group data (bottom) reveal stripe fixation behavior when walking and during flight. ( b ) Correlation of key behavioral parameters depending on the behavioral state (flight = x axis, walking = y axis, n=73). Figure 7—figure supplement 1. Group responses of orientational parameters across different behavioral states. Boxplots illustrating orientational parameters under different behavioral states for the whole test group (blue) and separately for females/males (green/magenta). Animal numbers are indicated next to each plot. Figure 7—figure supplement 2. Attention persists across different behavioral states in males but not females. ( a ) Correlation of key behavioral parameters for females and males depending on the behavioral state. Magenta = females, green = males. Correlation coefficients are displayed in the upper left corner of each plot. *=p<0.05, **=p<0.001, ***=p<0.0001, for detailed fly numbers per experimental condition, see Figure 7—figure supplement 1 . Open in a new tab The data presented here reveal a hierarchical influence of different parameters within the environmental context on individuality ( Figure 8 ): First, we conclude that time (at least within the frame of days) has a negligible influence on individual behavioral responses (the basis of the definition of animal individuality in a single situation), since we found consistency of individual behavioral traits and parameters over time in both locomotor modalities, walking and flying. Second, temperature had the second weakest impact on individuality (although only tested for walking behavior). This contrasts with the dramatically altered group mean responses, a difference that can be explained by scaled individual responses in which individuals keep the rank in the group. Third, the nature of the visual input appears to influence the individual orientation responses but has little impact on the exploration parameters. Finally, we identified the most critical situational environmental features that determine individual responses as both the arena type and the locomotor modality (walking vs. flying). Therefore, we conclude that the individuality of visually guided behaviors persists specifically in some traits across situations, but the environmental context plays a prominent role in defining individual behavioral responses. Figure 8. A hierarchy of environmental and behavioral contexts based on their influence on individuality. Open in a new tab ( a ) Overview summarizing correlation coefficients ( p <0.05) for key behavioral parameters depending on behavioral context, time, temperature, and visual input. ( b ) Quantification of the influence of behavioral and environmental contexts on the persistence of individuality. To verify the results of our multiple correlative analyses, we took advantage of a generalized linear model (GLM, Figure 9 ). We first analyzed the effect of time, temperature, vision, and arena on the mean group responses analogous to Figure 2—figure supplement 1 , Figure 4—figure supplement 1 , Figure 6—figure supplement 1 , Figure 7—figure supplement 1 ( Figure 9a ). Our reanalysis of the walking data confirmed the temperature dependency of activity parameters ( Figure 4—figure supplement 1 ). It also revealed effects on the group means by vision and arena, particularly for walking speed. The orientation parameter vector strength was similarly affected by temperature, vision, and arena (see also Figure 2—figure supplement 1 , Figure 4—figure supplement 1 ), while the position parameter centrophobicity was most strongly affected by the arena (see also Figure 2—figure supplement 1 , Figure 4—figure supplement 1 ). For flight parameters, the reanalysis of mean data revealed a strong effect of vision on the orientation parameter vector strength and the heading parameter median heading axial (see also Figure 6—figure supplement 1 ). Our reanalysis, therefore, confirmed our previous analysis of mean group data. Figure 9. A generalized linear model to demonstrate individuality across situations. Open in a new tab ( a ) The difference in individual behavioral parameters for walking (left) and flight (right) when changing environmental conditions (time, temperature, vision, arena). Significance: * p <0.05, ** p <0.01, *** p <0.001. ( b ) The difference of rank (in %) within the tested groups (walking and flight combined) when changing environmental conditions. Smaller rank differences indicate a lower influence of the environmental parameter on the persistence of individuality. Significance: * p <0.05, ** p <0.01, *** p <0.001. ( c ) Generalized linear model (ridge regression) showing the influence of changing environmental parameters on individual rank differences within the tested group (individuality) using the data in ( b ). Significance: * p <0.05, ** p <0.01, *** p <0.001. Non-significant environmental parameters are shaded in gray. The next step of our reanalysis was to compare the rank changes of our flies across situations analogous to the correlation analysis we had done ( Figures 2 , 4 , 6 and 7 ). Our reanalysis revealed significant changes in activity parameters and the orientation parameter vector strength. In these parameters, the effect on the rank of each individual increases from time over temperature, vision, and arena to the behavioral state. Confirming the data we found in Figures 2 , 4 , 6 — 8 . Also, the lack of a significant effect of the behavioral state for angular velocity confirms our correlation analysis of Figures 7 and 8 . Furthermore, we generated a GLM with ridge regression to show the effect of changing environmental situations on individual rank differences ( Figure 9c ). First, we converted the individual mean values for every behavioral trait to within-group ranks (0–100). We then used the GLM to predict the average change in rank for a fly when altering a single environmental context. Each bar in Figure 9c represents the predicted influence of changing a certain environmental parameter on the persistence of each behavioral trait, where larger values indicate a larger influence on rank persistence and smaller values indicate less influence of the respective environmental context on rank persistence. Due to the response variable being in rank points, the predicted rank shift due to changing the respective environmental context is the height of a bar in Figure 9c added to the indicated intercept values. Based on our correlative analysis, we predicted a spectrum of context dependencies of individual behavioral consistency, where behavioral state > arena > vision > temperature > time in their ability to alter the persistence of individuality. The output of the GLM analysis supports that hypothesis, since calculated coefficients also indicate such a spectrum from rather stabilizing (e.g. time, temperature) to rather disruptive (arena, behavioral state). Our analysis shows that the effect was statistically significant for most environmental parameters. For the activity parameters, time, temperature, and vision significantly stabilized individual phenotypical rank. In contrast, the arena and behavioral state significantly had a negative effect on rank consistency. For the orientation parameter vector strength, we could fully replicate our previous findings that time had the strongest positive effect on consistency, followed by temperature. Vision had no significant impact. In contrast, the arena had a small negative effect on behavioral consistency, while the behavioral state had a strong negative effect. In the second orientation parameter (angular velocity), a significant destabilizing effect was only found for the behavioral state. For the positional parameter (centrophobicity), only vision had a significant effect on behavioral consistency. Furthermore, as an additional step in our reanalysis, a hierarchical linear mixed-model analysis confirmed the findings of the previous analyses while providing a more complete and accessible overview of the influence of different environmental contexts on behavioral traits and the individual consistency (repeatability) of these traits across environmental contexts. For walking as well as flight, the majority of behavioral traits showed significant repeatability across different contexts with ICCs on the order of about 0.1–0.6 for walking and 0.2–0.4 for flight ( Figure 10 , see also Supplementary file 3 ). When analyzing walking data, the highest ICCs were measured for activity and orientation-related traits, indicating that flies tend to keep their relative rank for these traits across environmental contexts. In contrast, centrophobicity as a measure for anxiety showed much lower repeatability across different contexts (ICC near 0). The pattern of repeatability was similar for flight traits, with high repeatability for activity traits and low repeatability for the exploratory trait (heading). Both vector strength and the heading showed only low ICCs across different contexts during flight, since the inversion of contrast had a very strong effect on the flies’ orientational choices (see Figure 6 ), reducing rank consistency in these traits. Although the flight assays showed slightly lower ICCs overall, possibly reflecting greater trial-to-trial noise, our key finding that specific individual behavioral traits are consistent across different environmental contexts was robust across behavioral modalities (walking vs flight). Group-level behavior was shifted by environmental manipulations (e.g. increasing the temperature led to an increase in mean activity in walking and flight assays). However, individual differences were not erased by these shifts. E.g., in each context, flies that were relatively less active than the average in one environmental context remained so in other environmental contexts, therefore, preserving rank order. Most environmental context effects appeared as shifts in the intercept (group means) rather than changes in the rank order of individual differences. Figure 10. Hierarchical linear mixed-model analysis. Open in a new tab ( a ) Repeatability across behavioral context of five walking (left) and five flight (right) behavioral traits, as measured via intraclass correlation coefficient (ICC). Bars indicate ICC estimates and whiskers show 95% confidence intervals (CI, obtained via 1000 x bootstrapping, for details, see methods section). High ICC values indicate stronger persistence of individual traits across environmental contexts. Number of observations from left to right: 2983, 2912, 2666, 2099, 2987 (walking), 180, 180, 180, 180, 180 (flight). ( b ) Fixed-effect estimates and 95% confidence intervals (whiskers) from hierarchical mixed models for each behavioral trait (left: walking, right: flight). For each modified environmental context (predictors, y-axes), the estimated effects are indicated with points (in units associated with the respective trait) with whiskers representing 95% confidence intervals. Positive estimates indicate that the behavioral trait increases by the indicated values with the predictor increasing one step and vice versa. Predictors were categorized numerically: 1–3 days, 25°–32 °C, 0–2 stripes, light off (0) light on (1), round arena (0) y-maze (1). For a detailed overview of fixed effects, see Supplementary file 3 . In summary, using three independent mathematical approaches, we have established a hierarchy of different environmental situations on behavioral consistency. This data demonstrates that temporal stability is more prevalent than consistency across situations in animals. Like humans, animals also have significant consistency across situations, but similar to humans, different situations evoke different behavioral responses, masking some measurable behavioral consistency. Discussion Our work presented here focused on the question of whether the combination of consistent behavioral parameters ranging across different traits and, therefore, defining an animal’s individuality are invariable across situations or whether they are re-shaped by different environmental contexts. This question is closely related to the questions in the human ‘person-situation debate‘ ( Mischel, 1968 ). Until now, in the neurosciences, individuality across situations has been largely ignored since many commonly used definitions of animal individuality only refer to the repeatability of behavior over time in a single environmental situation ( Gosling, 2008 ). The contrary is true for mainly field and observation-based sciences, such as ethology and behavioral ecology that have since decades acquired observations for ( Boissy and Bouissou, 1995 ; Spoolder et al., 1996 ) or against ( Coleman and Wilson, 1998 ; D'Eath & Burn, 2002) behavioral consistency across situations, with some of the most convincing work probably found in hermit crabs ( Briffa et al., 2008 ; Mowles et al., 2012 ), blue tits ( Herborn et al., 2010 ), and geese ( Kralj-Fiser et al., 2007 ). Our work establishes animal individuality across situations under several tightly controlled laboratory conditions, revealing that animal individuality shares remarkable similarities to what has been described in human personality research. In agreement with Vansteelandt and Van Mechelen, 2004 our results are in line with the concept of the personality triad, emphasizing the interplay of individual, situation, and behavior (in humans: person, situation, and behavior) ( Vansteelandt and Van Mechelen, 2004 ). Our results confirm that under the same environmental situation and stimulus, animals produce inter-individually variable, but extremely consistent behavioral responses when being retested ( Bell et al., 2009 ). Therefore, consistent and individually variable behaviors likely result from individual brain properties that persist over long timescales (in this paper, days as shown in previous papers, months Linneweber et al., 2020 ), contrasting random behavioral variations like sudden internal state variations. Hence, when presented with the same stimulus in the same situation, each individual responds variably but repetitively, pointing towards a deterministic and hardwired basis of individual properties ( Buchanan et al., 2015 ; Linneweber et al., 2020 ). The variability of the situational environmental context makes individual animal behavior in the wild much less predictable than that under laboratory conditions ( Briffa and Greenaway, 2011 ). In opposition to the vast human literature on the ‘person-situation debate’ ( Diener and Larsen, 1984 ; Fleeson, 2001 ; Mischel, 1968 ; Vansteelandt and Van Mechelen, 2004 ; Weisbuch et al., 2010 ), the importance of environmental context in shaping individual animal behavior remains descriptive ( Kralj-Fiser et al., 2007 ) and experimentally largely unexplored, with few exceptions ( Briffa et al., 2008 ; Mowles et al., 2012 ; Versace et al., 2020 ; Werkhoven et al., 2021 ). Here, we closed this gap in knowledge by quantitatively demonstrating how situational environmental and locomotor context changes individual behavior and individuality in animals. Our results demonstrate that situational environmental context has a pronounced effect on individual behavioral responses, be it an alternative stimulus representation, a different arena, or another locomotive modality. Similar to the human literature ( Mischel, 1968 ), the correlation coefficients are lower across situations than in the same situation or environmental context. From this, we can conclude that under more natural conditions with varying contexts, the consistency of individual traits measured by behavioral parameters will be reduced but remain measurable; therefore, for each situational context, the brain computes the appropriate behavior. This is like the situation-behavior profile of the individual in the personality psychology literature ( Mischel and Shoda, 1995 ; Mischel and Shoda, 1998 ). Each time the individual is placed in the same situational context, the same behavior will be evoked; in a different context, a modified behavior. But despite these modifications, the individual brain properties computing the response remain the same. In line with lower but measurable behavioral consistency across situations, a vast literature demonstrates the importance of animal individual differences for ecological communities under natural conditions (reviewed in: Sih et al., 2012 ; Takola and Schielzeth, 2022 ). Also, our reanalysis using a hierarchical linear mixed model shows that individuality is consistent but not uniform across behavioral contexts. The repeatability of behavioral traits across environmental contexts was trait-dependent: some behaviors (e.g. edge preference/centrophobicity) exhibited lower intraclass correlation coefficients (ICCs), whereas others (e.g. general locomotor drive and sustained orientation) showed high ICCs. In a multi-context experimental design, such heterogeneity in ICCs is expected and can provide insights into the underlying mechanisms. Behaviors with high ICCs are likely influenced by stable, fly-specific factors (such as developmental or genetic differences), whereas traits with low ICCs may be more sensitive to the immediate environmental context. Importantly, low ICC values do not contradict the existence of individuality; rather, they suggest that inter-individual variation contributes differently to behavior depending on the environmental conditions. Our quantitative analysis of the effect of environmental and locomotor context on behavioral consistency revealed a hierarchy. As expected from animal and human studies, the time frame of days had little effect on the behavioral outcome ( Bell et al., 2009 ; Buchanan et al., 2015 ; Linneweber et al., 2020 ; Mischel, 1968 ; Pantoja et al., 2016 ; Ross, 1977 ; Schuett et al., 2011 ). The hierarchy revealed by our experiments argues for differences in the relevance of environmental features for the traits we measured, which aligns with Mischel’s strong or weak situations ( Mischel, 1973 ). Therefore, it is unsurprising that exploration can be best measured across situations within experiments of walking flies, and attention towards a stimulus can be measured across movement modalities. Our quantitative analysis demonstrates that situational context can be the most significant factor in determining the individual behavioral outcome, even in a per-design visual assay. This argues that individual behavior is determined by the entirety of the situation, consisting of both the stimulus and the environmental context. For each situation, each individual manifests its individual behavior. In the future, it will be important to investigate which individual neurophysiological responses change when tested under exactly the same stimulus, but different situations. A systematic analysis of relevant circuit elements for different behaviors will allow for determining the exact neuronal substrates underlying individual behavioral computations within a fly’s or other animals' brains. This future research on animal models will provide important new insight into the ‘person-situation debate‘. On a more practical level, the importance of the situational environmental context for shaping individual behavioral outcomes is also very important when comparing the results of different research groups when using similar behavioral paradigms. In many instances, it is impossible to replicate all components of a specific assay, let alone the conditions of the experimental room. Our results show that such details substantially impact individual behavioral responses and contribute to errors in replicating the results from another lab ( Crabbe et al., 1999 ; Lithgow et al., 2017 ). Only meticulous and detailed reporting of as many environmental features as possible will hopefully alleviate some of these problems in the future. Also, in terms of statistics, using well-established approaches can be an advantage. The hierarchical mixed-model analysis provides a more complete and accessible overview of the findings in our study, making it more comparable to previous findings in behavioral ecology ( Dingemanse and Dochtermann, 2013 ). In conclusion, our work confirms that animals, including flies, have, like humans, individuality across situations. Similar to humans, animal individuality across situations is also marked by lower correlation coefficients than repetitions of a single situation. The individual is consistent across situations, producing individualistic behavior through an interaction with the situation. This involves a hierarchy of influence of different environmental features on the predictability of behavior across situations. Materials and methods Assay and fly number overview We tested flies across three main behavioral assays and systematically altered five environmental context parameters, but not all flies could be subjected to all environmental context modifications. In the ‘classical’ Buridan assay, we tested 60 flies over three days, 57 different flies with three different stripe numbers, and 54 different flies with three different background illuminations. In the high-throughput assay, we tested 400 flies, with each fly tested in two different temperatures, with light on/off, and in two different arena shapes. In the flight simulator, we tested 30 flies, with each fly tested across two days and three contrast conditions. Furthermore, we tested with 73 different flies in the flight simulator first and then in the ‘classical’ Buridan assay. Animals All experiments were performed using 1-week-old wild-type Drosophila melanogaster (CantonS (Source: Bassem Hassan) and TopBanana Warren et al., 2018 ) reared on a standard Drosophila yeast cornmeal medium (7.5 g Agar, 64 g cornmeal, 160 g yeast, 85.5 ml sugar cane syrup in 1 L of water) at 25 °C and 50% relative humidity under a 12/12 light/dark rhythm. Individual flies were placed into the behavioral arenas using a fine brush and were allowed to accommodate for about 10 min before any experiment. The behavioral arenas and flies were cooled on ice for Y-maze experiments before gently loading single flies into the chambers using a fine brush. For experiments with clipped wings, the wings were clipped close to the hinge under CO 2 anesthesia, and flies were tested after being allowed to recover within individual vials for at least two days. Setups Setup 1: Standard Buridan Arena Assay Two Buridan setups were used: type A uses fluorescent tubes for background illumination (as described in Colomb et al., 2012 ; Linneweber et al., 2020 ). Type B utilizes a panoramical LED matrix (RGB, 384×128 pixels, pixel size 0.9°, 120 Hz frame rate, 5 kHz refresh rate, <1 ms Pixel update latency), which is easily addressable via HDMI for stimulus presentation (see Figure 1a ). For a detailed description of the assays and tracking procedures, see Figure 1—figure supplement 1 . Flies were walking on a circular platform (diameter 12 cm) between two opposing black vertical stripes (angular extent 12° horizontal and 90° vertical measured from the center of the platform). A trench of water surrounded the platform to prevent the flies from escaping (type A) or a clear plastic hemispherical dome coated with Sigmacote (Sigma-Aldrich, SL2-25ML) from the inside (type B). Single-fly walking behavior was recorded at 25 °C and 50% relative humidity for 15 min (450×450, 8-bit grayscale, 20 Hz, AVI, Mjpeg compression, 90% quality). Before changing an experimental condition, flies were placed back into single vials for recovery. Automated tracking procedure Data was analyzed either in real-time using previously described code (type A, see Colomb et al., 2012 ) or offline using a custom-written MATLAB code (type B, available for download from https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality [copy archived at LinneweberLab, 2026 ], see Figure 1—figure supplement 1c ), respectively. Thresholded video frames and overlaying trajectories are displayed continuously in a separate window to allow the experimenter to assess tracking quality. The MATLAB code works as follows: the circular region of interest (ROI) is automatically detected based on adaptive thresholding and subsequent filtering of the thresholded ROI based on area. Once the ROI is detected, a background image is generated by calculating the maximum intensity between a recorded video’s first and last frames. All flies that moved between those frames will not appear in this background-only image. During tracking, the background image is subtracted from each consecutive frame to simplify the thresholding of the fly. For each frame, the centroid of these thresholded pixels is stored. Should more than one object be detected within a ROI (e.g. through pixel noise), the x-/y-coordinates of the object closest to the fly’s position in the previous frame are stored. If a fly is lost, the tracker keeps the last known position of the fly until it is detected again. Data output Once tracking is completed, the raw tracking results are converted to real-world units (mm) and saved into a .mat-file. Before further analysis, minimal movements are filtered out by only updating the fly’s position if a certain walking threshold (0.8 mm/frame) is detected. For each fly, a figure can be saved, allowing for a quick overview of the walking trajectory, and a variety of behavioral parameters are also saved into a separate. txt file to simplify further data analysis. For a detailed explanation of calculated parameters, see Supplementary file 1 . For an in-depth analysis of Buridan data, sophisticated data analysis routines describing many behavioral parameters were previously developed ( Colomb et al., 2012 ). To simplify data integration and compatibility, the raw trajectories can also be saved to a pair of .TXT and .DAT files, which can later be read and analyzed by previously available software ( Colomb et al., 2012 ). Setup 2: IndyTrax multi-arena platform Assay To allow for high-throughput behavioral quantification under various tightly controlled environmental contexts, we designed the novel assay system IndyTrax. In short, single flies are transferred to an array of small behavioral arenas. They are filmed from below against near-infrared (850 nm + Lee filters 87 C IR-pass filter on camera objective) LED illumination ( Figure 3 ). Compared to published Buridan assays ( Colomb et al., 2012 ), this allows tracking flies in the absence of visible light, but also has the advantage that flies cannot see the camera lens which might otherwise appear as a high-contrast object from within the arena. The assay was designed to allow for the tracking of flies in various possible arena shapes and numbers. We created three different 3D-printable arena types ( Figure 3—figure supplement 1e–g ), which can be downloaded from https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ). For individuality analysis, we used the multi-Buridan and Y-maze arenas. The setup was built from commercially available and 3D-printed parts. For a part list, see the Supplementary file 2 . All 3D-printed parts and behavioral assays were printed on a Prusa i3 mk3 printer using black or white PLA filament (Verbatim 55318) and can be downloaded from https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality . Similarly, the MATLAB code for tracking and data analysis can be downloaded from there. For detailed instructions on how to install and run the code, see the supplemental information. With a computer running MATLAB already available, we estimate the building cost for a complete, temperature- and humidity-controlled enclosure, including all behavioral assays, at about 3500€. Temperature- and humidity-controlled enclosure Behavioral arenas are located within a black, climate-controlled metal enclosure. Temperature and humidity within the enclosure can be regulated using two 3D-printed humidifiers and a heating plate (see Figure 3—figure supplement 1a ). Ambient temperature and humidity can be set at any desired value using this configuration and kept stable over a long time (see Figure 3—figure supplement 1c ). Since small, enclosed arenas are prone to heat build-up, we placed all temperature- and humidity sensors within the center arena (arena 13) for Buridan experiments and close to the flies in Y-maze experiments. For Buridan experiments, this limits the number of simultaneously trackable arenas to 24 but allows more accurate climate control within the chambers. Small-scale Buridan-stimuli arrays We modified the basic design of previously published behavioral arenas optimized for Buridan object orientation behavior ( Colomb et al., 2012 ) by implementing changes in four major areas to allow for high-throughput tracking: First, we reduced the arena diameter to allow for filming an array (5×5) of optically isolated Buridan arenas with only a single camera ( Figure 3 ). Second, flies are walking on circular translucent acrylic plates (49 mm diameter) which allows for filming flies from below against infrared back-illumination, hence avoiding problems with dead angles that would arise when filming cylindrical arrays from above. Third, during experiments, flies are contained on their respective acrylic platform by clear hemispherical plastic domes ( Figure 3b ). This removes the necessity of cutting the flies’ wings before experiments and saves space by making the water-filled moats of the original design superfluous. Plastic domes were coated with Sigmacote (Sigma-Aldrich, SL2-25ML) from the inside to prevent the flies from sitting on the dome surface. Fourth, to provide a scalable, homogeneously illuminated white background for optical stimulus presentation, the fluorescent tubes of the original design were replaced with electroluminescent (el-)foil wrapped around translucent acrylic cylinders ( Figure 3b ). Such el-foils can be cut to size and have low heat emission. They emit light evenly over the whole surface, minimizing unwanted intensity cues within the arenas. El foils are driven at 2 kHz, thus providing virtually flicker-free white illumination to the flies. For creating the Buridan object orientation stimulus, thin black stripes (12° wide as measured from the arena center) were 3D printed and glued vertically to the inside of the arena walls 180° apart, thereby creating high-contrast objects against a uniform white background ( Figure 3b ). Individual arenas were fitted into a 5×5 array. Every other arena within the array was rotated by 90° counter-clockwise to increase the robustness of behavioral readouts by canceling out possible directional artifacts created within the enclosure. Walking behavior was recorded at 50% relative humidity for 15 min (1200×1200 pixel, 8-bit grayscale, 15 Hz, AVI, Mjpeg compression, 90% quality) with either the el-foil-illumination on, in darkness, at 23 °C or 32 °C, respectively. After being tested in the Buridan assay, the flies were put back into single vials overnight to allow for recovery before testing them in the Y-maze assay the next day around the same time. Y-maze array We constructed a modular 3D-printable Y-maze array (144 arenas, 300×300×2 mm) based on a previously published design ( Werkhoven et al., 2019 ). The Y-maze plates were placed between two 320×320×3 mm borosilicate glass plates. The bottom side of the upper glass plate was coated three times using Sigmacote (Sigma-Aldrich, SL2-25ML) to prevent the flies from walking on the upper plate ( Figure 3c ). Directly below the arenas and above the upper glass plate, we placed a layer of white paper (Evercopy premium 80 g, 1902C) for light diffusion and to restrict the view of the flies outside of the arenas. For individuality experiments, we covered the outer arenas with black tape and tracked flies only within 100 arenas located in the center. This made keeping track of individual fly identities easier when switching between the different behavioral assays. Videos of walking flies were recorded at 50% relative humidity for 30 min (1200×1200 pixel, 8-bit grayscale, 15 Hz, AVI, Mjpeg compression, 90% quality) under white light illumination, in darkness, at 23 °C or 32 °C, respectively. For white light illumination, we placed a 30×30 cm LED panel (Tween Light 30×30 cm LED panel, 4000 k, 16 W) on top of the arenas and temporarily removed the infrared-pass filter from the camera objective. Y-maze experiments were all done consecutively on the same day (light on 23 °C, light off 23 °C, light on 32 °C, light off 32 °C). Automated tracking procedure We developed a fully automated MATLAB-based tracking code that allows users to adjust parameters like arena number and size and generates output data for all videos within a user-selectable folder. The code assumes only one fly per region of interest. This saves processing time and increases tracking robustness by not having to match multiple fly identities between frames. Before running the code, the experimenter must create a camera calibration file using the MATLAB camera calibration toolbox (see supplemental information). This allows for more accurate tracking results by correcting lens distortions ( Figure 3—figure supplement 1d ). If the camera stays immobile, this procedure must be done only once, usually in only a few minutes. As long as the arenas filmed are arranged in rows and columns, the code can handle virtually any shape or number of arenas, making it ideal for tracking flies across different behavioral assays ( Figure 3—figure supplement 1e–g ). ROIs are detected based on adaptive thresholding and subsequent filtering of thresholded ROI-objects based on the area ( Figure 3—figure supplement 1e–g , middle). Once the ROIs are detected and sorted, a background-subtracted image is generated, allowing the user to determine a detection threshold, above which all pixels will be interpreted as foreground objects ( Figure 3—figure supplement 1e , third from left). During tracking, background subtraction and object thresholding is performed for each frame, and for each ROI, the centroid of the thresholded fly is extracted and saved. Thresholded pixels and trajectories are displayed continuously in a separate window to allow the experimenter to assess tracking quality. If more than one object is detected within a ROI (e.g. through pixel noise), the x-/y-coordinates of the object closest to the fly’s position in the previous frame is stored. If a fly is lost, the tracker keeps the last known position of the fly until it is detected again. The average tracking speed for 24 ROIs/flies was about 20 hz with MATLAB running on an Intel i5 3 Ghz CPU. For tracking 400 ROIs/flies, the average tracking speed was about 5 hz. Data output Data output is the same as described for our standard Buridan arenas. Setup 3: Virtual flight simulator Assay We designed a novel, easy-to-assemble, and easy-to-use virtual flight simulator using affordable 3D-printable and off-the-shelf parts ( Figure 5a–c ) to quantify behavioral responses during flight. For a detailed description of the setup and custom code, see Figure 5—figure supplement 1 . In short, using a tethering station (for description, see Mathejczyk and Wernet, 2020 ), flies were cooled down for immobilization and glued to a steel pin (0.1 mm diameter, 10 mm length, https://www.entosphinx.cz/ ) using UV-cured glue (Bondic). Once tethered, single flies were put between two neodymium magnets (magneto-tether; upper magnet: diameter 5 mm, lower magnet: ring, outer diameter 10 mm, inner diameter 5 mm). Once the appropriate distance between the magnet is found (about 20 mm), the magnetic field allows the flies to rotate freely around their yaw axis while keeping the steel pin in place ( Figure 5b ). The tip of the steel pin is inserted into a V-shaped sapphire bearing (1 mm diameter) to reduce friction. For the re-initiation of flight, air puffs can be delivered from below via a membrane pump. A panoramic LED matrix surrounding the magneto-tether was used for Buridan stimulus presentation (RGB, 256×128 pixels, 120 Hz frame rate, 5 kHz refresh rate, pixel size 1.4°, angular extent 360° horizontal × 100° vertical, stripe width: 12°). The LED matrix controller is connected to a computer via HDMI, allowing an easy and flexible stimulus creation and presentation (Novastar mctrl 660 pro, 120 Hz, <1 ms Pixel update latency). Flies were filmed from below under near-infrared illumination ( Figure 5c ), and each fly’s heading was tracked in real-time (90 Hz) using a custom-written MATLAB code (available for download from https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality , copy archived at LinneweberLab, 2026 ). Before starting the experiment, each fly was tested for 120 s with an optomotor stimulus (rotating stripe pattern, 120°/s, 40 x CW and 40 x CCW, respectively) to assess the flies’ ability to rotate smoothly ( Figure 5d , left). After this, flies were presented with the Buridan stimulus with varying contrast (100%, 50%, 100% inverted; stripe width 30°), and their heading was tracked for 3×4 min. Flies were then carefully separated from the steel pin and transferred into single vials for overnight recovery before being re-tethered and tested the following day around the same time. For flight vs. walking experiments, flies were tested for 10 min while flying under a 100% contrast Buridan stimulus (stripe width 12° from a fly’s perspective) before being gently separated from the steel pin and being transferred into the LED Buridan assay (Type B), where they were tested for 15 min under a 100% contrast Buridan stimulus (stripe width 12° from a fly’s perspective). Automated tracking procedure The code for tracking a fly’s heading in 360° can be downloaded from https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ). Flight tracking is done in real-time at 90fps ( Figure 5—figure supplement 1c ). A timestamp is created for each incoming camera frame, and two different thresholded images are computed with different Gaussian filter settings. A strong filter setting blurs out the legs of the fly and allows for thresholding only the fly’s body and calculating a heading angle between 0° and 180° through ellipse fitting. By subtracting the thresholded body pixels from a weaker filtered version of the same frame, the limbs and wings (visible when the fly stops flying) can also be tracked separately if the experimenter wants. To calculate the heading between 0° and 360°, the centroid of thresholded body pixels is set to (0,0) within a fictive coordinate system (see Figure 5—figure supplement 1c ), and the body axis is aligned with the x-axis. The head region is assigned based on the sum of pixels within the 4-axis quadrants (smallest area of either I+IV or II +III, respectively). Once the heading is calculated, it is stored together with the original video frame for additional offline data analysis, if desired. When a fly stops flying (wings get detected in the video), a command is sent to a connected Arduino, which controls a relay to switch on a membrane pump and provide an air puff to reinitiate flight. During tracking, the thresholded video is displayed together with the computed heading to allow the experimenter to assess tracking quality. Data output After tracking, raw heading data, a graphical overview image, and a table containing computed behavioral parameters are saved automatically for each fly which can be used for further data analysis. For a detailed explanation of all calculated parameters, see Supplementary file 1 . Data and statistical analysis for all experiments All data analysis was performed with MATLAB. For angular calculations, we used the algorithm presented in Berens, 2009 . After a test for normality (Shapiro-Wilk test), behavioral data between groups was compared using the paired T-test. For correlating individual data, we calculated Pearson correlation coefficients. For walking data, an arena’s center region (edge-corrected area) was defined as the circular area around the center with a radius of 80% of the arena radius. The maximum color value (red) for generating heatmaps was set to the 95%-quantile of the count distribution to increase data visibility. Flies that did not move during the experiment were excluded from the analysis. Generalized linear model (GLM) To summarize and generalize the findings from all experiments in this study (using individual rank differences upon changing one or more environmental parameters), a GLM was trained using the environmental parameters as predictors (0 when environmental parameter was not changed and 1 if it was changed for any given experimental group) and the resulting individual rank differences as the response variable. Since the five environmental parameters are not fully statistically independent (e.g. arena and vision were altered only in walking experiments and not in flight), we employed ridge regression to mitigate collinearity among these predictors and to control for overfitting. In contrast to stepwise or LASSO regression, ridge regression allowed us to keep all environmental parameters as part of the model. A range of regularization parameters (λ) was tested using fivefold cross-validation over a log-spaced grid (10⁻⁶ - 10⁶) to identify the optimal value that minimized the mean squared error (MSE). Z-scoring was applied to the predictor variables prior to model fitting for data normalization. To estimate coefficient variability and assess significance, bootstrapping was applied. For each of the 1000 bootstrap iterations, predictors and response data were resampled with replacement, and the ridge regression model was refit using the optimal λ. Coefficients and intercept values from each bootstrap sample were stored, and their distributions were used to calculate the mean coefficients, standard errors (SEs), and p-values for coefficients based on t-statistics derived from bootstrapped SEs. Hierarchical linear mixed model We collected behavioral data from all tested walking and flight assays and summarized the five previously quantified behavioral traits under different environmental contexts for walking and flight behaviors, respectively. For each trait, we fitted a hierarchical linear mixed-effects model in Matlab (using the fit lme function) with environmental context as a fixed effect and fly identity (ID) as a random intercept. Fixed effects were included to account for systematic differences due to the different environmental contexts whenever multiple context levels were tested for that trait. This controls for behavioral population-level shifts caused by changing the day, temperature, visual conditions, or the arena shape. Such a model partitions variance into within-fly and between-fly components. We computed the intraclass correlation coefficient (ICC) from each model as the between-fly variance divided by total variance. ICC, therefore, quantified repeatability across environmental contexts. We estimated 95% confidence intervals (CIs) for ICC using non-parametric bootstrapping (flies were resampled with replacement across contexts, and models were refitted 1000 times). Acknowledgements The authors thank the Bloomington stock center and Eugenia Chiappe for fly stocks and reagents. This work was supported by the Deutsche Forschungsgemeinschaft (DFG) through the DFG research unit 5289 RobustCircuit (GAL, MFW), through grants LI 2640/1- 1, LI 2640/2-1 (GAL), WE 5761/4-1 (MFW), SPP 2205 (MFW), through AFOSR grants FA9550-19-1-7005 / FA 8655-23-1-7049 (MFW), and with support from the Fachbereich Biologie, Chemie & Pharmazie of the Freie Universität Berlin, as well as the Division of Neurobiology at Freie Universität Berlin. We acknowledge support by the Open Access Publication Fund of Freie Universität Berlin. We thank members of the Linneweber and Wernet labs, Randolf Menzel, and Robin Hiesinger for helpful discussions. Funding Statement The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication. Contributor Information Mathias F Wernet, Email: [email protected]. Gerit A Linneweber, Email: [email protected]. Sonia Q Sen, Tata Institute for Genetics and Society, India. Albert Cardona, University of Cambridge, United Kingdom. Funding Information This paper was supported by the following grants: Deutsche Forschungsgemeinschaft
LI 2640/1-1 to Gerit A Linneweber. Deutsche Forschungsgemeinschaft
FOR5289 LI 2640/2-1 to Gerit A Linneweber. Deutsche Forschungsgemeinschaft
FOR5289 WE 5761/4-1 to Mathias F Wernet. Additional information Competing interests No competing interests declared. Author contributions Conceptualization, Data curation, Formal analysis, Visualization. Data curation. Data curation. Formal analysis. Data curation. Supervision, Funding acquisition, Writing – review and editing. Conceptualization, Resources, Supervision, Funding acquisition, Writing – original draft, Project administration, Writing – review and editing. Additional files Supplementary file 1. Description of automatically computed output parameters. elife-98171-supp1.pdf (60.6KB, pdf) Supplementary file 2. Part list for setup replication. elife-98171-supp2.pdf (273KB, pdf) Supplementary file 3. Fixed-effects summary from hierarchical linear mixed model analysis for all behavioral traits. For each behavioral trait, the model included environmental context variables as fixed effects and fly identity (ID) as a random intercept. Name: fixed-effect terms. Estimate: estimated effect size on the respective trait (in trait units). SE: standard error of estimate. DF: degrees of freedom used for testing significance. tStat: t-statistic. p-value: p-value. Lower/upper: bound of the 95% confidence interval for the effect estimate. Trait: behavioral trait. elife-98171-supp3.pdf (114.4KB, pdf) MDAR checklist elife-98171-mdarchecklist1.pdf (220.2KB, pdf) Data availability All experimental data are available here: https://doi.org/10.5281/zenodo.18342691 . The code for the analyses presented in this paper is openly accessible at https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ). The following dataset was generated: Thomas FM, Cara K, Muhammad AH, Florian F, Tydings M, Mathias W, Gerit L. 2026. Individuality across environmental context in Drosophila melanogaster. Zenodo. References Ayroles JF, Buchanan SM, O’Leary C, Skutt-Kakaria K, Grenier JK, Clark AG, Hartl DL, de Bivort BL. Behavioral idiosyncrasy reveals genetic control of phenotypic variability. PNAS. 2015;112:6706–6711. doi: 10.1073/pnas.1503830112. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Baines RA, Uhler JP, Thompson A, Sweeney ST, Bate M. Altered Electrical Properties in. The Journal of Neuroscience. 2001;21:1523–1531. doi: 10.1523/JNEUROSCI.21-05-01523.2001. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Bell AM, Hankison SJ, Laskowski KL. The repeatability of behaviour: a meta-analysis. Animal Behaviour. 2009;77:771–783. doi: 10.1016/j.anbehav.2008.12.022. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Berens P. CircStat: a matlab toolbox for circular statistics. Journal of Statistical Software. 2009;31:21. doi: 10.18637/jss.v031.i10. [ DOI ] [ Google Scholar ] Boissy A, Bouissou MF. Assessment of individual differences in behavioural reactions of heifers exposed to various fear-eliciting situations. Applied Animal Behaviour Science. 1995;46:17–31. doi: 10.1016/0168-1591(95)00633-8. [ DOI ] [ Google Scholar ] Branson K, Robie AA, Bender J, Perona P, Dickinson MH. High-throughput ethomics in large groups of Drosophila. Nature Methods. 2009;6:451–457. doi: 10.1038/nmeth.1328. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Briffa M, Rundle SD, Fryer A. Comparing the strength of behavioural plasticity and consistency across situations: animal personalities in the hermit crab Pagurus bernhardus. Proceedings Biological Sciences. 2008;275:1305–1311. doi: 10.1098/rspb.2008.0025. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Briffa M, Greenaway J. High in situ repeatability of behaviour indicates animal personality in the beadlet anemone Actinia equina (Cnidaria) PLOS ONE. 2011;6:e21963. doi: 10.1371/journal.pone.0021963. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Buchanan SM, Kain JS, de Bivort BL. Neuronal control of locomotor handedness in Drosophila. PNAS. 2015;112:6700–6705. doi: 10.1073/pnas.1500804112. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Bülthoff H, Götz KG, Herre M. Recurrent inversion of visual orientation in the walking fly,Drosophila melanogaster. Journal of Comparative Physiology. 1982;148:471–481. doi: 10.1007/BF00619785. [ DOI ] [ Google Scholar ] Carter M, Shieh J. In: Guide to Research Techniques in Neuroscience. Carter M, Shieh J, editors. Academic Press; 2015. Chapter 2 - animal behavior; pp. 39–71. [ DOI ] [ Google Scholar ] Coleman K, Wilson DS. Shyness and boldness in pumpkinseed sunfish: individual differences are context-specific. Animal Behaviour. 1998;56:927–936. doi: 10.1006/anbe.1998.0852. [ DOI ] [ PubMed ] [ Google Scholar ] Colomb J, Reiter L, Blaszkiewicz J, Wessnitzer J, Brembs B. Open source tracking and analysis of adult Drosophila locomotion in Buridan’s paradigm with and without visual targets. PLOS ONE. 2012;7:e42247. doi: 10.1371/journal.pone.0042247. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Costa PT, McCrae RR. Personality in adulthood: a six-year longitudinal study of self-reports and spouse ratings on the NEO Personality Inventory. Journal of Personality and Social Psychology. 1988;54:853–863. doi: 10.1037//0022-3514.54.5.853. [ DOI ] [ PubMed ] [ Google Scholar ] Crabbe JC, Wahlsten D, Dudek BC. Genetics of mouse behavior: interactions with laboratory environment. Science. 1999;284:1670–1672. doi: 10.1126/science.284.5420.1670. [ DOI ] [ PubMed ] [ Google Scholar ] Dall SRX, Houston AI, McNamara JM. The behavioural ecology of personality: consistent individual differences from an adaptive perspective. Ecology Letters. 2004;7:734–739. doi: 10.1111/j.1461-0248.2004.00618.x. [ DOI ] [ Google Scholar ] D’Eath R, Burn C. Individual differences in behaviour: A test of “coping style” does not predict resident-intruder aggressiveness in pigs. Behaviour. 2002;139:1175–1194. doi: 10.1163/15685390260437326. [ DOI ] [ Google Scholar ] Diener E, Larsen RJ. Temporal stability and cross-situational consistency of affective, behavioral, and cognitive responses. Journal of Personality and Social Psychology. 1984;47:871–883. doi: 10.1037//0022-3514.47.4.871. [ DOI ] [ PubMed ] [ Google Scholar ] Dingemanse NJ, Dochtermann NA. Quantifying individual variation in behaviour: mixed-effect modelling approaches. The Journal of Animal Ecology. 2013;82:39–54. doi: 10.1111/1365-2656.12013. [ DOI ] [ PubMed ] [ Google Scholar ] Dorkenwald S, Matsliah A, Sterling AR, Schlegel P, Yu SC, McKellar CE, Lin A, Costa M, Eichler K, Yin Y, Silversmith W, Schneider-Mizell C, Jordan CS, Brittain D, Halageri A, Kuehner K, Ogedengbe O, Morey R, Gager J, Kruk K, Perlman E, Yang R, Deutsch D, Bland D, Sorek M, Lu R, Macrina T, Lee K, Bae JA, Mu S, Nehoran B, Mitchell E, Popovych S, Wu J, Jia Z, Castro MA, Kemnitz N, Ih D, Bates AS, Eckstein N, Funke J, Collman F, Bock DD, Jefferis G, Seung HS, Murthy M, FlyWire Consortium Neuronal wiring diagram of an adult brain. Nature. 2024;634:124–138. doi: 10.1038/s41586-024-07558-y. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Fleeson W. Toward a structure- and process-integrated view of personality: traits as density distribution of states. Journal of Personality and Social Psychology. 2001;80:1011–1027. [ PubMed ] [ Google Scholar ] Freund J, Brandmaier AM, Lewejohann L, Kirste I, Kritzler M, Krüger A, Sachser N, Lindenberger U, Kempermann G. Emergence of individuality in genetically identical mice. Science. 2013;340:756–759. doi: 10.1126/science.1235294. [ DOI ] [ PubMed ] [ Google Scholar ] Galton F. The history of twins, as a criterion of the relative powers of nature and nurture. Fraser’s Magazine. 1875;12:566–576. doi: 10.1093/ije/dys097. [ DOI ] [ PubMed ] [ Google Scholar ] Geissmann Q, Garcia Rodriguez L, Beckwith EJ, French AS, Jamasb AR, Gilestro GF. Ethoscopes: An open platform for high-throughput ethomics. PLOS Biology. 2017;15:e2003026. doi: 10.1371/journal.pbio.2003026. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Gibert JP, Chelini MC, Rosenthal MF, DeLong JP. Crossing regimes of temperature dependence in animal movement. Global Change Biology. 2016;22:1722–1736. doi: 10.1111/gcb.13245. [ DOI ] [ PubMed ] [ Google Scholar ] Gosling SD. Personality in Non‐human Animals. Social and Personality Psychology Compass. 2008;2:985–1001. doi: 10.1111/j.1751-9004.2008.00087.x. [ DOI ] [ Google Scholar ] Götz KG. In: Development and Neurobiology of Drosophila. Siddiqi O, Babu P, Hall LM, Hall JC, editors. Springer; 1980. Visual guidance in drosophila; pp. 391–407. [ DOI ] [ Google Scholar ] Hamada FN, Rosenzweig M, Kang K, Pulver SR, Ghezzi A, Jegla TJ, Garrity PA. An internal thermal sensor controlling temperature preference in Drosophila. Nature. 2008;454:217–220. doi: 10.1038/nature07001. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Han R, Wei TM, Tseng SC, Lo CC. Characterizing approach behavior of Drosophila melanogaster in Buridan’s paradigm. PLOS ONE. 2021;16:e0245990. doi: 10.1371/journal.pone.0245990. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Hartshorne H, May MA. Studies in the Nature of Character: Studies in Deceit. McMillian; 1930. [ Google Scholar ] Hassan BA, Bermingham NA, He Y, Sun Y, Jan YN, Zoghbi HY, Bellen HJ. atonal regulates neurite arborization but does not act as a proneural gene in the Drosophila brain. Neuron. 2000;25:549–561. doi: 10.1016/s0896-6273(00)81059-4. [ DOI ] [ PubMed ] [ Google Scholar ] Herborn KA, Macleod R, Miles WTS, Schofield ANB, Alexander L, Arnold KE. Personality in captivity reflects personality in the wild. Animal Behaviour. 2010;79:835–843. doi: 10.1016/j.anbehav.2009.12.026. [ DOI ] [ Google Scholar ] Hirsch J, Boudreau JC. Studies in experimental behavior genetics. I. The heritability of phototaxis in a population of Drosophila melanogaster. Journal of Comparative and Physiological Psychology. 1958;51:647–651. doi: 10.1037/h0039498. [ DOI ] [ PubMed ] [ Google Scholar ] Hirsch J. Studies in experimental behavior genetics. II. Individual differences in geotaxis as a function of chromosome variations in synthesized Drosophila populations. Journal of Comparative and Physiological Psychology. 1959;52:304–308. doi: 10.1037/h0043498. [ DOI ] [ PubMed ] [ Google Scholar ] Honegger K, de Bivort B. Stochasticity, individuality and behavior. Current Biology. 2018;28:R8–R12. doi: 10.1016/j.cub.2017.11.058. [ DOI ] [ PubMed ] [ Google Scholar ] Honegger KS, Smith MAY, Churgin MA, Turner GC, de Bivort BL. Idiosyncratic neural coding and neuromodulation of olfactory individuality in Drosophila. PNAS. 2020;117:23292–23297. doi: 10.1073/pnas.1901623116. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Jiang H, Hanna E, Gatto CL, Page TL, Bhuva B, Broadie K. A fully automated Drosophila olfactory classical conditioning and testing system for behavioral learning and memory assessment. Journal of Neuroscience Methods. 2016;261:62–74. doi: 10.1016/j.jneumeth.2015.11.030. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Kahsai L, Zars T. In: Learning and Memory in Drosophila: Behavior, Genetics, and Neural Systems. Atkinson N, editor. Academic Press; 2011. International review of neurobiology; pp. 139–167. [ DOI ] [ PubMed ] [ Google Scholar ] Kain JS, Stokes C, de Bivort BL. Phototactic personality in fruit flies and its suppression by serotonin and white. PNAS. 2012;109:19834–19839. doi: 10.1073/pnas.1211988109. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Kiral FR, Linneweber GA, Mathejczyk T, Georgiev SV, Wernet MF, Hassan BA, von Kleist M, Hiesinger PR. Autophagy-dependent filopodial kinetics restrict synaptic partner choice during Drosophila brain wiring. Nature Communications. 2020;11:1325. doi: 10.1038/s41467-020-14781-4. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Klapoetke NC, Murata Y, Kim SS, Pulver SR, Birdsey-Benson A, Cho YK, Morimoto TK, Chuong AS, Carpenter EJ, Tian Z, Wang J, Xie Y, Yan Z, Zhang Y, Chow BY, Surek B, Melkonian M, Jayaraman V, Constantine-Paton M, Wong GKS, Boyden ES. Independent optical excitation of distinct neural populations. Nature Methods. 2014;11:338–346. doi: 10.1038/nmeth.2836. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Konopka RJ, Benzer S. Clock mutants of Drosophila melanogaster. PNAS. 1971;68:2112–2116. doi: 10.1073/pnas.68.9.2112. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Kralj-Fiser S, Scheiber IBR, Blejec A, Moestl E, Kotrschal K. Individualities in a flock of free-roaming greylag geese: behavioral and physiological consistency over time and across situations. Hormones and Behavior. 2007;51:239–248. doi: 10.1016/j.yhbeh.2006.10.006. [ DOI ] [ PubMed ] [ Google Scholar ] Lapiedra O, Schoener TW, Leal M, Losos JB, Kolbe JJ. Predator-driven natural selection on risk-taking behavior in anole lizards. Science. 2018;360:1017–1020. doi: 10.1126/science.aap9289. [ DOI ] [ PubMed ] [ Google Scholar ] Linneweber GA, Andriatsilavo M, Dutta SB, Bengochea M, Hellbruegge L, Liu G, Ejsmont RK, Straw AD, Wernet M, Hiesinger PR, Hassan BA. A neurodevelopmental origin of behavioral individuality in the. Science. 2020;367:1112–1119. doi: 10.1126/science.aaw7182. [ DOI ] [ PubMed ] [ Google Scholar ] LinneweberLab Mathejczyk_2024_eLife_Individuality. swh:1:rev:9fe421a271e152aaf58f17086c5d8fa341e96cdbSoftware Heritage. 2026 https://archive.softwareheritage.org/swh:1:dir:efd3e5344b2813174a7fcce0d4b824057b4d42ca;origin=https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality;visit=swh:1:snp:c636adc34ea487994164ac82317a561176c33f56;anchor=swh:1:rev:9fe421a271e152aaf58f17086c5d8fa341e96cdb Lithgow GJ, Driscoll M, Phillips P. A long journey to reproducible results. Nature. 2017;548:387–388. doi: 10.1038/548387a. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Luan H, Lemon WC, Peabody NC, Pohl JB, Zelensky PK, Wang D, Nitabach MN, Holmes TC, White BH. Functional dissection of a neuronal network required for cuticle tanning and wing expansion in Drosophila. The Journal of Neuroscience. 2006a;26:573–584. doi: 10.1523/JNEUROSCI.3916-05.2006. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Luan H, Peabody NC, Vinson CR, White BH. Refined spatial manipulation of neuronal function by combinatorial restriction of transgene expression. Neuron. 2006b;52:425–436. doi: 10.1016/j.neuron.2006.08.028. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Mathejczyk TF, Wernet MF. Heading choices of flying Drosophila under changing angles of polarized light. Scientific Reports. 2019;9:16773. doi: 10.1038/s41598-019-53330-y. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Mathejczyk TF, Wernet MF. Modular assays for the quantitative study of visually guided navigation in both flying and walking flies. Journal of Neuroscience Methods. 2020;340:108747. doi: 10.1016/j.jneumeth.2020.108747. [ DOI ] [ PubMed ] [ Google Scholar ] Mather JA, Anderson RC. Personalities of octopuses (Octopus rubescens) Journal of Comparative Psychology. 1993;107:336–340. doi: 10.1037//0735-7036.107.3.336. [ DOI ] [ Google Scholar ] Mischel W. Personality and Assessment. Wiley; 1968. [ Google Scholar ] Mischel W. Toward a cognitive social learning reconceptualization of personality. Psychological Review. 1973;80:252–283. doi: 10.1037/h0035002. [ DOI ] [ PubMed ] [ Google Scholar ] Mischel W, Shoda Y. A cognitive-affective system theory of personality: reconceptualizing situations, dispositions, dynamics, and invariance in personality structure. Psychological Review. 1995;102:246–268. doi: 10.1037/0033-295x.102.2.246. [ DOI ] [ PubMed ] [ Google Scholar ] Mischel W, Shoda Y. Reconciling processing dynamics and personality dispositions. Annual Review of Psychology. 1998;49:229–258. doi: 10.1146/annurev.psych.49.1.229. [ DOI ] [ PubMed ] [ Google Scholar ] Mowles SL, Cotton PA, Briffa M. Consistent crustaceans: the identification of stable behavioural syndromes in hermit crabs. Behavioral Ecology and Sociobiology. 2012;66:1087–1094. doi: 10.1007/s00265-012-1359-7. [ DOI ] [ Google Scholar ] Neuser K, Triphan T, Mronz M, Poeck B, Strauss R. Analysis of a spatial orientation memory in Drosophila. Nature. 2008;453:1244–1247. doi: 10.1038/nature07003. [ DOI ] [ PubMed ] [ Google Scholar ] Otsuna H, Ito K. Systematic analysis of the visual projection neurons of Drosophila melanogaster. I. Lobula-specific pathways. The Journal of Comparative Neurology. 2006;497:928–958. doi: 10.1002/cne.21015. [ DOI ] [ PubMed ] [ Google Scholar ] Pantoja C, Hoagland A, Carroll EC, Karalis V, Conner A, Isacoff EY. Neuromodulatory regulation of behavioral individuality in zebrafish. Neuron. 2016;91:587–601. doi: 10.1016/j.neuron.2016.06.016. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Partridge L. Individual differences in feeding efficiencies and feeding preferences of captive great tits. Animal Behaviour. 1976;24:230–240. doi: 10.1016/S0003-3472(76)80119-4. [ DOI ] [ Google Scholar ] Pfeiffer BD, Ngo TTB, Hibbard KL, Murphy C, Jenett A, Truman JW, Rubin GM. Refinement of tools for targeted gene expression in Drosophila. Genetics. 2010;186:735–755. doi: 10.1534/genetics.110.119917. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Pulver SR, Pashkovski SL, Hornstein NJ, Garrity PA, Griffith LC. Temporal dynamics of neuronal activation by Channelrhodopsin-2 and TRPA1 determine behavioral output in Drosophila larvae. Journal of Neurophysiology. 2009;101:3075–3088. doi: 10.1152/jn.00071.2009. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Quinn WG, Harris WA, Benzer S. Conditioned behavior in Drosophila melanogaster. PNAS. 1974;71:708–712. doi: 10.1073/pnas.71.3.708. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Réale D, Reader SM, Sol D, McDougall PT, Dingemanse NJ. Integrating animal temperament within ecology and evolution. Biological Reviews of the Cambridge Philosophical Society. 2007;82:291–318. doi: 10.1111/j.1469-185X.2007.00010.x. [ DOI ] [ PubMed ] [ Google Scholar ] Robie AA, Hirokawa J, Edwards AW, Umayam LA, Lee A, Phillips ML, Card GM, Korff W, Rubin GM, Simpson JH, Reiser MB, Branson K. Mapping the neural substrates of behavior. Cell. 2017;170:393–406. doi: 10.1016/j.cell.2017.06.032. [ DOI ] [ PubMed ] [ Google Scholar ] Ross L. In: The Intuitive Psychologist And His Shortcomings: Distortions in the Attribution Process. Berkowitz L, editor. Academic Press; 1977. Advances in experimental social psychology; pp. 173–220. [ DOI ] [ Google Scholar ] Schuett W, Dall SRX, Baeumer J, Kloesener MH, Nakagawa S, Beinlich F, Eggers T. Personality variation in a clonal insect: the pea aphid, Acyrthosiphon pisum. Developmental Psychobiology. 2011;53:631–640. doi: 10.1002/dev.20538. [ DOI ] [ PubMed ] [ Google Scholar ] Seelig JD, Chiappe ME, Lott GK, Dutta A, Osborne JE, Reiser MB, Jayaraman V. Two-photon calcium imaging from head-fixed Drosophila during optomotor walking behavior. Nature Methods. 2010;7:535–540. doi: 10.1038/nmeth.1468. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Sih A, Bell AM, Johnson JC, Ziemba RE. Behavioral syndromes: an intergrative overiew. The Quarterly Review of Biology. 2004;79:241–277. doi: 10.1086/422893. [ DOI ] [ PubMed ] [ Google Scholar ] Sih A, Cote J, Evans M, Fogarty S, Pruitt J. Ecological implications of behavioural syndromes. Ecology Letters. 2012;15:278–289. doi: 10.1111/j.1461-0248.2011.01731.x. [ DOI ] [ PubMed ] [ Google Scholar ] Spoolder HAM, Burbidge JA, Lawrence AB, Simmins PH, Edwards SA. Individual behavioural differences in pigs: intra-and inter-test consistency. Applied Animal Behaviour Science. 1996;49:185–198. doi: 10.1016/0168-1591(96)01033-7. [ DOI ] [ Google Scholar ] Strauss R, Hanesch U, Kinkelin M, Wolf R, Heisenberg M. No-bridge of Drosophila melanogaster: portrait of a structural brain mutant of the central complex. Journal of Neurogenetics. 1992;8:125–155. doi: 10.3109/01677069209083444. [ DOI ] [ PubMed ] [ Google Scholar ] Strauss R, Renner M, Götz K. Task-specific association of photoreceptor systems and steering parameters in Drosophila. Journal of Comparative Physiology A. 2001;187:617–632. doi: 10.1007/s003590100234. [ DOI ] [ PubMed ] [ Google Scholar ] Sweeney ST, Broadie K, Keane J, Niemann H, O’Kane CJ. Targeted expression of tetanus toxin light chain in Drosophila specifically eliminates synaptic transmission and causes behavioral defects. Neuron. 1995;14:341–351. doi: 10.1016/0896-6273(95)90290-2. [ DOI ] [ PubMed ] [ Google Scholar ] Takola E, Schielzeth H. Hutchinson’s ecological niche for individuals. Biology & Philosophy. 2022;37:849-y. doi: 10.1007/s10539-022-09849-y. [ DOI ] [ Google Scholar ] Traynor BJ, Singleton AB. Nature versus nurture: death of a dogma, and the road ahead. Neuron. 2010;68:196–200. doi: 10.1016/j.neuron.2010.10.002. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Valente D, Golani I, Mitra PP. Analysis of the trajectory of Drosophila melanogaster in a circular open field arena. PLOS ONE. 2007;2:e1083. doi: 10.1371/journal.pone.0001083. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Vansteelandt K, Van Mechelen I. The personality triad in balance: Multidimensional individual differences in situation–behavior profiles. Journal of Research in Personality. 2004;38:367–393. doi: 10.1016/j.jrp.2003.08.001. [ DOI ] [ Google Scholar ] Versace E, Caffini M, Werkhoven Z, de Bivort BL. Individual, but not population asymmetries, are modulated by social environment and genotype in Drosophila melanogaster. Scientific Reports. 2020;10:4480. doi: 10.1038/s41598-020-61410-7. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Warren TL, Weir PT, Dickinson MH. Flying Drosophila melanogaster maintain arbitrary but stable headings relative to the angle of polarized light. The Journal of Experimental Biology. 2018;221:jeb177550. doi: 10.1242/jeb.177550. [ DOI ] [ PubMed ] [ Google Scholar ] Weisbuch M, Slepian ML, Clarke A, Ambady N, Veenstra-Vanderweele J. Behavioral stability across time and situations: Nonverbal versus verbal consistency. Journal of Nonverbal Behavior. 2010;34:43–56. doi: 10.1007/s10919-009-0079-9. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Werkhoven Z, Rohrsen C, Qin C, Brembs B, de Bivort B. MARGO (Massively Automated Real-time GUI for Object-tracking), a platform for high-throughput ethology. PLOS ONE. 2019;14:e0224243. doi: 10.1371/journal.pone.0224243. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Werkhoven Z, Bravin A, Skutt-Kakaria K, Reimers P, Pallares LF, Ayroles J, de Bivort BL. The structure of behavioral variation within a genotype. eLife. 2021;10:e64988. doi: 10.7554/eLife.64988. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Xu CS, Januszewski M, Lu Z, Takemura SY, Hayworth KJ, Huang G, Shinomiya K, Maitin-Shepard J, Ackerman D, Berg S, Blakely T, Bogovic J, Clements J, Dolafi T, Hubbard P, Kainmueller D, Katz W, Kawase T, Khairy KA, Plaza SM. A connectome of the adult drosophila central brain. bioRxiv. 2020 doi: 10.1101/2020.01.21.911859. [ DOI ] [ PMC free article ] [ PubMed ] Zheng Z, Lauritzen JS, Perlman E, Robinson CG, Nichols M, Milkie D, Torrens O, Price J, Fisher CB, Sharifi N, Calle-Schuler SA, Kmecova L, Ali IJ, Karsh B, Trautman ET, Bogovic JA, Hanslovsky P, Jefferis G, Kazhdan M, Khairy K, Saalfeld S, Fetter RD, Bock DD. A complete electron microscopy volume of the brain of adult Drosophila melanogaster. Cell. 2018;174:730–743. doi: 10.1016/j.cell.2018.06.019. [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] eLife. doi: 10.7554/eLife.98171.5.sa0 eLife Assessment Sonia Q Sen Sonia Q Sen 1 Tata Institute for Genetics and Society, India Reviewing Editor Find articles by Sonia Q Sen 1 Author information Article notes Copyright and License information 1 Tata Institute for Genetics and Society, India Roles Sonia Q Sen : Reviewing Editor Keywords: Convincing Keywords: Important PMC Copyright notice There is a growing interest in understanding the individuality of animal behaviours. In this important article, the authors build and use an impressive array of high throughput phenotyping paradigms to examine the 'stability' (consistency) of behavioural characteristics in a range of contexts and over time. The results show that certain behaviours are individualistic and persist robustly across external stimuli while others are less robust to these changing parameters. The data supporting their findings is extensive and convincing . At the same time, the main analyses focus on a selected subset of the many behavioural metrics recorded, so a large fraction of the acquired data remains only lightly explored; by making these additional data available, the authors provide an invaluable resource for future work to apply alternative analytical frameworks and further mine this rich dataset. eLife. doi: 10.7554/eLife.98171.5.sa1 Joint Public Review: Anonymous Anonymous Reviewer Find articles by Anonymous Author information Copyright and License information Roles Anonymous : Reviewer PMC Copyright notice Summary: The authors state the study's goal clearly: "The goal of our study was to understand to what extent animal individuality is influenced by situational changes in the environment, i.e., how much of an animal's individuality remains after one or more environmental features change." They use visually guided behavioral features to examine the extent of correlation over time and in a variety of contexts. They develop new behavioral instrumentation and software to measure behavior in Buridan's paradigm (and variations thereof), the Y-maze, and a flight simulator. Using these assays, they examine the correlations between conditions for a panel of locomotion parameters. They propose that inter-assay correlations will determine the persistence of locomotion individuality. Comments from the editors on the latest version: In the latest communication, the authors were asked to (i) justify their selection of metrics (i.e. why these specific five behavioural metrics were chosen from the many recorded), (ii) discuss the variation in ICCs, and (iii) in light of this variation and the reliance on a few selected behavioural parameters, tone down the general claim so as not to overstate that individuality persists across all behaviours. We note that the justification for choosing the five metrics and the discussion of ICC variation are purely qualitative, and, despite the edits, the manuscript continues to frame individual behaviours as broadly stable. eLife. 2026 Apr 13;13:RP98171. doi: 10.7554/eLife.98171.5.sa2 Author response Thomas F Mathejczyk Thomas F Mathejczyk 1 Freie Universität Berlin, Berlin, Germany Author Find articles by Thomas F Mathejczyk 1 , Cara Knief Cara Knief 2 Freie Universität Berlin, Berlin, Germany Author Find articles by Cara Knief 2 , Muhammad A Haidar Muhammad A Haidar 3 Freie Universität Berlin, Berlin, Germany Author Find articles by Muhammad A Haidar 3 , Florian Freitag Florian Freitag 4 Freie Universität Berlin, Berlin, Germany Author Find articles by Florian Freitag 4 , Tydings McClary Tydings McClary 5 Freie Universität Berlin, Berlin, Germany Author Find articles by Tydings McClary 5 , Mathias F Wernet Mathias F Wernet 6 Freie Universität Berlin, Berlin, Germany Author Find articles by Mathias F Wernet 6 , Gerit Arne A Linneweber Gerit Arne A Linneweber 7 Freie Universität Berlin, Berlin, Germany Author Find articles by Gerit Arne A Linneweber 7 Author information Article notes Copyright and License information 1 Freie Universität Berlin, Berlin, Germany 2 Freie Universität Berlin, Berlin, Germany 3 Freie Universität Berlin, Berlin, Germany 4 Freie Universität Berlin, Berlin, Germany 5 Freie Universität Berlin, Berlin, Germany 6 Freie Universität Berlin, Berlin, Germany 7 Freie Universität Berlin, Berlin, Germany Roles Thomas F Mathejczyk : Author Cara Knief : Author Muhammad A Haidar : Author Florian Freitag : Author Tydings McClary : Author Mathias F Wernet : Author Gerit Arne A Linneweber : Author Collection date 2026. PMC Copyright notice The following is the authors’ response to the previous reviews We appreciate the authors' efforts in addressing the concerns raised, particularly including a variance partitioning approach to analyse their data. Detailed feedback on the revised manuscript are below and we include a brief list of comments that we think the authors could address in the text: (1) Justify metric selection - Could you please include in the text and explanation for why only five behavioural metrics were highlighted out of the many you calculated? We have added explanations throughout the manuscript clarifying the rationale for selecting these behavioral parameters, including in lines 467ff. and 531ff. In short, the five highlighted metrics were chosen because they capture key aspects of the behavioral repertoire and, importantly, can be consistently measured across all experimental conditions. Other parameters were excluded as they were only applicable under specific contexts and thus not suitable for cross-condition comparisons. (2) Discuss ICC variation - We note that there is variation among the ICC scores for the different metrics you've studied. While this is expected, we ask that you acknowledge in the text that some traits show high repeatability and others low, and reflect this variation in the conclusions. We have added an additional paragraph in the Discussion (lines 743ff.) addressing the variation in ICC values among behavioral traits. This new section highlights that some metrics show high repeatability while others exhibit lower consistency, and we discuss how this heterogeneity informs our conclusions about individual behavioral stability across contexts. (3) Tone down general claims - Because of the above point, we recommend that you avoid overstating that individuality persists across all behaviours. Please clarify this in the Abstract and main text that it applies to some traits more than others. We carefully reviewed the entire manuscript and revised the phrasing wherever necessary to avoid overgeneralization. Statements about individuality have been adjusted to clarify that consistent individuality can be measured in some behavioral traits more strongly than to others, both in the Abstract and throughout the main text. Public Reviews: Reviewer #1 (Public review): Summary: The authors state the study's goal clearly: "The goal of our study was to understand to what extent animal individuality is influenced by situational changes in the environment, i.e., how much of an animal's individuality remains after one or more environmental features change." They use visually guided behavioral features to examine the extent of correlation over time and in a variety of contexts. They develop new behavioral instrumentation and software to measure behavior in Buridan's paradigm (and variations thereof), the Y-maze, and a flight simulator. Using these assays, they examine the correlations between conditions for a panel of locomotion parameters. They propose that inter-assay correlations will determine the persistence of locomotion individuality. Strengths: The OED defines individuality as "the sum of the attributes which distinguish a person or thing from others of the same kind," a definition mirrored by other dictionaries and the scientific literature on the topic. The concept of behavioral individuality can be characterized as: (1) a large set of behavioral attributes, (2) with inter-individual variability, that are (3) stable over time. A previous study examined walking parameters in Buridan's paradigm, finding that several parameters were variable between individuals, and that these showed stability over separate days and up to 4 weeks (DOI: 10.1126/science.aaw718). The present study replicates some of those findings, and extends the experiments from temporal stability to examining correlation of locomotion features betweendifferent contexts. The major strength of the study is using a range of different behavioral assays to examine the correlations of several different behavior parameters. It shows clearly that the inter-individual variability of some parameters is at least partially preserved between some contexts, and not preserved between others. The development of highthroughput behavior assays and sharing the information on how to make the assays is a commendable contribution. Weaknesses: The definition of individuality considers a comprehensive or large set of attributes, but the authors consider only a handful. In Supplemental Fig. S8, the authors show a large correlation matrix of many behavioral parameters, but these are illegible and are only mentioned briefly in Results. Why were five or so parameters selected from the full set? How were these selected? Do the correlation trends hold true across all parameters? For assays in which only a subset of parameters can be directly compared, were all of these included in the analysis, or only a subset? The correlation analysis is used to establish stability between assays. For temporal retesting, "stability" is certainly the appropriate word, but between contexts it implies that there could be 'instability'. Rather, instead of the 'instability' of a single brain process, a different behavior in a different context could arise from engaging largely (or entirely?) distinct context-dependent internal processes, and have nothing to do with process stability per se. For inter-context similarities, perhaps a better word would be "consistency". The parameters are considered one-by-one, not in aggregate. This focuses on the stability/consistency of the variability of a single parameter at a time, rather than holistic individuality. It would appear that an appropriate measure of individuality stability (or individuality consistency) that accounts for the high-dimensional nature of individuality would somehow summarize correlations across all parameters. Why was a multivariate approach (e.g. multiple regression/correlation) not used? Treating the data with a multivariate or averaged approach would allow the authors to directly address 'individuality stability', along with the analyses of single-parameter variability stability. The correlation coefficients are sometimes quite low, though highly significant, and are deemed to indicate stability. For example, in Figure 4C top left, the % of time walked at 23°C and 32°C are correlated by 0.263, which corresponds to an R2 of 0.069 i.e. just 7% of the 32°C variance is predictable by the 23°C variance. Is it fair to say that 7% determination indicates parameter stability? Another example: "Vector strength was the most correlated attention parameter... correlations ranged... to -0.197," which implies that 96% (1 - R2) of Y-maze variance is not predicted by Buridan variance. At what level does an r value not represent stability? The authors describe a dissociation between inter-group differences and interindividual variation stability, i.e. sometimes large mean differences between contexts, but significant correlation between individual test and retest data. Given that correlation is sensitive to slope, this might be expected to underestimate the variability stability (or consistency). Is there a way to adjust for the group differences before examining correlation? For example, would it be possible to transform the values to ingroup ranks prior to correlation analysis? What is gained by classifying the five parameters into exploration, attention, and anxiety? To what extent have these classifications been validated, both in general, and with regard to these specific parameters? Is increased walking speed at higher temperature necessarily due to increased 'explorative' nature, or could it be attributed to increased metabolism, dehydration stress, or a heat-pain response? To what extent are these categories subjective? The legends are quite brief and do not link to descriptions of specific experiments. For example, Figure 4a depicts a graphical overview of the procedure, but I could not find a detailed description of this experiment's protocol. Using the current single-correlation analysis approach, the aims would benefit from rewording to appropriately address single-parameter variability stability/consistency (as distinct from holistic individuality). Alternatively, the analysis could be adjusted to address the multivariate nature of individuality, so that the claims and the analysis are in concordance with each other. The study presents a bounty of new technology to study visually guided behaviors. The Github link to the software was not available. To verify successful transfer or openhardware and open-software, a report would demonstrate transfer by collaboration with one or more other laboratories, which the present manuscript does not appear to do. Nevertheless, making the technology available to readers is commendable. The study discusses a number of interesting, stimulating ideas about inter-individual variability, and presents intriguing data that speaks to those ideas, albeit with the issues outlined above. While the current work does not present any mechanistic analysis of inter-individual variability, the implementation of high-throughput assays sets up the field to more systematically investigate fly visual behaviors, their variability, and their underlying mechanisms. Comments on revisions: While the incorporation of a hierarchical mixed model (HMM) appears to represent an improvement over their prior single-parameter correlation approach, it's not clear to me that this is a multivariate analysis. They write that "For each trait, we fitted a hierarchical linear mixed-effects model in Matlab (using the fit lme function) with environmental context as a fixed effect and fly identity (ID) as a random intercept... We computed the intraclass correlation coefficient (ICC) from each model as the betweenfly variance divided by total variance. ICC, therefore, quantified repeatability across environmental contexts." Does this indicate that HMM was used in a univariate approach? Can an analysis of only five metrics of several dozen total metrics be characterized as 'holistic'? Within Figure 10a, some of the metrics show high ICC scores, but others do not. This suggests that the authors are overstating the overall persistence and/or consistency of behavioral individuality. It is clear from Figure S8 that a large number of metrics were calculated for each fly, but it remains unclear, at least to me, why the five metrics in Figure 10a are justified for selection. One is left wondering how rare or common is the 0.6 repeatability of % time walked among all the other behavioral metrics. It appears that a holistic analysis of this large data set remains impossible. We thank the reviewer for the careful and thoughtful assessment of our work. We have added an additional paragraph in the Discussion (lines 743ff.) explicitly addressing the variation in ICC values among behavioral traits. This section emphasizes that while some metrics show high repeatability, others exhibit lower consistency, and we discuss how this heterogeneity informs our conclusions regarding individual behavioral stability across contexts. Regarding the reviewer’s concern about the analytical approach, we would like to clarify that the hierarchical linear mixed model (LMM) was applied in a univariate framework—each behavioral metric was analyzed separately to estimate its individual ICC value. This approach allows us to quantify repeatability for each trait across environmental contexts while accounting for individual identity as a random effect. Although this is not a multivariate model in the strict sense, it represents an improvement over the prior pairwise correlation approach because it explicitly partitions within- and between-individual variance. As for the selection of behavioral metrics, the five parameters highlighted (% time walked, walking speed, vector strength, angular velocity, and centrophobicity) were chosen because they represent key, biologically interpretable dimensions of locomotor and spatial behavior and, importantly, could be measured reliably across all tested conditions. Several other parameters that we routinely analyze (e.g., Linneweber et al., 2020) could not be calculated in all contexts—for instance, under darkness or when visual cues were absent—and therefore were excluded to maintain consistency across assays. We agree that a truly holistic multivariate comparison across all extracted parameters would be valuable; however, given the contextual limitations of some metrics, such an analysis was not feasible in the present framework. We have clarified these points in the revised manuscript to avoid potential misunderstandings. The authors write: "...fly individuality persists across different contexts, and individual differences shape behavior across variable environments, thereby making the underlying developmental and functional mechanisms amenable to genetic dissection." However, presumably the various behavioral features (and their variability) are governed by different brain regions, so some metrics (high ICC) would be amenable to the genetic dissection of individuality/variability, while others (low ICC) would not. It would be useful to know which are which, to define which behavioral domains express individuality, and could be targets for genetic analysis, and which do not. At the very least, the Abstract might like to acknowledge that inter-context consistency is not a major property of all or most behavioral metrics. We thank the reviewer for this helpful comment and agree that not all behavioral traits exhibit the same degree of inter-context consistency. We have clarified this point in the revised Abstract and ensured that it is also reflected in the main text. The Abstract now reads: “We find that individuality is highly context-dependent, but even under the most extreme environmental alterations tested, consistency of behavioral individuality always persisted in at least one of the traits. Furthermore, our quantification reveals a hierarchical order of environmental features influencing individuality. We confirmed this hierarchy using a generalized linear model and a hierarchical linear mixed model. In summary, our work demonstrates that, similar to humans, fly individuality persists across different contexts (albeit worse than across time), and individual differences shape behavior across variable environments. The presence of consistency across situations in flies makes the underlying developmental and functional mechanisms amenable to genetic dissection.” This revision clarifies that individuality is not uniformly expressed across all behavioral metrics, but rather in a subset of traits with higher repeatability, which are the most promising targets for future genetic analyses. I hold that inter-trial repeatability should rightly be called "stability" while inter-context repeatability should be called "consistency". In the current manuscript, "consistency" is used throughout the manuscript, except for the new edits, which use "stability". If the authors are going to use both terms, it would be preferable if they could explain precisely how they define and use these terms. We thank the reviewer for drawing attention to this inconsistency in terminology. We apologize for the oversight and have corrected it throughout the manuscript to ensure uniform usage. Reviewer #2 (Public review): Summary: The authors repeated measured the behavior of individual flies across several environmental situations in custom-made behavioral phenotyping rigs. Strengths: The study uses several different behavioral phenotyping devices to quantify individual behavior in a number of different situations and over time. It seems to be a very impressive amount of data. The authors also make all their behavioral phenotyping rig design and tracking software available, which I think is great and I'm sure other folks will be interested in using and adapting to their own needs. Weaknesses/Limitations: I think an important limitation is that while the authors measured the flies under different environmental scenarios (i.e. with different lighting, temperature) they didn't really alter the "context" of the environment. At least within behavioral ecology, context would refer to the potential functionality of the expressed behaviors so for example, an anti-predator context, or a mating context, or foraging. Here, the authors seem to really just be measuring aspects of locomotion under benign (relatively low risk perception) contexts. This is not a flaw of the study, but rather a limitation to how strongly the authors can really say that this demonstrates that individuality is generalized across many different contexts. It's quite possible that rank-order of locomotor (or other) behaviors may shift when the flies are in a mating or risky context. I think the authors are missing an opportunity to use much more robust statistical methods. It appears as though the authors used pearson correlations across time/situations to estimate individual variation; however far more sophisticated and elegant methods exist. The problem is that pearson correlation coefficients can be anticonservative and additionally, the authors have thus had to perform many many tests to correlate behaviors across the different trials/scenarios. I don't see any evidence that the authors are controlling for multiple testing which I think would also help. Alternatively, though, the paper would be a lot stronger, and my guess is, much more streamlined if the authors employ hierarchical mixed models to analyse these data, which are the standard analytical tools in the study of individual behavioral variation. In this way, the authors could partition the behavioral variance into its among- and withinindividual components and quantify repeatability of different behaviors across trials/scenarios simultaneously. This would remove the need to estimate 3 different correlations for day 1 & day 2, day 1 & 3, day 2 & 3 (or stripe 0 & stripe 1, etc) and instead just report a single repeatability for e.g. the time spent walking among the different strip patterns (eg. figure 3). Additionally, the authors could then use multivariate models where the response variables are all the behaviors combined and the authors could estimate the among-individual covariance in these behaviors. I see that the authors state they include generalized linear mixed models in their updated MS, but I struggled a bit to understand exactly how these models were fit? What exactly was the response? what exactly were the predictors (I just don't understand what Line404 means "a GLM was trained using the environmental parameters as predictors (0 when the parameter was not change, 1 if it was) and the resulting individual rank differences as the response"). So were different models run for each scenario? for different behaviors? Across scenarios? what exactly? I just harp on this because I'm actually really interested in these data and think that updating these methods can really help clarify the results and make the main messages much clearer! I appreciate that the authors now included their sample sizes in the main body of text (as opposed to the supplement) but I think that it would still help if the authors included a brief overview of their design at the start of the methods. It is still unclear to me how many rigs each individual fly was run through? Were the same individuals measured in multiple different rigs/scenarios? Or just one? I really think a variance partitioning modeling framework could certainly improve their statistical inference and likely highlight some other cool patterns as these methods could better estimate stability and covariance in individual intercepts (and potentially slopes) across time and situation. I also genuinely think that this will improve the impact and reach of this paper as they'll be using methods that are standard in the study of individual behavioral variation Recommendations for the authors: Reviewer #2 (Recommendations for the authors): I am delighted to see the authors have included hierarchical models in their analysis. I really think this strengthens the paper and their conclusions while simultaneously making it more accessible to folks that typically use these types of methods to investigate these patterns of individual behavior. It's also cool, and completely jives with my own experience measuring individual behavior in that the activity metrics show the highest repeatability compared to the more flexible behaviors (such as "exploration"). I think it's quite striking and interesting to see such moderate repeatability estimates in these behaviors across what could be very different environmental scenarios. I think this is a very strong and meaty paper with a lot of information to digest producinghowever a very elegant and convincing take-home message: individuals are unique in their behavior even across very different environments. We sincerely thank the reviewer for the positive and encouraging feedback, as well as for their valuable input throughout the review process. We are very pleased that the inclusion of hierarchical models and the resulting interpretations resonated with the reviewer’s own experience and perspective. Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Data Citations Thomas FM, Cara K, Muhammad AH, Florian F, Tydings M, Mathias W, Gerit L. 2026. Individuality across environmental context in Drosophila melanogaster. Zenodo. [ DOI ] Supplementary Materials Supplementary file 1. Description of automatically computed output parameters. elife-98171-supp1.pdf (60.6KB, pdf) Supplementary file 2. Part list for setup replication. elife-98171-supp2.pdf (273KB, pdf) Supplementary file 3. Fixed-effects summary from hierarchical linear mixed model analysis for all behavioral traits. For each behavioral trait, the model included environmental context variables as fixed effects and fly identity (ID) as a random intercept. Name: fixed-effect terms. Estimate: estimated effect size on the respective trait (in trait units). SE: standard error of estimate. DF: degrees of freedom used for testing significance. tStat: t-statistic. p-value: p-value. Lower/upper: bound of the 95% confidence interval for the effect estimate. Trait: behavioral trait. elife-98171-supp3.pdf (114.4KB, pdf) MDAR checklist elife-98171-mdarchecklist1.pdf (220.2KB, pdf) Data Availability Statement All experimental data are available here: https://doi.org/10.5281/zenodo.18342691 . The code for the analyses presented in this paper is openly accessible at https://github.com/LinneweberLab/Mathejczyk_2024_eLife_Individuality (copy archived at LinneweberLab, 2026 ). The following dataset was generated: Thomas FM, Cara K, Muhammad AH, Florian F, Tydings M, Mathias W, Gerit L. 2026. Individuality across environmental context in Drosophila melanogaster. Zenodo. Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd ACTIONS View on publisher site PDF (18.8 MB) Cite Collections Permalink PERMALINK Copy RESOURCES Similar articles Cited by other articles Links to NCBI Databases Cite Copy Download .nbib .nbib Format: AMA APA MLA NLM Add to Collections Create a new collection Add to an existing collection Name your collection * Choose a collection Unable to load your collection due to an error Please try again Add Cancel Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top