PhaseCoder: Microphone Geometry-Agnostic Spatial Audio Understanding for Multimodal LLMs
Artem Dementyev, Wazeer Zulfikar, Sinan Hersek, Pascal Getreuer, Anurag Kumar, Vivek Kumar
TL;DR
PhaseCoder tackles the lack of geometry-agnostic spatial audio understanding in multimodal LLMs by introducing a transformer-based encoder that accepts raw multichannel audio plus microphone coordinates to produce spatial tokens. It achieves state-of-the-art microphone-invariant localization on LOCATA, and when integrated with Gemma 3n via a projection layer and LoRA-based fine-tuning, enables the LLM to perform spatial reasoning and targeted transcription. The work demonstrates that spatial embeddings can be effectively fused into LLMs, enabling spatially aware AI across arbitrary arrays and real-world noisy environments. This approach broadens the deployment of spatially aware AI agents for devices with varying microphone geometries.
Abstract
Current multimodal LLMs process audio as a mono stream, ignoring the rich spatial information essential for embodied AI. Existing spatial audio models, conversely, are constrained to fixed microphone geometries, preventing deployment across diverse devices. We present PhaseCoder, a transformer-only spatial audio encoder that is agnostic to microphone geometry. PhaseCoder takes raw multichannel audio and microphone coordinates as inputs to perform localization and produces robust spatial embeddings. We demonstrate that Gemma 3n LLM can be fine-tuned to reason over "Spatial Audio Tokens" produced by PhaseCoder. We show our encoder achieves state-of-the-art results on microphone-invariant localization benchmarks and, for the first time, enables an LLM to perform complex spatial reasoning and targeted transcription tasks from an arbitrary microphone array.
