MABe22: A Multi-Species Multi-Task Benchmark for Learned Representations of Behavior

Jennifer J. Sun, Andrew Ulmer, Dipam Chakraborty, Brian Q. Geuther, Edward Leo Hayes, Heng Jia, Vivek Kumar, Zachary Partridge, Alice A. Robie, Catherine E. Schretter, Chao Sun, Keith Sheppard, Param Uttarwar, Pietro Perona, Yisong Yue, Kristin Branson, Ann R. Kennedy, Werner, Eric, Parker, Joseph, Perona, Pietro, Yue, Yisong, Branson, Kristin, Kennedy, Ann · DOI

Abstract

We introduce MABe22, a large-scale, multi-agent video and trajectory benchmark to assess the quality of learned behavior representations. This dataset is collected from a variety of biology experiments, and includes triplets of interacting mice (4.7 million frames video+pose tracking data, 10 million frames pose only), symbiotic beetle-ant interactions (10 million frames video data), and groups of interacting flies (4.4 million frames of pose tracking data). Accompanying these data, we introduce a panel of real-life downstream analysis tasks to assess the quality of learned representations by evaluating how well they preserve information about the experimental conditions (e.g. strain, time of day, optogenetic stimulation) and animal behavior. We test multiple state-of-the-art self-supervised video and trajectory representation learning methods to demonstrate the use of our benchmark, revealing that methods developed using human action datasets do not fully translate to animal datasets. We hope that our benchmark and dataset encourage a broader exploration of behavior representation learning methods across species and settings.

Introduction

In ethology, the study of animal behavior is shifting from manual video annotation toward automated representation learning. The objective is to train models to convert raw video or tracking data into compact "embeddings" that capture the essence of behavioral interactions. However, the field has lacked a unified benchmark. Most existing datasets focus on single species or isolated tasks, and models optimized for human action recognition (e.g., identifying a "handshake") often struggle with the subtle, high-frequency interactions typical of laboratory animals.

MABe22 addresses this gap by providing a massive, multi-species dataset designed to evaluate how well learned representations preserve both expert-defined actions and critical experimental contexts, such as genetic strain or drug effects.

Datasets and Task Diversity

MABe22 is significantly larger and more diverse than previous benchmarks, encompassing over 29 million frames across three distinct biological systems:

  • Mouse Triplets: 4.7 million frames of video and pose tracking, supplemented by 10 million frames of pose-only data.
  • Beetle-Ant Interactions: 10 million frames of video capturing symbiotic interactions between rove beetles and ants.
  • Fruit Fly Groups: 4.4 million frames of pose tracking for groups of 8–11 flies.
Overview of MABe22 datasets and task types compared to previous human-centric benchmarks.

The benchmark includes 56 downstream tasks. These range from frame-by-frame expert-annotated behaviors (e.g., chasing, huddling) to experimental context classification (e.g., identifying the strain, light cycle, or presence of optogenetic stimulation).

Methods

The researchers evaluated a suite of state-of-the-art Self-Supervised Learning (SSL) methods, which are ideal for learning from vast unlabeled biological datasets.

  • Video-based models: Architectures like MAE (Masked Autoencoders), MaskFeat, and ρBYOL were tested. These models learn by reconstructing missing video segments or matching different temporal "views" of the same clip.
  • Trajectory-based models: For pose-only data, models like T-GPT, T-BERT, and T-PointNet were employed, treating body part movements over time similarly to tokens in a language model.
  • Evaluation Protocol: To assess embedding quality, a linear evaluation protocol was used. Representations were frozen, and a simple linear model was trained to perform the downstream tasks. Success in this protocol indicates that the representation has effectively organized the complex raw data.

Key Insights

Context vs. Action

A primary finding was that representations excelling at identifying specific actions (like grooming) are not necessarily the best at capturing experimental context (like strain). This suggests that behavior is multi-faceted, requiring models capable of capturing information across different temporal and spatial scales.

The Failure of Human Pre-training

Models pre-trained on human datasets (e.g., Kinetics-400) showed limited transferability. While human videos are often "pictorially informative" (recognizable from a single frame), animal behavior in laboratory settings is "temporally heavy"—the meaning resides in movement patterns against a static, neutral background.

Masking Strategies

In models like MAE, the data "masking" strategy is critical. For mice, "tube masking" (hiding the same spatial area across time) was most effective, whereas "cube masking" (random spatio-temporal blocks) worked better for beetles. This highlights that different species possess unique "behavioral textures."

Results and Future Work

MAE with a ViT-B backbone emerged as a top performer, achieving a perfect 1.00 F1 score on mouse strain identification. Conversely, ρBYOL pre-trained on human data performed best for manual action recognition, suggesting some "action-ness" features do translate across species.

While MABe22 is a major step forward, it currently covers three species from a limited number of labs. Future work will expand the species list and explore multimodal models that can simultaneously process raw pixels and extracted trajectories to capture both rich context and precise coordinates.

Summary updated

BibTeX
@inproceedings{sun2023mabe,
  author = {Jennifer J. Sun and Andrew Ulmer and Dipam Chakraborty and Brian Q. Geuther and Edward Leo Hayes and Heng Jia and Vivek Kumar and Zachary Partridge and Alice A. Robie and Catherine E. Schretter and Chao Sun and Keith Sheppard and Param Uttarwar and Pietro Perona and Yisong Yue and Kristin Branson and Ann R. Kennedy and Werner, Eric and Parker, Joseph and Perona, Pietro and Yue, Yisong and Branson, Kristin and Kennedy, Ann},
  title = {{MABe22: A Multi-Species Multi-Task Benchmark for Learned Representations of Behavior}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=Asrg2we3dP},
}
Figure