Sound source localization is the task of estimating where a sound originates, expressed either as a direction of arrival, as a position in three-dimensional space, or as the region of a video frame that contains the object producing the sound. In multimodal AI, the term most often refers to audio-visual sound source localization, where a model links what it hears to what it sees and highlights the speaking person, the barking dog or the running engine on screen.
The task sits between classical array signal processing and modern audio-visual learning. Microphone-array methods compute geometry from tiny time differences between channels, while learned audio-visual models discover correspondences between audio and pixels, frequently without any manual labels. Both families serve robotics, video analysis, hearing assistance, conferencing and augmented reality.
How sound source localization works
Sound source localization works by extracting spatial or semantic cues from audio and mapping them to a location. With several microphones, the key cue is the time difference of arrival (TDOA): a wavefront reaches each microphone at a slightly different moment, and the delay pattern constrains the direction. Level differences and spectral filtering by the head or the device body add further cues.
In the audio-visual setting, the model receives a video frame and an audio clip, encodes both with separate networks, and computes a similarity map between the audio embedding and every spatial position of the visual feature map. Positions with high similarity are taken as the likely source. Training typically relies on self-supervised contrastive learning: a clip and its own frame form a positive pair, while frames from other videos serve as negatives.
The table below summarizes the main cues and what each one can recover.
| Cue | Input required | What it recovers | Main weakness |
|---|---|---|---|
| Time difference of arrival | Two or more microphones | Azimuth, sometimes elevation | Reverberation and noise |
| Interaural level difference | Two ears or a binaural pair | Left-right direction | Weak at low frequencies |
| Spectral cues | Head-related transfer function | Elevation, front-back | Individual and device specific |
| Audio-visual correspondence | Mono audio and video frame | Pixel region of the source | Needs a visible source |
| Learned spatial features | Multichannel audio | Direction of arrival, distance | Requires labeled training data |
Classical and learned approaches
Classical localization relies on physical models of wave propagation. The generalized cross-correlation with phase transform (GCC-PHAT) estimates pairwise delays, steered response power (SRP-PHAT) scans candidate directions, and subspace methods such as MUSIC separate signal and noise components of the spatial covariance matrix. These methods need no training data but assume a known array geometry.
Learned methods replace parts of this pipeline with neural networks. Deep direction-of-arrival estimators take multichannel spectrograms and predict angles, often jointly with sound event detection, a combination known as sound event localization and detection (SELD). Audio-visual models go further by grounding sounds in images, which connects the task to visual grounding and audio-visual learning in the wider multimodal field.
| Family | Typical output | Training data | Best suited to |
|---|---|---|---|
| Beamforming and SRP | Direction map | None | Fixed arrays, robots |
| Subspace methods | Direction of several sources | None | Narrowband, high resolution |
| Neural DOA and SELD | Angles with event classes | Labeled spatial audio | Smart speakers, surveillance |
| Audio-visual models | Heatmap over the frame | Unlabeled video | Video analysis, editing |
| Hybrid systems | 3D position with identity | Mixed | Augmented reality, robotics |
Audio-visual localization in multimodal models
Audio-visual localization treats sound as a query over the image. A vision encoder produces a grid of features, an audio encoder produces one vector per clip, and their dot products form a localization heatmap. Because no bounding boxes are needed during training, models can learn from millions of ordinary videos, which makes the approach attractive for multimodal pretraining.
Researchers have added hard negative mining, attention over time, and optical flow to separate moving sources from static background. Newer systems pair localization with sound source separation, so the model both isolates the audio of each object and points to it. Large audio language models and multimodal large language models can also answer questions such as which instrument plays the melody, which requires implicit localization.
A common misconception is that a bright heatmap proves the model understands the scene. In practice, many models learn a center bias or simply highlight salient objects whether or not they make sound, so evaluation must include silent or off-screen sources.
Evaluation metrics and benchmarks
Evaluation depends on the output type. Direction estimators are scored by angular error in degrees, while audio-visual heatmaps are compared with annotated boxes or masks. The following table lists the most widely used measures.
| Metric | Applies to | What it measures | Typical reading |
|---|---|---|---|
| Angular error | Direction of arrival | Mean deviation in degrees | Lower is better, often 5-25 degrees |
| Localization recall | SELD systems | Share of events found within a threshold | Higher is better |
| cIoU | Audio-visual heatmaps | Overlap of heatmap and annotation | Higher is better |
| AUC over thresholds | Audio-visual heatmaps | Robustness across cutoffs | Higher is better |
| Silent-frame false positives | Audio-visual heatmaps | Activation when nothing sounds | Lower is better |
Benchmark scores vary strongly with reverberation, number of overlapping sources and dataset bias, so a single number rarely transfers to a new room or a new kind of footage.
Limitations and common mistakes
The main limitation is ambiguity under real acoustics. Reflections create phantom sources, overlapping speakers blur the cues, and microphones placed too close together cannot resolve low frequencies. On the visual side, off-screen sounds such as narration or background music have no correct pixel location at all.
- Ignoring array calibration: small geometry errors produce large angle errors.
- Assuming a single dominant source in scenes where several people speak at once.
- Training audio-visual models on datasets where the sounding object is always centered.
- Reporting only heatmap overlap without testing silent or mismatched clips.
- Treating direction estimates as reliable in highly reverberant rooms without dereverberation.
In plain words
Sound source localization means finding where a sound comes from. People do this all the time. You hear your name and turn toward the person who said it. Your two ears hear the voice at slightly different moments, and your brain uses that tiny gap.
Machines do the same with several microphones. Some AI systems also use a camera. They match the sound to the picture and mark the object that makes the noise, such as a talking face or a ringing phone. The key idea is simple: sound plus position equals a location on a map or a screen.
A real-world example
A company runs hybrid meetings in a room with a ceiling microphone array of eight channels and a wide-angle camera. During a meeting, six people sit around a table. The conferencing system uses SRP-PHAT localization to estimate the direction of the current speaker within about ten degrees, then confirms the estimate with an audio-visual model that checks for moving lips in that area of the frame.
When someone speaks, the camera crops and zooms to that person within roughly one second. When the air conditioner hums, the visual check finds no matching face, so the camera does not move. The result is a stable automatic framing that follows the conversation and ignores noise, which remote participants notice as a much clearer view of who is talking.