[Paper Review] Text with Knowledge Graph Augmented Transformer for Video Captioning
This paper proposes TextKG, a two-stream transformer for video captioning that integrates external knowledge from pre-built knowledge graphs with multi-modal video features (visual, speech, textual) to address the long-tail word challenge. By leveraging cross-attention between an external stream (knowledge-aware) and an internal stream (multi-modal feature extractor), TextKG improves caption quality, achieving a 18.7% absolute CIDEr gain over state-of-the-art on YouCookII.
Video captioning aims to describe the content of videos using natural language. Although significant progress has been made, there is still much room to improve the performance for real-world applications, mainly due to the long-tail words challenge. In this paper, we propose a text with knowledge graph augmented transformer (TextKG) for video captioning. Notably, TextKG is a two-stream transformer, formed by the external stream and internal stream. The external stream is designed to absorb additional knowledge, which models the interactions between the additional knowledge, e.g., pre-built knowledge graph, and the built-in information of videos, e.g., the salient object regions, speech transcripts, and video captions, to mitigate the long-tail words challenge. Meanwhile, the internal stream is designed to exploit the multi-modality information in videos (e.g., the appearance of video frames, speech transcripts, and video captions) to ensure the quality of caption results. In addition, the cross attention mechanism is also used in between the two streams for sharing information. In this way, the two streams can help each other for more accurate results. Extensive experiments conducted on four challenging video captioning datasets, i.e., YouCookII, ActivityNet Captions, MSRVTT, and MSVD, demonstrate that the proposed method performs favorably against the state-of-the-art methods. Specifically, the proposed TextKG method outperforms the best published results by improving 18.7% absolute CIDEr scores on the YouCookII dataset.
Motivation & Objective
- To address the long-tail word challenge in video captioning, where rare or unseen objects, properties, or actions are poorly predicted.
- To improve caption quality by integrating external knowledge from pre-built knowledge graphs into the captioning process.
- To design a dual-stream transformer architecture that synergistically combines multi-modal video features and knowledge graph information.
- To evaluate the method on diverse, challenging video captioning benchmarks to demonstrate robustness and state-of-the-art performance.
Proposed method
- TextKG employs a two-stream transformer: an internal stream processes multi-modal inputs (video frames, speech transcripts, captions), while an external stream models interactions between detected salient objects and knowledge graph entities.
- Knowledge graph entities are retrieved based on detected salient objects in video frames, and their features are fused with visual, speech, and caption features for the external stream.
- Cross-attention mechanisms are applied between the internal and external streams to enable bidirectional information sharing and improve feature representation.
- A knowledge selection mechanism filters noisy or irrelevant knowledge, improving model robustness and performance.
- The model is trained end-to-end on four benchmark datasets: YouCookII, ActivityNet Captions, MSR-VTT, and MSVD, using standard captioning loss functions.
- The method uses both general and specific knowledge graphs—where the general graph provides broad semantic relations and the specific graph offers detailed entity-specific facts.
Experimental results
Research questions
- RQ1Can integrating external knowledge from knowledge graphs significantly reduce the long-tail word challenge in video captioning?
- RQ2How does the fusion of multi-modal video features (visual, speech, textual) with knowledge graph information improve caption quality?
- RQ3What is the relative contribution of speech transcripts versus knowledge graph information when predicting rare or unseen phrases?
- RQ4How does the quality of speech transcripts affect the performance of knowledge-augmented video captioning models?
- RQ5Does a knowledge selection mechanism improve model robustness by filtering out noisy or irrelevant knowledge?
Key findings
- TextKG achieves a 18.7% absolute improvement in CIDEr score over the best published result on the YouCookII dataset in paragraph-level evaluation.
- The inclusion of knowledge graph information boosts performance by 4.6 CIDEr points (from 71.3 to 75.9) when combined with video and region features.
- Even without speech transcripts, knowledge graph integration improves performance by 3.9 CIDEr points (from 45.9 to 49.8), demonstrating its critical role in mitigating long-tail issues.
- The knowledge selection mechanism is essential—removing it causes a 3.9 CIDEr point drop, indicating that noisy knowledge harms performance.
- The method using both general and specific knowledge graphs outperforms baselines across all transcript quality levels, with the general graph providing greater robustness to transcript noise.
- Qualitative results show that TextKG successfully generates long-tail phrases like 'sesame oil' and 'black pepper' by leveraging knowledge graph relations, which standard models miss.
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.