Overview
Quantifying the collective behavior of animals requires precise 3D tracking of their postures and trajectories. While marker-based motion capture systems offer high accuracy, they are invasive and generally restricted to controlled laboratory settings. Markerless methods have emerged as a powerful alternative, but most existing frameworks struggle with "the group problem": tracking multiple, socially interacting individuals that frequently occlude one another.
3D-MuPPET is a new framework designed for markerless 3D pose estimation and tracking of up to 10 pigeons in both laboratory and outdoor environments. By combining 2D keypoint detection with robust triangulation and identity matching, it achieves interactive speeds and generalizes well to new environments with significantly reduced manual annotation effort.
The 3D-MuPPET Pipeline
The 3D-MuPPET pipeline follows a multi-stage approach to bridge the gap between 2D observations and 3D behavioral data:
- 2D Pose Estimation: The framework is modular, allowing for different 2D estimators. The authors evaluated KeypointRCNN (optimized for speed), DeepLabCut (DLC), and ViTPose (optimized for accuracy) to infer 2D keypoints and bounding boxes.
- Identity Matching: To link individuals across multiple camera views, the system uses a dynamic matching algorithm in the initial frame. In subsequent frames, a 2D tracker (SORT) maintains these identities across views.
- 3D Triangulation: 2D keypoints from all synchronized views are triangulated into 3D space. To handle noise and jitter, a Kalman filter is applied to smooth the resulting 3D poses.
- Background Removal: To enable outdoor tracking without extensive new annotations, the system utilizes the Segment-Anything-Model (SAM) to mask out complex natural backgrounds. This allows models trained on "clean" laboratory data to focus solely on the animal's features in the wild.
Key Insights and Generalization
A major challenge in deep learning for pose estimation is the "data-hungry" nature of models. Moving from a lab setting to the wild usually requires a massive round of manual annotation. 3D-MuPPET addresses this through two key findings:
- Single-to-Multi Generalization: A model trained on a single pigeon can effectively estimate poses for groups of up to five pigeons. This suggests that researchers can drastically reduce annotation time by focusing on high-quality labels for individuals rather than complex group scenes.
- Zero-Shot Domain Shift: By using SAM to remove background influence, the authors demonstrated that a model trained in a laboratory environment can work in outdoor settings without needing thousands of new outdoor labels.
Performance and Results
The framework was benchmarked using the 3D-POP indoor dataset and a new Wild-MuPPET outdoor dataset.
- Accuracy: In 3D, the framework achieved a median error of 7.0 mm and a Percentage of Correct Keypoints (PCK10) of 92.5%. This performance is comparable to state-of-the-art single-animal estimators, despite 3D-MuPPET handling up to 10 individuals.
- Speed: The system achieves up to 9.45 fps in 2D and 1.89 fps in 3D using a consumer-grade GPU (Nvidia RTX 3070), reaching "interactive" speeds suitable for practical behavioral monitoring.
- Tracking Robustness: The framework yielded a Higher Order Tracking Accuracy (HOTA) of 86% in 2D and 85% in 3D, indicating very few identity swaps even in crowded scenes.
Limitations and Future Work
The primary limitation remains occlusion. When pigeons are very close together or overlapping, 2D detectors can fail, propagating errors into the 3D triangulation.
Current identity matching also assumes all subjects are present in the first frame to establish global IDs. Future improvements could incorporate visual re-identification features to handle animals entering or leaving the frame and temporal consistency constraints to "fill in" poses during brief occlusions.
Summary updated