Skip to main content
QUICK REVIEW

[论文解读] SAPA: Similarity-Aware Point Affiliation for Feature Upsampling

Hao Lu, Wenze Liu|arXiv (Cornell University)|Sep 26, 2022
Advanced Image and Video Retrieval TechniquesComputer Science被引用 25
一句话总结

SAPA 引入了基于相似性的点归属,用于生成上采样核,在密集预测任务中提升边界清晰度和语义一致性,在分割和抠图等任务上取得显著提升。

ABSTRACT

We introduce point affiliation into feature upsampling, a notion that describes the affiliation of each upsampled point to a semantic cluster formed by local decoder feature points with semantic similarity. By rethinking point affiliation, we present a generic formulation for generating upsampling kernels. The kernels encourage not only semantic smoothness but also boundary sharpness in the upsampled feature maps. Such properties are particularly useful for some dense prediction tasks such as semantic segmentation. The key idea of our formulation is to generate similarity-aware kernels by comparing the similarity between each encoder feature point and the spatially associated local region of decoder features. In this way, the encoder feature point can function as a cue to inform the semantic cluster of upsampled feature points. To embody the formulation, we further instantiate a lightweight upsampling operator, termed Similarity-Aware Point Affiliation (SAPA), and investigate its variants. SAPA invites consistent performance improvements on a number of dense prediction tasks, including semantic segmentation, object detection, depth estimation, and image matting. Code is available at: https://github.com/poppinace/sapa

研究动机与目标

  • 在特征上采样中引入点归属的概念,以便更好地将上采样点分配到语义簇。
  • 提出一个通用的、基于相似性的核生成框架,利用编码器和解码器特征之间的局部互相相似性。
  • 将SAPA实现为一个轻量级的上采样算子,并在多种密集预测任务中研究其变体。

提出的方法

  • 定义一个局部互相相似性公式,在局部窗口内以编码器-解码器特征对为条件生成上采样核。
  • 对相似度分数进行归一化,得到核权重,使均匀区域具有语义平滑性,边界处具有边缘清晰度。
  • 以不同的相似性函数实例化SAPA变体:内积、(低秩) 双线性以及门控双线性,并包括一个门控机制来过滤编码器噪声。
  • 在进行相似性计算前,对编码器和解码器特征应用层归一化,以确保比较的稳定性。
  • 在语义分割、目标检测、深度估计和图像抠图等任务中,将SAPA与CARAFE、IndexNet、A2U及基线方法进行对比。

实验结果

研究问题

  • RQ1相比现有的动态上采样算子,基于相似性点归属是否通过更好地保留语义结构和边界来提升上采样质量?
  • RQ2SAPA是否能在不同骨干网络和数据集的多种密集预测任务中取得提升?
  • RQ3相似性选择、归一化、核大小和嵌入维度等对SAPA性能的影响是多少?
  • RQ4相对于其他动态上采样方法,SAPA在参数量和FLOPs方面的表现如何?

主要发现

  • 在ADE20K数据集上,将SAPA集成到强基线(如SegFormer、MaskFormer、Mask2Former)的变换器结构中,SAPA在语义分割任务上持续超越其他上采样算子。
  • SAPA的变体(I、B、G)在分割实验中实现比CARAFE及其他基线更好的mIoU,SAPA-G通常贡献最佳提升。
  • SAPA在某些配置下对MS COCO上Faster R-CNN的检测AP略有提升,但在该任务中可能不及CARAFE,因为任务对细节与区域完整性的敏感度不同。
  • 在深度估计和图像抠图中,SAPA优于其他上采样方法,在Adobe Composition-1k上的抠图指标(如SAD、MSE、Grad、Conn)有显著提升。
  • 消融研究表明,门控双线性相似性通常获得最佳性能,指数归一化(softmax)在所测试的归一化方法中通常表现最好。
  • SAPA 轻量化,在内积变体下可以在不增加额外参数的情况下运行,与CARAFE及其他方法相比,FLOPs和参数量具竞争力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。