Annotation Cleaning for the MSR-Video to Text Dataset

Haoran Chen, Jianmin Li, Simone Frintrop, Xiaolin Hu

Introduction: The Challenge of Video Captioning

Video captioning—the automated generation of natural language descriptions for video clips—is a cornerstone of modern computer vision. To train effective models, researchers rely on large-scale datasets like MSR-Video to Text (MSR-VTT), which comprises 10,000 video clips and 200,000 human-written captions. However, the utility of these datasets is often hampered by the quality of human annotations.

The Problem: Noise in the Training Data

The authors identified a significant "garbage in, garbage out" problem within the MSR-VTT dataset. Despite being a standard benchmark, the human-provided captions are riddled with noise, including formatting issues (extraneous special characters), spelling and grammar errors (thousands of typos and run-on sentences), and redundancy (near-identical captions for the same clip).

Examples of noisy captions in the MSR-VTT dataset, highlighting typos and grammatical errors.

This noise complicates the learning process for AI models and makes evaluation metrics—which compare model output to these "ground truth" captions—fundamentally unreliable.

Methodology: A Systematic Cleaning Pipeline

To address these issues, the researchers developed a four-step "scrubbing" pipeline:

  1. Special Character Cleaning: Symbols were removed or preserved based on their contribution to information integrity.
  2. Advanced Spelling Correction: Utilizing the Hunspell engine, over 35,000 words were corrected. A custom dictionary of 784 modern terms (e.g., "Minecraft," "gameplay") was used to prevent over-correction of valid jargon.
  3. Duplicate Removal: Using Levenshtein distance and Longest Common Subsequence (LCS) metrics, the team identified and pruned near-duplicate captions.
  4. Sentence Segmentation: Multi-sentence captions were manually split into coherent, individual sentences.

The resulting "Cleaned" dataset contains 183,856 captions, ensuring that each clip maintains a high density of annotations (averaging 18.4 per clip) for robust training.

Key Results and Insights

The impact of data cleaning was evaluated using several models, including SCN, ECO, SAM-SS, and VNS-GRU.

Quantitative Improvements

The state-of-the-art VNS-GRU model demonstrated a significant performance boost. Its CIDEr score—a standard metric for caption quality—rose from 53.0 to 55.1 on the original test set simply by training on the cleaned data. This suggests that cleaner data allows models to learn more robust, generalizable features.

Human Evaluation

In a blind study involving 17 subjects, captions generated by models trained on cleaned data were consistently preferred (11.8 videos on average) over those trained on the original noisy data (10.1 videos). Participants rated the "cleaned" model's output as more semantically relevant and grammatically correct.

Limitations and Future Work

While the results are promising, the authors note that human evaluation was limited to a small group of non-native English speakers, which may affect sensitivity to subtle nuances. Additionally, while the cleaning methodology is generalizable, other datasets like MSVD or VATEX likely contain unique noise patterns requiring tailored rules.

Conclusion: Data Quality as the New Frontier

This research highlights that algorithmic innovation alone is insufficient if the underlying data is flawed. By systematically cleaning the MSR-VTT dataset, the authors proved that data quality is a primary bottleneck in video captioning. The cleaned dataset serves as a new, higher-quality benchmark for the community.

Summary updated

BibTeX
@article{chen2022annotation,
  author = {Haoran Chen and Jianmin Li and Simone Frintrop and Xiaolin Hu},
  title = {{Annotation Cleaning for the MSR-Video to Text Dataset}},
  journal = {Comput. Vis. Image Underst.},
  year = {2022},
}
Figure