4K video matting is one of those tasks that looks simple and computes like a bankruptcy: it must preserve fine details such as hair strands and soft transparency while staying consistent across frames. Memory-based methods produce high-quality alpha mattes by matching current-frame features against information stored from earlier frames, but the compute and VRAM cost of that matching keeps growing with resolution — at 4K, the previous-generation MatAnyone 2 cannot even fit a full memory bank into an 80GB A800, so its speed figures had to be extrapolated.

MatAnyone-E (arXiv:2610.35724), submitted on Oct 26 by the S-Lab (MMLab@NTU) team at Nanyang Technological University, takes a pragmatic line: not every pixel deserves high-resolution treatment.

Spend compute where it matters

The method has two layers. A low-resolution propagation pass first flags "worth a closer look" query locations via an uncertainty signal (query pruning) and selects the memory entries most relevant to them by affinity (memory pruning). High-resolution matching then runs only on the selected query-memory pairs, while everywhere else reuses the upsampled low-resolution readout — the output still stays a complete matte.

Two details are worth noting: memory pruning scores each coarse memory location by its strongest affinity to any selected query and keeps only the top fraction; and the pruning applies to the current retrieval, not to the persistent memory bank. The 4K experiments also use a 4→2→1 refinement schedule that narrows the range needing native matching level by level.

On the decoder side, the team profiled stage-wise latency to find the real runtime bottlenecks, then trained a lightweight decoder via feature distillation to reproduce the original decoder's representations. The architecture barely changed; what changed is where the budget goes.

The numbers

On a single A800-SXM4-80GB (fp16), FPS and peak VRAM (MatAnyone 2 uncompiled; MatAnyone-E with torch.compile):

Resolution MatAnyone 2 MatAnyone-E (C.) VRAM: old→new (C.)
1024×1024 29.5 47.3 1.60→0.61 GB
1920×1080 13.6 37.6 5.47→1.07 GB
2560×1440 5.6 25.1 16.20→2.02 GB
3840×2160 ~1.1 13.6 ~79.69→3.89 GB

On an H200 with compilation, it reaches 73.07 FPS at 1080p and 28.62 FPS at native 4K with only 3.1 GB of VRAM — the official wording is "12x faster than MatAnyone 2 (C.)". The paper's headline numbers: an estimated 7.4x inference speedup at 4K, with peak memory down to 7.6% of MatAnyone 2.

Quality barely moves: MAD (×10³) goes 4.10→4.14 on VideoMatte HR, 1.61→1.62 on YouTubeMatte HR, 4.24→4.28 on CRGNN. In the project page's comparison table, VideoMaMa sits at 6.83 and SAM2Matting at 4.74 on VideoMatte HR; the MatAnyone family takes the top two spots on all three high-resolution tests, the new version second only to its own predecessor. In the ablation on CRGNN 1080p, uncertainty-guided selection uses just 6.99% of high-resolution queries and reaches MAD 4.26, beating uniform selection (4.39) and alpha-boundary selection (4.34) at slightly lower latency (42.92ms vs 43.82/43.46ms).

Cold water

Three caveats. First, the "7.4x" is explicitly an estimate in the paper: MatAnyone 2's 4K baseline was extrapolated from shorter-memory measurements, not measured under identical conditions. Second, the GitHub TODO list is blunt: inference code, checkpoints, the Hugging Face demo and a ComfyUI node are all unreleased — today there is only the project page, the paper and a repo skeleton, so reproduction has to wait. Third, uncertainty-guided selection beating two alternatives in one ablation does not make it the optimal policy, and the low-resolution estimate itself is not exact.

Zoom out: the generation side is racing to cut redundant decode compute (diffusion-LM decoding, MoE channel selection), while perception- and editing-side high-resolution video tasks are equally memory-hungry. The "low-res scouting, high-res only where it matters" sparse paradigm should in principle transfer to any memory-based video model. The project page also includes cross-GPU real-time curves, with the consumer RTX 3090 shown alongside datacenter cards.

When capability is already sufficient, the next value pool is sending compute where it belongs. Once the code lands, real-time 4K matting may be closer than it looks to an ordinary creator's workflow.

Refs: arXiv:2610.35724 | Project: shuyun-wang.github.io/projects/MatAnyone-E | GitHub: Shuyun-Wang/MatAnyone-E