arXiv:2610.36722cs.CVOct 2026

Manuscript Offprint

arXiv:2610.36722

Progressively Refining SAM for Accurate Phytoplankton Segmentation

Jialin Li, Jinkun Jiang, Yuezun Li, Junyu Dong

ABSTRACT

Accurate phytoplankton segmentation is essential for ecological monitoring, yet it remains largely underexplored due to the subtle visual characteristics of phytoplankton and the scarcity of pixel-level annotations. To address these challenges, we propose PhySeg, a SAM-based segmentation framework equipped with a lightweight refinement module that progressively restores fine-grained details through multiscale feature fusion. In addition, we construct a phytoplankton segmentation dataset by manually annotating instance-level masks for an existing dataset, providing a valuable resource for future research. Experimental results demonstrate that PhySeg improves segmentation accuracy, validating the effectiveness of the proposed module. Code is available at https://github.com/lijialin404/PhySeg.

Index Terms— Phytoplankton Image Segmentation, Segment Anything Model, Refinement

1. INTRODUCTION

Phytoplankton underpin marine primary production and food webs and play an important role in the global carbon cycle [1]. Characterizing their morphology and behavior is therefore essential for understanding marine ecosystems. Several studies have focused on phytoplankton classification [2, 3], supported by public benchmarks such as WHOI-Plankton [4]. Beyond classification, detection and tracking methods [5, 6, 7] enable the spatial localization and temporal association of individual organisms, supported by datasets such as PMID2019 [8] and PMOT2023 [9].

Despite this progress, category labels, bounding boxes, and trajectories provide limited information about the precise morphology of individual organisms. Therefore, pixel-level segmentation for phytoplankton is required to support more detailed ecological analysis [10]. However, phytoplankton segmentation remains comparatively underexplored, with two major challenges. First, general-purpose segmentation models, including the Segment Anything Model (SAM) [11], are not specifically designed for phytoplankton. Substantial variations in morphology and scale, together with slender structures, low contrast, and ambiguous boundaries (see examples in Fig. 3), make it difficult to recover fine details reliably [2, 8, 10]. Second, adapting these models requires high-quality segmentation annotations, which remain scarce in existing phytoplankton datasets. Recent surveys likewise identify limited annotated data and the need for segmentation-oriented methods as persistent challenges in phytoplankton image analysis [2, 3].

In this paper, we address these challenges through two contributions. 1) Methodology. We introduce a dedicated phytoplankton segmentation framework built on SAM2 [12], named PhySeg. Drawing on its strong general-purpose segmentation capabilities, we adapt SAM2 to phytoplankton microscopy and develop an add-on refiner that integrates multiscale features to progressively recover fine structural details. 2) Dataset. We extend PMID2019 with 11990 manually annotated instance masks across 9824 images. Unlike general objects, annotating phytoplankton requires substantial manual effort due to their slender structures and intricate boundaries. Despite its modest scale, this dataset provides a valuable resource for developing and evaluating phytoplankton segmentation methods. Experiments on this dataset demonstrate the effectiveness of the proposed framework, establishing a baseline for phytoplankton segmentation.

References (21)