[Paper Review] EdgeFlow: Achieving Practical Interactive Segmentation with Edge-Guided Flow
EdgeFlow proposes a novel interactive segmentation architecture that leverages edge-guided flow and early-late fusion to enhance user click interactions, achieving state-of-the-art performance without post-processing. The method uses a coarse-to-fine network with dynamic edge priors from previous predictions, enabling fast, stable, and accurate segmentation with minimal clicks—achieving 96.9% IoU on Berkeley dataset with just 5 clicks.
High-quality training data play a key role in image segmentation tasks. Usually, pixel-level annotations are expensive, laborious and time-consuming for the large volume of training data. To reduce labelling cost and improve segmentation quality, interactive segmentation methods have been proposed, which provide the result with just a few clicks. However, their performance does not meet the requirements of practical segmentation tasks in terms of speed and accuracy. In this work, we propose EdgeFlow, a novel architecture that fully utilizes interactive information of user clicks with edge-guided flow. Our method achieves state-of-the-art performance without any post-processing or iterative optimization scheme. Comprehensive experiments on benchmarks also demonstrate the superiority of our method. In addition, with the proposed method, we develop an efficient interactive segmentation tool for practical data annotation tasks. The source code and tool is avaliable at https://github.com/PaddlePaddle/PaddleSeg.
Motivation & Objective
- To reduce the high cost of pixel-level annotation in image segmentation by enabling efficient, accurate interactive labeling with minimal user clicks.
- To address instability and feature dilution in existing click-based interactive segmentation models by better integrating user interaction across network layers.
- To improve segmentation stability and accuracy by incorporating dynamically updated edge masks from prior predictions as prior information.
- To develop a practical, efficient annotation tool that supports real-time inference, polygon editing, and multi-format output for diverse application domains.
Proposed method
- EdgeFlow employs a coarse-to-fine network with CoarseNet (HRNet-18+OCR) and FineNet (three atrous convolution blocks) to refine segmentation masks at high resolution.
- It introduces edge-guided flow (EF) that embeds user click features into both early and late layers via an early-late fusion strategy, reducing feature dilution.
- The model uses the edge mask from the previous prediction as a dynamic prior input for the current click, improving stability across consecutive clicks.
- The edge mask is generated by the network itself, creating a feedback loop that refines object boundaries progressively with each click.
- The architecture avoids post-processing or iterative optimization, enabling real-time inference during interactive annotation.
- An interactive segmentation tool is built on EdgeFlow, supporting click-based labeling, threshold adjustment, connected component filtering, and polygon vertex editing for accuracy refinement.
Experimental results
Research questions
- RQ1How can interactive segmentation models better preserve and utilize user click information across deep network layers to avoid feature dilution?
- RQ2To what extent can dynamically updated edge masks from prior predictions improve segmentation stability and accuracy in interactive settings?
- RQ3Can a single-stage, end-to-end architecture achieve SOTA performance in interactive segmentation without iterative optimization or post-processing?
- RQ4How does the integration of edge-guided flow and coarse-to-fine refinement affect performance across diverse benchmarks and real-world annotation tasks?
Key findings
- EdgeFlow achieves 96.9% mean IoU on the Berkeley dataset with only 5 clicks, demonstrating high accuracy and efficiency in interactive segmentation.
- With 10 clicks, the model reaches 97.0% IoU on Berkeley, indicating strong convergence and robustness to user input.
- The addition of FineNet improves NoC@85 and NoC@90 metrics significantly, confirming the effectiveness of the coarse-to-fine design.
- Using edge masks from previous predictions (EI mask) outperforms fixed Sobel-based edge masks (SI mask), proving the value of dynamic, context-aware priors.
- The edge-guided flow module reduces output variance and stabilizes predictions across consecutive clicks, improving annotation reliability.
- The developed interactive tool enables flexible annotation with polygon editing and multi-format export, enhancing practical usability in real-world data labeling pipelines.
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.