NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HRTF Field: Unifying Measured HRTF Magnitude Representation with Neural Fields

You Zhang, Yuxiang Wang, Zhiyao Duan

TL;DR

Researchers have developed HRTF Field, a novel framework that uses neural fields to create a unified, continuous representation of Head-Related Transfer Functions (HRTFs). By moving away from fixed measurement grids, this approach allows for the first time to train spatial audio models across multiple disparate datasets, significantly improving the accuracy of personalized audio rendering for VR and AR.

What Problem Does This Paper Address?

Head-Related Transfer Functions (HRTFs) are the "acoustic fingerprints" of our anatomy. They describe how our torso, head, and outer ears filter sound based on its direction, allowing our brains to localize audio in 3D space. Because everyone’s ears are shaped differently, HRTFs are highly personal. Generic HRTFs often lead to "sound localization confusion"—where a sound meant to be behind you feels like it's in front.

The challenge is that measuring a person's individual HRTF is a cumbersome, expensive process involving anechoic chambers and specialized equipment. While many public datasets exist, they are "grid-locked": each uses a different spatial sampling scheme (different azimuth and elevation angles), as shown in Figure 1.

![Fig.

  1. Configurations of sound source positions used in existing publicly-available measured far-field HRTF databases.](/figures/art_afa48b2511804f348fabdf8c81b0bc97)

This inconsistency makes it nearly impossible to combine datasets to train robust machine learning models. Traditional mathematical solutions like spherical harmonics require near-uniform sampling and full spherical coverage, which most datasets lack (often missing data at the "bottom" of the sphere).

Methods

The authors propose representing HRTFs as Neural Fields. Instead of storing HRTF data as a discrete grid of points, they train a neural network to act as a continuous function that maps any coordinate (azimuth and elevation) to a frequency response.

Key components include:

  • SIREN (Sinusoidal Representation Networks): The researchers used a multi-layer perceptron (MLP) with sine activation functions. Unlike standard activations (like ReLU), sine functions are excellent at capturing the complex, high-frequency "peaks and notches" essential for sound localization.
  • IGON (Implicit Gradient Origin Network): To handle multiple subjects, they introduced a generative model. It learns a latent space where each subject is represented by a vector $z$. The model co-optimizes these latent codes and the network weights, allowing it to "understand" the underlying manifold of human HRTFs.
  • Grid-Agnosticism: Because the model is a continuous function, it can be queried at any arbitrary angle, effectively "filling in the gaps" of sparse or irregular datasets.

Datasets

The study utilized 10 publicly available far-field HRTF datasets (3D3A, Aachen, ARI, BiLi, CIPIC, Crossmod, HUTUBS, Listen, RIEC, and SADIE II), totaling hundreds of subjects. The diversity in their sampling resolutions is striking, as seen in the comparison between the CIPIC and Listen datasets in Figure 2.

![Fig.

  1. The left ear HRTF magnitudes (dB) of the midsagittal planes of two subjects sampled from the CIPIC (left) and the Listen (right) dataset.](/figures/art_68a8d96cfd2c4dfeae70026082bcaede)

Key Insights and Ideas

  • Unified Representation: This is the first work to enable training across different HRTF datasets simultaneously. By treating HRTFs as continuous fields rather than discrete grids, the specific sampling scheme of a dataset no longer limits the model.
  • Manifold Learning: By training on multiple datasets (the "Ours-T" setup), the model learns a general "prior" of what an HRTF looks like. This shared knowledge helps it perform better on a specific subject than if it were trained on that subject's data alone.
  • High-Frequency Fidelity: The use of SIREN is critical. Traditional interpolation methods often smooth out the sharp spectral notches that occur at high frequencies (above 5-10 kHz), but these notches are exactly what the human ear uses to distinguish "up" from "down."

Key Results

The authors evaluated their model using Log-Spectral Distortion (LSD), a measure of how much the predicted HRTF deviates from the ground truth.

  • Interpolation: When predicting HRTFs at unseen locations, the proposed method outperformed standard mathematical baselines like Vector Base Amplitude Panning (VBAP) and Bilinear interpolation, particularly at high frequencies (see Figure 3c).
  • Cross-Dataset Generalization: A model trained on nine datasets could successfully "zero-shot" or quickly adapt to a tenth, unseen dataset, proving the robustness of the learned latent space.
  • Smooth Latent Transitions: By interpolating between the latent codes of two different subjects, the model generated realistic, intermediate HRTFs that maintained essential spectral cues, suggesting a well-structured latent manifold.

![Fig.

  1. Interpolation setup and the results of reconstruction and interpolation under three settings compared with two baselines.](/figures/art_d048afff57e3416f8e6543ea26baa728)

Limitations and Future Work

  • Magnitude Only: This current work focuses only on the magnitude of the HRTF. For full spatial realism, the phase (or the time-domain Head-Related Impulse Response, HRIR) is also necessary.
  • Normalization Issues: The authors noted that different datasets have different dB offsets due to varying equipment. While they implemented a normalization scheme, they suggest that more sophisticated calibration might further improve cross-dataset performance.
  • Geometry Integration: The ultimate goal is to predict the latent code $z$ directly from a user's head scan or ear photo. This paper proves the latent space exists and is useful; the next step is mapping physical geometry to it.

Summary updated

BibTeX
@misc{zhang2022hrtf,
  author = {You Zhang and Yuxiang Wang and Zhiyao Duan},
  title = {{HRTF Field: Unifying Measured HRTF Magnitude Representation with Neural Fields}},
  year = {2022},
  eprint = {2210.15196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.15196},
}
Figure