NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Temperate fish detection and classification: a deep learning based approach

Lei Jiao, Kristian Muri Knausgård, Arne Wiklund, Tonje Knutsen Sørdalen, Kim Tallaksen Halvorsen, Alf Ring Kleiven, Lei Jiao 0001, Morten Goodwin

Introduction

Monitoring marine ecosystems is increasingly dependent on underwater video footage. However, the manual analysis of thousands of hours of video to identify fish species presents a significant bottleneck for researchers. This process is labor-intensive, costly, and prone to human error. Automating fish identification is particularly challenging in "temperate" marine environments, such as the North Atlantic, where factors like high turbidity, variable lighting, and complex backgrounds make it difficult for standard computer vision models to distinguish fish from their surroundings. Furthermore, while tropical fish datasets are available, there is a distinct lack of labeled data for temperate species.

To address these challenges, researchers have developed a two-step deep learning pipeline that combines object detection and specialized classification. By leveraging transfer learning and "Squeeze-and-Excitation" (SE) blocks, the system achieves high accuracy even with limited training data from noisy, real-world environments.

Methodology

The proposed architecture decouples the identification process into two distinct stages: detection and classification.

  1. Detection (The "Where"): The system utilizes YOLOv3 (You Only Look Once), a real-time object detection algorithm. In this stage, the model is trained to locate any fish within a frame and generate a bounding box. This simplification allows the model to ignore background noise early in the pipeline.
  2. Classification (The "What"): The cropped images from the detection stage are processed by a CNN-SENet. This Convolutional Neural Network is enhanced with Squeeze-and-Excitation (SE) blocks, which perform channel-wise feature recalibration. This allows the network to focus on the most informative visual features of a fish while suppressing distracting environmental noise.
Overview of the two-step detection and classification pipeline.

To overcome data scarcity, Transfer Learning was employed. Models were pre-trained on the massive ImageNet dataset and the Fish4Knowledge tropical fish dataset before being fine-tuned on a smaller, specific dataset of temperate fish.

Datasets

The study utilized three primary data sources:

  • ImageNet: For initial general feature extraction.
  • Fish4Knowledge: A public dataset of ~27,000 images covering 23 tropical fish species, used for classifier pre-training.
  • Temperate Fish Dataset: A new dataset collected via GoPro cameras in Southern Norway. It includes species such as Pollack, Coalfish, and Corkwing wrasse. This dataset is characterized by higher noise and variability compared to tropical datasets.

Key Insights

  • Modular Decoupling: Separating detection from classification streamlines the labeling process for biologists, as identifying "any fish" is significantly faster than taxonomic identification. This modularity also facilitates independent component upgrades.
  • Feature Recalibration: SE blocks are vital in underwater imagery where colors and silhouettes often blur. By re-weighting internal filters, the network can better identify subtle textures and shapes defining a species.
  • Cross-Environment Transferability: The success of pre-training on tropical fish for temperate fish classification suggests that deep learning models develop a generic morphological "understanding" of fish that transcends specific habitats.

Results and Validation

The CNN-SENet achieved a state-of-the-art accuracy of 99.27% on the Fish4Knowledge dataset. On the more challenging temperate dataset, the model reached 87.74% accuracy when utilizing image augmentation techniques.

The YOLOv3 detector demonstrated robust performance with a mean average precision (mAP) of 86.96%, successfully identifying fish even in low-light conditions with artificial illumination. Furthermore, the CNN-SENet architecture proved more computationally efficient than heavier models like Inception-ResNet-V2, making it suitable for deployment on edge devices.

Real-world application of the detection and classification model in a complex temperate marine environment.

Conclusion

While the system shows strong performance, the primary limitation remains the sample size of the temperate fish dataset. Future work will focus on expanding the dataset to include more species and life stages. Additionally, efforts are underway to optimize the pipeline for real-time deployment on autonomous underwater vehicles (AUVs), enabling on-site data processing directly in the field.

Summary updated

BibTeX
@article{jiao2022temperate,
  author = {Lei Jiao and Kristian Muri Knausgård and Arne Wiklund and Tonje Knutsen Sørdalen and Kim Tallaksen Halvorsen and Alf Ring Kleiven and Lei Jiao and Morten Goodwin},
  title = {{Temperate fish detection and classification: a deep learning based approach}},
  journal = {Applied Intelligence},
  year = {2022},
  doi = {10.1007/s10489-020-02154-9},
}
Figure