用视频字幕做弱监督,让模型自动理解动作时序和持续时间。
Weakly Supervised Video Scene Graph Generation via Natural Language Supervision
- 利用大语言模型拆分带时间标记的视频字幕,按顺序切分为语句
- 设计动态对齐模块,处理动作持续时间不一的问题,提升标注精度
- 只需字幕即可训练,还能泛化到未见动作类别,实用性强
现有视频场景图生成(VidSGG)方法依赖全监督训练,需逐帧标注,成本高昂。尽管可借鉴图像场景图生成的弱监督方法(WS-ImgSGG)使用图像描述降低标注成本,但视频描述包含时间标记(如 before, while)和动作持续时间差异,使直接迁移失效。为此,我们提出基于自然语言的视频场景图生成框架(NL-VSGG),仅使用视频字幕进行训练。该框架包含两个核心模块:时序感知字幕分割(TCS)模块,利用大语言模型(LLM)根据时间线索将视频字幕切分为有序语句;动作持续时间变异感知对齐(ADV)模块,针对不同动作持续时间将语句与对应帧精准匹配。在Action Genome数据集上,相较于直接套用WS-ImgSGG管道,本方法显著提升性能。此外,由于使用字幕作为弱监督信号,训练出的模型能预测训练数据中未出现的动作类别,具备更强的实际应用能力。
原文摘要 · Abstract (English)
Existing Video Scene Graph Generation (VidSGG) studies are trained in a fully supervised manner, which requires all frames in a video to be annotated, thereby incurring high annotation cost compared to Image Scene Graph Generation (ImgSGG). Although the annotation cost of VidSGG can be alleviated by adopting a weakly supervised approach commonly used for ImgSGG (WS-ImgSGG) that uses image captions, there are two key reasons that hinder such a naive adoption: 1) Temporality within video captions, i.e., unlike image captions, video captions include temporal markers (e.g., before, while, then, after) that indicate time related details, and 2) Variability in action duration, i.e., unlike human actions in image captions, human actions in video captions unfold over varying duration. To address these issues, we propose a Natural Language-based Video Scene Graph Generation (NL-VSGG) framework that only utilizes the readily available video captions for training a VidSGG model. NL-VSGG consists of two key modules: Temporality-aware Caption Segmentation (TCS) module and Action Duration Variability-aware caption-frame alignment (ADV) module. Specifically, TCS segments the video captions into multiple sentences in a temporal order based on a Large Language Model (LLM), and ADV aligns each segmented sentence with appropriate frames considering the variability in action duration. Our approach leads to a significant enhancement in performance compared to simply applying the WS-ImgSGG pipeline to VidSGG on the Action Genome dataset. As a further benefit of utilizing the video captions as weak supervision, we show that the VidSGG model trained by NL-VSGG is able to predict a broader range of action classes that are not included in the training data, which makes our framework practical in reality.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。