arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.09018cs.CVcs.HCcs.LG
收藏

一种高效的流式音视频主动说话人检测系统

An Efficient and Streaming Audio Visual Active Speaker Detection System

Apple(苹果公司)

Arnav Kundu, Yanzi Jin, Mohammad Sekhavat, Max Horton, Danny Tormoen, Devang Naik

AI总结:

针对现有主动说话人检测模型高延迟、高内存占用难以实时部署的问题,提出限制未来上下文帧与过去帧访问量的两种方案,实验验证受限transformer性能可比肩甚至优于现有最优循环模型,且内存成本远高于计算成本。

摘要:

本文深入研究了主动说话人检测(Active Speaker Detection, ASD)这一具有挑战性的任务,该任务要求系统实时判断一系列视频帧中的人物是否正在说话。尽管已有研究在改进ASD的网络架构与学习有效表征方面取得了显著进展,但在实时系统部署的探索上仍存在关键空白。现有模型通常存在高延迟与高内存占用的问题,无法直接应用于实际场景。为填补这一空白,我们提出了两种应对实时约束核心挑战的方案。首先,我们提出一种限制ASD模型所使用的未来上下文帧数量的方法,借此免除了做出决策前处理全部未来帧序列的需求,显著降低了延迟。其次,我们提出了更严格的约束,限制推理阶段模型可访问的过去帧总数,解决了流式ASD系统运行时持续存在的内存问题。除这些理论框架外,我们开展了大量实验验证所提方法。结果表明,受限transformer模型在上下文帧数量大幅减少的情况下,性能可与甚至优于单向GRU等当前最优的循环模型。此外,我们阐明了ASD系统的时间内存需求,发现更大的过去上下文对准确率的影响比未来上下文更为显著。在CPU上进行性能分析时,我们发现该高效架构的内存瓶颈在于可使用的过去上下文量,且计算成本与内存成本相比可忽略不计。

英文摘要:

This paper delves into the challenging task of Active Speaker Detection (ASD), where the system needs to determine in real-time whether a person is speaking or not in a series of video frames. While previous works have made significant strides in improving network architectures and learning effective representations for ASD, a critical gap exists in the exploration of real-time system deployment. Existing models often suffer from high latency and memory usage, rendering them impractical for immediate applications. To bridge this gap, we present two scenarios that address the key challenges posed by real-time constraints. First, we introduce a method to limit the number of future context frames utilized by the ASD model. By doing so, we alleviate the need for processing the entire sequence of future frames before a decision is made, significantly reducing latency. Second, we propose a more stringent constraint that limits the total number of past frames the model can access during inference. This tackles the persistent memory issues associated with running streaming ASD systems. Beyond these theoretical frameworks, we conduct extensive experiments to validate our approach. Our results demonstrate that constrained transformer models can achieve performance comparable to or even better than state-of-the-art recurrent models, such as uni-directional GRUs, with a significantly reduced number of context frames. Moreover, we shed light on the temporal memory requirements of ASD systems, revealing that larger past context has a more profound impact on accuracy than future context. When profiling on a CPU we find that our efficient architecture is memory bound by the amount of past context it can use and that the compute cost is negligible as compared to the memory cost.

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

↑