The Multi-Agent Behavior Dataset: Mouse Dyadic Social Interactions

Jennifer J. Sun, Tomomi Karigo, Dipam Chakraborty, Sharada P. Mohanty, David J. Anderson, Pietro Perona, Yisong Yue, Ann KennedyNeurIPS 2021

TL;DR

This paper introduces the Caltech Mouse Social Interactions (CalMS21) Dataset, a large-scale benchmark for automated behavior classification in dyadic mouse social interactions. It addresses the critical need for standardized datasets in behavioral neuroscience, enabling the development and evaluation of models that can accurately classify complex animal behaviors from pose trajectory data, even with limited or varied annotations.

What Problem Does This Paper Address?

Understanding animal behavior, particularly social interactions, is crucial in neuroscience for studying everything from brain function to disease. Traditionally, this involved manual, frame-by-frame annotation of videos by experts, a process that is time-consuming, expensive, and difficult to scale. While automated behavior classification offers a solution, its progress is hampered by a lack of large, publicly available, and standardized datasets. Existing datasets are often limited in size, scope, or annotation quality, making it hard to compare different methods or to train models that generalize well to new behaviors or different annotation styles. This paper aims to fill this gap by providing a comprehensive dataset and a set of benchmark tasks designed to push the state-of-the-art in multi-agent behavior classification.

Methods

The CalMS21 dataset provides pose trajectories of interacting mice, derived using the Mouse Action Recognition System (MARS) [55], which tracks seven keypoints per mouse. The core of the paper lies in the dataset's design for three distinct benchmark tasks:

  • Task 1: Classical Classification: This task focuses on training supervised classifiers to detect common social behaviors (attack, mount, close investigation) using a large, single-annotator dataset.
  • Task 2: Annotation Style Transfer: This task addresses the inherent variability in human annotations. It challenges models to generalize to new annotators' styles, using limited data from multiple experts for the same behaviors.
  • Task 3: Learning New Behaviors: This task focuses on few-shot learning, where models must learn to classify novel behaviors with very limited training data.

The dataset also includes a substantial amount of unlabeled pose data, encouraging the development of unsupervised and self-supervised learning methods for feature extraction and representation learning.

Datasets

  • Caltech Mouse Social Interactions (CalMS21) Dataset: This is the newly introduced dataset. It comprises:
  • Over 6 million frames of unlabeled pose trajectories from interacting mice.
  • Over 1 million frames with pose trajectories and corresponding frame-level behavior annotations.
  • The dataset is structured into three main task-specific subsets (Tasks 1, 2, and 3) and a large unlabeled collection.
  • MARS (Mouse Action Recognition System) [55]: Used for pose estimation to generate the keypoint data.

Key Insights and Ideas

  • The Challenge of Annotator Variability: The paper highlights that even trained experts exhibit significant differences in how they define and annotate behaviors. This variability is a major hurdle for model generalization and is explicitly addressed in Task 2.
  • The Power of Unlabeled Data: The inclusion of a large unlabeled dataset is a key feature, enabling researchers to explore unsupervised and self-supervised learning techniques to improve performance, especially for tasks with limited labeled data.
  • Few-Shot Learning is Crucial: Task 3 underscores the importance of developing methods that can learn new behaviors from very few examples, a common scenario in scientific research where annotating large datasets for every new behavior of interest is impractical.
  • Beyond Single-Agent Analysis: The dataset focuses on dyadic interactions, moving beyond single-animal behavior analysis to capture the complexities of social dynamics.

Key Results

The paper presents initial benchmarks for various baseline models on the CalMS21 tasks.

  • Task 1: A 1D convolutional neural network achieved the highest performance among the evaluated baseline architectures, reaching an average F1 score of 0.793 ± 0.011. Including features learned from the unlabeled set via "task programming" further improved performance.
  • Task 2: Models trained on Task 1 and then fine-tuned showed promising results, with the top-performing model achieving an average F1 score of 0.813 ± 0.003. The learned annotator embeddings revealed interesting similarities and differences between annotators.
  • Task 3: This task proved to be the most challenging due to limited data and class imbalance. Baseline models achieved lower F1 scores (around 0.338 ± 0.004), indicating significant room for improvement, especially with techniques that handle class imbalance and few-shot learning.

Limitations and Future Work

  • Annotation Subjectivity: The authors acknowledge that precise, numerical consensus definitions for mouse behaviors are still evolving, and inter-annotator variability is a persistent issue. Future work could focus on developing more robust methods for handling this variability.
  • Video Data Potential: While the dataset primarily uses pose data, the authors suggest that incorporating raw video data could potentially improve classifier performance.
  • Generalization to Other Organisms/Settings: The current dataset focuses on dyadic mouse interactions in a specific resident-intruder assay. Future work could expand to include other organisms, experimental settings, and task designs.
  • Unsupervised Representation Evaluation: Developing appropriate challenge tasks to evaluate the quality of unsupervised representations of animal movements is identified as an important future direction.

Summary updated

BibTeX
@inproceedings{sun2021multi,
  author = {Jennifer J. Sun and Tomomi Karigo and Dipam Chakraborty and Sharada P. Mohanty and David J. Anderson and Pietro Perona and Yisong Yue and Ann Kennedy},
  title = {{The Multi-Agent Behavior Dataset: Mouse Dyadic Social Interactions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=s299eaCFGe},
}
Figure