Abstract
Automatic transcriptions of consumer-generated multi-media content such as "Youtube" videos still exhibit high word error rates. Such data typically occupies a very broad domain, has been recorded in challenging conditions, with cheap hardware and a focus on the visual modality, and may have been post-processed or edited. In this paper, we extend our earlier work on adapting the acoustic model of a DNN-based speech recognition system to an RNN language model and show how both can be adapted to the objects and scenes that can be automatically detected in the video. We are working on a corpus of "how-to" videos from the web, and the idea is that an object that can be seen ("car"), or a scene that is being detected ("kitchen") can be used to condition both models on the "context" of the recording, thereby reducing perplexity and improving transcription. We achieve good improvements in both cases and compare and analyze the respective reductions in word error rate. We expect that our results can be used for any type of speech processing in which "context" information is available, for example in robotics, man-machine interaction, or when indexing large audio-visual archives, and should ultimately help to bring together the "video-to-text" and "speech-to-text" communities.
Introduction
Automatic Speech Recognition (ASR) has achieved significant milestones, yet it continues to struggle with "in-the-wild" consumer-generated content, such as instructional "how-to" videos on YouTube. These recordings often suffer from poor audio quality, environmental noise, and unpredictable recording conditions. While traditional audio-visual ASR has focused on "lip-reading" features, these are frequently unavailable or unreliable in real-world web videos due to camera angles, motion blur, or the speaker being off-screen.
This research proposes a robust alternative: context-aware ASR. Instead of focusing on the speaker's mouth, the system leverages the global visual environment—identifying objects and scenes—to provide semantic clues that help the model predict the audio signal and likely vocabulary more accurately.
Methodology
The proposed framework adapts both the Acoustic Model (AM) and the Language Model (LM) using visual context vectors extracted from video frames.
Visual Feature Extraction
The system utilizes two deep Convolutional Neural Networks (CNNs) based on the AlexNet architecture to extract high-level semantic features:
- OBJECT-CNN: Pre-trained on ImageNet to identify 1,000 distinct object classes.
- PLACE-CNN: Pre-trained on the MIT Places dataset to recognize 205 scene categories (e.g., "garage," "kitchen"). To maintain simplicity and avoid complex synchronization, features are extracted from a single representative frame within each spoken utterance.
Model Adaptation
- Acoustic Model (AM): Using a "Video Adaptive Training" (VAT) approach, a secondary adaptation network processes the visual features to predict a linear shift for the main ASR network's inputs. This effectively "normalizes" the audio based on environmental context, such as adjusting for outdoor wind noise.
- Language Model (LM): A bidirectional LSTM language model is conditioned on the visual features. These features act as "topic" information, biasing the model toward vocabulary relevant to the detected scene (e.g., increasing the probability of words like "whisk" when a "kitchen" is detected).
Experimental Results
The system was evaluated on a 90-hour corpus of "how-to" videos. The integration of visual features yielded measurable improvements in both acoustic and language modeling.
Acoustic Performance
The baseline ASR system achieved a Word Error Rate (WER) of 23.4%. By incorporating combined object and place features, the WER was reduced to 22.3%. The best performance was achieved by combining visual features with speaker-specific i-vectors, resulting in a WER of 21.5%.
Language Model Performance
Conditioning the LSTM language model on visual context significantly reduced perplexity, a measure of the model's uncertainty in predicting the next word. The perplexity dropped from a baseline of 89 to 74 when visual features were included.
Conclusion
This work demonstrates that global visual context is a powerful and accessible signal for improving ASR in challenging, unconstrained video environments. Object recognition proved particularly effective for language modeling in instructional videos, as specific tools are strong indicators of the conversation topic. Future research will explore higher temporal granularity by using multiple frames and moving toward fully end-to-end video-to-text systems.
Summary updated