arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.17937cs.CV
收藏

通过调制交叉注意力记忆实现高效视频目标分割

Efficient Video Object Segmentation via Modulated Cross-Attention Memory

Mohamed Bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);University of Bonn(波恩大学);Lamarr Institute for ML and AI(拉马尔机器学习与人工智能研究所);ETH Zürich(苏黎世联邦理工学院);University of California, Merced(加州大学默塞德分校);Google Research(谷歌研究院);Linkoping University(林雪平大学)

Abdelrahman Shaker, Syed Talal Wasim, Martin Danelljan, Salman Khan, Ming-Hsuan Yang, Fahad Shahbaz Khan

AI总结:

提出名为MAVOS的半监督视频目标分割方法,通过引入动态长期调制交叉注意力记忆,无需频繁扩展记忆库即可在保持分割精度的同时实现实时推理并显著降低GPU内存需求。

摘要:

最近,基于transformer的方法在半监督视频目标分割中展现出令人鼓舞的结果。然而,这些方法通常在长视频上表现不佳,因为它们每隔几帧就会频繁扩展记忆库,导致GPU内存需求增加。我们提出了一种名为MAVOS的基于transformer的方法,该方法引入了一种优化且动态的长期调制交叉注意力(MCA)记忆,以对时间平滑性进行建模,而无需频繁扩展记忆。所提出的MCA有效地编码了不同粒度级别的局部和全局特征,同时无论视频长度如何,都能高效地保持一致的速度。在多个基准(LVOS、Long-Time Video和DAVIS 2017)上的大量实验证明了我们提出的贡献的有效性,该方法实现了实时推理并显著降低了内存需求,且在长视频上没有任何分割精度的下降。与现有的最佳基于transformer的方法相比,我们的MAVOS在短时和长时视频数据集上具有可比的分割性能的同时,速度提高了7.6倍,并将GPU内存显著减少了87%。值得注意的是,在LVOS数据集上,我们的MAVOS在单个V100 GPU上以每秒37帧(FPS)的速度运行时,取得了63.3%的J&F分数。我们的代码和模型将公开于:https://github.com/Amshaker/MAVOS。

英文摘要:

Recently, transformer-based approaches have shown promising results for semi-supervised video object segmentation. However, these approaches typically struggle on long videos due to increased GPU memory demands, as they frequently expand the memory bank every few frames. We propose a transformer-based approach, named MAVOS, that introduces an optimized and dynamic long-term modulated cross-attention (MCA) memory to model temporal smoothness without requiring frequent memory expansion. The proposed MCA effectively encodes both local and global features at various levels of granularity while efficiently maintaining consistent speed regardless of the video length. Extensive experiments on multiple benchmarks, LVOS, Long-Time Video, and DAVIS 2017, demonstrate the effectiveness of our proposed contributions leading to real-time inference and markedly reduced memory demands without any degradation in segmentation accuracy on long videos. Compared to the best existing transformer-based approach, our MAVOS increases the speed by 7.6x, while significantly reducing the GPU memory by 87% with comparable segmentation performance on short and long video datasets. Notably on the LVOS dataset, our MAVOS achieves a J&F score of 63.3% while operating at 37 frames per second (FPS) on a single V100 GPU. Our code and models will be publicly available at: https://github.com/Amshaker/MAVOS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