TL;DR
This paper introduces FAST-RIR, a novel neural network that generates realistic room impulse responses (RIRs) for acoustic environments much faster than existing methods. By learning to predict RIRs directly from room parameters and reverberation time, FAST-RIR significantly speeds up the creation of synthetic training data for speech recognition systems, achieving comparable or better performance in ASR tasks.
What Problem Does This Paper Address?
Creating realistic synthetic training data is crucial for improving automatic speech recognition (ASR) systems, especially for far-field scenarios where speech is captured in challenging acoustic environments. This synthetic data is often generated by convolving clean speech with Room Impulse Responses (RIRs) that simulate various acoustic conditions. However, traditional RIR generation methods, like ray-based simulators, are computationally expensive and slow, making it difficult to generate the vast amounts of diverse data needed for robust ASR models. Existing neural network approaches, while faster, often lack configurability or don't explicitly model diffuse reflections, which are important for realistic sound. The paper addresses the need for a fast, configurable, and accurate RIR generator that can produce both specular and diffuse reflections, thereby enabling scalable on-the-fly generation of training data.
Methods
The core of the proposed solution is FAST-RIR, a neural network architecture based on a modified Conditional Generative Adversarial Network (CGAN). Unlike standard CGANs that use both random noise and conditional information, FAST-RIR's generator is conditioned solely on the acoustic environment parameters: rectangular room dimensions, listener and speaker positions, and reverberation time (T60). These parameters are encoded into a ten-dimensional vector.
The generator network learns to map this environmental embedding directly to a 1D raw waveform RIR. To achieve this, the authors adapted a 2D image generation network (StackGAN) by flattening its convolutions into 1D to process audio signals. They also modified the network's receptive field and replaced certain layers to better handle the characteristics of audio signals.
The training objective for FAST-RIR is a combination of three losses:
- Modified CGAN Loss: Encourages the generated RIRs to be indistinguishable from RIRs generated by a state-of-the-art diffuse acoustic simulator (DAS).
- Mean Squared Error (MSE) Loss: Directly compares the generated RIRs with those from DAS, ensuring amplitude accuracy.
- T60 Error Loss: Minimizes the difference between the reverberation time of the generated RIR and the target T60 input, ensuring temporal accuracy.
A discriminator network is trained simultaneously to distinguish between real (DAS-generated) and fake (FAST-RIR-generated) RIRs.
Datasets
- Training Data: The authors generated a custom dataset of 75,000 medium-sized room impulse responses using a Diffuse Acoustic Simulator (DAS) [7]. These RIRs cover a range of room dimensions (lengths 8-11m, widths 6-8m, heights 2.5-3.5m) and reverberation times (T60 between 0.2s and 0.7s).
- Evaluation Data:
- Speech Simulation: Clean speech from the LibriSpeech test-clean dataset [30] was convolved with RIRs generated by FAST-RIR, DAS, gpuRIR [13], and the image method [5] for evaluation using Google Speech API and Microsoft Speech API.
- ASR Experiments: The AMI corpus [31] was used for far-field ASR experiments. This involved reverberating close-talk microphone (IHM) data with RIRs from various generators to simulate distant microphone (SDM) conditions.
Key Insights and Ideas
- Direct Parameter-to-RIR Generation: The key innovation is learning a direct mapping from acoustic environment parameters to RIRs, bypassing the complex physics-based simulations for speed.
- Neural Network Adaptation for Audio: Adapting a 2D image generation architecture (StackGAN) to 1D audio signals by modifying convolutional layers and receptive fields is a practical approach for audio synthesis.
- Multi-Objective Training for RIRs: Combining CGAN loss, MSE, and T60 error provides a robust training strategy that ensures both perceptual realism and accurate temporal characteristics (T60).
- Importance of Diffuse Reflections: The paper emphasizes that modeling diffuse reflections is crucial for realistic RIRs, and FAST-RIR is designed to capture these, unlike some simpler methods.
- Scalability for ASR Training: The significant speedup achieved by FAST-RIR directly addresses the bottleneck in generating large-scale synthetic datasets for ASR, making on-the-fly generation feasible.
Key Results
- Speed:
- FAST-RIR (batch size 1 on CPU) is 400 times faster than the state-of-the-art diffuse acoustic simulator (DAS) on a CPU.
- FAST-RIR (batch size 64 on GPU) is 12 times faster than the existing GPU-based RIR generator (gpuRIR).
- Accuracy (T60): FAST-RIR generates RIRs with an average T60 error of 0.02s. The error is higher for very short T60 values (<0.25s), but cropping RIRs at T60 improves the overall error.
- ASR Performance:
- In simulated speech tests using Google Speech API and Microsoft Speech API, FAST-RIR-generated RIRs resulted in word error rates closer to the baseline DAS than those generated by gpuRIR or the image method.
- In far-field ASR experiments on the AMI corpus, FAST-RIR outperformed gpuRIR by up to 2.5% in absolute Word Error Rate. Its performance was comparable to DAS.
Limitations and Future Work
- T60 Accuracy for Short Reverberation Times: The paper notes that FAST-RIR exhibits higher T60 error for input T60 values below 0.25s. This is attributed to noisy output between the true T60 and 0.25s, which can be mitigated by cropping.
- Limited Room Dimensions in Training Data: The training dataset was generated for a specific range of room dimensions. The authors believe that training FAST-RIR on a larger range of room dimensions with more data will yield similar or improved performance.
- Future Work: The authors plan to evaluate FAST-RIR in multi-channel ASR and speech separation tasks. They also suggest that FAST-RIR can be trained using RIRs from any state-of-the-art accurate generator to improve its ASR performance while maintaining its speed.
Summary updated