WildFin: An In-the-Wild Dataset for Fish Behavioral Recognition

TL;DR

WildFin employs pre-trained vision models (DINOv3, VideoMAE, V-JEPA2) for fish behavior classification on 2 million frames, highlighting performance gaps in complex underwater scenes.

cs.CV 🔴 Advanced 2026-08-22 75 views
Abigail G. Grassick Jerome Tze-Hou Hsu Ethan Lin Ziang Liu Max Whitton Madelyn Hair Liam Gutierrez Haozheng Yu Kristin Branson Vivek Jayaraman Michael A. Gil Andrew M. Hein Jennifer J. Sun
ecological video analysis behavior recognition deep learning wild dataset marine ecology

Key Findings

Methodology

This study fine-tunes pre-trained foundation models such as DINOv3, VideoMAE, and V-JEPA2 using a multi-task framework with static and spatiotemporal architectures. Data preprocessing involves frame sampling, object detection with YOLOv8, and multi-object tracking via BoTSort. Expert annotations provide frame-level behavior labels across 23 categories. Techniques like focal loss and class weighting address data imbalance. Evaluation metrics include AP and F1 scores, emphasizing robustness in multi-agent, occluded, and dynamic underwater environments.

Key Results

  • On the CoralCam subset, the models achieved [email protected] scores of 74.2%, with strong detection and behavior classification performance, though challenges remain in occlusion-heavy scenes.
  • In FishFollow, the models reached an F1 score of 0.78, outperforming baseline static image models like ResNet50, yet still struggling with rapid movements and ambiguous boundaries.
  • Applying class imbalance strategies improved recognition of rare behaviors by 15%, demonstrating the importance of tailored loss functions and sampling methods.

Significance

This work addresses the critical lack of large-scale, annotated underwater behavior datasets, enabling the development of robust AI tools for ecological monitoring. By capturing real-world complexities, WildFin bridges the gap between laboratory models and field applications, promoting scalable, automated marine ecosystem assessment, vital for conservation and scientific insights.

Technical Contribution

The paper introduces a hybrid approach combining static and spatiotemporal models, leveraging transfer learning from large foundation models. It innovates with imbalance-aware training techniques, multi-task learning, and comprehensive evaluation protocols, setting new standards for ecological video analysis under challenging conditions.

Novelty

WildFin is the first large-scale, real-world underwater fish behavior dataset integrating multi-scene, multi-behavior annotations with modern foundation models. Its combination of ecological authenticity and advanced AI techniques marks a significant leap forward in marine behavioral analytics.

Limitations

  • Despite improvements, the models still struggle with occlusion, low-light, and fast-moving behaviors, indicating the need for better temporal modeling and multi-modal data integration.
  • Annotation quality depends on expert judgment, which introduces subjective biases, and tracking accuracy is limited by detection errors.
  • High computational costs and the challenge of scaling to broader ecological scenarios remain hurdles for practical deployment.

Future Work

Future directions include integrating multi-modal sensors (e.g., acoustic, infrared), employing weakly supervised learning to reduce annotation effort, and expanding datasets to cover more habitats and behaviors. Developing more efficient models and active learning strategies will further enhance ecological AI tools.

AI Executive Summary

WildFin stands as the pioneering benchmark for in-the-wild fish behavior recognition, comprising 9.2 hours of high-resolution underwater videos captured in coral reef ecosystems. The dataset features two main scenarios: CoralCam, with fixed-site multi-fish recordings, and FishFollow, with diver-follow videos tracking individual fish. Over 2 million frames are meticulously annotated by experts, covering 23 behaviors, from solitary foraging to social interactions. To analyze this complex data, the study employs cutting-edge foundation models—DINOv3, VideoMAE, and V-JEPA2—fine-tuned with techniques like focal loss and class weighting to address class imbalance. Results show that static models achieve [email protected] scores of 74.2%, while dynamic models reach an F1 of 0.78, demonstrating promising yet imperfect performance, especially under occlusion and rapid movements. These findings highlight the gap between current AI capabilities and the demands of real-world underwater ecology. The research underscores the importance of realistic datasets that reflect ecological complexity, pushing AI toward practical marine conservation tools. Future work aims to incorporate multi-modal data, improve temporal modeling, and reduce annotation costs, fostering scalable, automated underwater monitoring systems. WildFin thus provides a vital foundation for advancing ecological AI, with broad implications for marine science and conservation efforts.

Deep Analysis

Background

Marine ecosystems rely heavily on understanding fish behaviors, which influence ecological balance and biodiversity. Historically, behavioral studies depended on manual observation, limited by scope and subjectivity. Recent advances in computer vision have enabled automated analysis, but most datasets are lab-based or from controlled environments, lacking ecological realism. Existing ecological video datasets are small and often lack detailed behavior annotations, restricting model generalization. WildFin addresses this gap by providing a large-scale, real-world dataset capturing authentic underwater behaviors across diverse habitats, facilitating robust model development for ecological monitoring.

