Abstract
End-to-end (E2E) systems have achieved competitive results compared to conventional hybrid hidden Markov model (HMM)-deep neural network based automatic speech recognition (ASR) systems. Such E2E systems are attractive due to the lack of dependence on alignments between input acoustic and output grapheme or HMM state sequence during training. This paper explores the design of an ASR-free end-to-end system for text query-based keyword search (KWS) from speech trained with minimal supervision. Our E2E KWS system consists of three sub-systems: a recurrent neural network (RNN)-based acoustic auto-encoder, a character-level RNN language model using embeddings learned from a convolutional neural network, and a feed-forward neural network that predicts whether the query occurs in the acoustic utterance. This system performs respectably despite lacking a conventional ASR system and trains significantly faster.
Introduction
Traditional Keyword Search (KWS) typically relies on a two-step pipeline: an Automatic Speech Recognition (ASR) system transcribes audio into a searchable index, and a text query is matched against that index. However, building high-quality ASR models is computationally expensive and often fails when encountering Out-of-Vocabulary (OOV) words. This research presents a streamlined "ASR-free" approach that maps audio and text queries into a shared embedding space, bypassing transcription entirely. This method slashes training time from 72 hours to just 2 hours while maintaining robustness for unseen words.
System Architecture
The proposed architecture consists of three primary neural components designed to bridge the gap between acoustic signals and textual representations.
RNN Acoustic Auto-encoder
The first component is an unsupervised RNN-based acoustic auto-encoder. It learns to compress variable-length audio segments into a fixed-dimensional "acoustic embedding" ($w$). By training the model to reconstruct the input audio sequence ($x_t$) through this bottleneck representation, the system captures essential acoustic features without requiring manual transcripts.
CNN-RNN Character Language Model
To process text queries, the system employs a character-level model. It utilizes a character embedding matrix followed by a Convolutional Neural Network (CNN) and max-pooling to extract local features from character sequences ($c_n$). These features are then processed by an RNN to generate a robust "query embedding" ($q$). This approach allows the system to handle words based on their character structure rather than a fixed word-level vocabulary.
KWS Matching Network
The final component is a feed-forward neural network that acts as a matchmaker. It takes the acoustic and query embeddings as inputs and predicts a binary outcome: whether the specific keyword is present in the audio clip. This allows "sounds like" and "is spelled like" to be compared directly in a shared representation space.
Experimental Setup and Results
The system was evaluated using the IARPA Babel Georgian dataset, consisting of 40 hours of training audio and 15 hours of development audio. The evaluation focused on 2,000 In-Vocabulary (IV) and 400 Out-of-Vocabulary (OOV) keywords.
- Efficiency: The E2E system achieved a 36x speedup in training, requiring only 2 hours compared to the 72 hours needed for a state-of-the-art HMM-DNN hybrid system.
- OOV Performance: Operating on characters and raw acoustic features allowed the system to outperform traditional grapheme-based hybrid models on OOV words (57.7% vs 55.5% accuracy).
- General Accuracy: While the E2E system trailed full word-based ASR on common words (55.6% vs 76.7%), its performance on OOV queries demonstrates superior generalization capabilities for low-resource scenarios.
Conclusion and Future Work
This ASR-free E2E system provides a highly efficient alternative for keyword search, particularly in environments where compute resources or transcribed data are limited. While a performance gap remains for in-vocabulary words compared to full ASR systems, the OOV advantages and training speed are significant. Future research will focus on closing the accuracy gap and extending the system to provide precise temporal localization (timestamps) for detected keywords within the audio stream.
Summary updated