MaskCaptioner: Learning to Jointly Segment and Caption Object Trajectories in Videos
Gabriel Fiastre, Antoine Yang, Cordelia Schmid
TL;DR
MaskCaptioner tackles DVOC by generating synthetic, object-level captions to enable end-to-end training that jointly detects, segments, tracks, and captions all object trajectories in videos. It builds LVISCap and LV-VISCap by leveraging a state-of-the-art VLM with a multi-modal prompting strategy, and trains a unified model based on OVFormer with a BLIP-2 captioning head to produce (mask, caption) pairs for trajectories. The approach achieves state-of-the-art results on VidSTG, VLN, and BenSMOT, while enabling segmentation output for DVOC and demonstrating strong data-efficiency when pretraining on synthetic datasets. The work demonstrates the value of synthetic, localized vision-language supervision for complex video understanding and offers a scalable path toward end-to-end DVOC with segmentation.
Abstract
Dense Video Object Captioning (DVOC) is the task of jointly detecting, tracking, and captioning object trajectories in a video, requiring the ability to understand spatio-temporal details and describe them in natural language. Due to the complexity of the task and the high cost associated with manual annotation, previous approaches resort to disjoint training strategies, potentially leading to suboptimal performance. To circumvent this issue, we propose to generate captions about spatio-temporally localized entities leveraging a state-of-the-art VLM. By extending the LVIS and LV-VIS datasets with our synthetic captions (LVISCap and LV-VISCap), we train MaskCaptioner, an end-to-end model capable of jointly detecting, segmenting, tracking and captioning object trajectories. Moreover, with pretraining on LVISCap and LV-VISCap, MaskCaptioner achieves state-of-the-art DVOC results on three existing benchmarks, VidSTG, VLN and BenSMOT. The datasets and code are available at https://www.gabriel.fiastre.fr/maskcaptioner/.
