MatAnyone-E keeps the architecture of MatAnyone 2 and replaces the two parts whose cost grows fastest with resolution: - Sparse Memory Propagation.
The project's README from github.com/Shuyun-Wang/MatAnyone-E. As one markdown file: README.md.
MatAnyone-E mattes native 4K video at 28.6 FPS on a single H200 (with torch.compile), 12ร faster than MatAnyone 2, using 3.1 GB of GPU memory, while keeping fine details such as hair strands.
:movie_camera: More results on the project page.

MatAnyone-E keeps the architecture of MatAnyone 2 and replaces the two parts whose cost grows fastest with resolution:
FPS and peak GPU memory on one NVIDIA A800-SXM4-80GB (fp16); (C.) = with torch.compile.
| Resolution | MatAnyone 2 | Ours | Ours (C.) | MatAnyone 2 memory | Ours memory | Ours (C.) memory |
|---|---|---|---|---|---|---|
| 1024ร1024 | 29.5 | 41.3 | 47.3 | 1.60 GB | 0.92 GB | 0.61 GB |
| 1920ร1080 | 13.6 | 26.6 | 37.6 | 5.47 GB | 1.66 GB | 1.07 GB |
| 2560ร1440 | 5.6 | 16.5 | 25.1 | 16.20 GB | 3.04 GB | 2.02 GB |
| 3840ร2160 | ~1.1 | 8.1 | 13.6 | ~79.69 GB | 6.08 GB | 3.89 GB |
~ extrapolated (a full memory bank does not fit in 80 GB). On one H200 with torch.compile: 73.07 FPS at 1080p, 28.62 FPS at 4K.
If you find our repo useful for your research, please consider citing our paper:
@article{wang2026matanyonee,
title = {{MatAnyone-E}: Sparse Memory Propagation for Efficient High-Resolution Video Matting},
author = {Shuyun Wang and Shangchen Zhou and Peiqing Yang and Yuekun Dai and Xin Yu and Chen Change Loy},
journal = {arXiv preprint arXiv:2610.35724},
year = {2026}
}
This project is licensed under NTU S-Lab License 1.0. Redistribution and use should follow this license.
This project is built upon MatAnyone 2 and MatAnyone. Thanks for their awesome works!
If you have any questions, please feel free to reach us at [email protected].
MatAnyone-E keeps the architecture of MatAnyone 2 and replaces the two parts whose cost grows fastest with resolution: - Sparse Memory Propagation.