MatAnyone-E README

The project's README from github.com/Shuyun-Wang/MatAnyone-E. As one markdown file: README.md.

MatAnyone-E Logo

Sparse Memory Propagation for Efficient High-Resolution Video Matting

Shuyun Wang2โ€ โ€ƒ Shangchen Zhou2โ€ โ€ƒ Peiqing Yang2โ€ƒ Yuekun Dai2โ€ƒ Xin Yu3*โ€ƒ Chen Change Loy2*
1The University of Queenslandโ€ƒ 2S-Lab, Nanyang Technological Universityโ€ƒ 3University of Adelaide
โ€ Project leadโ€ƒ*Corresponding authors

4K speed race: MatAnyone 2 at 2.3 FPS vs MatAnyone-E at 28.6 FPS on one H200

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.


๐Ÿ“ฎ Update

๐Ÿ„๐Ÿปโ€โ™€๏ธ TODO

๐Ÿ”Ž Overview

overview

MatAnyone-E keeps the architecture of MatAnyone 2 and replaces the two parts whose cost grows fastest with resolution:

โšก Efficiency

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.

๐Ÿ“‘ Citation

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}
}

๐Ÿ“ License

This project is licensed under NTU S-Lab License 1.0. Redistribution and use should follow this license.

๐Ÿ‘ Acknowledgement

This project is built upon MatAnyone 2 and MatAnyone. Thanks for their awesome works!

๐Ÿ“ง Contact

If you have any questions, please feel free to reach us at [email protected].

MatAnyone-E (Shuyun-Wang/MatAnyone-E)

Searching Databaseโ€ฆ

137 ยทGitHub

MatAnyone-E keeps the architecture of MatAnyone 2 and replaces the two parts whose cost grows fastest with resolution: - Sparse Memory Propagation.

Size
3.2 MB
Stars
137
Updated
CommitOct 27
Age
10d
Commits ยท 90 Days