Agents that Listen: High-Throughput Reinforcement Learning with Multiple Sensory Systems

Shashank Hegde, Anssi Kanervisto, Aleksei Petrenko

Introduction

In natural environments, biological agents rely on a sophisticated integration of multiple sensory modalities to navigate and survive. While vision provides high-resolution spatial information, audition offers critical cues about events occurring outside the immediate field of view or in low-visibility conditions. Despite this, the field of Deep Reinforcement Learning (RL) has remained predominantly focused on visual or structured data. This bias is largely due to the computational overhead associated with traditional audio rendering, which typically relies on hardware-bound processes that cannot scale to the massive throughput required for modern RL training.

This paper presents an augmented version of the ViZDoom simulator that bridges this gap, enabling agents to process high-fidelity stereo audio at scale. By decoupling audio rendering from hardware, the researchers achieved training speeds of 120,000 frames per second (FPS), demonstrating that multi-sensory agents significantly outperform vision-only counterparts in complex, competitive environments.

Overcoming the Infrastructure Bottleneck

The primary obstacle to "auditory RL" has been the lack of high-throughput environments. Standard game engines render audio via sound cards in real-time. For RL agents, which often require millions of steps to converge, real-time simulation is prohibitively slow.

To solve this, the researchers utilized OpenAL Soft with a "loopback extension." This technical innovation allows the ViZDoom engine to render audio entirely in software on the CPU, bypassing the physical sound card. This enables "lock-step" simulation, where the environment waits for the agent's action and the agent waits for the environment's next state (including audio) as fast as the processor allows. This approach maintains a throughput of 120,000 FPS—only a 20% reduction compared to vision-only simulation—making large-scale multi-sensory experiments computationally feasible.

Architectural Framework

The study explored how best to represent raw audio for an RL agent. Three distinct neural network architectures were evaluated:

  1. 1D Convolutional Neural Network (1D Conv): A baseline that downsamples raw audio through successive convolutional layers.
  2. Fast Fourier Transform (FFT): A frequency-domain approach that converts audio into a log-magnitude representation followed by 1D max-pooling.
  3. Mel-spectrogram: A sophisticated encoder common in speech processing that mimics the human ear's sensitivity to lower frequencies.

The resulting audio features are concatenated with visual features extracted by a standard Convolutional Neural Network (CNN). This multimodal vector is then fed into a Gated Recurrent Unit (GRU), providing the agent with a temporal memory of both visual and auditory observations.

Experimental Scenarios

The agents were tested across four scenarios designed to evaluate different aspects of auditory processing:

  • Music Recognition: Navigating to a specific pillar playing a target track amidst distracting audio.
  • Sound Instruction: Following repeated spoken English commands (e.g., "Go to the Green Pillar").
  • Sound Instruction Once: A memory-intensive task where the command is given only at the start of the episode.
  • Duel: A competitive 1v1 self-play matchup in a full game environment featuring complex spatial audio cues like footsteps and gunfire.

Key Findings

The Efficiency of FFT

Contrary to expectations that the human-centric Mel-spectrogram would perform best, the FFT encoder emerged as the "sweet spot." It provided a robust and simple representation that allowed agents to navigate effectively without the computational complexity of more specialized speech-processing models.

Competitive Advantage in Duels

In the 1v1 Duel scenario, the advantage of "hearing" was undeniable. Agents with audio access consistently outperformed vision-only agents, achieving a 53% win rate compared to the 31% win rate of their "deaf" counterparts. Ablation studies confirmed this reliance: when the "Sound" agent was silenced during evaluation, its performance collapsed, winning only 17 matches against 74 losses when facing its hearing self.

Emergent Stealth and Spatial Awareness

The agents developed sophisticated behaviors that leveraged their auditory input. In competitive play, agents learned to use quieter weaponry, suggesting an emergent understanding of "stealth" to avoid revealing their position. Furthermore, agents demonstrated the ability to use stereo sound to localize enemies behind walls or outside their field of vision, often pre-emptively turning toward the source of a sound before the enemy became visible.

Conclusion and Future Directions

This research demonstrates that integrating audio into RL agents is not only computationally viable but also provides a significant performance boost in complex environments. By moving audio rendering to the CPU, the researchers have opened a new path for multi-sensory AI.

Future work will focus on increasing the diversity of the sound libraries to prevent overfitting and exploring more complex, multi-step linguistic instructions. Additionally, further investigation into the precision of 3D sound localization in reverberant or echo-heavy environments will help refine how agents interpret complex acoustic landscapes.

Summary updated

BibTeX
@inproceedings{hegde2021agents,
  author = {Shashank Hegde and Anssi Kanervisto and Aleksei Petrenko},
  title = {{Agents that Listen: High-Throughput Reinforcement Learning with Multiple Sensory Systems}},
  booktitle = {CoG},
  year = {2021},
  doi = {10.1109/cog52621.2021.9619096},
}
Figure