通过本地+远程协同推断,显著降低视频实时分析延迟。
DeDelayed: Deleting Remote Inference Delay via On-Device Correction

- 远程模型预测未来帧,本地模型融合当前帧实时推断
- 100毫秒延迟下,比纯本地推理提升6.4 mIoU
- 适合资源受限设备的实时视频分割任务
视频占每日生成数据的绝大部分,是推动机器人、遥感和可穿戴技术发展的主要信号。然而,最强大的视频理解模型对资源受限平台而言成本过高。一种方法是将推理任务卸载至云端,虽能利用GPU实时处理高分辨率视频,但编码、推理与往返通信的综合延迟仍使某些实时应用不可行。另一种方案是完全本地推理,但这对计算与功耗要求极高,需使用小型化模型和低分辨率输入,导致准确率下降。为此,我们提出DeDelayed,一个实时推理系统:将计算分配给处理延迟视频帧的远程模型和访问当前帧的本地模型。远程模型训练为预测未来帧,本地模型将其预测结果融入当前帧判断。本地与远程模型通过自编码器联合优化,限制下行通信通道的传输码率。我们在使用BDD100k驾驶数据集的实时流式视频分割任务上评估了DeDelayed。在100毫秒往返延迟下,相比完全本地推理性能提升6.4 mIoU,相比远程推理提升9.8 mIoU,相当于使用十倍大的模型带来的增益。代码、预训练模型及Python库已开源。
原文摘要 · Abstract (English)
Video comprises the vast majority of bits that are generated daily, and is the primary signal driving current innovations in robotics, remote sensing, and wearable technology. Yet, the most powerful video understanding models are too expensive for the resource-constrained platforms used in these applications. One approach is to offload inference to the cloud; this gives access to GPUs capable of processing high-resolution videos in real time. But even with reliable, high-bandwidth communication channels, the combined latency of video encoding, model inference, and round-trip communication prohibits use for certain real-time applications. The alternative is to use fully local inference; but this places extreme constraints on computational and power costs, requiring smaller models and lower resolution, leading to degraded accuracy. To address these challenges, we propose Dedelayed, a real-time inference system that divides computation between a remote model operating on delayed video frames and a local model with access to the current frame. The remote model is trained to make predictions on anticipated future frames, which the local model incorporates into its prediction for the current frame. The local and remote models are jointly optimized with an autoencoder that limits the transmission bitrate required by the available downlink communication channel. We evaluate Dedelayed on the task of real-time streaming video segmentation using the BDD100k driving dataset. For a round trip delay of 100 ms, Dedelayed improves performance by 6.4 mIoU compared to fully local inference and 9.8 mIoU compared to remote inference -- an equivalent improvement to using a model ten times larger. We release our training code, pretrained models, and python library at https://github.com/InterDigitalInc/dedelayed .
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。