Abstract
Modern hearing aids often fail to meet individual user needs due to static, "one-size-fits-all" algorithm designs. This paper introduces AIDA (Active Inference-based Design Agent), a system that personalizes audio processing in real-time. By framing parameter tuning as an active inference problem, AIDA uses the Free Energy Principle to intelligently navigate high-dimensional parameter spaces based on minimal user feedback. We demonstrate AIDA's ability to identify acoustic contexts with 94% accuracy and converge on user preferences within 40 trials, offering a path toward truly situated, user-centric assistive technology.
Introduction: The Personalization Gap
Modern hearing aids (HAs) are marvels of engineering, yet they suffer from a significant limitation: they are typically tuned based on average user data. Because hearing loss is highly individual and acoustic environments—ranging from quiet libraries to noisy restaurants—are infinitely varied, static algorithms often fail to provide optimal comfort. Currently, correcting these issues requires a visit to an audiologist for manual tuning, a process that is both burdensome and disconnected from the user's actual daily experiences.
AIDA aims to bridge this gap by putting the design loop directly into the hands of the user. However, navigating the high-dimensional search space of HA parameters is impossible for a human to do manually. AIDA acts as an intelligent intermediary, learning user preferences through "lightweight" interactions, such as a simple tap on a smartwatch.
The AIDA Framework
AIDA is built on the framework of Active Inference (AIF), a theory from computational neuroscience suggesting that biological brains act as prediction engines that minimize "surprise" (or Free Energy). In this context, the "design" of the audio algorithm becomes a real-time inference problem.
The system consists of three core components:
- Acoustic Generative Model: This models incoming sound as a combination of a time-varying auto-regressive (TVAR) process for speech and a context-dependent AR process for noise, enabling "informed source separation."
- Context Dynamics: A hidden Markov-style model detects environmental shifts (e.g., moving from a car to a mall) based on background noise characteristics.
- User Response Model: A Gaussian Process Classifier (GPC) maps HA parameter settings to the probability of a positive user appraisal.
Generative Modeling and Inference
The "brain" of AIDA uses Expected Free Energy (EFE) to decide which parameter settings to propose next. EFE naturally balances a "Utility drive" (exploiting known preferences) with an "Information gain" term (exploring areas of high uncertainty). To maintain real-time performance, all inference is performed using Variational Message Passing on Forney-style factor graphs.
This modular factor graph approach allows for significant flexibility; for instance, the source models can be swapped for more complex deep learning architectures without altering the underlying logic of the design agent.
Experimental Evaluation
The researchers validated AIDA using a combination of synthetic data and the NOIZEUS Speech Corpus, which contains real-world recordings from environments like train stations and crowded rooms. Key results include:
- Context Classification: The agent achieved 94% accuracy in identifying acoustic environments from synthetic data.
- Preference Learning: In simulations with a "virtual user," AIDA successfully located optimal parameter settings within 30 to 40 trials on average, starting with zero prior knowledge.
- Stability: Metrics based on Bethe Free Energy (BFE) showed consistent convergence during source separation, proving the robustness of the hybrid message-passing approach.
Limitations and Future Work
While AIDA represents a major step forward, several challenges remain. The current proof-of-concept is implemented in Julia and is not yet optimized for the millisecond-latency requirements of live hardware. Furthermore, the model currently assumes a monaural (single microphone) input, whereas modern HAs use multi-microphone arrays for spatial filtering. Future work will focus on incorporating spatial features and conducting large-scale human trials to validate the system's efficacy in real-world clinical settings.
Summary updated