Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentation

Abstract

We present a novel cost aggregation network, called Volumetric Aggregation with Transformers (VAT), for few-shot segmentation. The use of transformers can benefit correlation map aggregation through self-attention over a global receptive field. However, the tokenization of a correlation map for transformer processing can be detrimental, because the discontinuity at token boundaries reduces the local context available near the token edges and decreases inductive bias. To address this problem, we propose a 4D Convolutional Swin Transformer, where a high-dimensional Swin Transformer is preceded by a series of small-kernel convolutions that impart local context to all pixels and introduce convolutional inductive bias. We additionally boost aggregation performance by applying transformers within a pyramidal structure, where aggregation at a coarser level guides aggregation at a finer level. Error in the transformer output is then filtered in the subsequent decoder with the help of the query’s appearance embedding. With this model, a new state-of-the-art is set for all the standard benchmarks in few-shot segmentation. It is shown that VAT attains state-of-the-art performance for semantic correspondence as well, where cost aggregation also plays a central role.

Cite

Text

Hong et al. "Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentation." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-19818-2_7

Markdown

[Hong et al. "Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentation." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/hong2022eccv-cost/) doi:10.1007/978-3-031-19818-2_7

BibTeX

@inproceedings{hong2022eccv-cost,
  title     = {{Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentation}},
  author    = {Hong, Sunghwan and Cho, Seokju and Nam, Jisu and Lin, Stephen and Kim, Seungryong},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-19818-2_7},
  url       = {https://mlanthology.org/eccv/2022/hong2022eccv-cost/}
}