The Caltech Fish Counting Dataset: A Benchmark for Multiple-Object Tracking and Counting

Justin Kay, Peter Kulits, Suzanne Stathatos, Siqi Deng, Erik Young, Sara Beery, Grant Van Horn, Pietro Perona · DOI

TL;DR

This paper introduces the Caltech Fish Counting Dataset (CFC), a novel large-scale dataset for detecting, tracking, and counting fish in sonar videos. CFC addresses the limitations of existing datasets by focusing on a challenging natural-world domain with low signal-to-noise and visually indistinct targets, enabling research into domain generalization for computer vision tasks.

What Problem Does This Paper Address?

Computer vision has made significant strides in tasks like object recognition and tracking, largely driven by datasets featuring well-defined objects in controlled environments (e.g., people and vehicles in cities). However, applying these methods to natural-world domains, especially those involving non-RGB imagery and challenging visual conditions, remains a significant hurdle. Specifically, tasks like multiple-object tracking (MOT) and counting in low signal-to-noise environments, where targets are difficult to distinguish from background clutter and from each other, lack robust benchmarks. This limits progress in critical applications like biodiversity monitoring and ecological research. The Caltech Fish Counting Dataset (CFC) aims to fill this gap by providing a challenging benchmark for these tasks in the domain of sonar video.

Methods

The paper proposes a tracking-by-detection framework as a baseline for evaluating performance on the CFC dataset. This standard approach involves two main steps:

  1. Object Detection: Identifying fish in individual frames.
  2. Tracking: Associating these detections across frames to form trajectories.

For counting, they adopt a line-of-interest (LOI) approach, where fish are counted as they cross a virtual line in the video, mimicking the manual procedure used by fishery managers.

A key methodological contribution is the development of a "Baseline++" method. This approach enhances the input to the object detector by appending two additional channels to the raw sonar frames:

  • Background-subtracted channel: Created by averaging all frames in a clip to represent the static background.
  • Frame-differenced channel: Captures motion by calculating the difference between consecutive background-subtracted frames.

This enhanced input aims to improve the detector's robustness to varying environmental conditions and reduce false positives.

Datasets

The primary contribution is the introduction of the Caltech Fish Counting Dataset (CFC).

  • Source: Sourced from over 2,056 hours of sonar video from seven different cameras across five locations (three on the Kenai River in Alaska, one on the Nushagak River in Alaska, and one on the Elwha River in Washington).
  • Annotations: Over half a million annotations for detecting, tracking, and counting fish, covering 8,254 fish tracks across 527,215 frames.
  • Key Features:
    • Low signal-to-noise: Sonar imagery is inherently noisy and challenging.
  • Visually indistinct targets: Fish are often difficult to distinguish from background and each other.
  • Domain generalization focus: Designed to test how well models generalize to unseen locations and camera deployments.
  • Multi-task support: Enables evaluation of detection, tracking, and counting simultaneously.

The paper also references several existing datasets for comparison, including MOT benchmarks like MOT16, MOT20, and UA-DETRAC, and counting datasets like DroneCrowd and WorldExpo.

Key Insights and Ideas

  • Sonar as a rich domain for CV: Sonar imaging presents unique challenges (low signal-to-noise, indistinct targets) that are crucial for advancing computer vision in natural-world applications and for testing domain generalization.
  • Appearance features are weak for fish tracking: Unlike human or vehicle tracking, visual features are not strong discriminators for individual fish in sonar data, necessitating motion-based tracking.
  • Background subtraction and motion cues significantly improve generalization: The "Baseline++" method, by incorporating background subtraction and frame differencing, demonstrates substantial improvements in generalization performance, particularly at out-of-distribution locations.
  • Detection is the bottleneck for generalization: The upper-bound analysis reveals that improving the detector's generalization capabilities has a more significant impact on overall performance than improving the tracker's generalization alone.
  • Counting is a complex task intertwined with detection and tracking: Errors in detection and tracking directly impact counting accuracy, highlighting the need for integrated solutions.

Key Results

  • Baseline Performance: The baseline tracking-by-detection method achieved a validation counting error of less than 5% at the training location (KL), but showed poor generalization to other locations.
  • Baseline++ Improvements: The "Baseline++" method significantly improved generalization performance, reducing nMAE by up to 40.2% at the KC location. For example, at KC, nMAE dropped from 53.0% to 12.8%. At EL, nMAE decreased from 32.3% to 21.3%.
  • Object Detection: Baseline++ improved AP50 by 1.6% on the validation set and significantly boosted performance at out-of-sample test locations, as shown by the increased area under the precision-recall curves.
  • Tracking Metrics: Baseline++ led to substantial improvements in MOTA, IDF1, and HOTA across various locations, particularly at KC and EL, by reducing false positives and false negatives.
  • Upper Bounds: The "Perfect Detector" (using ground-truth detections) showed near-Oracle performance, indicating that detector generalization is the primary challenge.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that even with Baseline++, generalization challenges remain, particularly at locations like KC and EL, where complex background and noise still pose issues.
  • While Baseline++ reduces false positives and negatives, some issues persist, such as missed stationary fish due to background subtraction or noise near the transducer.
  • The current tracking approach still struggles with track splits, leading to undercounting errors.
  • Future Work:
    • Expand the dataset to include additional input formats, locations, and species.
  • Explore unsupervised domain adaptation or self-supervised pretraining on unseen locations using unlabeled data.
  • Develop more robust algorithms that can handle noisy detections and improve tracker generalization.
  • Investigate methods to further improve the generalization capabilities of the detector.

Summary updated

BibTeX
@inproceedings{kay2022caltech,
  author = {Justin Kay and Peter Kulits and Suzanne Stathatos and Siqi Deng and Erik Young and Sara Beery and Grant Van Horn and Pietro Perona},
  title = {{The Caltech Fish Counting Dataset: A Benchmark for Multiple-Object Tracking and Counting}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20074-8\_17},
}
Figure