MatAnyone-E:用于高效高分辨率视频抠像的稀疏记忆传播

·

研究论文 · 2026/10/28

MatAnyone-E 是 MatAnyone 2 的高效扩展,用于高分辨率视频抠像。它先进行低分辨率传播以识别不确定区域和相关记忆候选,然后仅对这些区域进行高分辨率匹配,并复用低分辨率结果,从而减少计算量和内存搜索。此外,采用轻量级解码器降低高分辨率抠像生成成本。实验表明,MatAnyone-E 在保持与 MatAnyone 2 相当抠像质量的同时,推理速度估计提升 7.4 倍,4K 下峰值 GPU 内存降至 MatAnyone 2 的 7.6%。在单块 NVIDIA H200 GPU 上启用编译推理时,1080p 达到 73.07 FPS,4K 达到 28.62 FPS。

该论文在保持高质量视频抠像的同时,显著提升了高分辨率下的推理效率和内存效率,对于实时高分辨率视频抠像应用具有重要价值。

High-resolution video matting requires preserving fine details, such as hair strands and soft transparency, while maintaining consistency across frames. Memory-based methods achieve strong matting quality by matching current-frame features with information stored from earlier frames, but this process becomes increasingly costly as resolution grows. We present MatAnyone-E, an efficient extension of MatAnyone 2 that focuses computation where it is most needed. Our approach first performs low-resolution propagation to identify uncertain regions that require closer inspection and the memory candidates most relevant to them. It then performs high-resolution matching only for these regions using the selected memory, while reusing low-resolution matching results elsewhere. This strategy reduces both the number of locations requiring detailed matching and the amount of memory searched, while preserving the information needed to produce a complete matte. We further reduce the cost of generating high-resolution mattes with a lightweight decoder designed around measured runtime bottlenecks and trained to reproduce the original decoder's representations. Experiments show that MatAnyone-E maintains matting quality comparable to MatAnyone 2 while achieving an estimated 7.4x inference speedup and reducing peak GPU memory usage to 7.6% of the usage of MatAnyone 2 at 4K. With compilation-enabled inference on a single NVIDIA H200 GPU, it reaches 73.07 FPS at 1080p and 28.62 FPS at 4K.

阅读原文

参与讨论