Learning Affinity-Aware Upsampling for Deep Image Matting
Yutong Dai, Hao Lu, Chunhua Shen
Abstract
We show that learning affinity in upsampling provides an effective and efficient approach to exploit pairwise interactions in deep networks. Second-order features are commonly used in dense prediction to build adjacent relations with a learnable module after upsampling such as non-local blocks. Since upsampling is essential, learning affinity in upsampling can avoid additional propagation layers, offering the potential for building compact models. By looking at existing upsampling operators from a unified mathematical perspective, we generalize them into a second-order form and introduce Affinity-Aware Upsampling (A 2 U) where upsampling kernels are generated using a light-weight lowrank bilinear model and are conditioned on second-order features. Our upsampling operator can also be extended to downsampling. We discuss alternative implementations of A 2 U and verify their effectiveness on two detail-sensitive tasks: image reconstruction on a toy dataset; and a largescale image matting task where affinity-based ideas constitute mainstream matting approaches. In particular, results on the Composition-1k matting dataset show that A 2 U achieves a 14% relative improvement in the SAD metric against a strong baseline with negligible increase of parameters (< 0.5%). Compared with the state-of-the-art matting network, we achieve 8% higher performance with only 40% model complexity.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext cee74cdd-aa24-4464-8fb3-7c310f0497ffCited by top-tier papers14
- Learning to Upsample by Learning to SampleWenze Liu, Hao Lu, Hongtao Fu, Zhiguo CaoICCV 2023 · 518 citations
- FeatUp: A Model-Agnostic Framework for Features at Any ResolutionStephanie Fu, Mark Hamilton, Laura E. Brandt, Axel Feldmann et al.ICLR 2024 · 117 citations
- SAPA: Similarity-Aware Point Affiliation for Feature UpsamplingHao Lu, Wenze Liu, Zixuan Ye, Hongtao Fu et al.NeurIPS 2022 · 96 citations
- Tripartite Information Mining and Integration for Image MattingYuhao Liu, Jiake Xie, Xiao Shi, Yu Qiao et al.ICCV 2021 · 66 citations
- Boosting Robustness of Image Matting with Context Assembling and Strong Data AugmentationYutong Dai, Brian L. Price, He Zhang, Chunhua ShenCVPR 2022 · 24 citations
Builds on7
- CARAFE: Content-Aware ReAssembly of FEaturesJiaqi Wang, Kai Chen, Rui Xu, Ziwei Liu et al.ICCV 2019 · 842 citations
- SSAP: Single-Shot Instance Segmentation With Affinity PyramidNaiyu Gao, Yanhu Shan, Yupei Wang, Xin Zhao et al.ICCV 2019 · 246 citations
- Indices Matter: Learning to Index for Deep Image MattingHao Lu, Yutong Dai, Chunhua Shen, Songcen XuICCV 2019 · 206 citations
- Natural Image Matting via Guided Contextual AttentionYaoyi Li, Hongtao LuAAAI 2020 · 189 citations
- Context-Aware Image Matting for Simultaneous Foreground and Alpha EstimationQiqi Hou, Feng LiuICCV 2019 · 171 citations
Related papers
- Bilinear Attention Networks for Person RetrievalPengfei Fang, Jieming Zhou, Soumava Kumar Roy, Lars Petersson et al.ICCV 2019 · 154 citations
- Attentional Feature-Pair Relation Networks for Accurate Face RecognitionBong-Nam Kang, Yonghyun Kim, Bongjin Jun, Daijin KimICCV 2019 · 38 citations
- Extremely Compact Non-local Representation LearningAnsheng You, Xiangzeng Zhou, Yingya Zhang, Pan Pan et al.KDD 2021
- Revisiting Context Aggregation for Image MattingQinglin Liu, Xiaoqian Lv, Quanling Meng, Zonglin Li et al.ICML 2024 · 6 citations
- Attention-Guided Hierarchical Structure Aggregation for Image MattingYu Qiao, Yuhao Liu, Xin Yang, Dongsheng Zhou et al.CVPR 2020
