Search papers, labs, and topics across Lattice.
This paper introduces PEPA, a lightweight Post-Encoder Plug-in Adapter designed to enhance curvilinear object segmentation by addressing reconstruction and decision bottlenecks in high-resolution feature restoration and binarization. By employing Target-Conditioned Snake Upsampling (TCSU) and Target-Adaptive Differentiable Thresholding (TADT), PEPA significantly improves the recovery of thin structures and optimizes thresholding for better segmentation accuracy. Experimental results across five benchmarks demonstrate that PEPA consistently enhances topological connectivity, with improvements in structural continuity often surpassing those in region overlap, all while adding only approximately 0.26 million parameters.
PEPA achieves superior structural continuity in curvilinear segmentation with minimal additional parameters, outperforming traditional methods in topological connectivity.
Curvilinear object segmentation, including vessels and cracks, is challenging due to extreme spatial sparsity and topological fragility, where small local errors can cause severe structural disconnections. Meanwhile, modern segmentation pipelines increasingly rely on strong but hard-to-modify foundation encoders whose heavy downsampling limits fine structural recovery. Motivated by this, we focus on the post-encoder stage and study two recurring and actionable failure modes: a reconstruction bottleneck in high-resolution feature restoration and a decision bottleneck in binarization. We present PEPA, a lightweight Post-Encoder Plug-in Adapter for 2D curvilinear segmentation pipelines with accessible decoder/head features and target, query, or class descriptors. PEPA couples (i) Target-Conditioned Snake Upsampling (TCSU), which uses target-conditioned continuous snake-like sampling to better recover thin and tortuous structures during upsampling, and (ii) Target-Adaptive Differentiable Thresholding (TADT), which predicts target-specific thresholds and optimizes a soft-threshold surrogate with explicit safeguards against trivial bias shifting. Under this post-encoder interface, PEPA can be attached to both prompt-based decoders and conventional dense predictors. Experiments on five medical and industrial benchmarks show that adding PEPA to frozen-encoder baselines yields consistent improvements, with gains in topological connectivity (clDice) typically exceeding those in region overlap (IoU), indicating improved structural continuity. With only $\sim$0.26M additional parameters, PEPA offers a practical post-encoder enhancement for structure-centric segmentation.