[Paper Review] Affinity LCFCN: Learning to Segment Fish with Weak Supervision
This paper proposes A-LCFCN, a weakly supervised instance segmentation method for fish that uses only point-level annotations—requiring just one second per fish—instead of time-intensive per-pixel labeling. By integrating a learnable affinity module with a fully convolutional network and refining predictions via random walk, A-LCFCN achieves segmentation performance comparable to fully supervised models while reducing annotation cost by over 90%.
Aquaculture industries rely on the availability of accurate fish body measurements, e.g., length, width and mass. Manual methods that rely on physical tools like rulers are time and labour intensive. Leading automatic approaches rely on fully-supervised segmentation models to acquire these measurements but these require collecting per-pixel labels -- also time consuming and laborious: i.e., it can take up to two minutes per fish to generate accurate segmentation labels, almost always requiring at least some manual intervention. We propose an automatic segmentation model efficiently trained on images labeled with only point-level supervision, where each fish is annotated with a single click. This labeling process requires significantly less manual intervention, averaging roughly one second per fish. Our approach uses a fully convolutional neural network with one branch that outputs per-pixel scores and another that outputs an affinity matrix. We aggregate these two outputs using a random walk to obtain the final, refined per-pixel segmentation output. We train the entire model end-to-end with an LCFCN loss, resulting in our A-LCFCN method. We validate our model on the DeepFish dataset, which contains many fish habitats from the north-eastern Australian region. Our experimental results confirm that A-LCFCN outperforms a fully-supervised segmentation model at fixed annotation budget. Moreover, we show that A-LCFCN achieves better segmentation results than LCFCN and a standard baseline. We have released the code at \url{https://github.com/IssamLaradji/affinity_lcfcn}.
Motivation & Objective
- Reduce the high annotation cost of per-pixel segmentation in fish monitoring by leveraging weak supervision.
- Address the limitation of existing point-level methods that produce inaccurate boundaries or large blobs.
- Improve segmentation accuracy for fish with complex, elongated shapes using a learnable affinity module.
- Demonstrate that point-level supervision can achieve performance close to full supervision when combined with pseudo-labeling.
- Enable scalable, efficient fish habitat monitoring for sustainable fisheries using minimal human annotation.
Proposed method
- Train a fully convolutional network with a shared ImageNet-pretrained VGG16 backbone for feature extraction.
- Use a dual-branch architecture: one branch predicts per-pixel class scores, and another predicts a learnable pixel-wise affinity matrix.
- Integrate the affinity matrix and pixel scores via a random walk algorithm to refine segmentation masks based on local semantic similarity.
- End-to-end train the model using the LCFCN loss, which encourages correct localization and boundary adherence.
- Apply a pseudo-masking (PM) refinement step where A-LCFCN-generated masks are used to fine-tune a fully supervised model.
- Use connected components to extract fish instances from the final segmentation output for counting and localization tasks.
Experimental results
Research questions
- RQ1Can point-level supervision achieve segmentation performance comparable to fully supervised methods in fish instance segmentation?
- RQ2Does integrating a learnable affinity module improve boundary localization compared to existing weakly supervised methods?
- RQ3How does the model perform when trained on larger datasets with more diverse fish habitats?
- RQ4Can A-LCFCN-generated pseudo-labels effectively improve a fully supervised segmentation model?
- RQ5To what extent does the method reduce annotation cost while maintaining high segmentation accuracy?
Key findings
- A-LCFCN outperforms fully supervised FS-FCN under a fixed annotation budget of ~1500 seconds, achieving higher mIoU despite using only point-level labels.
- On the FishLoc dataset, A-LCFCN achieves a mean IoU of 0.785, significantly outperforming LCFCN (0.682) and PL-FCN (0.641) in segmentation quality.
- The A-LCFCN+PM variant improves mIoU to 0.812 on FishLoc and 0.768 on FishSeg, showing that pseudo-labeling enhances performance further.
- A-LCFCN produces more accurate boundary-aware segmentations than LCFCN and PL-FCN, as shown in qualitative results where it avoids large central blobs.
- Despite improved segmentation, counting and localization performance across A-LCFCN, A-LCFCN+PM, and LCFCN remains similar (MAE ≈ 0.03–0.097), indicating robust instance detection.
- The model generalizes better on larger datasets: A-LCFCN improves with more training data, while LCFCN’s performance plateaus or degrades due to poor boundary learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.