← 返回论文库
CVPR 2026   Finalist

Dual-level Adapter Boosting Prompt-free Curvilinear Structure Segmentation

Kai Zhu ⋅ Li Chen ⋅ Jun Cheng

摘要 Abstract

Curvilinear structure segmentation is essential in domains such as medical imaging, remote sensing, and materials science. Existing methods often require extensive domain-specific training and lack generalization to novel domains. To overcome these limitations, we propose the Segment Anything Curve Model (SACM) — a universal, curvilinear segmentation framework built upon the pretrained Segment Anything Model (SAM). SACM introduces a dual-level adapter architecture that enables both fine-grained and domain-adaptive enhancement: block-level internal adapters refine local structural representations, while external adapters facilitate cross-domain feature alignment. Specifically, the internal adapters are embedded within each Transformer block to locally adapt and refine features for thin and intricate curvilinear patterns, while the external adapters operate across blocks to capture global, multi-layer contextual information and facilitate domain adaptation. Furthermore, SACM introduces a feature fusion mechanism that aggregates multi-layer features from all external adapters and fuses them via a Feed-Forward Network (FFN) module, and a dual-stage refinement process in the mask decoder to enhance topology and connectivity. This design enables prompt-free, data-efficient fine-tuning and achieves robust cross-domain generalization when trained with only 18 annotated images. Extensive experiments across twelve diverse curvilinear datasets validate that SACM achieves state-of-the-art performance.

📝 精读笔记

