Abstract
In biological image analysis, accurate instance segmentation is crucial for downstream tasks such as cell morphology analysis and tissue quantification. While top-down instance segmentation frameworks like Mask R-CNN are efficient, they frequently suffer from the "over-crop" problem, where inaccurate initial bounding boxes truncate the object of interest. This paper discusses the Region Proposal Rectification (RPR) module, a framework-agnostic solution that utilizes progressive ROI alignment and self-attention to refine bounding boxes. Experimental results across multiple biological datasets demonstrate that RPR significantly improves segmentation completeness and accuracy with minimal computational overhead.
1. Introduction
Instance segmentation in biological imaging—ranging from identifying individual nuclei in histopathology to leaf morphology in plant phenotyping—requires high precision. Current methodologies generally fall into two categories: bottom-up and top-down. Top-down methods are often preferred for their detection efficiency; however, they rely heavily on the quality of the initial region proposal. If a bounding box is slightly misaligned, the subsequent segmentation mask is restricted to that box, leading to truncated or "over-cropped" results. In biological contexts, where the integrity of the boundary is paramount for scientific validity, this limitation is a significant hurdle.
2. The Over-Crop Challenge
The "over-crop" problem occurs when a region proposal network (RPN) generates a bounding box that does not fully encompass the target object. Because standard top-down architectures perform segmentation strictly within the boundaries of these proposed boxes, any part of the object lying outside the box is permanently lost. This is particularly problematic for biological objects with irregular shapes or those that are densely packed, such as overlapping cells or touching leaves.
3. Methodology: Region Proposal Rectification (RPR)
To address this, the authors propose the Region Proposal Rectification (RPR) module. This "plug-and-play" component is designed to adjust and expand the bounding box before the final mask generation phase. The RPR module consists of two primary sub-modules:
3.1 Progressive ROIAlign
Unlike standard ROIAlign, which takes a single fixed crop, Progressive ROIAlign extracts a sequence of $K$ feature maps. These maps are generated by gradually increasing the dilation rate $\rho$, effectively "zooming out" from the initial proposal. This provides the model with the necessary spatial context from the surrounding area, allowing it to identify parts of the object that were initially excluded.
3.2 Attentive Feed-Forward Network (FFN)
The features extracted via Progressive ROIAlign are processed through an Attentive FFN. Utilizing a self-attention mechanism inspired by Transformer architectures, the network treats the original feature as a "query" and the expanded contextual features as "keys" and "values." This allows the model to dynamically weigh the importance of neighboring pixels, distinguishing between the target object's boundaries and the background or adjacent objects. The result is a more accurate regression of the final bounding box.
4. Experimental Evaluation
The RPR module was evaluated on three diverse biological datasets to test its versatility across different scales and morphologies:
- Urothelial Cell Dataset: 336 high-resolution pathological images used for bladder cancer detection.
- Plant Phenotyping Dataset: 535 images of plant leaves where overlapping structures make segmentation difficult.
- DSB2018: A public dataset of 670 annotated cell nuclei images of various types.
The module was integrated into both anchor-based (e.g., Mask R-CNN) and anchor-free (e.g., CenterMask) frameworks to demonstrate its framework-agnostic nature.
5. Results and Discussion
The addition of the RPR module yielded consistent performance gains across all benchmarks. On the Plant Phenotyping dataset, adding RPR to Mask R-CNN improved the Bounding Box Average Precision ($AP^{bbox}$) by 2.59 points. Even more significant gains were observed in the Urothelial Cell dataset, where CenterMask’s $AP^{bbox}$ increased by 4.65 points.
Qualitatively, the RPR module successfully "restored" the missing parts of objects that baseline models typically clipped. By providing the network with a broader field of view and an attention mechanism to filter that view, the system ensures that the final segmentation mask covers the entire biological entity. Furthermore, the computational cost is negligible, adding approximately 0.01 seconds per iteration during the inference phase.
6. Conclusion and Future Work
The Region Proposal Rectification module offers a robust solution to the over-crop problem in biological instance segmentation. By integrating contextual awareness and self-attention, RPR ensures that bounding boxes are accurately fitted to the true boundaries of biological structures. While the method is highly effective, future work may focus on improving performance in low-contrast environments where boundaries are inherently ambiguous. Additionally, extending this approach to 3D volumetric data could provide significant benefits for medical imaging modalities like CT or MRI.
Summary updated