[Paper Review] Self-Supervised Keypoint Discovery in Behavioral Videos
This paper proposes B-KinD, a self-supervised method for discovering semantically meaningful keypoints in behavioral videos without manual annotations. By reconstructing spatiotemporal differences between video frames using an encoder-decoder architecture with a geometric bottleneck, the model focuses on moving agents, achieving state-of-the-art performance in keypoint regression and comparable results to supervised methods in behavior classification across diverse organisms including mice, flies, humans, jellyfish, and trees.
We propose a method for learning the posture and structure of agents from unlabelled behavioral videos. Starting from the observation that behaving agents are generally the main sources of movement in behavioral videos, our method, Behavioral Keypoint Discovery (B-KinD), uses an encoder-decoder architecture with a geometric bottleneck to reconstruct the spatiotemporal difference between video frames. By focusing only on regions of movement, our approach works directly on input videos without requiring manual annotations. Experiments on a variety of agent types (mouse, fly, human, jellyfish, and trees) demonstrate the generality of our approach and reveal that our discovered keypoints represent semantically meaningful body parts, which achieve state-of-the-art performance on keypoint regression among self-supervised methods. Additionally, B-KinD achieve comparable performance to supervised keypoints on downstream tasks, such as behavior classification, suggesting that our method can dramatically reduce model training costs vis-a-vis supervised methods.
Motivation & Objective
- To enable keypoint discovery in behavioral videos without manual annotations, reducing training costs in behavior analysis.
- To address the limitations of existing self-supervised keypoint methods that require bounding boxes or fail with multiple or non-centered agents.
- To exploit the structural property of stationary backgrounds in behavioral videos to improve keypoint localization.
- To achieve performance comparable to supervised keypoint detectors on downstream behavior analysis tasks.
- To produce semantically meaningful, low-dimensional representations that are interpretable and useful for behavioral feature computation.
Proposed method
- The method uses an encoder-decoder architecture with a geometric bottleneck to reconstruct spatiotemporal differences between consecutive video frames.
- The reconstruction target is the difference in pixel intensity across time, which emphasizes moving regions—primarily the behaving agents—while suppressing static backgrounds.
- Keypoints are predicted from the latent representation of the bottleneck, with confidence scores derived from heatmap peak values.
- The model is trained end-to-end using a reconstruction loss on raw video frames, without requiring bounding boxes or human-annotated keypoint labels.
- Data augmentation and image alignment (e.g., for drone-captured tree videos) are applied to improve robustness to camera drift and motion variability.
- The approach generalizes across organisms by focusing on motion-driven structural changes rather than appearance or object-specific features.
Experimental results
Research questions
- RQ1Can self-supervised keypoint discovery be effectively applied to real-world behavioral videos without manual annotations?
- RQ2Does reconstructing spatiotemporal differences improve keypoint localization compared to single-frame reconstruction?
- RQ3Can the discovered keypoints generalize across diverse organisms with varying morphologies and movements?
- RQ4How does the performance of self-supervised keypoints compare to supervised baselines in downstream behavior classification and keypoint regression?
- RQ5Can confidence scores from the model’s heatmap predictions help identify occluded or low-visibility body parts?
Key findings
- B-KinD achieves state-of-the-art performance in self-supervised keypoint regression across all tested datasets, including CalMS21, Fly-vs-Fly, Human 3.6M, Jellyfish, and Vegetations.
- The method achieves behavior classification accuracy comparable to supervised keypoint models, significantly reducing annotation costs.
- Discovered keypoints are semantically meaningful, consistently localizing to anatomical features such as the nose, spine, joints, and wing tips across mice, flies, humans, and jellyfish.
- Confidence scores correlate with visibility—low confidence on background or occluded parts, higher on clearly visible body parts like the nose of a mouse.
- The model generalizes to multiple agents (e.g., flies and mice in the same frame) and complex motions, including swaying trees and self-occlusion in humans.
- Limitations include left-right swapping in symmetric poses and reduced accuracy under heavy occlusion, suggesting potential for improvement with 3D multi-view extensions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.