[Paper Review] MART: Memory-Augmented Recurrent Transformer for Coherent Video Paragraph Captioning
This paper proposes MART, a Memory-Augmented Recurrent Transformer for coherent video paragraph captioning, which enhances the transformer decoder with a memory module that summarizes video segments and prior sentence history to improve inter-sentence coherence and reduce repetition. Experiments on ActivityNet Captions and YouCookII show MART outperforms both LSTM-based and vanilla transformer baselines in coherence and fluency while maintaining visual relevance.
Generating multi-sentence descriptions for videos is one of the most challenging captioning tasks due to its high requirements for not only visual relevance but also discourse-based coherence across the sentences in the paragraph. Towards this goal, we propose a new approach called Memory-Augmented Recurrent Transformer (MART), which uses a memory module to augment the transformer architecture. The memory module generates a highly summarized memory state from the video segments and the sentence history so as to help better prediction of the next sentence (w.r.t. coreference and repetition aspects), thus encouraging coherent paragraph generation. Extensive experiments, human evaluations, and qualitative analyses on two popular datasets ActivityNet Captions and YouCookII show that MART generates more coherent and less repetitive paragraph captions than baseline methods, while maintaining relevance to the input video events. All code is available open-source at: https://github.com/jayleicn/recurrent-transformer
Motivation & Objective
- To address the challenge of generating coherent, non-repetitive multi-sentence video descriptions that maintain visual relevance.
- To overcome context fragmentation in standard transformers, which decode sentences in isolation without awareness of prior context.
- To design a recurrent transformer architecture that models long-range dependencies across video segments and generated sentences.
- To improve discourse-level coherence through a memory module that summarizes history and guides next-sentence generation.
- To achieve better performance than both LSTM-based and standard transformer models in paragraph-level video captioning.
Proposed method
- MART uses a unified encoder-decoder transformer architecture with shared layers to reduce overfitting and memory usage.
- A memory module is introduced to store and update a highly summarized state of video segments and previously generated sentences.
- At each decoding step, the current video representation is enhanced via cross-attention with the previous memory state, enabling context-aware generation.
- The memory state is updated using both the current input and the prior memory, enabling recurrence across sentences.
- The model is trained end-to-end with a cross-entropy loss for autoregressive next-token prediction.
- A variant of Transformer-XL is adapted for video captioning as a strong baseline to compare against.
Experimental results
Research questions
- RQ1Can a memory-augmented recurrent transformer design improve discourse-level coherence in video paragraph captioning?
- RQ2Does incorporating a summarized history via an external memory module reduce sentence-level repetition compared to standard transformers?
- RQ3How does MART compare to both LSTM-based and standard transformer models in terms of coherence and relevance?
- RQ4Can the memory module be used to retrieve semantically similar video segments, indicating it captures meaningful representations?
- RQ5Does the recurrence mechanism in MART effectively model long-range dependencies across multiple video segments and sentences?
Key findings
- MART significantly outperforms the vanilla transformer model in both relevance and coherence, with 22.87% and 24.33% scores on the C metric, respectively, on the ActivityNet Captions validation split.
- Human evaluation shows MART is substantially preferred over the vanilla transformer in coherence and relevance, with 54 workers participating in pairwise comparisons.
- Compared to Transformer-XL, MART achieves similar relevance performance but significantly better coherence, with a 5.18% R@4 score on the C metric, indicating lower repetition.
- Abllation studies confirm that the recurrence mechanism is essential: removing it reduces the C score from 23.42 to 22.78, showing its role in coherence.
- Memory state retrieval experiments show that the memory module captures semantically meaningful representations, as nearest neighbors in memory space are often semantically related to the query video.
- The model with 2 hidden layers and memory length 1 achieves the best balance between performance and computational cost, with a C score of 23.42 on the validation split.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.