๐ค AI Summary
This work addresses the challenge of modeling collective behaviors in high-density, irregular fish schools. We propose the first end-to-end, video-driven self-supervised imitation learning framework that learns spatiotemporal motion patterns directly from raw videosโwithout requiring ground-truth trajectory annotations. Methodologically, the framework integrates a Masked Video Autoencoder (MVAE) with self-supervised video representation learning to extract robust spatiotemporal features; introduces an adversarial latent-space motion distribution matching mechanism; and incorporates biologically inspired reward functions and prior motion constraints to enhance training stability and behavioral plausibility. Experiments demonstrate substantial improvements in behavioral diversity and visual fidelity of generated motions. The framework generalizes effectively to multi-species animated synthesis and enables automatic detection of anomalous schooling behaviors in field-captured videos.
๐ Abstract
Reproducing realistic collective behaviors presents a captivating yet formidable challenge. Traditional rule-based methods rely on hand-crafted principles, limiting motion diversity and realism in generated collective behaviors. Recent imitation learning methods learn from data but often require ground-truth motion trajectories and struggle with authenticity, especially in high-density groups with erratic movements. In this paper, we present a scalable approach, Collective Behavior Imitation Learning (CBIL), for learning fish schooling behavior
directly from videos
, without relying on captured motion trajectories. Our method first leverages Video Representation Learning, in which a Masked Video AutoEncoder (MVAE) extracts implicit states from video inputs in a self-supervised manner. The MVAE effectively maps 2D observations to implicit states that are compact and expressive for following the imitation learning stage. Then, we propose a novel adversarial imitation learning method to effectively capture complex movements of the schools of fish, enabling efficient imitation of the distribution of motion patterns measured in the latent space. It also incorporates bio-inspired rewards alongside priors to regularize and stabilize training. Once trained, CBIL can be used for various animation tasks with the learned collective motion priors. We further show its effectiveness across different species. Finally, we demonstrate the application of our system in detecting abnormal fish behavior from in-the-wild videos.