面向边缘视频分析的自动模型专业化
Towards Automatic Model Specialization for Edge Video Analytics
摘要:
从流行和通用的计算机视觉挑战(如ImageNet或PASCAL VOC)来看,神经网络已被证明在识别任务中非常准确。然而,最先进的准确性通常需要很高的计算成本,需要硬件加速来实现实时性能,而智能城市等用例需要实时分析来自固定摄像机的图像。由于这些流将生成的网络带宽量,我们不能依赖于将计算卸载到集中式云。因此,期望分布式边缘云在本地处理图像。然而,边缘本质上是资源受限的,这限制了可以执行的计算复杂性。然而,边缘和准确的实时视频分析之间需要一个交汇点。在每个摄像头的基础上专门化轻量级模型可能会有所帮助,但随着摄像头数量的增加,除非该过程自动化,否则它很快就变得不可行。在本文中,我们介绍并评估了COVA(上下文优化视频分析),这是一个帮助边缘摄像机中视频分析模型自动专业化的框架。COVA通过其专业化自动提高轻量级模型的准确性。此外,我们讨论和审查过程中涉及的每一步,以了解每一步所需的不同权衡。此外,我们展示了如何静态相机的唯一假设,使我们能够作出一系列的考虑,大大简化了问题的范围。最后,实验表明,最先进的模型,即,能够推广到看不见的环境,可以有效地用作教师,根据特定的环境定制较小的网络,以恒定的计算成本提高准确性。结果表明,我们的COVA可以自动将预训练模型的准确率平均提高21%。
英文摘要:
Judging by popular and generic computer vision challenges, such as the ImageNet or PASCAL VOC, neural networks have proven to be exceptionally accurate in recognition tasks. However, state-of-the-art accuracy often comes at a high computational price, requiring hardware acceleration to achieve real-time performance, while use cases, such as smart cities, require images from fixed cameras to be analyzed in real-time. Due to the amount of network bandwidth these streams would generate, we cannot rely on offloading compute to a centralized cloud. Thus, a distributed edge cloud is expected to process images locally. However, the edge is, by nature, resource-constrained, which puts a limit on the computational complexity that can execute. Yet, there is a need for a meeting point between the edge and accurate real-time video analytics. Specializing lightweight models on a per-camera basis may help but it quickly becomes unfeasible as the number of cameras grows unless the process is automated. In this paper, we present and evaluate COVA (Contextually Optimized Video Analytics), a framework to assist in the automatic specialization of models for video analytics in edge cameras. COVA automatically improves the accuracy of lightweight models through their specialization. Moreover, we discuss and review each step involved in the process to understand the different trade-offs that each one entails. Additionally, we show how the sole assumption of static cameras allows us to make a series of considerations that greatly simplify the scope of the problem. Finally, experiments show that state-of-the-art models, i.e., able to generalize to unseen environments, can be effectively used as teachers to tailor smaller networks to a specific context, boosting accuracy at a constant computational cost. Results show that our COVA can automatically improve accuracy of pre-trained models by an average of 21%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。