Introduction
Visual Question Answering (VQA) has traditionally relied on text-based inputs, assuming users provide perfectly transcribed questions. However, real-world applications—such as assistive technologies for the visually impaired or hands-free industrial and medical interfaces—necessitate voice-based interaction. This research investigates the transition from text-based VQA to spoken queries, addressing the inherent challenges of speech data, including background noise, varying accents, and high dimensionality.
Methodology
The study evaluates two primary architectural paradigms for speech-based VQA: a modular pipeline and an end-to-end deep learning model.
TextMod (The Pipeline)
The TextMod approach utilizes a pre-trained Automatic Speech Recognition (ASR) engine (Kaldi) to transcribe spoken questions into text. This text is then processed by a standard VQA architecture: an embedding layer followed by a Long Short-Term Memory (LSTM) network. Visual features are extracted using a VGG19 network, and the linguistic and visual representations are fused via element-wise multiplication before final answer prediction.
SpeechMod (End-to-End)
SpeechMod bypasses the transcription step by processing raw audio waveforms directly. To handle the high dimensionality of audio signals (e.g., over 100,000 elements for a 6.7-second clip), the model employs a series of 1D Convolutional Layers to extract a compact sequence of features. These features are then fed into an LSTM. Like TextMod, SpeechMod merges its auditory features with visual features for the final output.
Experimental Setup
The researchers developed SpeechVQA, a dataset derived from VQA 1.0. Synthetic speech was generated for the questions using the Amazon Polly API, totaling approximately 200 hours of audio. To test robustness, environmental noise from the Urban8K dataset (e.g., sirens, street music) was injected at ten different levels. Additionally, a validation set of 1,000 human-recorded questions was used to assess generalization from synthetic to natural speech.
Results and Discussion
Performance and Robustness
In clean audio conditions (0% noise), TextMod achieved an accuracy of 54.03%, outperforming SpeechMod's 46.99%. The ASR component in TextMod acts as a "normalizer," mapping diverse acoustic variations of a word into a single text token, which simplifies the downstream VQA task.
Surprisingly, both models demonstrated significant resilience to environmental noise. Even at 20% noise levels—where the ASR word error rate increased to 17.7%—performance degradation remained minimal.
The Human Speech Gap
A critical finding was the performance drop when transitioning from synthetic to human speech. SpeechMod’s accuracy plummeted to 21.46% on human recordings, while TextMod maintained a relatively high 41.66%. This suggests that the end-to-end model, trained on a single synthetic voice, struggled with the "domain shift" inherent in the nuances of human vocal characteristics.
Conclusion
While pipelined approaches currently lead in accuracy for languages with robust ASR tools, end-to-end models like SpeechMod offer a vital alternative for "minor" languages lacking extensive transcription data. Future work should focus on improving generalization through diverse data augmentation, multi-task learning (e.g., simultaneous transcription and answering), and advanced attention mechanisms to better align audio-visual features.
Summary updated