DnS:提取和选择,用于高效和准确的视频索引和检索
DnS: Distill-and-Select for Efficient and Accurate Video Indexing and Retrieval
摘要:
在本文中,我们解决了大规模数据集的高性能和计算效率的基于内容的视频检索的问题。当前方法通常提出:(i)采用时空表示和相似性计算的细粒度方法,以高计算成本实现高性能,或者(ii)将视频表示/索引为全局向量的粗粒度方法,其中时空结构丢失,提供低性能但也具有低计算成本。在这项工作中,我们提出了一个知识蒸馏框架,称为蒸馏和选择(DnS),从一个表现良好的细粒度教师网络学习:a)学生网络在不同的检索性能和计算效率的权衡和b)一个学习网络,在测试时快速引导样本到适当的学生,以保持高检索性能和高计算效率。我们训练了几个具有不同体系结构的学生,并得出了性能和效率的不同权衡,即,速度和存储要求,包括使用二进制表示存储/索引视频的细粒度学生。重要的是,所提出的方案允许在大型未标记的数据集中进行知识蒸馏-这会产生好学生。我们在三个不同的视频检索任务的五个公共数据集上评估了DnS,并证明了a)我们的学生在几种情况下达到了最先进的性能,b)DnS框架在检索性能,计算速度和存储空间之间提供了一个很好的权衡。在特定配置中,所提出的方法实现了与教师类似的mAP,但速度快20倍,需要的存储空间少240倍。所收集的数据集和实现可在https://github.com/mever-team/distill-and-select上公开获取。
英文摘要:
In this paper, we address the problem of high performance and computationally efficient content-based video retrieval in large-scale datasets. Current methods typically propose either: (i) fine-grained approaches employing spatio-temporal representations and similarity calculations, achieving high performance at a high computational cost or (ii) coarse-grained approaches representing/indexing videos as global vectors, where the spatio-temporal structure is lost, providing low performance but also having low computational cost. In this work, we propose a Knowledge Distillation framework, called Distill-and-Select (DnS), that starting from a well-performing fine-grained Teacher Network learns: a) Student Networks at different retrieval performance and computational efficiency trade-offs and b) a Selector Network that at test time rapidly directs samples to the appropriate student to maintain both high retrieval performance and high computational efficiency. We train several students with different architectures and arrive at different trade-offs of performance and efficiency, i.e., speed and storage requirements, including fine-grained students that store/index videos using binary representations. Importantly, the proposed scheme allows Knowledge Distillation in large, unlabelled datasets -- this leads to good students. We evaluate DnS on five public datasets on three different video retrieval tasks and demonstrate a) that our students achieve state-of-the-art performance in several cases and b) that the DnS framework provides an excellent trade-off between retrieval performance, computational speed, and storage space. In specific configurations, the proposed method achieves similar mAP with the teacher but is 20 times faster and requires 240 times less storage space. The collected dataset and implementation are publicly available: https://github.com/mever-team/distill-and-select.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。