Visible phenotypes based on locomotion and posture have played a critical role in understanding the molecular basis of behavior and development in Caenorhabditis elegans and other model organisms. However, it is not known whether these human-defined features capture the most important aspects of behavior for phenotypic comparison or whether they are sufficient to discover new behaviors. Here we show that four basic shapes, or eigenworms, previously described for wild-type worms, also capture mutant shapes, and that this representation can be used to build a dictionary of repetitive behavioral motifs in an unbiased way. By measuring the distance between each individual's behavior and the elements in the motif dictionary, we create a fingerprint that can be used to compare mutants to wild type and to each other. This analysis has revealed phenotypes not previously detected by real-time observation and has allowed clustering of mutants into related groups. Behavioral motifs provide a compact and intuitive representation of behavioral phenotypes.phenotyping | imaging | ethology | nematode T he study of unconstrained spontaneous behavior is the core of ethology, and it has also made significant contributions to behavioral genetics in model organisms. A powerful approach has been the careful expert observation of mutants to identify those with visible locomotor phenotypes, as demonstrated for many model organisms (1-6). However, as with most manually scored experiments, subjectivity can reduce reproducibility, whereas subtle quantitative changes or those that happen on very short or long time-scales are likely to be missed. Furthermore, manual observations are not scalable, and this has led to a widening gap between our ability to sequence and manipulate genomes and our ability to assess the effects of genetic variation and mutation on behavior.Several recent reports describe systems that begin to address this gap by automatically recording and quantifying spontaneous behavior in animals ranging from worms (7-15) to flies (16-19), fish (20, 21), and mice (22,23). The advantage of these approaches is that they provide a means to quantify movement parameters such as velocity precisely and in some cases to automatically detect predefined behaviors based on a manually annotated training data set. This automated analysis eliminates some of the problems of a purely manual approach, but it still relies on preselected behavioral parameters that may not be optimal for phenotypic comparisons and precludes the discovery of new behaviors that have not already been observed by eye. An alternative approach is to use unsupervised learning, which attempts to use the inherent structure of a data set to identify informative patterns; to do this, we first needed to extract worm postures from movie data and have as compact and complete a representation of worm behavior as possible.