SLEAP: A Deep Learning System for Multi-Animal Pose Tracking
Talmo D. Pereira,Nathaniel Tabris,Arie Matsliah,David M. Turner,Junyu Li,Shruthi Ravindranath,Eleni S. Papadoyannis,Edna Normand,David S. Deutsch,Z. Yan Wang,Grace C. McKenzie-Smith,Catalin C. Mitelut,Marielisa Diez Castro,John D'Uva,Mikhail Kislin,Dan H. Sanes,Sarah D. Kocher,Samuel S-H Wang,Annegret L. Falkner,Joshua W. Shaevitz,Mala Murthy
DOI: https://doi.org/10.1038/s41592-022-01426-1
IF: 48
2022-01-01
Nature Methods
Abstract:The desire to understand how the brain generates and patterns behavior has driven rapid methodological innovation in tools to quantify natural animal behavior. While advances in deep learning and computer vision have enabled markerless pose estimation in individual animals, extending these to multiple animals presents unique challenges for studies of social behaviors or animals in their natural environments. Here we present Social LEAP Estimates Animal Poses (SLEAP), a machine learning system for multi-animal pose tracking. This system enables versatile workflows for data labeling, model training and inference on previously unseen data. SLEAP features an accessible graphical user interface, a standardized data model, a reproducible configuration system, over 30 model architectures, two approaches to part grouping and two approaches to identity tracking. We applied SLEAP to seven datasets across flies, bees, mice and gerbils to systematically evaluate each approach and architecture, and we compare it with other existing approaches. SLEAP achieves greater accuracy and speeds of more than 800 frames per second, with latencies of less than 3.5 ms at full 1,024 x 1,024 image resolution. This makes SLEAP usable for real-time applications, which we demonstrate by controlling the behavior of one animal on the basis of the tracking and detection of social interactions with another animal. SLEAP is a versatile deep learning-based multi-animal pose-tracking tool designed to work on videos of diverse animals, including during social behavior.