Sensitivity of Underwater Fish Mask AP to Geometric Instance Splitting
This study demonstrates that artificially splitting underwater fish instance masks into disjoint geometric parts significantly degrades average precision (AP) scores, with even minor nominal splits of 1–10% causing measurable performance drops and full splitting reducing AP to near zero.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer
In the murky depths of the ocean, where light fades and visibility shifts, scientists rely on underwater cameras to count and track marine life. To teach computers how to recognize individual fish in these images, researchers use a technique called instance segmentation. This process involves drawing a precise outline, or mask, around every single fish the camera sees, treating each one as a distinct object. The computer's success is measured by how well these digital outlines match the fish it finds. A key metric for this success is a score called average precision, which essentially asks: "When the computer says it found a fish, how accurately did it draw the shape?" If the computer draws a perfect circle around a fish, it gets a high score. If the drawing is imprecise or misses parts of the fish, the score drops. This scoring system is the standard language of the field, used to compare different artificial intelligence models and decide which ones are best for studying marine ecosystems. However, the score depends entirely on how the reference outlines are defined. If the same fish is described as one solid shape in one dataset but as two separate shapes in another, the computer's score can change dramatically, even if the computer's actual drawing of the fish never changed.
A researcher named Junjie Qiang from Fujian University of Technology recently investigated just how sensitive these scores are to such changes. He focused on a specific scenario: what happens to the score if a single fish mask is accidentally or intentionally split into two or more pieces, while the total area of the fish remains exactly the same? In the real world, a fish might be partially hidden by a rock or a school of other fish, leading to a situation where an annotator might draw two separate masks for what is actually one animal. Qiang wanted to know if this kind of geometric splitting would unfairly punish a computer model or if the scoring system was robust enough to handle it. To find out, he did not train a new computer model. Instead, he took a set of 1,050 underwater images containing nearly 3,700 fish and used a computer program to mathematically cut the reference outlines of these fish into smaller, disjointed parts. He kept the computer's original predictions frozen and unchanged, then simply re-evaluated them against these new, split-up reference masks.
The results revealed a sharp and predictable drop in performance. When the reference fish were split into two pieces, the computer's score fell significantly. For every additional one percent of fish instances that were split, the overall score dropped by between 0.6 and 1.1 points. This means that even a very small amount of splitting, such as just one percent of the fish being divided into two parts, could lower the score by roughly half a point to one and a half points. The study showed that this loss was not random; it was a direct consequence of how the scoring rules work. When a fish is split, the computer's prediction, which is still a single shape, no longer overlaps perfectly with the new, smaller reference pieces. Because the scoring system requires a high degree of overlap to give credit, the computer loses points even though it drew the fish correctly in the first place. The relationship was so consistent that the researchers could draw a straight line showing that as more fish were split, the score fell steadily.
The situation became even more severe when the fish were split into three or more pieces. In these cases, the researchers found that if the largest piece of the split fish was less than half the size of the original, the computer's score for that fish dropped to zero. This happened because the computer's single prediction could not possibly overlap enough with any of the tiny, scattered pieces to meet the minimum requirement for a match. When the researchers split all the fish in the dataset into three parts, the overall score for the entire system collapsed, falling to nearly zero. This demonstrated that the scoring system is extremely fragile when faced with complex geometric splits, treating a single fish that has been divided into many small parts as if it were not found at all.
The study also looked at whether different computer models reacted differently to this splitting. Two models were tested, one trained on individual images and another trained on groups of similar images. While the first model consistently scored slightly higher than the second, the rate at which their scores dropped as fish were split was almost identical. This suggests that the problem is not with the specific model being used, but with the fundamental way the scoring system handles split references. Even when the researchers tried splitting the fish vertically instead of horizontally, the results were the same, confirming that the direction of the cut did not matter; only the fact that the fish was divided mattered.
One of the most striking findings was how this sensitivity affected the ranking of the models. At the beginning, with no splitting, one model was clearly better than the other. But as the splitting increased, the gap between them shrank. When the researchers split every single fish in the dataset, the scores of the two models became so low and so close that the researchers could no longer say with certainty which one was better. The statistical confidence interval, which usually tells us if one result is truly better than another, crossed over zero, meaning the difference could have been due to chance. This indicates that extreme splitting can completely obscure the true performance differences between models.
The research concludes that the way we define a fish in a dataset has a massive impact on how we judge the computers that find them. A small amount of splitting, which might happen naturally in crowded underwater scenes or due to minor annotation errors, can cause a noticeable drop in scores. The study provides a clear warning that when evaluating underwater vision systems, the consistency of the reference masks is just as important as the quality of the computer's predictions. If the ground truth is fragmented, the scores will be too, potentially leading researchers to believe a system is worse than it actually is. The findings highlight the need for careful attention to how fish are grouped and labeled in underwater datasets, ensuring that the scores we rely on reflect the true ability of the technology to see the ocean, rather than just the geometry of the labels we give it.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.