灵魂一句
把通用分割基础模型 SAM 改造成"专分细长曲线结构(血管/神经/道路/裂纹/叶脉/胎纹/线缆)"的 SACM:冻结 SAM 编码器,插入 dual-level adapter——块内 Adapter-I 抠局部细节、块间 Adapter-E 传全局拓扑;再配 prompt-free 的 Adapter-Fusion Decoder(多层特征加权融合 + 双阶段 mask 细化)彻底免掉人工 point/box prompt。只用 18 张标注图(6 数据集×3-shot)微调,就在 12 个曲线数据集 SOTA、强跨域泛化。
问题 & 动机
CSS 的根本两难(原文):"the need to reconcile local, fine-grained feature fidelity with global, long-range topological coherence"——局部要抠 faint boundaries/varying widths/被噪声遮挡的细线,全局要保 continuity/elongation/branching 拓扑。经典 CNN "excel at one aspect at the expense of another"→低对比区断裂或丢细节,且重度依赖领域标注、跨域差(视网膜血管模型分割不了卫星道路)。SAM 直接用不行(两点):(1) prompt 机制对 CSS ill-posed——曲线网络 dense/tortuous/interconnected,离散 point/box prompt 难覆盖完整;(2) 现有 adapter 只插 MLP 层(single-level),"primarily refines block-level local features, while neglecting the global structural modeling mechanism itself"→抓不住维持曲线连续性的 long-range 依赖。
核心方法(含关键公式)
① Dual-Level Adapter(DLAda)插进冻结 SAM 每个 Transformer block:
• Adapter-I(块内):MLP 残差路里的 token-wise bottleneck Adapter-I(X)=G(X·W↓ᴵ)·W↑ᴵ(式1,W↓ᴵ∈ℝ^{D×r}、W↑ᴵ∈ℝ^{r×D}、r=bottleneck ratio、G=GELU),逐 token→Jacobian 块对角→专注 channel-wise 局部细节;H^I_out=MLP(LN(Y))+Y+Adapter-I(LN(Y))(式2)。
• Adapter-E(块间):套在整个 block 残差外 X^{(l+1)}=F_l(X^{(l)})+Adapter-E(LN(F_l(X^{(l)})))(式3,式4 同 bottleneck 但独立参数)。因接在 attention token-mixing 之后→扰动随后续 attention 逐层传播、"compounds"→注入全局多层上下文、保 long-range 连续性。
② Prompt-Free Adapter-Fusion Decoder(PFAF-D):prompt 对 CSS 有三 mismatch(positional bias/scale mismatch/topology agnostic)→改用学到的特征级结构引导。取 L 层 external adapter 输出 {E_l}:z_l=AvgPool(E_l)(式5),α=Softmax(FFN(Concat(z_1..z_L)))(式6) 学每层贡献权重,F_fusion=UP(MLP(Σ α_l·E_l))(式7),残差注入 decoder(式8)。
③ Dual-stage Refinement:MLP1 出 coarse mask M⁽¹⁾、按 max-pool 置信度排序 s=argsort(w,desc)(式9);MLP2 条件于排序出 refined M⁽²⁾(式10),IoU predictor 选最优→拓扑健全的 head 主导、兼顾边界。
损失:L_SACM=L_BCE+λ·L_Dice(式11)。
关键结果
同 ViT-L、同 3-shot(18 图)协议下:
Base-Seen(Table 2, Dice/IoU):DRIVE 78.89/65.24、CHASEDB1 79.27/65.72、DCA1 75.67/61.10、CORN 55.38/38.44,全 SOTA、HD95 也最低(DRIVE 8.34)。
Base-Unseen(Table 3):DSCA 68.43/53.51、CRACK 63.17/47.80、XCAD 74.29/57.74、FIVES 75.48/62.26。
Novel(Table 4,全新类):ROAD 40.43/26.31、LEAF 36.80/23.61、TYRE 37.43/24.12、WIRE 54.60/38.25——此处 CNN 几乎崩盘(U-Net ROAD Dice 仅 1.42),SACM 大幅领先。
消融(Table 5, WIRE Dice):裸 SAM 5.61→+Adapter-I 46.11→+Adapter-E 45.02→两者合 50.38→+Fusion 53.93→+Dual-stage 54.60(clDice 2.32→17.43),逐件累积增益。
亮点
① internal/external 双 adapter 分工(Grad-CAM 实证:I 管局部、E 管全局)补上"单层 adapter 抓不住全局拓扑"的洞;② 彻底 prompt-free,用多层特征融合的结构先验替代人工 prompt,契合曲线"无法用稀疏点框圈定"的特性;③ 极致 data-efficient:18 张图跨 12 库 SOTA,3-shot 即强、>5-shot 收益递减;④ dual-stage refinement 显式把"边界精度"与"拓扑连通"解耦。
疑问 / 待核
① 个别指标非全胜:DRIVE 上 clDice SACM 29.02 略低于 BCUNet 29.40(Table 2)——拓扑指标并非处处第一,原文未单独讨论。② Novel 类绝对分数仍偏低(LEAF/TYRE Dice ~37、ROAD 40),跨域到差异极大的新结构仍有较大空间。③ Adapter-E "扰动随层 compound 捕获 long-range" 偏定性论证(靠 Grad-CAM),缺定量的感受野/依赖距离度量(原文未写)。④ 仅用 SAM ViT-L,是否依赖该 backbone、换 SAM2/更小 backbone 表现如何,原文未消融(原文未写)。

📖 逐段精读 · 笔记

