Introduction
The rise of live video streaming has popularized "video barrage" (or danmu), where comments scroll across the screen in real-time. Unlike traditional image captioning, these comments are highly interactive, responding both to the visual content and to the ongoing stream of human conversation. Researchers have developed LiveBot, a system designed to automatically generate these live comments by processing both dynamic visual content and textual context simultaneously.
The Challenge of Live Commenting
Traditional computer vision tasks like image captioning or video description are typically "one-way" processes: an AI observes a scene and describes it. Live commenting, however, represents a more complex AI challenge.
As shown in Figure 1, live commenting requires a model to integrate information from both the visual stream and the preceding language stream to produce a relevant response. These comments often function as a social "chit-chat," where viewers react to each other as much as to the video itself. This creates a multi-modal dependency that existing datasets and models were not equipped to handle.
The Live Comment Dataset
To address this gap, the researchers introduced a massive new Live Comment Dataset crawled from Bilibili, a popular Chinese video-sharing site.
- Scale: 2,361 high-quality videos and nearly 900,000 live comments.
- Diversity: Spans 19 categories, including pets, sports, food, and technology.
- Contextual Richness: Unlike standard video datasets, this collection pairs video frames with precise timestamps and the surrounding "barrage" of text.
Analysis of this data revealed a strong "Chit-Chat" factor: comments appearing within 1–3 seconds of each other show significantly higher semantic similarity, suggesting that social context is a primary driver of the conversation.
Methods: From RNNs to Transformers
The authors proposed two neural architectures to tackle this task:
- Fusional RNN Model: A hierarchical approach using a CNN-LSTM pipeline for video features and a two-level LSTM (word and sentence) for comments. An attention mechanism fuses these representations before decoding.
- Unified Transformer Model: This model treats video frames and previous comments as a unified linear sequence. By using a self-attention mechanism, it can directly capture dependencies between specific words and specific video frames without a rigid hierarchy.
Key Results and Insights
The Unified Transformer emerged as the superior model. In a retrieval-based evaluation—where the model ranks candidate comments based on log-likelihood—it achieved a Recall@1 of 18.01% and a Mean Reciprocal Rank (MRR) of 0.2753.
Human evaluations further validated these results. Judges rated the Unified Transformer's outputs (3.07/5.0 for relevance) as being remarkably close to actual human comments (3.31/5.0). Crucially, models utilizing both visual and textual modalities consistently outperformed single-modality baselines, proving that the synergy between sight and sound is essential for natural interaction.
Conclusion
LiveBot represents a significant step toward more interactive and socially aware AI. By moving beyond simple description into the realm of real-time social commentary, it opens new doors for AI-driven entertainment and community engagement. Future work may involve incorporating audio cues and optimizing for real-time deployment in high-traffic streaming environments.
The code and datasets are available at: https://github.com/lancopku/livebot
Summary updated