Towards Interaction Design with Active Inference: A Case Study on Noisy Ordinal Selection

Sebastian Stein, John H. Williamson, Roderick Murray-SmithIWAI 2024

Introduction

In Human-Computer Interaction (HCI), selecting a single item from a list—"1-of-N selection"—is a fundamental task. When input channels are limited or noisy, such as in assistive technologies or brain-computer interfaces, systems often rely on "ordinal selection." This involves the system querying whether a target is "higher" or "lower" than a current value. While algorithms like Horstein’s provide mathematically optimal solutions for known noise levels, they often struggle with real-world variability where user error rates are unknown or non-stationary.

This research, presented at the 5th International Workshop on Active Inference (IWAI 2024), proposes a novel approach by framing the selection task as an Active Inference problem. This framework allows for the creation of UIs that are inherently adaptive, learning both the user's intent and the reliability of their input simultaneously.

The Active Inference Framework

Active Inference treats the user interface as an "agent" that acts to minimize Expected Free Energy (EFE). Unlike traditional systems that follow rigid rules, an Active Inference (AInf) agent maintains a probabilistic belief about hidden states—in this case, the user's target and their error rate.

The Active Inference framework applied to human-computer interaction, where the interface acts as an agent minimizing expected free energy.

The agent uses a generative model to predict sensory inputs (user feedback) and selects actions (displaying a "cutpoint") that maximize information gain. To handle the complex, multi-modal probability distributions that arise when both the target and the noise level are unknown, the authors employ a particle filter. This allows the agent to entertain multiple hypotheses, such as whether a user is highly accurate or if their controls are simply inverted.

Methods and Simulation

The study evaluates the AInf agent through computational simulations involving a selection space of 32 symbols. Virtual users were modeled with varying Bernoulli noise levels ($f \in \{0.1, 0.2, 0.3\}$). Crucially, the simulations included non-stationary noise to mimic user fatigue, where error rates increased over time.

The AInf agent was compared against several versions of Horstein’s algorithm. While Horstein’s algorithm is optimal when its noise parameters perfectly match the user, it fails catastrophically if it is too "optimistic" about user accuracy. The AInf agent, by contrast, performs "self-calibration" on the fly, adjusting its internal model based on the "surprise" of unexpected user inputs.

Key Results and Insights

The simulations demonstrated that the AInf agent rapidly converges on both the user's target and the true noise level, typically within 100 to 300 interaction steps.

Agent performance and belief convergence over 100 interface steps, showing the tracking of the user target and inference of the error rate.

Key findings include:

  • Matching Optimality: After a brief initial learning period (1–3 selection episodes), the AInf agent performs as well as a perfectly calibrated Horstein algorithm.
  • Resilience to Uncertainty: In scenarios with unknown noise, the AInf agent achieved 10% higher accuracy than conservative traditional algorithms for the same number of steps.
  • Inference of Polarity: The agent can automatically detect if a user's controls are inverted (e.g., if the user thinks "0" means "higher"). This "free" calibration of input mapping is a significant boon for accessibility.
  • Tracking Fatigue: The agent successfully tracked drifting error rates in non-stationary tests, maintaining a stable speed-accuracy trade-off even as the simulated user became less reliable.

Conclusion and Future Work

By incorporating noise levels as hidden states to be inferred, Active Inference provides a robust framework for designing adaptive user interfaces. While the current implementation uses computationally intensive particle filters, future work aims to use amortized inference (neural network approximations) to enable real-time application in more complex UIs. Further research will also focus on human trials to validate these simulated results in practical assistive technology contexts, where handling bursty or correlated human errors is critical.

Summary updated

BibTeX
@inproceedings{stein2024towards,
  author = {Sebastian Stein and John H. Williamson and Roderick Murray-Smith},
  title = {{Towards Interaction Design with Active Inference: A Case Study on Noisy Ordinal Selection}},
  booktitle = {IWAI},
  year = {2024},
  doi = {10.1007/978-3-031-77138-5\_1},
}
Figure