Abstract
Approximate Bayesian Computation (ABC) is a likelihood-free parameter inference method for complex stochastic models in systems biology and other research areas. While conceptually simple, its practical performance relies on the ability to efficiently compare relevant features in simulated and observed data via distance functions. Complications can arise particularly from the presence of outliers in the data, which can severely impair the inference. Thus, robust methods are required that provide reliable estimates also from outlier-corrupted data. We illustrate how established ABC distance functions are highly sensitive to outliers, and can in practice yield erroneous or highly uncertain parameter estimates and model predictions. We introduce self-tuned outlier-insensitive distance functions, based on a popular adaptive distance weighting concept, complemented by a simulation-based online outlier detection and downweighting routine. We evaluate and compare the presented methods on six test models covering different model types, problem features, and outlier scenarios. Our evaluation demonstrates substantial improvements on outlier-corrupted data, while giving at least comparable performance on outlier-free data. The developed methods have been made available as part of the open-source Python package pyABC.
Introduction: The Challenge of Outliers in ABC
In fields like systems biology, researchers use complex stochastic models to describe phenomena like tumor growth or chemical reactions. To find the right parameters for these models, they often use Approximate Bayesian Computation (ABC). ABC works by running simulations and "accepting" parameters that produce data close to the actual observed data, measured via a distance function.
However, the "Achilles' heel" of ABC is its extreme sensitivity to outliers—data points corrupted by technical glitches, human error, or external noise. Standard distance functions, such as the Euclidean (L2) distance, penalize large deviations heavily. If a dataset contains even one major outlier, the algorithm may attempt to fit that outlier, leading to biased parameter estimates or massive uncertainty. Because ABC is designed for cases where the likelihood function is intractable, existing robust statistical methods that require a likelihood cannot be easily applied.
Proposed Robust Distance Functions
To address this, the researchers propose moving away from the standard "L2 + Adaptive MAD" approach (which uses squared errors and weights based on simulation variability) toward two more robust alternatives:
- L1-based Adaptive Distances: Instead of squaring the difference between simulated and observed data, this method uses absolute differences (L1). Mathematically, L1 distance is much less sensitive to extreme values, preventing a single outlier from dominating the total distance calculation.
- PCMAD (Principal Combined Median Absolute Deviation): This is the paper's most novel contribution, introducing an "online" outlier detection scheme. While standard adaptive methods weight data points based on how much they vary in simulations, PCMAD also evaluates how far they are from the observed data. If a specific data point is consistently far from what the model predicts, the algorithm flags it as a likely outlier and automatically reduces its weight dynamically across generations of a Sequential Monte Carlo (SMC) scheme.
Experimental Evaluation
The researchers evaluated these methods on six test models (M1–M6) representing common challenges in systems biology and statistics, ranging from simple Gaussian models to complex agent-based models of tumor spheroid growth.
Key Results and Insights
- The L2 Trap: In an adaptive framework, L2 distance can actually perform worse than non-adaptive methods when outliers are present. The algorithm tries to "tune" itself to the outlier, magnifying the error.
- L1 as a "Free Lunch": In almost every test case, the L1-based distance performed as well as L2 on clean data and vastly outperformed it on corrupted data. The authors suggest L1 should likely be the new default for ABC.
- Significant Error Reduction: On outlier-corrupted data, the L1+Ada.+PCMAD method reduced the Root Mean Square Error (RMSE) of parameter estimates by up to 50 times compared to established L2-based adaptive methods.
- Robustness in High Dimensions: For complex models like the tumor growth simulation (M6), robust distances were superior even on "clean" data. This suggests that in high-dimensional spaces, the inherent noise of complex models can act like outliers, making robust methods generally preferable.
Conclusion
The study demonstrates that self-tuning, outlier-insensitive distance functions can significantly stabilize ABC inference. By implementing these methods in the open-source pyABC package, the authors provide the research community with tools to handle corrupted datasets without sacrificing performance on clean data.
Future work may refine the heuristic thresholds used in PCMAD and explore alternative robust loss functions, such as the Huber loss, to further balance informativeness and robustness in automated parameter estimation.
Summary updated