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

面向视频局部指令生成的高效预训练

Efficient Pre-training for Localized Instruction Generation of Videos

University of Edinburgh(爱丁堡大学);University of Bath(巴斯大学);TU Darmstadt(达姆施塔特工业大学)

Anil Batra, Davide Moltisanti, Laura Sevilla-Lara, Marcus Rohrbach, Frank Keller

AI总结:

针对程序性视频理解,提出Sieve-&-Swap自动生成高质量训练数据及ProcX模型,实现高效预训练,在YouCook2和Tasty上达到最先进性能,且数据量大幅减少。

摘要:

程序性视频,以食谱演示为例,在传达逐步指令方面起着重要作用。然而,理解此类视频具有挑战性,因为它涉及步骤的精确局部化以及文本指令的生成。手动标注步骤和编写指令成本高昂,这限制了当前数据集的大小,并阻碍了有效学习。利用大规模但嘈杂的视频-转录文本数据集进行预训练可以提升性能,但需要大量的计算资源。此外,转录文本包含无关内容,且风格与人工编写的指令不同。为缓解这些问题,我们提出了一种新技术,Sieve-&-Swap,用于自动生成食谱领域的高质量训练数据:(i) Sieve:过滤无关的转录文本;(ii) Swap:通过用来自纯文本食谱数据集的人工编写指令替换转录文本来获取高质量文本。所得到的数据集比当前网络规模的数据集小三个数量级,但能够高效训练大规模模型。除Sieve-&-Swap外,我们还提出了Procedure Transformer (ProcX),一种用于程序性视频的端到端步骤局部化和指令生成的模型。当在我们的精选数据集上进行预训练时,该模型在YouCook2和Tasty上达到了最先进的性能,同时仅使用了训练数据的一小部分。我们已发布代码和数据集。

英文摘要:

Procedural videos, exemplified by recipe demonstrations, are instrumental in conveying step-by-step instructions. However, understanding such videos is challenging as it involves the precise localization of steps and the generation of textual instructions. Manually annotating steps and writing instructions is costly, which limits the size of current datasets and hinders effective learning. Leveraging large but noisy video-transcript datasets for pre-training can boost performance but demands significant computational resources. Furthermore, transcripts contain irrelevant content and differ in style from human-written instructions. To mitigate these issues, we propose a novel technique, Sieve-&-Swap, to automatically generate high-quality training data for the recipe domain: (i) Sieve: filters irrelevant transcripts and (ii) Swap: acquires high-quality text by replacing transcripts with human-written instruction from a text-only recipe dataset. The resulting dataset is three orders of magnitude smaller than current web-scale datasets but enables efficient training of large-scale models. Alongside Sieve-&-Swap, we propose Procedure Transformer (ProcX), a model for end-to-end step localization and instruction generation for procedural videos. When pre-trained on our curated dataset, this model achieves state-of-the-art performance on YouCook2 and Tasty while using a fraction of the training data. We have released code and dataset.

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

↑