本地 CVF PDF 全文精读(PyMuPDF 提取,约 5.2 万字符,正文+全部表格)。原文英文原句直引 + 中文指路,SAM/adapter 概念开背景块。最后更新 2026-06-21。
① Abstract(摘要)— 逐句精讲
原文大意:曲线结构分割(血管/神经/道路/裂纹)在医学影像、遥感、材料学很关键,但现有方法要大量领域专用训练、跨域泛化差。本文提出 SACM(Segment Anything Curve Model),在预训练 SAM 上搭一个双层适配器(dual-level adapter):块内适配器 refine 局部细结构、块外适配器做跨域特征对齐;再加一个特征融合(FFN 聚合所有外部适配器的多层特征)+ mask decoder 里的双阶段精修来增强拓扑连通性。最终做到prompt-free、数据高效,仅用 18 张标注图 训练就在 12 个数据集上 SOTA。
逐句拆解(verbatim 引用):
1) "Existing methods often require extensive domain-specific training and lack generalization to novel domains." —— 痛点:又费标注又不泛化。
2) "SACM introduces a dual-level adapter architecture that enables both fine-grained local adaptation and robust cross-domain generalization: block-level internal adapters refine local structural representations, while external adapters facilitate cross-domain feature alignment." —— 全文方法骨架:内部管"局部细节"、外部管"跨域全局对齐",这就是 dual-level 的含义。
3) "This design enables prompt-free, data-efficient fine-tuning and achieves robust cross-domain generalization when trained with only 18 annotated images." —— 两个卖点:免提示 + 极少样本(18 张=6 数据集×3-shot)。
一句话抓 Abstract:冻结 SAM 主干,插"内部适配器(refine 局部细线)+外部适配器(注入跨层全局拓扑)"双层结构,再用 prompt-free 的多层融合解码器 + 双阶段精修,少样本即可跨域分割曲线结构。
📚 背景知识(外部,非本文原文,读懂前置)
① SAM(Segment Anything Model):Meta 的分割基础模型,ViT 图像编码器 + prompt 编码器(点/框/掩码)+ mask 解码器,零样本 promptable 分割很强,但为通用物体设计。② Adapter / PEFT(参数高效微调):冻结预训练大模型权重,只插入并训练小模块(瓶颈:先降维 \(D\!\to\!r\) 再升维 \(r\!\to\!D\)),省显存/计算、防过拟合;源自 NLP。③ 曲线结构(curvilinear structure):细长、分叉、连续的管状/线状目标(视网膜血管、神经、道路、裂纹);难点是局部细节 vs 全局拓扑连通的两难。④ 评测指标:Dice/IoU=像素级重叠(↑);clDice=把预测与 GT 骨架化后比中心线,专门衡量拓扑正确性(断没断、连不连,↑);HD95=95% 分位 Hausdorff 距离,边界定位误差、抗极端离群(↓,越低越好)。⑤ few-shot / k-shot:每数据集只用 k 张标注;本文 3-shot×6=18 张。⑥ Grad-CAM / t-SNE:分别用于可视化注意力热区、特征域聚类。
② §1 Introduction — problem → 现有不足 → solution → why 闭环
problem(根本两难):"Curvilinear Structure Segmentation (CSS) presents a formidable challenge rooted in a fundamental dichotomy: the need to reconcile local, fine-grained feature fidelity with global, long-range topological coherence." —— 既要看清"faint boundaries / 变宽变细"的局部细节,又要保住"连续/延展/分叉"的全局拓扑。经典 CNN/滤波器方法 "often excel at one aspect at the expense of another"(顾此失彼,低对比区断裂),且重度依赖领域专用大标注 → 跨域失败(视网膜训的模型分不了卫星道路)。
现有不足(SAM 直接用为何不行,两条):① "The prompting mechanism is ill-posed for CSS." —— 曲线网络稠密、迂回、互连,离散点/框提示既不实际也低效。② "Existing adaptation strategies are insufficient." —— 现有 adapter 只往 Transformer block 的 MLP 层插模块(Fig.2b),"This single-level adaptation primarily refines block-level local features, while neglecting the global structural modeling mechanism itself." —— 单层适配只 refine 局部,没碰全局结构建模,长程依赖丢失。
solution:SACM=frozen SAM + Dual-Level Adapter(DLAda,Fig.2c 内+外双层)+ Prompt-Free Adapter-Fusion Decoder(PFAF-D,多层融合+双阶段精修)。why it works(机理):把"两难"拆给两个模块——内部适配器(在 MLP 残差路)专攻局部细线,外部适配器(在整块残差路、attention 之后)把扰动经后续 attention 层逐层传播,越深 cross-token 越密 → 全局拓扑被注入。★ Intro 已闭环:dichotomy(局部 vs 全局)→单层 adapter 只解局部→双层 adapter 内外分工 + prompt-free 融合补全局,§3 只是把这套结构数学化。
Q&A · 它要解决的核心问题是什么?
核心:把通用基础模型 SAM 改造成"免提示、极少样本、强跨域"的曲线结构分割器,关键是同时满足局部细节保真与全局拓扑连通这对矛盾。区分:"分割血管"是领域通题;本文真正靶子是 SAM 用于 CSS 的两个结构性缺陷——提示机制 ill-posed(曲线太密无法点/框)+单层 adapter 只 refine 局部不管全局拓扑。解法定位:不重训 SAM、不堆大标注,而是用"内/外双适配器 + 多层融合 + 双阶段精修"在 18 张图上把这两个缺陷一起补掉。
📖 §2 Related Work — 本文站在哪(定位三条线)
① 曲线分割(CSS)演进:U-Net [25] 立基线;CNN 改进有残差块、多尺度聚合、注意力模块、可变形/空洞卷积,但 "CNNs often produce fragmented outputs and rely on costly post-processing"(输出碎片化、靠昂贵后处理)。近期转向全局上下文/长程依赖:混合 Transformer(TSNet)、带边缘增强的状态空间模型(MambaVesselNet)、半监督 Transformer(EXP-Net)、上下文蒸馏解码(FCoDT-Net)。② SAM 语义分割:SAM [12] 把分割推向 prompt 驱动的通用框架,催生三条适配路线——域迁移微调/适配器(SAM-Med2D、CWSAM)、提示与输出精修提边界(HQ-SAM)、结构感知提示(SAM-OCTA)。③ Adapter 微调:源自 NLP(BERT 时代),冻结大部分权重只训小模块,省显存/计算;但 "by inserting adapters only locally within Transformer blocks, these methods lack a mechanism for global, multi-scale feature aggregation"——这正是本文 Adapter-E + 多层融合要补的洞。本文位置:把"曲线分割对长程拓扑的刚需"与"基础模型 PEFT"两条线缝起来,用双层适配 + prompt-free 融合同时解决"单层 adapter 缺全局"和"prompt 对曲线无效"。
③ §3.1 Dual-Level Adapter(DLAda)总纲
定位:DLAda 集成进 frozen SAM 图像编码器(ViT-L)的每一个 Transformer block(×24),在多粒度上做特征适配、同时保住预训练知识。两个互补组件:块内适配器 Adapter-I(局部细节)与块外适配器 Adapter-E(全局拓扑)。原文:二者 "collaboratively address the challenge of fine-grained local feature discrimination and global topological coherence"。下面分别讲透。
④ Adapter-I 块内适配器(局部细节,式1-2)
放在哪:嵌入第 \(l\) 个 block 的 MLP 子模块残差路。结构(式1,token-wise 瓶颈):\[\text{Adapter-}I(\mathbf{X})=\mathcal{G}\big(\mathbf{X}\,\mathbf{W}^{I}_{\downarrow}\big)\,\mathbf{W}^{I}_{\uparrow}\] 输入 \(\mathbf{X}\in\mathbb{R}^{N\times D}\)(N=序列长、D=嵌入维),\(\mathbf{W}^{I}_{\downarrow}\in\mathbb{R}^{D\times r}\) 降维、\(\mathbf{W}^{I}_{\uparrow}\in\mathbb{R}^{r\times D}\) 升维,\(r\) 为瓶颈比、\(\mathcal{G}\) 为 GELU。残差融合(式2):\[\mathbf{H}^{I}_{\text{out}}=\text{MLP}\big(\text{LN}(\mathbf{Y})\big)+\mathbf{Y}+\text{Adapter-}I\big(\text{LN}(\mathbf{Y})\big)\](\(\mathbf{Y}\)=MSA 之后特征)。机理(原文):"This per-token design keeps the adapter's Jacobian block-diagonal across tokens, concentrating updates on channel-wise, local refinements." —— 逐 token 处理使 Jacobian 跨 token 块对角 → 更新只作用在通道维的局部细化(细边、血管细节),不破坏预训练的全局结构。
⑤ Adapter-E 块外适配器(全局拓扑,式3-4)
放在哪:套在整个 Transformer block 的残差连接上(不是 MLP 内部)。结构(式3-4):\[\mathbf{X}^{(l+1)}=F_l\big(\mathbf{X}^{(l)}\big)+\text{Adapter-}E\Big(\text{LN}\big(F_l(\mathbf{X}^{(l)})\big)\Big),\quad \text{Adapter-}E(\mathbf{Y})=\mathcal{G}\big(\mathbf{Y}\,\mathbf{W}^{E}_{\downarrow}\big)\,\mathbf{W}^{E}_{\uparrow}\] 同样瓶颈形式但独立参数(\(\mathbf{W}^{E}_{\downarrow}\in\mathbb{R}^{D\times r}\)、\(\mathbf{W}^{E}_{\uparrow}\in\mathbb{R}^{r\times D}\)),\(F_l\) 是第 \(l\) 层整块。为什么能注入全局(关键):"Because Adapter-E receives features after attention-based token mixing in \(F_l\), its perturbation is naturally propagated through subsequent attention layers." 且 "each deeper layer increases cross-token interaction density, enabling Adapter-E's structural cues to influence distant tokens and capture long-range dependencies." —— 它作用在 attention 混合之后,扰动会被后续 attention 一层层放大传到远处 token,逐层复利 → 长程拓扑。Grad-CAM 证实:Adapter-E 抓整片血管结构、Adapter-I 抓局部细节,互补。
⑥ §3.2 Prompt-Free Adapter Fusion(为何 prompt 不行 + 式5-8)
prompt 三宗罪(Fig.4):(i) positional bias——稀疏提示引入局部线索、模糊细边、打断细结构连续性;(ii) scale mismatch——固定提示编不了"细血管 + 复杂交叉"的多尺度;(iii) topology agnostic——提示对分叉拓扑毫无全局连续性指导。所以 SACM 干脆用学习到的特征级结构引导替掉交互式提示。融合四步(式5-8):① 取 L 层外部适配器输出做平均池化得层描述子 \(\mathbf{z}_l=\mathcal{A}(\mathcal{E}_l)\)(式5);② 学自适应权重 \(\boldsymbol{\alpha}=\text{Softmax}\big(\text{FFN}(\text{Concat}(\mathbf{z}_1,\dots,\mathbf{z}_L))\big)\)(式6,不同层贡献不等);③ 加权融合 \(\mathcal{F}_{\text{fusion}}=\text{UP}\big(\text{MLP}(\sum_{l=1}^{L}\alpha_l\cdot\mathcal{E}_l)\big)\)(式7);④ 残差注入解码器 \(\mathbf{F}^{\text{out}}_{\text{decoder}}=\mathbf{F}^{\text{in}}_{\text{decoder}}+\mathcal{F}_{\text{fusion}}\)(式8)。本质:把外部适配器编码的"长程依赖 + 分叉几何"聚成一个全局先验,喂给解码器,从而无需 prompt 也能自动定位曲线。
⑦ §3.2.2 Dual-stage Refinement 双阶段精修(式9-10)
动机:"Single-pass mask decoding often produces locally plausible but globally inconsistent predictions for CSS, exhibiting topological inconsistencies such as discontinuous vessels or spurious branches." —— 单遍解码会"局部像、全局断/多叉"。两阶段(Fig.5):设 U 为解码上采样融合特征图,用两个同构 MLP——Stage-1 出粗掩码评估全局拓扑:\[\mathbf{M}^{(1)}=\text{MLP}_1(\mathbf{U}),\quad \mathbf{w}=\text{Softmax}\big(\mathcal{M}(\mathbf{M}^{(1)})\big)\](式9,\(\mathcal{M}\)=max pooling,\(\mathbf{w}\)=置信权重),按最大空间激活强度排序 head:\(\mathbf{s}=\text{argsort}(\mathbf{w},\text{descending})\);Stage-2 用同特征但条件于排序出精修掩码 \(\mathbf{M}^{(2)}=\text{MLP}_2(\mathbf{U},\mathbf{s})\)(式10),再用 MLP IoU 预测器从有序候选里挑最优。效果:让拓扑健全的 head 主导最终预测,兼顾边界锐利与血管连通。
⑧ §3.3 损失与评测指标(式11)
损失:\[\mathcal{L}_{SACM}=\mathcal{L}_{BCE}+\lambda\cdot\mathcal{L}_{Dice}\](式11),\(\lambda\) 平衡像素级 BCE 与重叠级 Dice,实测 \(\lambda=0.4\) 最优。四指标:Dice/IoU(像素重叠↑)、clDice(骨架中心线比对,拓扑↑)、HD95(边界 95% 分位 Hausdorff↓);全在二值掩码(阈值 0.5)上算,clDice 用形态学细化后的骨架。设计意图:BCE 管逐像素分类、Dice 管区域重叠(对类不平衡的细线友好),clDice 显式盯拓扑——三者合起来才同时覆盖"细节 + 连通"。
Q&A · Method 细节追问
1) Adapter-I 与 Adapter-E 到底差在哪?位置不同导致作用不同:I 在 MLP 内部、逐 token、Jacobian 块对角 → 只动通道维局部;E 在整块残差、处在 attention 混合之后 → 扰动随后续 attention 传播、跨 token 注入全局。2) 为什么外部适配器能"全局"而内部不能?因为 self-attention 是 token 混合算子,E 把改动放在它之后,后面每层 attention 都会把这点改动扩散到更多 token,深层复利成长程依赖;I 放在 MLP(逐 token、无混合)所以局部。3) prompt-free 怎么"无中生有"定位曲线?不是凭空——是把 L 层外部适配器的多层上下文(已含长程/分叉几何)用 \(\boldsymbol{\alpha}\) 加权融成全局先验注入解码器(式7-8),替代人给的点/框。4) 双阶段为何要"排序 head"?多 head 各出一个 candidate,Stage-1 用置信度排序、Stage-2 让拓扑健全的 head 优先,再 IoU 预测器选最优 → 避免单遍解码被"局部像但全局断"的 head 带偏。
⑨ §4 实验设置与数据集划分
训练:从 6 个基准各采 3-shot=18 张(DRIVE/CHASEDB1/DCA1/CrackTree/CREMI/CORN,涵盖视网膜血管/神经边界/裂纹/神经纤维)。两维测试划分(很关键):类熟悉度 Base(训练见过的类)/Novel(全新类)× 数据分布 Seen(同数据集)/Unseen(不同数据集分布)。① Base-Seen:DRIVE/CHASEDB1/DCA1/CORN(同分布);② Base-Unseen:FIVES/DSCA/XCAD/CRACK(同类、新分布);③ Novel-Unseen:ROAD(公开)+ 自采 LEAF/TYRE/WIRE(全新类、手机拍 1024×768)。实现:所有 SAM 基线与 SACM 同用 ViT-L 同初始化、同 3-shot 协议;RTX 4090(24GB)、PyTorch 2.9.1、50 epoch、batch 1、lr \(3\times10^{-4}\)、AdamW(\(\beta_1{=}0.9,\beta_2{=}0.999\))、cosine;编码器冻结,只训 DLAda+PFAF-D。所有对比 SAM 法用点提示,本文完全 prompt-free。
⑩ §4.3 主结果(真实数值,12 数据集)
Base-Seen(Table 2,Dice/IoU/clDice↑、HD95↓):
┃ 数据集 ┃ Dice ┃ IoU ┃ clDice ┃ HD95 ┃
┃ DRIVE ┃ 78.89 ┃ 65.24 ┃ 29.02 ┃ 8.34 ┃
┃ CHASEDB1 ┃ 79.27 ┃ 65.72 ┃ 16.66 ┃ 14.58 ┃
┃ DCA1 ┃ 75.67 ┃ 61.10 ┃ 32.65 ┃ 16.67 ┃
┃ CORN ┃ 55.38 ┃ 38.44 ┃ 34.70 ┃ 16.07 ┃
对比:U-Net DRIVE 仅 74.66/59.81、SAM-Med2d 59.23/42.20;SACM 全面领先(CORN Dice 55.38 vs 次优 SegDINO 27.34,近翻倍)。
Base-Unseen(Table 3,同类新分布,Dice/IoU):DSCA 68.43/53.51、CRACK 63.17/47.80、XCAD 74.29/57.74、FIVES 75.48/62.26——大幅超 SAM-OCTA/CWSAM 等。Novel-Unseen(Table 4,全新类,Dice/IoU):ROAD 40.43/26.31、LEAF 36.80/23.61、TYRE 37.43/24.12、WIRE 54.60/38.25。原文:这些提升 "suggest that our prompt-free approach effectively transfers curvilinear priors across domains." 注意:很多 CNN 基线在 ROAD/LEAF 上 Dice 跌到个位数(U-Net ROAD 1.42、LEAF 0.70),说明它们完全不跨域,而 SACM 仍能用。
定性结果(§4.3.2,逐域观察):对比 BCUNet/nnWNet/CWSAM/KnowSAM/SegDINO,原文称 SACM "produces cleaner masks with improved structural continuity and sharper boundaries"。① FIVES/XCAD:彩色叠加显示血管/管状结构更完整、解剖上更合理,"fewer spurious fragments and fewer missing branches"(少碎片、少漏支),印证长程连续性强;② LEAF/ROAD:在杂乱背景与部分遮挡下 "preserves long-range connectivity and fine curvilinear detail",而对手常碎裂或过覆盖;③ CRACK/TYRE:以细、不规则、高对比纹理为主,SACM "accurately captures subtle fractures and tread features with minimal noise and fewer breaks"(细裂纹/胎纹捕捉准、断点少)。三组观察分别对应"分叉拓扑/遮挡鲁棒/细线高对比"三类典型曲线难点,与 Dice/clDice 的定量优势一致。
⑪ §4.4 消融全表(每条验证一个设计)+ 超参
组件消融(Table 5,WIRE,Dice/clDice):
┃ 配置 ┃ Dice ┃ clDice ┃ 验证了什么 ┃
┃ Baseline SAM ┃ 5.61 ┃ 2.32 ┃ 不适配 SAM 几乎失效,域适配必需 ┃
┃ +Adapter-I ┃ 46.11 ┃ 14.83 ┃ 局部细化单独就有大增益 ┃
┃ +Adapter-E ┃ 45.02 ┃ 15.24 ┃ 全局注入单独也有大增益(clDice 更高,证其管拓扑) ┃
┃ I+E ┃ 50.38 ┃ 15.52 ┃ 内外协同 > 各自,互补成立 ┃
┃ +Adapter-Fusion ┃ 53.93 ┃ 16.02 ┃ 多层融合提供全局先验,再涨 ┃
┃ +Dual-stage(full) ┃ 54.60 ┃ 17.43 ┃ 双阶段精修把拓扑(clDice)拉到最高 ┃
→ 四组件累积、互补。超参(WIRE 网格搜索):瓶颈比 \(r=0.1\) 最优(太大自由度高→少样本过拟合);损失权重 \(\lambda=0.4\) 最优。样本量:3-shot 已强,>5-shot 增益递减。Grad-CAM(Fig.8):原始 SAM 注意力弥散;仅 I→局部血管但缺全局;仅 E→整片血管但引入无关区。t-SNE(Fig.10):SACM 各域聚类更紧致可分(vs CWSAM 重叠弥散),证跨域不变性更好。
⚠ 诚实边界 / 疑问待核
① "all reported metrics SOTA" 略有夸张:Base-Seen 表里 DRIVE 的 clDice,SACM 29.02 实际低于 BCUNet 29.40(按"次优下划线"规则 SACM 在该格只是第二);HD95 在 DRIVE 上 SACM 8.34 优于 BCUNet 9.07,但严格说"across all metrics"并非每格第一。[据表核对]。② 绝对精度仍不高:Novel 类 LEAF/TYRE/ROAD 的 Dice 仅 36–40,跨到差异极大的新类还远谈不上好用——只是相对基线大幅领先。③ in-house 数据集(LEAF/TYRE/WIRE)自采自标、规模小(31–36 张),评测代表性有限。④ [推测] 外部适配器"逐层复利成长程依赖"主要由 Grad-CAM 定性支撑,缺定量的有效感受野/传播分析。⑤ 作者自陈 future work:持续适配、更高效微调、对严重 domain shift 的鲁棒性仍待解。
📌 全文一页总结(problem→method→experiment→takeaway)
problem:曲线结构分割要同时满足"局部细节保真 + 全局拓扑连通"这对两难;通用 SAM 直接用又栽在"提示机制 ill-posed"和"单层 adapter 只 refine 局部不管全局"两个缺陷上,且跨域差、要大标注。
method:frozen SAM(ViT-L) + 双层适配器——内部 Adapter-I(MLP 残差、逐 token、Jacobian 块对角→局部细线)+ 外部 Adapter-E(整块残差、attention 后注入、逐层传播→全局拓扑);prompt-free 融合解码器把 L 层外部特征用 \(\boldsymbol{\alpha}=\text{Softmax}(\text{FFN}(\cdot))\) 加权融成全局先验注入解码器;双阶段精修排序 head 让拓扑健全者主导;损失 \(\mathcal{L}_{BCE}+\lambda\mathcal{L}_{Dice}\)。
experiment:仅 18 张图、12 数据集 SOTA;Base-Seen DRIVE/CHASEDB1 Dice≈79,Base-Unseen XCAD 74.29/FIVES 75.48,Novel WIRE 54.60;消融证 baseline SAM 仅 5.61→full 54.60,内/外/融合/双阶段四组件累积互补;\(r{=}0.1,\lambda{=}0.4\)、3-shot 即够。
takeaway:① "内部 refine 局部、外部注入全局"的双层适配是把"局部细节 vs 全局拓扑"两难拆给两个模块的优雅工程解;② 把 adapter 放在 attention 之后就能借后续注意力把局部扰动复利成长程依赖——这是最可迁移的 insight;③ prompt-free 多层融合用学习到的结构先验替掉对曲线无效的点/框提示;④ 冻结基础模型 + 极少样本即可强跨域,证明PEFT 适配基础模型是数据稀缺领域的高性价比路线。适用边界:对差异极大的全新类绝对精度仍低;强 domain shift、in-house 小数据评测代表性是公开短板。

