CanopyFormer:用注意力监督提升森林覆盖分割的可解释性
CanopyFormer: Attention-Guided SegFormer for Explainable Forest Cover Segmentation
这篇论文把注意力可视化从事后解释变成了训练目标,AAMO 提了 22 倍。但删除测试揭示高对齐不等于高忠实度,这个反直觉发现对做可解释性的人很有价值,搞遥感分割的也该看看。
一篇新论文提出 CanopyFormer,在 SegFormer-B0 上加入 Attention Consistency Loss,让注意力图与地面真值森林掩码对齐,使注意力聚焦树冠区域。在 5108 张航拍图像上,AAMO 指标从 0.0334 升到 0.7476,约为原版 SegFormer-B0 的 22 倍,Dice 分数从 0.8743 微降至 0.8577。由于 SegFormer 使用空间缩减注意力,作者将 Gradient-weighted Attention Rollout 限制在最后一个编码器阶段来适配方阵注意力图,并新提出 Average Attention-Mask Overlap(AAMO)作为对齐度量。
删除测试的结果值得注意:移除注意力最高的 25% 图块仅使森林分数下降 12.1%,而移除随机图块反而下降 33.0%,说明注意力对齐变好并不等于模型解释更忠实。注意力监督不增加推理开销,但双重反向传播使每步训练慢 2.6 到 2.8 倍。对齐改进在第二个数据集 LoveDA 上同样成立。
消融实验还发现两个负面结论:Boundary Refinement Module 未带来一致的 Dice 提升,且会降低 AAMO;注意力损失用均方误差明显优于 Kullback-Leibler 散度。
CanopyFormer: Attention-Guided SegFormer for Explainable Forest Cover Segmentation
In transformer segmentation models, attention is usually visualized after training rather than supervised. Although attention supervision has been explored for natural images and driving scenes, aerial forest segmentation typically uses attention only as an architectural component and evaluates interpretability qualitatively. We present CanopyFormer, an attention-guided SegFormer-B0 that uses an Attention Consistency Loss to align attention with the ground-truth forest mask, encouraging attention to focus on canopy regions. Since SegFormer uses spatial-reduction attention, we adapt Gradient-weighted Attention Rollout by restricting it to the final encoder stage, where the attention matrix is square. We introduce Average Attention-Mask Overlap (AAMO) to measure attention alignment and incorporate a deletion test to evaluate faithfulness. On 5108 images, our method increases AAMO from 0.0334 to 0.7476, approximately 22 times the vanilla SegFormer-B0 result, with a modest decrease in Dice score from 0.8743 to 0.8577. The deletion test reveals that improved alignment does not necessarily translate into improved faithfulness: removing the most-attended 25% of patches reduces the forest score by 12.1%, compared with 33.0% when removing random patches. Attention supervision introduces no additional inference cost, although double backpropagation makes each training step 2.6 to 2.8 times slower. The attention alignment improvement also generalizes to a second dataset, LoveDA. Additionally, a Boundary Refinement Module provides no consistent Dice improvement and reduces AAMO, while mean squared error substantially outperforms Kullback-Leibler divergence as the attention loss.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:SegFormer、森林分割、可解释性、注意力机制,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Dhinanjaya Fernando, Dinura Ginige, Kalana Lakshan, Chanupa Gurusinghe, Lasana Pahanga, Dileesha Manamperi, Thimira Sahan, Sandareka Wickramanayake),经 AITOP 多维评分管线结构化提炼。