[Paper Review] Neural Language Modeling with Visual Features
This paper proposes a multimodal recurrent neural language model that integrates temporal visual features from videos into text-based language modeling. By using middle fusion of visual and textual embeddings, the model achieves a 28% relative perplexity reduction on YouCook2 and 20% on Something-Something-v2, outperforming text-only baselines and prior work by a significant margin, especially on entities visible in the video.
Multimodal language models attempt to incorporate non-linguistic features for the language modeling task. In this work, we extend a standard recurrent neural network (RNN) language model with features derived from videos. We train our models on data that is two orders-of-magnitude bigger than datasets used in prior work. We perform a thorough exploration of model architectures for combining visual and text features. Our experiments on two corpora (YouCookII and 20bn-something-something-v2) show that the best performing architecture consists of middle fusion of visual and text features, yielding over 25% relative improvement in perplexity. We report analysis that provides insights into why our multimodal language model improves upon a standard RNN language model.
Motivation & Objective
- To investigate whether incorporating temporal visual context improves neural language modeling performance.
- To explore architectural designs for fusing visual and textual features in a recurrent language model.
- To train and evaluate on a dataset two orders of magnitude larger than prior multimodal language modeling work.
- To determine whether visual features are meaningfully utilized in prediction, especially for video-anchored entities.
- To analyze the contribution of visual context to perplexity reduction and model robustness.
Proposed method
- The model uses a standard RNNLM with input features formed by concatenating word embeddings and video frame embeddings at each time step.
- Three fusion strategies are evaluated: early fusion (concatenation of word and visual embeddings), middle fusion (fusion within the RNN hidden layer), and late fusion (separate processing followed by late concatenation).
- A linear combination variant learns weighted sums of word and visual embeddings using trainable matrices $ K^w $ and $ K^v $.
- A learned weighting mechanism applies a sigmoid gate to modulate the visual embedding based on the current word context.
- The model is trained on two large-scale datasets: YouCook2 (2,000 cooking videos with transcriptions) and Something-Something-v2 (220K short action videos with template-based descriptions).
- Perplexity is computed on held-out validation sets, and ablation studies assess the impact of visual features by replacing them with zero vectors.
Experimental results
Research questions
- RQ1Does incorporating temporal visual features from videos lead to measurable improvements in language modeling perplexity?
- RQ2Which architecture—early, middle, or late fusion—best integrates visual and textual features for improved language modeling?
- RQ3To what extent do visual features contribute to predicting words that refer to entities present in the video?
- RQ4How robust is the multimodal model when visual features are absent or when there is a domain shift between training and test data?
- RQ5Can the model effectively learn to gate or weight visual input based on the current word context?
Key findings
- Middle fusion of visual and textual features yields the strongest performance, reducing perplexity by 28% relative to the text-only baseline on the YouCook2 dataset.
- Late fusion improves perplexity by 12% relative on YouCook2 and 5% on Something-Something-v2, indicating moderate gains from late integration.
- Early fusion underperforms the text-only baseline, suggesting that early concatenation disrupts effective language modeling.
- The linear combination and learned weighting variants improve performance on YouCook2 by 6% and 14% relative, respectively, but show limited gains on Something-Something-v2.
- Blinding the model to visual features results in performance comparable to a text-only model, confirming that visual features are actively used and not ignored.
- The largest improvements in perplexity occur on word-pieces corresponding to entities that appear in the video, with 88% of sentences showing better scores from the multimodal model.
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.