arXiv:2610.22549cs.CVOct 2026

Manuscript Offprint

arXiv:2610.22549

CFC26: Building Evaluations for Deployment in Sonar-Based Fish Counting

Madison Van Horn, Suzanne Stathatos, Sevan Brodjian, Justin Kay, Kai Van Brunt, Erik Young, Sara Beery, Pietro Perona, Michael Hobley

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Accurate counts of fish populations are essential for monitoring ecosystems and making decisions for conservation, harvest limits, and river management. In many field deployments, these counts are obtained from sonar videos that experts must inspect manually, making large-scale monitoring slow, expensive, and difficult. Automated counting systems have been proposed as a scalable alternative, but so far this promise has been difficult to realize in deployment. Developing evaluations that better reflect real-world deployment conditions will help close this gap and drive improvements in counting performance in practice. To achieve this, we propose Caltech Fish Counting 2026 (CFC26), a new dataset with improved evaluation protocols that simulate deployment to seen and novel rivers, testing in-distribution and out-of-distribution performance. We expand the CFC22 dataset to eleven deployment locations across nine Pacific salmon river systems from Alaska to Northern California, capturing a broader geographical and ecological range of data. We additionally introduce two new evaluation metrics for counting, nMNE and nMANE, that mirror the operational workflow that experts use and help surface errors that frame-level detection metrics do not capture. Using these metrics, we reveal previously-concealed directional bias in upstream vs downstream counts, which would have direct and significant ecological implications if undetected. The dataset and code are publicly available on CaltechDATA and GitHub.

1 Introduction

Machine learning models improve via a familiar loop: researchers release a dataset, the field trains models on it, leaderboard progress identifies stronger systems, and new datasets or evaluation protocols reset the target. This loop has produced real advances by making progress measurable, comparable, and cumulative. Benchmarks define the task, datasets determine the variation models are exposed to, and metrics decide which failures matter. As models improve, those same benchmarks often become the evidence that a system is ready to move from research to practice.

But this lifecycle often treats deployment as an endpoint rather than as feedback about what the benchmark failed to measure and how it should be updated. When practitioners deploy machine learning systems, new failure modes surface: data distributions shift, information arrives sequentially rather than as randomly sampled examples, and operational objectives differ from the proxy metrics used during development. These failures rarely feed back into how the field measures progress. As a result, a system can lead a leaderboard while failing in the field.

We have witnessed this gap between benchmarking and practice directly in our own work developing systems to count salmon in sonar video, and see this as a rich testbed to explore the complexities

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

Figure

  1. Chemainus

  2. Dungeness

  3. Eel

  4. Elwha

  5. Kenai-Channel

  6. Kenai-Leftbank

  7. Kenai-Rightbank

  8. Klamath

  9. Mad

  10. Nanaimo

  11. Nushagak

Figure 1: CFC26 data is diverse geographically and visually. Sonar sensors are deployed across nine distinct rivers spanning Alaska, British Columbia, Washington, and California, across eleven deployment locations. Blue markers indicate locations included in CFC22, where we have added additional data and annotations; orange markers indicate new CFC26 locations: (1) Chemainus, (2) Dungeness, (3) Eel, (4) Elwha, (5) Kenai-Channel, (6) Kenai-Leftbank, (7) Kenai-Rightbank, (8) Klamath, (9) Mad, (10) Nanaimo, (11) Nushagak.

and practical realities of deployment in a real, high-impact application. Fisheries across the Pacific Northwest deploy sonar sensors to estimate population size for regulation and environmental policy. The task is hard: sonar video is low signal-to-noise (SNR), individual fish are often indistinguishable from background in any single frame, and the useful signal is motion over time rather than stable appearance. Models must run over long deployments under widely varying conditions: fish size, density, sensor range, and background statistics all shift with river ecology and geography. Existing workflows with bespoke detection models still are predominantly manual. A model may speed up practitioners identifying true positives, but when models deviate too much from what practitioners expect, all false positives, and tediously, false negatives, are still left to be checked.

To see methods deployed broadly and address the needs of fisheries managers, we need models that can benefit from training across rivers, generalize reliably beyond the environments on which they were developed, and robustly capture ecological trends without inducing significant bias.

The Caltech Fish Counting Dataset (CFC22) [15] established the primary evaluation protocol for this task (generalizing fish counting to previously unseen rivers), and, while it demonstrated that generalization is difficult and sensitive to ecological variation, it also provided evidence that automated sonar counting was achievable within bounds of error that ecologists would accept.

But when we tried to actually deploy models that performed well on CFC22, these results didn’t hold. Deployed locations that diverged further from the training river exhibited larger performance drops, indicating a real deployment failure mode that intensifies under broader ecological shift. The ‘out-of-distribution’ rivers in CFC22 were not ecologically diverse enough to fully stress-test deployment-specific overfitting.

Through deployment, we also discovered a gap between the metrics used to measure counting performance in CFC22 and the operational goals of fisheries managers even for “high-performing, in-distribution” rivers. The counting metric we proposed for CFC22, nMAE, measures absolute crossing error, but is not informative about directional bias or whether errors are from over- or under-counting. In deployment, the compounding challenges of greater environmental variability and directional counting bias, were both clear and consequential. In this work, we re-examine our previously developed goalpost for this task through the lens of experience in practical deployment, identify where its evaluation protocol didn’t align with deployment, and redesign it to redefine the goalpost closer to reality, better measuring the failure modes that matter operationally to drive methodological progress.

We introduce CFC26, an expanded benchmark for deployable sonar-based fish counting. CFC26 expands CFC22 from 1,567 to 4,363 annotated videos and from 515,933 to over 1M bounding boxes across eleven deployment locations spanning nine ecologically distinct river systems in three states and two countries (Figure 1). In deployment settings, training and evaluation data are not exchangeable random samples: videos are collected over time as river conditions, fish density, and background statistics change. CFC26 mirrors this with temporal data splits. Combined with the increased difficulty and diversity of data, this makes the benchmark a more robust proxy for deployment to new locations.

Our contributions are:

(1) Revising the evaluation protocol to better match deployment at varied locations through in-distribution (ID) and held-out-river out-of-distribution (OOD) protocols that make generalization a measurable property and directly simulate the deployment conditions practitioners face;

(2) Two novel counting metrics, nMNE and nMANE, that enable the detection of directional bias in aggregate passage counts; and

(3) A dataset of 4,363 annotated videos and over 1M bounding boxes across eleven deployment sites spanning nine ecologically distinct river systems, providing the geographic and ecological diversity required to support meaningful OOD evaluation.

References (40)