Measuring Acoustics with Collaborative Multiple Agents

Yinfeng Yu, Changan Chen, Lele Cao, Fangkai Yang, Fuchun Sun

Abstract

Mapping the acoustic properties of complex 3D environments, specifically the Room Impulse Response (RIR), is traditionally a labor-intensive process. This paper presents MACMA (Measuring Acoustics with Collaborative Multiple Agents), a multi-agent reinforcement learning framework designed to efficiently explore and map indoor acoustics. By employing two collaborative robots—one acting as a source and the other as a listener—the system learns to navigate intelligently to minimize sampling requirements while maximizing prediction accuracy. Experimental results across high-fidelity datasets demonstrate that MACMA significantly outperforms passive and heuristic-based sampling methods.

Introduction

To create immersive virtual audio or to enable robots to navigate effectively using auditory cues, we must understand the Room Impulse Response (RIR). The RIR characterizes how sound propagates from a specific source to a specific listener, accounting for the complex interplay of reflections off surfaces, absorption by materials, and diffraction around obstacles.

However, characterizing a room's acoustics suffers from the "curse of dimensionality." In a standard 5×5 meter room, obtaining a measurement every 0.5 meters results in over 58,000 possible source-listener-orientation pairs. Manually measuring these points is unfeasible, and exhaustive simulation is computationally prohibitive. Furthermore, existing AI models often fail to generalize to novel environments or neglect the physical movement costs associated with data collection. MACMA addresses these challenges by training a pair of robots to move intelligently through unseen spaces to "map" acoustics with minimal samples.

Methodology

The MACMA Framework

The system utilizes two agents, Robot 0 and Robot 1, operating within a 3D environment. The operational workflow is cyclical: at each time step, Robot 0 emits an acoustic signal while Robot 1 receives it. The roles are then swapped to maximize data gathering from each position. Following the exchange, both robots move to new coordinates based on a learned policy.

Multi-Modal Sensing and Architecture

Each agent is equipped with RGB-D (color and depth) cameras and tracks its own 3D position and orientation (azimuth). The framework employs a centralized "Critic" to evaluate actions during the training phase, while each robot utilizes its own "Actor" (policy) for decentralized execution in the field. To maintain spatial awareness and history, a Gated Recurrent Unit (GRU) is integrated into the architecture, allowing the agents to remember previously visited locations.

Collaborative Reward Structure

A critical innovation of MACMA is its "collaborative reward" mechanism. Rather than simply rewarding movement, the authors utilize the convex hull of the robots' trajectories. Agents are incentivized to increase the area and perimeter covered by their joint paths. This geometric reward forces the robots to explore both the centers and the peripheral boundaries of rooms, ensuring a comprehensive acoustic sampling of the space.

RIR Generation

A separate neural network, the RIR Generator ($D_r$), processes the robots' current and historical observations. This network is capable of predicting the RIR for any arbitrary point in the room, effectively interpolating and extrapolating acoustic data for locations the robots have not yet physically visited.

Experimental Setup

The researchers evaluated MACMA using two major 3D indoor datasets integrated with the SoundSpaces acoustic simulation platform:

  1. Replica: 18 detailed scans of offices, hotels, and apartments.
  2. Matterport3D: 85 large-scale indoor environments including multi-story homes.

These datasets provide ground-truth RIRs, allowing for precise measurement of prediction accuracy and exploration efficiency.

Key Insights and Results

Active vs. Passive Sampling

Unlike passive models that rely on pre-existing datasets, MACMA is an "active" sampler. The agents learn which locations are most informative, significantly reducing the number of physical samples required to build an accurate acoustic map.

Performance Metrics

MACMA was compared against several baselines, including Random movement, Curiosity-based exploration, and Occupancy-based exploration:

  • Weighted Coverage Rate (WCR): On the Replica dataset, MACMA achieved a score of 0.6977, nearly doubling the performance of the Random baseline (0.3103) and significantly outperforming the Curiosity-based model (0.4327).
  • Efficiency: In complex multi-room layouts, MACMA was the only method capable of traversing all rooms within the allocated time budget.
  • Prediction Accuracy: MACMA consistently achieved the lowest Prediction Error (PE) across both datasets, validating that its exploration strategy is both wide-reaching and strategically sound.

Generalization and Geometry

Ablation studies revealed that 3D position data is the most critical factor for RIR prediction accuracy. Furthermore, the model demonstrated impressive generalization, successfully mapping entirely new architectural layouts without additional training.

Conclusion and Future Work

MACMA represents a significant advancement in autonomous acoustic mapping. However, several avenues for future research remain. The current study was conducted in high-fidelity simulation; transitioning to real-world hardware will require addressing sensor noise and battery constraints. Additionally, expanding the framework from two agents to a "swarm" of microphones could further accelerate mapping. Finally, integrating semantic scene understanding—allowing robots to distinguish between reflective glass and absorptive curtains—could further refine the precision of acoustic predictions.

Summary updated

BibTeX
@inproceedings{yu2023measuring,
  author = {Yinfeng Yu and Changan Chen and Lele Cao and Fangkai Yang and Fuchun Sun},
  title = {{Measuring Acoustics with Collaborative Multiple Agents}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/38},
}
Figure