MatteFormer: Transformer-Based Image Matting via Prior-Tokens
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose a transformer-based image matting model called MatteFormer, which takes full advantage of trimap information in the transformer block. Our method first introduces a prior-token which is a global representation of each trimap region (e.g. foreground, background and unknown). These prior-tokens are used as global priors and participate in the self-attention mechanism of each block. Each stage of the encoder is composed of PAST (Prior-Attentive Swin Transformer) block, which is based on the Swin Transformer block, but differs in a couple of aspects: 1) It has PA-WSA (Prior-Attentive Window Self-Attention) layer, performing self-attention not only with spatial-tokens but also with prior-tokens. 2) It has prior-memory which saves prior-tokens accumulatively from the previous blocks and transfers them to the next block. We evaluate our MatteFormer on the commonly used image matting datasets: Composition-1k and Distinctions-646. Experiment results show that our proposed method achieves state-of-the-art performance with a large margin. Our codes are available at https://github.com/webtoon/matteformer.
Key facts. Cited by 48 papers in the map (data through 7 Oct 2026). Builds on 37 of its 57 references that are in the map. First posted on arXiv 29 Mar 2022.
Builds on
37 of 57 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
25 more
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2020Pre-Trained Image Processing Transformercited by 891
- 2021Transformer in Transformercited by 632
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
- 2020Real-Time High-Resolution Background Mattingcited by 172
- 2017Deep Image Mattingcited by 150
- 2021High-Fidelity Pluralistic Image Completion with Transformerscited by 134
- 2021TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?cited by 127
- 2020Background Matting: The World is Your Green Screencited by 104
- 2019Indices Matter: Learning to Index for Deep Image Mattingcited by 93
- 2020Mask Guided Matting via Progressive Refinement Networkcited by 84
- 2020Toward Transformer-Based Object Detectioncited by 84
- 2019Context-Aware Image Matting for Simultaneous Foreground and Alpha Estimationcited by 79
- 2020Natural Image Matting via Guided Contextual Attentioncited by 78
- 2021Semantic Image Mattingcited by 55
- 2018AlphaGAN: Generative adversarial networks for natural image mattingcited by 50
- 2019Disentangled Image Mattingcited by 47
- 2020High-Resolution Deep Image Mattingcited by 36
- 2021Towards Enhancing Fine-grained Details for Image Mattingcited by 12
Built on by
Citing papers per year: 2022: 7; 2023: 15; 2024: 14; 2025: 4; 2026: 8.
48 papers.
Sort:
By area:
- 2023Transformer-Based Visual Segmentation: A Surveycited by 124
- 2023ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformerscited by 56
- 2022X-Paste: Revisiting Scalable Copy-Paste for Instance Segmentation using CLIP and StableDiffusioncited by 49
- 2023Neural-PBIR Reconstruction of Shape, Material, and Illuminationcited by 45
- 2023Matte Anything: Interactive Natural Image Matting with Segment Anything Modelscited by 39
- 2023Text2Layer: Layered Image Generation using Latent Diffusion Modelcited by 35
- 2023Matting Anythingcited by 30
- 2023CLE Diffusion: Controllable Light Enhancement Diffusion Modelcited by 30
- 2022VMFormer: End-to-End Video Matting with Transformercited by 20
- 2024ZIM: Zero-Shot Image Matting for Anythingcited by 15
- 2023Deep Image Matting: A Comprehensive Surveycited by 12
- 2023Diffusion for Natural Image Mattingcited by 11
36 more
- 2023Revisiting Context Aggregation for Image Mattingcited by 5
- 2023Adversarially-Guided Portrait Mattingcited by 4
- 2023dugMatting: Decomposed-Uncertainty-Guided Mattingcited by 4
- 2024Boosting General Trimap-free Matting in the Real-World Imagecited by 4
- 2024Training Matting Models without Alpha Labelscited by 4
- 2022Out-of-domain GAN inversion via Invertibility Decomposition for Photo-Realistic Human Face Manipulationcited by 3
- 2024Towards Label-Efficient Human Matting: A Simple Baseline for Weakly Semi-Supervised Trimap-Free Human Mattingcited by 3
- 2024PViT: Prior-augmented Vision Transformer for Out-of-distribution Detectioncited by 3
- 2026Referring Layer Decompositioncited by 3
- 2026CineMatte: Background Matting for Virtual Production and Beyondcited by 3
- 2022Exploring the Interactive Guidance for Unified and Effective Image Mattingcited by 2
- 2022Privileged Prior Information Distillation for Image Mattingcited by 2
- 2022Infusing Definiteness into Randomness: Rethinking Composition Styles for Deep Image Mattingcited by 2
- 2023Disentangled Pre-training for Image Mattingcited by 2
- 2023DiffusionMat: Alpha Matting as Sequential Refinement Learningcited by 2
- 2024TETRIS: Towards Exploring the Robustness of Interactive Segmentationcited by 2
- 2024Zippo: Zipping Color and Transparency Distributions into a Single Diffusion Modelcited by 2
- 2024Deep Image Composition Meets Image Forgerycited by 2
- 2024DFIMat: Decoupled Flexible Interactive Matting in Multi-Person Scenarioscited by 2
- 2025Object-Aware Video Matting with Cross-Frame Guidancecited by 2
- 2025Disharmony: Forensics using Reverse Lighting Harmonizationcited by 1
- 2022Pixel2ISDF: Implicit Signed Distance Fields based Human Body Model from Multi-view and Multi-pose Imagescited by 0
- 2023High-Quality Face Caricature via Style Translationcited by 0
- 2024POBEVM: Real-time Video Matting via Progressively Optimize the Target Body and Edgecited by 0
- 2024DART: Depth-Enhanced Accurate and Real-Time Background Mattingcited by 0
- 2024Dual-Context Aggregation for Universal Image Mattingcited by 0
- 2024Learning Multiple Representations with Inconsistency-Guided Detail Regularization for Mask-Guided Mattingcited by 0
- 2024Memory Efficient Matting with Adaptive Token Routingcited by 0
- 2025Path-Adaptive Matting for Efficient Inference Under Various Computational Cost Constraintscited by 0
- 2025Uncertainty-Guided Face Matting for Occlusion-Aware Face Transformationcited by 0
- 2026Toward Real-World High-Precision Image Matting and Segmentationcited by 0
- 2026Segment and Matte Anything in a Unified Modelcited by 0
- 2026αDepth: Learning Single-Pass Soft Boundary Decomposition for Stereo Conversioncited by 0
- 2026SAM2Matting: Generalized Image and Video Mattingcited by 0
- 2026Parallax Portrait Mattingcited by 0
- 2026RenderMatte: Exact-Alpha Rendering and Group-Relative Alignment for Image Mattingcited by 0
- 2026RenderMatte: Exact-Alpha Rendering and Group-Relative Alignment for Image Matting9 Aug 2026
- 2026Parallax Portrait Matting13 Jul 2026
- 2026SAM2Matting: Generalized Image and Video Matting25 Jun 2026
- 2026αDepth: Learning Single-Pass Soft Boundary Decomposition for Stereo Conversion29 May 2026
- 2026CineMatte: Background Matting for Virtual Production and Beyond18 May 2026
- 2026Referring Layer Decomposition22 Feb 2026
- 2026Segment and Matte Anything in a Unified Model17 Jan 2026
- 2026Toward Real-World High-Precision Image Matting and Segmentation17 Jan 2026
- 2025Uncertainty-Guided Face Matting for Occlusion-Aware Face Transformation5 Aug 2025
- 2025Path-Adaptive Matting for Efficient Inference Under Various Computational Cost Constraints5 Mar 2025
- 2025Object-Aware Video Matting with Cross-Frame Guidance3 Mar 2025
- 2025Disharmony: Forensics using Reverse Lighting Harmonization17 Jan 2025
36 more
- 2024Memory Efficient Matting with Adaptive Token Routing14 Dec 2024
- 2024ZIM: Zero-Shot Image Matting for Anything1 Nov 2024
- 2024PViT: Prior-augmented Vision Transformer for Out-of-distribution Detection27 Oct 2024
- 2024DFIMat: Decoupled Flexible Interactive Matting in Multi-Person Scenarios13 Oct 2024
- 2024Training Matting Models without Alpha Labels20 Aug 2024
- 2024Boosting General Trimap-free Matting in the Real-World Image28 May 2024
- 2024Deep Image Composition Meets Image Forgery3 Apr 2024
- 2024Towards Label-Efficient Human Matting: A Simple Baseline for Weakly Semi-Supervised Trimap-Free Human Matting1 Apr 2024
- 2024Learning Multiple Representations with Inconsistency-Guided Detail Regularization for Mask-Guided Matting28 Mar 2024
- 2024Zippo: Zipping Color and Transparency Distributions into a Single Diffusion Model17 Mar 2024
- 2024Dual-Context Aggregation for Universal Image Matting28 Feb 2024
- 2024DART: Depth-Enhanced Accurate and Real-Time Background Matting24 Feb 2024
- 2024POBEVM: Real-time Video Matting via Progressively Optimize the Target Body and Edge15 Feb 2024
- 2024TETRIS: Towards Exploring the Robustness of Interactive Segmentation9 Feb 2024
- 2023Diffusion for Natural Image Matting10 Dec 2023
- 2023DiffusionMat: Alpha Matting as Sequential Refinement Learning22 Nov 2023
- 2023High-Quality Face Caricature via Style Translation22 Nov 2023
- 2023CLE Diffusion: Controllable Light Enhancement Diffusion Model13 Aug 2023
- 2023Text2Layer: Layered Image Generation using Latent Diffusion Model19 Jul 2023
- 2023Matting Anything8 Jun 2023
- 2023Matte Anything: Interactive Natural Image Matting with Segment Anything Models7 Jun 2023
- 2023dugMatting: Decomposed-Uncertainty-Guided Matting2 Jun 2023
- 2023ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformers24 May 2023
- 2023Adversarially-Guided Portrait Matting4 May 2023
- 2023Neural-PBIR Reconstruction of Shape, Material, and Illumination26 Apr 2023
- 2023Transformer-Based Visual Segmentation: A Survey19 Apr 2023
- 2023Deep Image Matting: A Comprehensive Survey10 Apr 2023
- 2023Revisiting Context Aggregation for Image Matting3 Apr 2023
- 2023Disentangled Pre-training for Image Matting3 Apr 2023
- 2022Infusing Definiteness into Randomness: Rethinking Composition Styles for Deep Image Matting27 Dec 2022
- 2022Out-of-domain GAN inversion via Invertibility Decomposition for Photo-Realistic Human Face Manipulation19 Dec 2022
- 2022X-Paste: Revisiting Scalable Copy-Paste for Instance Segmentation using CLIP and StableDiffusion7 Dec 2022
- 2022Pixel2ISDF: Implicit Signed Distance Fields based Human Body Model from Multi-view and Multi-pose Images6 Dec 2022
- 2022Privileged Prior Information Distillation for Image Matting25 Nov 2022
- 2022VMFormer: End-to-End Video Matting with Transformer26 Aug 2022
- 2022Exploring the Interactive Guidance for Unified and Effective Image Matting17 May 2022
- 2023Text2Layer: Layered Image Generation using Latent Diffusion Modelcited by 35
- 2023CLE Diffusion: Controllable Light Enhancement Diffusion Modelcited by 30
- 2023DiffusionMat: Alpha Matting as Sequential Refinement Learningcited by 2
- 2024Zippo: Zipping Color and Transparency Distributions into a Single Diffusion Modelcited by 2
- 2024Zippo: Zipping Color and Transparency Distributions into a Single Diffusion Model17 Mar 2024
- 2023DiffusionMat: Alpha Matting as Sequential Refinement Learning22 Nov 2023
- 2023CLE Diffusion: Controllable Light Enhancement Diffusion Model13 Aug 2023
- 2023Text2Layer: Layered Image Generation using Latent Diffusion Model19 Jul 2023
- 2023Transformer-Based Visual Segmentation: A Surveycited by 124
- 2023ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformerscited by 56
- 2022X-Paste: Revisiting Scalable Copy-Paste for Instance Segmentation using CLIP and StableDiffusioncited by 49
- 2023Neural-PBIR Reconstruction of Shape, Material, and Illuminationcited by 45
- 2023Matte Anything: Interactive Natural Image Matting with Segment Anything Modelscited by 39
- 2023Matting Anythingcited by 30
- 2022VMFormer: End-to-End Video Matting with Transformercited by 20
- 2024ZIM: Zero-Shot Image Matting for Anythingcited by 15
- 2023Deep Image Matting: A Comprehensive Surveycited by 12
- 2023Diffusion for Natural Image Mattingcited by 11
- 2023Revisiting Context Aggregation for Image Mattingcited by 5
- 2023Adversarially-Guided Portrait Mattingcited by 4
12 most cited of 44 All 44 (JSON)
- 2026RenderMatte: Exact-Alpha Rendering and Group-Relative Alignment for Image Matting9 Aug 2026
- 2026Parallax Portrait Matting13 Jul 2026
- 2026SAM2Matting: Generalized Image and Video Matting25 Jun 2026
- 2026αDepth: Learning Single-Pass Soft Boundary Decomposition for Stereo Conversion29 May 2026
- 2026CineMatte: Background Matting for Virtual Production and Beyond18 May 2026
- 2026Referring Layer Decomposition22 Feb 2026
- 2026Segment and Matte Anything in a Unified Model17 Jan 2026
- 2026Toward Real-World High-Precision Image Matting and Segmentation17 Jan 2026
- 2025Uncertainty-Guided Face Matting for Occlusion-Aware Face Transformation5 Aug 2025
- 2025Path-Adaptive Matting for Efficient Inference Under Various Computational Cost Constraints5 Mar 2025
- 2025Object-Aware Video Matting with Cross-Frame Guidance3 Mar 2025
- 2025Disharmony: Forensics using Reverse Lighting Harmonization17 Jan 2025
12 newest of 44 All 44 (JSON)