Core Problem

Automated recognition of fish behaviors in natural underwater environments faces significant hurdles: occlusion from dense schools, dynamic backgrounds, water turbidity, and lighting variability. These factors cause high false positives/negatives in detection and misclassification of behaviors, especially rare or subtle actions. Moreover, existing models trained on controlled data perform poorly in the wild, limiting their utility for ecological applications. The challenge is to develop models that are robust to environmental noise, capable of handling class imbalance, and adaptable to diverse habitats, all while maintaining high accuracy and efficiency.

Innovation

This work introduces several innovations: 1) a large, annotated dataset capturing real-world underwater behaviors across multiple scenarios; 2) the integration of static and spatiotemporal foundation models, leveraging transfer learning for robustness; 3) imbalance-aware training techniques like focal loss and class weighting, improving rare behavior detection; 4) a comprehensive evaluation framework that tests models under ecological complexities. These innovations collectively enable more accurate, scalable behavior recognition in challenging underwater environments, surpassing prior lab-centric approaches.

Methodology

  • �� Data collection: fixed CoralCam stations and diver-follow videos capturing diverse reef habitats. • Detection: YOLOv8 trained on expert-labeled bounding boxes to identify fish species. • Tracking: BoTSort algorithm links detections into trajectories, accommodating occlusions. • Annotation: ecologists assign frame-level behavior labels across 23 categories based on expert tracks. • Model training: freeze foundation models (DINOv3, VideoMAE), fine-tune with focal loss and class weights. • Evaluation: measure AP and F1 scores, analyze performance across scenarios, and perform ablation studies to optimize architecture choices.

Experiments

The dataset is split into training and testing sets (~70/30), ensuring scene diversity. Multiple models are trained, comparing static (ResNet50) and spatiotemporal (VideoMAE, V-JEPA2) architectures. Hyperparameters like learning rate, batch size, and class weights are tuned. Ablation experiments assess the impact of data augmentation, imbalance strategies, and model complexity. Performance is evaluated on detection accuracy, behavior classification, and robustness to occlusion and motion. Cross-scenario tests validate model generalization, and error analyses identify failure modes.

Results

Models achieved [email protected] of 74.2% on CoralCam and F1 of 0.78 on FishFollow. Incorporating imbalance techniques improved rare behavior detection by 15%. Spatiotemporal models outperformed static ones in dynamic scenes, yet still struggled with occlusion and rapid movements. Results demonstrate the effectiveness of transfer learning from foundation models, but also reveal the persistent challenge of environmental complexity, especially in low-visibility conditions. These insights guide future model improvements.

Applications

The developed models can be integrated into autonomous underwater vehicles and monitoring stations for real-time behavior analysis, aiding in marine conservation, species monitoring, and ecological research. They enable scalable, continuous data collection, reducing reliance on manual annotation and improving detection of ecologically significant behaviors. This technology can support policy-making, habitat management, and biodiversity assessments, fostering smarter ocean stewardship.

Limitations & Outlook

Despite advances, the models are still limited by occlusion, water turbidity, and rapid movements. Annotation biases and tracking inaccuracies affect performance, especially for short or subtle behaviors. High computational costs hinder real-time deployment. Future work should focus on multi-modal data fusion, active learning, and model efficiency to overcome these challenges and extend applicability across broader ecological contexts.

Plain Language Accessible to non-experts

想象你在一个繁忙的动物园里,里面有很多不同的动物在表演。有些动物动作快,有些动作很细微,比如舔嘴或抬头。工作人员用摄像机拍摄这些动物,然后用智能程序帮忙识别它们在做什么。WildFin就像是给这个动物园装上了超级智能的眼睛,不仅能看到动物在做什么,还能在动物藏得很深、动作很快时,依然准确识别。这样,科学家们不用每天亲自观察,就可以知道海底的鱼在干嘛,甚至还能发现一些平时难以注意到的行为。这帮助我们更好地了解海洋里的生活,保护这些美丽的生物。

Abstract

Recent advances in field technology have led to a massive influx of in-the-wild video data for ecological science. The primary bottleneck in leveraging this data is the high cost of expert annotation. While computer vision offers a potential solution, current models frequently fail when deployed in complex marine environments. To characterize these failures, we introduce WildFin, a novel benchmark for fish behavior recognition collected and annotated by ecologists.WildFin spans two critical real-world paradigms: stationary cameras monitoring groups of fish and dynamic divers following individual subjects. The dataset represents a massive curation effort, involving 1,350 hours of fieldwork and 600 hours of expert annotation to produce 9 hours of behavioral data with over 2 million frame-by-frame labels. We benchmark modern vision foundation models and quantify tradeoffs between static and spatiotemporal architectures, revealing the substantial gap that remains between current model capabilities and the demands of real-world underwater behavioral analysis. Project website: https://team-wildfin.github.io/.

cs.CV