SwinBERT: End-to-End Transformers with Sparse Attention for Video Captioning
By Kevin Qinghong Lin, Linjie Li, Chung-Ching Lin, Faisal Ahmed, Zhe Gan, Zicheng Liu, Yumao Lu, Lijuan Wang. 2021
341 citations recorded by the source corpus.
The canonical approach to video captioning dictates a caption generation model to learn from offline-extracted dense video features. These feature extractors usually operate on video frames sampled at a fixed frame rate and are often trained on image/video understanding tasks, without adaption to video captioning data. In this work, we present SwinBERT, an end-to-end transformer-based model for video captioning, which takes video frame patches directly as inputs, and outputs a natural language description. Instead of leveraging multiple 2D/3D feature extractors, our method adopts a video transformer to encode spatial-temporal representations that can adapt to variable lengths of video input without dedicated design for different frame rates. Based on this model architecture, we show that video captioning can benefit significantly from more densely sampled video frames as opposed to previous successes with sparsely sampled video frames for video-and-language understanding tasks (e.g., video question answering). Moreover, to avoid the inherent redundancy in consecutive video frames, we propose adaptively learning a sparse attention mask and optimizing it for task-specific performance improvement through better long-range video sequence modeling. Through extensive experiments on 5 video captioning datasets, we show that Swinbert achieves across-the-board performance improvements over previous methods, often by a large margin. The learned sparse attention masks in addition push the limit to new state of the arts, and can be transferred between different video lengths and between different datasets. Code is available at https://github.com/microsoft/SwinBERT.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Multimodal Learning, Model Architectures
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
In Computer Vision and Pattern Recognition
- Luc Van Gool
- Cordelia Schmid
- Ming-Hsuan Yang
- Dacheng Tao
- Andrew Zisserman
- Jitendra Malik
- Trevor Darrell
- Xiaogang Wang
In Multimodal Learning
In Model Architectures
- Aliaksandr Siarohin
- Jordi Pont-Tuset
- Kevin Qinghong Lin
- Ivan Laptev
- Jian Ren
- Paul Hongsuck Seo
- Zhe Gan
- Sergey Tulyakov
Citations in the corpus
- GIT: A Generative Image-to-text Transformer for Vision and Language (2022, background): “8 [127] [122] [30] [120] [5] [3] [5] [69] [92] [100] [100] [103] [125] [78]”
- Multimodal Learning With Transformers: A Survey (2022, background): “graph [228], video to caption [229], [230], [231], [232], image to caption [233], [234], [235], [236], [237], text to speech [238], text to image [205], [239], text to shape [240], RGB to 3D human”
- Vid2Seq: Large-Scale Pretraining of a Visual Language Model for Dense Video Captioning (2023, methodology): “Therefore a key challenge is to effectively model the relationships between the different events in the video, as for example, it is easier to predict that the dogs are pulling the sled if we know that the man has just fastened a dog (see Figure 1 (right)).”
- Panda-70M: Captioning 70M Videos with Multiple Cross-Modality Teachers (2024, methodology): “To quantitatively evaluate the quality of output captions, we follow the common protocols [41, 48, 78] and report BLEU-4 [54], ROGUE-L [40], METEOR [5], and CIDEr [69].”