🖼 论文原图(本地 PDF 截图,原文 caption 未改写)

Figure 1. Segmentation results across four diverse domains using SACM. These results demonstrate the model’s superior general- ization in extracting complex curvilinear structures, including wire networks, tyre tread, remote sensing roads, and retinal vessels.
Figure 2. Structure of different SAM-based adapter mechanisms: (a) ViT Block in SAM without adaptation, (b) Medical Image Adapter [4] with internal-only adaptation, and (c) Our dual-level adapter architecture with both block internal and external adapter.
Figure 3. Overview of the SACM framework. SACM leverages the pretrained SAM as the foundation model, enhanced with dual-level adapter fine-tuning. Multi-layer features from external adapters are aggregated and integrated into the mask decoder via a dual-stage refinement mechanism to improve curvilinear structure segmentation.
Figure 4. The orange regions indicate the SAM (ViT-L) output mask, while the green regions represent the input prompts. The visual evidence suggests that the segmentation performance across all three prompt modalities (points, box, and mask) is suboptimal for curvilinear structure segmentation.
Figure 5. Dual-stage mask refinement: Stage-1 generates coarse descriptors and ranks heads by confidence scores; Stage-2 refines masks with reordered descriptors, balancing boundary precision and topological consistency.
Figure 7. Dice of SACM versus the number of training shots per dataset on the WIRE dataset.
Figure 8. Grad-CAM visualizations of the original SAM, SAM with only Adapter-I, and SAM with only Adapter-E.
Figure 9. Validation score with different bottleneck ratio r and loss weight λ.
Figure 10. t-SNE visualization of SAM, CWSAM, and SACM; colors represent different data domains.