arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.06908cs.CV
收藏

用于Few-Shot分割的代理Transformer

Feature-Proxy Transformer for Few-Shot Segmentation

Zhejiang University(浙江大学);Baidu Research(百度研究院)

Jian-Wei Zhang, Yifan Sun, Yi Yang, Wei Chen

摘要:

Few-Shot分割(FSS)的目的是在给定一些注释支持样本的情况下对新类执行语义分割。通过对最新进展的重新思考,我们发现当前的FSS框架已经远远偏离了监督分割框架:考虑到深层特征,FSS方法通常使用复杂的解码器来执行复杂的像素匹配,而监督分割方法使用简单的线性分类头。由于解码器及其匹配流水线的复杂性,遵循这样的FSS框架并不容易。本文复兴了“特征提取器$+$线性分类头”的直接框架,提出了一种新的特征提取-代理Transformer(FPTrans)方法,其中“代理”是线性分类头中表示语义类的向量。FPTrans学习区分性特征和代表性代理有两个关键点:1)为了更好地利用有限的支持样本,特征提取器使用一种新的提示策略,使查询与支持特征从底层到顶层进行交互。2)FPTrans使用多个本地背景代理(而不是单个),因为背景不是均匀的,可能包含一些新的前景区域。这两个关键点可以通过Transformer中的提示机制轻松集成到视觉Transformer主干中。给定学习的特征和代理,FPTrans直接比较它们的余弦相似度进行分割。虽然框架是简单的,我们表明,FPTrans实现竞争力的FSS精度与最先进的解码器为基础的方法。

英文摘要:

Few-shot segmentation (FSS) aims at performing semantic segmentation on novel classes given a few annotated support samples. With a rethink of recent advances, we find that the current FSS framework has deviated far from the supervised segmentation framework: Given the deep features, FSS methods typically use an intricate decoder to perform sophisticated pixel-wise matching, while the supervised segmentation methods use a simple linear classification head. Due to the intricacy of the decoder and its matching pipeline, it is not easy to follow such an FSS framework. This paper revives the straightforward framework of "feature extractor $+$ linear classification head" and proposes a novel Feature-Proxy Transformer (FPTrans) method, in which the "proxy" is the vector representing a semantic class in the linear classification head. FPTrans has two keypoints for learning discriminative features and representative proxies: 1) To better utilize the limited support samples, the feature extractor makes the query interact with the support features from the bottom to top layers using a novel prompting strategy. 2) FPTrans uses multiple local background proxies (instead of a single one) because the background is not homogeneous and may contain some novel foreground regions. These two keypoints are easily integrated into the vision transformer backbone with the prompting mechanism in the transformer. Given the learned features and proxies, FPTrans directly compares their cosine similarity for segmentation. Although the framework is straightforward, we show that FPTrans achieves competitive FSS accuracy on par with state-of-the-art decoder-based methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