Abstract
Instructional video-language pre-training typically relies on large-scale datasets like HowTo100M, which are characterized by significant noise in Automatic Speech Recognition (ASR) narrations. This paper introduces DeCEMBERT (Dense Captions and Entropy Minimization), a framework designed to overcome semantic and temporal misalignments in such data. By augmenting noisy ASR with automatically generated dense captions and employing an entropy-minimization loss, DeCEMBERT achieves state-of-the-art results in video retrieval, captioning, and question-answering.
The Challenge of Noisy Instructional Data
The current paradigm for training video-and-language models involves pre-training on massive, uncurated datasets. While datasets like HowTo100M provide over a million videos, the accompanying text—derived from ASR—suffers from three critical flaws:
- Semantic Misalignment: Narrators often include conversational filler or off-topic remarks (e.g., "Don't forget to like and subscribe") that do not describe the visual content.
- Temporal Misalignment: There is often a significant lag or lead between when an action is described and when it is visually performed.
- Incompleteness: ASR narrations are frequently unpunctuated and omit key visual details necessary for fine-grained understanding.
Training models to associate video clips with these "wrong" or "lagging" captions limits the quality of the learned cross-modal representations. DeCEMBERT addresses this by providing cleaner visual cues and a mechanism to resolve temporal ambiguity.
Methodology
DeCEMBERT introduces two primary innovations to the standard Transformer-based video-language architecture to handle dataset messiness.
Dense Captions as Auxiliary Input
To provide a reliable textual anchor, the model incorporates dense captions generated by an off-the-shelf model. These captions describe specific regions within video frames (e.g., "a hand holding a green paper"). Unlike ASR, which reflects what a narrator is saying, dense captions describe what is actually present in the scene. Because they are generated directly from the frames, they are perfectly aligned temporally and semantically with the visual input, serving as a "translation layer" between pixels and language.
Constrained Attention Loss (Entropy Minimization)
To solve the temporal lag issue, DeCEMBERT is provided with a "pool" of candidate ASR captions consisting of the current clip's narration plus its immediate neighbors. Rather than forcing a match with a potentially misaligned caption, the model uses an entropy minimization loss. This encourages the attention mechanism to "peak" on the single most relevant caption in the window, effectively allowing the model to "find" the correct narration and ignore irrelevant neighbors.
Pre-training Objectives
The model is trained using Masked Language Modeling (MLM) and Video-Text Matching (VTM). Notably, the researchers utilized a higher masking probability (0.20 compared to the standard 0.15) to account for the sparse and grammatically loose nature of ASR text.
Experimental Results
DeCEMBERT was evaluated on several downstream benchmarks, including MSRVTT and YouCook2, outperforming previous state-of-the-art (SOTA) models:
- Video Captioning: On MSRVTT, DeCEMBERT achieved a 45.2 BLEU@4 score, surpassing the previous best of 43.6.
- Text-to-Video Retrieval: On YouCook2, the model reached 17.0 R@1, a significant improvement over the previous pre-trained SOTA of 8.2.
- Video Question Answering: On MSRVTT-QA, it achieved 37.4% accuracy, outperforming the previous leading model (HCRN) by 1.8%.
Ablation studies confirmed that both the constrained attention loss and the inclusion of dense captions were vital; removing either component resulted in a consistent performance drop.
Conclusion and Future Work
DeCEMBERT demonstrates that the inherent noise in large-scale instructional datasets can be mitigated through better auxiliary inputs and flexible attention mechanisms. While the reliance on external dense captioning models increases computational overhead, the gains in cross-modal alignment are substantial. Future research may extend this approach to even more uncurated web video datasets where noise levels exceed those found in instructional content.
Summary updated