MART: Memory-Augmented Recurrent Transformer for Coherent Video Paragraph Captioning

Jie Lei, Liwei Wang, Yelong Shen, Dong Yu, Tamara L. Berg, Mohit Bansal

Introduction

While AI has become proficient at describing single short video clips, generating a full paragraph for a longer video—known as video paragraph captioning—remains a significant challenge. Standard Transformer models often suffer from context fragmentation, where each video segment is processed independently. This lack of continuity leads to repetitive descriptions and a failure to maintain coreference (e.g., repeating "The man" instead of using "he").

To address this, the Memory-Augmented Recurrent Transformer (MART) introduces a recurrent memory module designed to maintain a global narrative state across multiple video segments, ensuring that generated paragraphs flow naturally.

The MART Architecture

MART departs from standard Transformer designs in two fundamental ways to support long-range coherence:

  1. Unified Encoder-Decoder: Instead of separate stacks, MART utilizes shared Transformer layers. This design, inspired by large-scale language models, helps prevent overfitting and reduces memory overhead during training.
  2. The Memory Module: This core innovation aggregates information from the current segment and the previous memory state using Multi-Head Attention. A gated update mechanism (similar to a GRU) then decides which information to persist or discard. When generating the next sentence, the model "cross-attends" to this condensed memory, making it aware of both visual and linguistic history.
The MART architecture featuring the Memory Updater module which summarizes previous video segments and sentence history into a persistent memory state.

Unlike models like Transformer-XL, which store all previous hidden states, MART’s memory is a highly summarized representation of the most important semantic cues, effectively filtering out noise from previous segments.

Experimental Evaluation

The model was evaluated on two major benchmarks: ActivityNet Captions, which contains 20,000 diverse human activity videos, and YouCookII, a procedural dataset where step-by-step coherence is vital.

Key Results

MART demonstrated superior performance across both automatic metrics and human evaluations:

  • Reduced Repetition: On the R@4 metric (measuring 4-gram repetition), MART significantly outperformed vanilla Transformers and Transformer-XL. On YouCookII, MART achieved a repetition score of 4.39, compared to 7.83 for the vanilla Transformer (lower is better).
  • Higher Accuracy: MART achieved state-of-the-art or competitive results on standard translation metrics like CIDEr and METEOR, proving it generates more accurate descriptions alongside better paragraph flow.
  • Human Preference: Human judges consistently rated MART as more coherent and relevant than baseline models in side-by-side comparisons.
Performance comparison on ActivityNet Captions and YouCookII datasets. MART shows significant reduction in repetition (R@4) while maintaining high accuracy across CIDEr (C) and METEOR (M) metrics.

Discussion and Future Work

The authors found that recurrence is most effective at the segment/sentence level rather than the word level, allowing the model to maintain a high-level "story arc." By forcing the model to summarize its history into a fixed-size state, MART effectively filters out irrelevant details that might otherwise confuse the generation process.

Despite these gains, MART still occasionally faces "content errors," such as misidentifying specific object types or gender. Future work may explore deeper memory structures or hierarchical memory to further improve performance for exceptionally long-form video content.

Summary updated

BibTeX
@inproceedings{lei2020mart,
  author = {Jie Lei and Liwei Wang and Yelong Shen and Dong Yu and Tamara L. Berg and Mohit Bansal},
  title = {{MART: Memory-Augmented Recurrent Transformer for Coherent Video Paragraph Captioning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.233},
}
Figure