Approximate Bayesian Computation with Domain Expert in the Loop

Ayush Bharti, Louis Filstroff, Samuel Kaski

Many scientific fields—from cosmology to epidemiology—rely on complex simulators where the "likelihood function" (the probability of seeing specific data given some parameters) is impossible to calculate. Approximate Bayesian Computation (ABC) is the standard tool for these scenarios. It works by running the simulator many times and keeping the parameters that produce data "similar" to what we actually observed.

However, ABC faces a significant "Goldilocks" problem when it comes to data dimensionality. If you compare raw, high-dimensional data, the "curse of dimensionality" makes it nearly impossible to find a match. To fix this, researchers use "summary statistics" (like the mean or variance) to compress the data. But if these statistics are poorly chosen, vital information is lost, leading to incorrect results.

This paper introduces a novel "Human-in-the-Loop" (HITL) framework for ABC that uses active learning to help domain experts select the best summary statistics, bridging the gap between automated machine learning and human intuition.

The Pitfalls of Automated Statistic Selection

Existing automated methods for choosing summary statistics, such as using deep neural networks, require massive amounts of simulated data to train effectively. In scenarios where running a single simulation takes minutes or hours, researchers cannot afford the millions of runs needed to train these networks.

Comparison of automated ABC methods (linear, neural, ridge) under low (500) and high (2500) simulation budgets.

Furthermore, if the simulator is slightly "wrong" or misspecified—which is incredibly common in real-world applications—automated methods can confidently converge on completely wrong answers. Algorithms often blindly minimize error, even if that error leads to a physical impossibility. A human expert, however, can look at a posterior distribution and recognize when something is fundamentally off, effectively acting as a safeguard against model flaws.

The Human-in-the-Loop (HITL) Framework

To efficiently involve a domain expert without overwhelming them, the authors introduce a sequential Bayesian Experimental Design (BED) approach.

  • Active Learning Loop: Instead of asking an expert to manually test dozens of statistics, the algorithm identifies which statistic, if evaluated by the expert, would provide the most "information gain" regarding the model parameters.
  • Expert Feedback Model: The expert provides simple binary feedback (Is this statistic useful? Yes/No). The authors treat this feedback as a noisy Bernoulli variable, acknowledging that even experts aren't perfect (parameterized by a noise level $\pi$).
  • Utility Function: The system selects the next statistic to show the expert by maximizing the Expected Kullback-Leibler (KL) divergence between the current ABC posterior and the potential future posterior after receiving feedback.
  • Integration: This "expert-vetted" set of statistics is then used in a regression-based ABC framework to produce the final parameter estimates.

This approach leverages tacit knowledge elicitation: experts often find it hard to create the perfect statistic from scratch, but they are very good at recognizing a useful one when presented with it.

Key Results and Performance

The method was evaluated on several distinct problems, including the g-and-k distribution (to test low-simulation regimes) and the Turin model (a complex stochastic radio channel model used to test model misspecification).

Robustness to Misspecification

In the radio propagation experiment, standard automated methods like "Linear-ABC" failed catastrophically when the model was misspecified, concentrating their posterior distributions far from the true parameter values. HITL-ABC, by allowing the expert to exclude the "misspecified" statistic, remained stable and accurate.

Posterior distributions for the Turin model parameters comparing standard linear-ABC (grey) and HITL-ABC (red) across increasing levels of model misspecification ($\zeta$).

Superiority in Low-Simulation Regimes

When the simulation budget was severely restricted ($n_{sim} \le 350$), HITL-ABC consistently outperformed automated regression-based methods (Linear, Ridge, and Neural ABC) and other subset selection methods. By utilizing a human's "prior" knowledge, the model achieves high accuracy with far fewer computationally expensive simulations.

Query Efficiency

The active learning approach was shown to be significantly more efficient than random querying. By maximizing Expected KL divergence, the algorithm reaches the "target" posterior with far fewer questions asked of the expert, minimizing human fatigue.

Limitations and Future Directions

While highly effective, the HITL-ABC framework has a few limitations:

  • Greedy Selection: The current method uses a forward-stepwise (greedy) selection process. It might miss the absolute "best" combination of statistics if those statistics only provide value when used together.
  • Computational Overhead: While it saves on simulations, the active learning loop itself requires calculating KL divergences, which can be computationally intensive.
  • Scaling and Nuance: The current model assumes a single expert providing binary feedback. Future work could explore "crowdsourcing" feedback from multiple experts with varying levels of reliability, or moving beyond "Yes/No" feedback to more nuanced inputs like ranking statistics to further speed up convergence.

Summary updated

BibTeX
@inproceedings{bharti2022approximate,
  author = {Ayush Bharti and Louis Filstroff and Samuel Kaski},
  title = {{Approximate Bayesian Computation with Domain Expert in the Loop}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=cjIw2-YXlY6},
}
Figure