Approximating Heavy-Tailed Distributions with a Mixture of Bernstein Phase-Type and Hyperexponential Models

Abdelhakim Ziani, Andras Horvath, Paolo Ballarini · DOI

TL;DR

This paper introduces a novel hybrid model that combines Bernstein Phase-Type (BPH) and Hyperexponential (HE) distributions to accurately approximate heavy-tailed distributions. By leveraging the strengths of both models, this approach overcomes the limitations of individual methods, offering improved accuracy in both the body and tail regions of these distributions, which are crucial for modeling real-world phenomena like finance and queuing systems.

What Problem Does This Paper Address?

Many real-world phenomena, such as financial markets, telecommunications, and queuing systems, are characterized by heavy-tailed distributions. These distributions exhibit a slow decay in their tails, meaning that extreme events occur with a non-negligible probability. Accurately modeling these distributions is challenging because traditional methods often struggle to capture both the "body" (typical behavior) and the "tail" (extreme events) simultaneously.

Bernstein Phase-Type (BPH) distributions are good at approximating the body of a distribution and offer analytical tractability, but they fall short in accurately representing heavy tails. On the other hand, Hyperexponential (HE) distributions can better approximate heavy tails but are sensitive to parameter initialization and can struggle to accurately model the body of the distribution, often resulting in monotone probability density functions. This paper aims to bridge this gap by creating a hybrid model that combines the best of both worlds.

Methods

The core of this paper is the proposed BPH HE distribution, a hybrid model that merges the strengths of BPH and HE distributions.

  • BPH Component: This part of the model is used to approximate the body of the distribution. It leverages Bernstein polynomials to construct a phase-type distribution.
  • HE Component: This part is designed to capture the heavy tail behavior. It uses a mixture of exponential distributions.
  • Hybridization: The BPH and HE components are combined to form a single, more robust distribution.
  • Optimized HE Initialization: A key innovation is the use of the Adam optimizer to improve the parameter initialization for the HE component. This addresses the sensitivity of HE models to initial parameters, making the overall hybrid model more robust and reducing the likelihood of invalid HE models. The optimization process uses a penalized Mean Absolute Error (MAE) loss function to ensure that the parameters remain within valid probabilistic ranges.

Datasets

The paper evaluates its proposed BPH HE model using several well-known heavy-tailed distributions:

  • Burr distribution
  • Pareto distribution
  • Weibull distribution
  • Lognormal distribution

These distributions are used to demonstrate the model's ability to approximate various heavy-tailed scenarios. The paper does not introduce new datasets but rather uses these standard distributions for evaluation.

Key Insights and Ideas

  • Synergy of BPH and HE: The paper demonstrates that combining BPH and HE distributions is more effective than using either model in isolation for approximating heavy-tailed distributions. The BPH component excels at modeling the typical behavior, while the HE component captures the crucial tail dynamics.
  • Robust HE Initialization: The use of the Adam optimizer with a carefully designed loss function significantly improves the robustness of the HE component's parameter initialization. This is critical for practical applications where parameter sensitivity can lead to poor approximations.
  • Accurate Tail and Body Modeling: The hybrid model achieves a remarkable balance, accurately capturing both the body and the tail of heavy-tailed distributions. This is a significant improvement over existing methods that tend to excel in one region at the expense of the other.
  • Practical Utility in Queuing Systems: The paper validates the model's effectiveness by applying it to queuing systems. Replacing heavy-tailed service times with their BPH HE approximations leads to tractable models that accurately capture key performance metrics, demonstrating the real-world applicability of the approach.

Key Results

  • The BPH HE model consistently outperforms individual BPH and HE models in approximating heavy-tailed distributions.
  • In experiments with Pareto distributions, the BPH HE model achieved near-perfect precision in reproducing the mean and coefficient of variation.
  • The Mean Absolute Error (MAE) for the BPH HE approximation across various distributions (Burr, Pareto, Lognormal, Weibull) remained extremely small, indicating high accuracy.
  • In queuing system experiments, the BPH HE distribution provided better performance metrics (e.g., mean waiting time, mean sojourn time) compared to BPH and HE models, highlighting its practical utility.

Limitations and Future Work

  • Limitations: The paper acknowledges that the selection of points for HE CCDF matching can be non-trivial, although their proposed optimization method aims to mitigate this. While the hybrid model is robust, the paper implies that further refinement of the optimization process could always be beneficial.
  • Future Work: The authors suggest applying this heavy-tail aware model to AI algorithms where rare and extreme events are critical, such as in generative models or risk-sensitive applications in finance and cybersecurity. They believe this will lead to more robust and reliable results compared to traditional Gaussian-based approaches.

Summary updated

BibTeX
@misc{ziani2025approximating,
  author = {Abdelhakim Ziani and Andras Horvath and Paolo Ballarini},
  title = {{Approximating Heavy-Tailed Distributions with a Mixture of Bernstein Phase-Type and Hyperexponential Models}},
  year = {2025},
  eprint = {2510.26524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.26524},
}
Figure