High-resolution video matting requires accurate recovery of continuous alpha values, including fine hair, soft boundaries, and motion blur, yet dense alpha supervision remains scarce. Pretrained text-to-video diffusion transformers (DiTs) offer rich spatio-temporal priors, whereas existing generative video matting approaches typically route alpha predictions through RGB-trained VAE latents, which can attenuate fine details and introduce additional decoding overhead. We present TokenMatte, which adapts a pretrained video DiT into a single-pass, auxiliary-free RGB-to-alpha predictor with a pixel-native output interface. At its core is a single shared linear readout that maps each spatio-temporal token directly to its corresponding (t×p×p) block of alpha pixels, predicting spatial details and temporal variations within the same local video block. Tiling these blocks produces the full-resolution alpha sequence without a convolutional decoder or learned upsampling. The predicted alpha is supervised directly in pixel space, while the ground-truth alpha never enters the VAE, eliminating target-side alpha encoding and output-side VAE decoding. Leveraging the pretrained video prior, TokenMatte is trained using only existing public matting datasets, without additional data curation or auxiliary inputs at inference. Compared with a matched latent-output baseline, our pixel-native interface improves matting accuracy while achieving a 1.51× inference speedup. TokenMatte establishes a new auxiliary-free state of the art on VideoMatte, YouTubeMatte, and V-HIM60.
Figures & tables
Figure 1: Latent-based vs. our native pixel-based training. (a) Latent supervision encodes the GT matte through a frozen VAE and supervises in latent space; the alpha target must survive a VAE round-trip, and the pixel objective only reaches the model through the decoder. (b) We never encode the alpha target: a readout module unfolds each token directly into pixels, supervised in pixel space. (c) Quality bottleneck—the GT matte incurs reconstruction error after a VAE round-trip, revealing an empirical ceiling for alpha reconstruction, especially on detail-heavy data (VideoMatte 3.50 , V-HIM60 1.22 , YouTubeMatte 0.54 , MAD). (d) Speed bottleneck—removing the VAE-decode stage cuts per-clip latency from 576 ms to 382 ms, a 1.51× saving at equal depth.
Figure 2: Method Overview. From an RGB video, a frozen VAE encoder produces latent tokens and a pretrained T2V backbone runs one deterministic pass ( τ=τ0 , ϵ=0 ) to yield a spatio-temporal token field (Sec. 3.1 ). A shared linear head unfolds each token into its local block of alpha pixels (Sec. 3.2 ), supervised in pixel space with no alpha encoding or VAE decoding (Sec. 3.3 ).
Dataset
Type
Size
GT
Source
VideoMatte240K [ 22 ]
vid (greenscreen)
479 clips
α
RVM, CVPR’21
P3M-10K [ 16 ]
img (portrait)
9,421 imgs
α
P3M, MM’21
V-HIM2K5 [ 12 ]
vid (multi-inst.)
2,461 clips
α
MaGGIe, CVPR’24
Table 1: Public training data. We train only on existing public matting supervision and construct no additional dataset. ( α : continuous alpha; img: image; vid: video.)
VideoMatte ( 1920×1080 )
YouTubeMatte ( 1920×1080 )
Method
MAD ↓
MSE ↓
Grad ↓
dtSSD ↓
MAD ↓
MSE ↓
Grad ↓
dtSSD ↓
Mask-guided methods
AdaM (CVPR’23) [ 21 ]
4.42
0.39
5.12
1.39
–
–
–
–
FTP-VM (CVPR’23) [ 11 ]
8.00
3.24
23.75
2.37
6.49
4.58
29.78
2.41
MaGGIe (CVPR’24) [ 12 ]
4.42
0.40
4.03
1.31
2.37
0.98
7.69
1.77
MatAnyone (CVPR’25) [ 37 ]
4.24
0.33
4.00
1.19
1.99
0.71
8.91
1.65
Table 2: Quantitative comparison on VideoMatte and YouTubeMatte at 1920×1080 . Lower is better; blue marks the best auxiliary-free results. † VideoMaMa uses first-frame mask guidance with SAM2 propagation; unreported entries are denoted by –.
V-HIM60 (Easy)
V-HIM60 (Medium)
V-HIM60 (Hard)
Method
MAD
Grad
Conn
dtSSD
MAD
Grad
Conn
dtSSD
MAD
Grad
Conn
dtSSD
RVM (WACV’22) [ 23 ]
6.40
14.27
11.74
4.10
10.28
19.82
20.66
4.56
17.96
20.63
34.52
7.03
SparseMat (CVPR’23) [ 30 ]
6.51
13.41
11.71
4.52
10.08
16.91
19.79
5.07
23.48
20.86
44.64
9.76
MaGGIe (CVPR’24) [ 12 ]
10.48
13.71
19.99
5.19
26.16
19.61
71.29
7.14
25.68
21.18
49.78
11.30
GVM (SIGGRAPH’25) [ 8 ]
6.24
10.13
10.55
3.26
10.13
15.00
13.61
3.55
11.04
13.52
13.16
4.11
VideoMaMa † (CVPR’26) [ 20 ]
1.35
2.89
–
–
2.31
4.69
–
–
2.78
4.83
–
–
Table 3: Quantitative comparison on V-HIM60 across Easy , Medium , and Hard splits. Lower is better; blue marks the best auxiliary-free results. † VideoMaMa uses first-frame mask guidance with SAM2 propagation; Conn and dtSSD are not reported.
Paradigm
MAD ↓
MSE ↓
Grad ↓
dtSSD ↓
Latency ↓
Random Init
21.5
16.0
61.0
5.46
382ms
LATENT
6.00
1.36
8.22
1.89
576ms
PIXEL (Ours)
5.11
1.10
4.34
1.37
382ms
Table 4: Paradigm ablation. The large gap from Random Init confirms the importance of the pretrained video prior, while the improvement from LATENT to PIXEL shows that direct pixel-space alpha readout preserves fine matte details and avoids VAE decoding overhead.
Readout
MAD ↓
Grad ↓
Linear (Ours)
5.11
4.34
Local convolutional decoder
5.09
4.38
Table 5: Readout design on VideoMatte. A shallow local convolutional decoder provides no consistent improvement over the shared linear readout.
Adaptation
VideoMatte ↓
YouTubeMatte ↓
LoRA
4.11
16.4
Full (Ours)
5.11
1.21
Table 6: Backbone adaptation. MAD on VideoMatte and YouTubeMatte under LoRA and full adaptation. Full adaptation substantially improves cross-dataset generalization, while both use the same pixel-native output interface.
Inference length
MAD ↓
MSE ↓
Grad ↓
dtSSD ↓
21
6.04
1.17
4.63
1.33
61
5.59
1.13
4.47
1.35
100 ∗
5.11
1.10
4.34
1.37
Table 7: Inference length on VideoMatte. The same 21-frame-trained checkpoint is evaluated on complete 100-frame videos with different inference lengths. Spatial metrics remain stable or improve, while dtSSD changes only marginally. ∗ The full sequence is padded to 101 frames for Wan2.1’s 4k+1 requirement; padding is excluded from evaluation.
Figure 3: Qualitative comparison with auxiliary-free methods. We compare TokenMatte with RVM and latent-based GVM across three video frames. The blue and orange boxes indicate regions magnified on the right. RVM produces diffuse alpha boundaries, while GVM exhibits over-smoothed predictions that blur fine structures and merge neighboring details. In contrast, TokenMatte preserves sharper boundaries and finer, more separated alpha structures without auxiliary inputs.
Figure 4: Generalization to non-human foregrounds. TokenMatte produces detailed alpha mattes across diverse animal categories, preserving fine whiskers, fur, and irregular boundary structures beyond the predominantly human-centered evaluation domain. Ground-truth mattes are shown for reference.
Method
Alpha
Matting data
Guidance
VAE dec.
GVM
latent
synth.+pseudo
none
yes
VideoMaMa
latent
synthetic only
mask
yes
MatAnyone2
pixel
VMReal (28K)
mask
–
Ours
pixel
public only
none
no
Table 8: Design-level comparison. TokenMatte uses pixel-space alpha, no auxiliary guidance, and no VAE decoding.
Configuration
Value
Optimization
Optimizer
AdamW ( β1=0.9,β2=0.95 )
Learning rate
2×10−5 , constant
Weight decay
1×10−3
Gradient clipping
global norm 1.0
Global batch size
64
Table 9: Full training and inference configuration of TokenMatte.
Figure 5: Qualitative comparison with auxiliary-free and mask-guided methods. We compare TokenMatte with auxiliary-free RVM and GVM, and with mask-guided MatAnyone2 and VideoMaMa using SAM2 guidance. The SAM2 mask sequence is shown for reference, and colored boxes indicate the magnified regions on the right. While all methods recover the main foreground, RVM produces diffuse hair boundaries and the other baselines tend to smooth some thin strands. TokenMatte preserves finer and more separated hair structures without auxiliary mask guidance.
Figure 6: Translucent fabric. TokenMatte preserves thin fabric layers and spatially varying opacity across the sequence.
Figure 7: Fast water spray. TokenMatte captures rapidly changing water structures and fine spray details from RGB input alone.
Figure 8: Transparent soap bubbles. TokenMatte recovers transparent bubbles with clear boundaries and varying opacity over time.
Figure 9: Translucent tentacles. TokenMatte preserves thin tentacles and translucent structures across separated frames.
Figure 10: Soft emissive boundaries. TokenMatte captures the foreground together with soft, spatially varying alpha transitions around the glowing hand across frames.
Figure 11: Complex foreground interaction. TokenMatte preserves the articulated foreground together with thin structures such as hair, ropes, and the moving weapon across temporally separated frames.