Abstract
Computing the exact probability that a sum of independent random variables falls below a certain threshold is a #P-hard problem, particularly challenging when dealing with rare tail events. Standard Monte Carlo methods require exponential sample sizes to achieve multiplicative accuracy in these scenarios. This paper introduces the first deterministic Fully Polynomial-Time Approximation Scheme (FPTAS) to estimate this probability within a $1 \pm \epsilon$ relative error. The approach leverages an inverted dynamic programming state and logarithmic discretization to maintain polynomial complexity while ensuring high precision.
Introduction
The authors address a fundamental challenge in probability and stochastic optimization: given $n$ independent, integer-valued random variables $X_1, X_2, \dots, X_n$ and a capacity $C$, compute the probability $F(C) = \Pr[\sum_{i=1}^n X_i \le C]$.
Because this problem generalizes the counting knapsack problem, exact computation is #P-hard. While additive approximations are achievable via sampling, multiplicative approximations (estimates within a $1 \pm \epsilon$ factor) are much harder to obtain, especially when $F(C)$ is exponentially small. Prior to this work, no deterministic algorithm with a provable multiplicative approximation guarantee existed for general discrete distributions. This FPTAS is critical for risk-aware applications where rare, catastrophic tail events must be quantified accurately.
Methodology
The core of the proposed solution is a dynamic programming (DP) algorithm that innovates on several fronts to ensure efficiency and accuracy.
Inverting the DP State and Logarithmic Discretization
Traditional DP approaches compute probability for a given capacity. The authors invert this: they compute $\tau(i, a)$, representing the minimum capacity required for the sum of the first $i$ variables to achieve a probability of at least $a$. To keep the state space polynomial, they discretize the probability space logarithmically using powers of a base $Q = 1 + \epsilon/n$. This ensures that the number of states remains manageable while the introduced error is bounded within $1 \pm \epsilon$.
Oracle Model and Efficient Transitions
To handle random variables with exponentially large supports, the algorithm assumes access to an oracle $\mathcal{O}_i$ capable of answering range queries (e.g., $\Pr[n_1 \le X_i \le n_2]$) in constant time. The algorithm identifies segments where DP transition values remain constant and uses binary search to compute transitions efficiently, bypassing the need to iterate over the entire support.
Bit Complexity
The authors also account for finite precision arithmetic. They prove that truncation errors in a realistic computational model do not compromise the $1 \pm \epsilon$ guarantee, and the bit complexity remains polynomial.
Key Results
- First Deterministic FPTAS: The algorithm provides a guaranteed estimate within $[(1-\epsilon)F(C), (1+\epsilon)F(C)]$.
- Computational Efficiency: Assuming constant-time oracle queries, the runtime is $O(\frac{n^3}{\epsilon^2} \log(\frac{1}{\Delta})^2 \log C)$, where $\Delta = \prod_{i=1}^n \Pr[X_i=0]$.
- Robustness: The scheme is mathematically proven to be robust against finite-precision errors, maintaining its FPTAS status in practical implementations.
Discussion and Limitations
While the algorithm represents a significant theoretical breakthrough, it has some limitations. The runtime depends on $\log(1/\Delta)$, which can increase if the probability of variables being zero is extremely small. Furthermore, the algorithm is "weakly polynomial" as it scales with the number of bits required to represent numerical values ($C$ and $\Delta$). Currently, the method is designed for non-negative discrete variables; extending this to continuous distributions or achieving a strongly polynomial runtime remains an area for future research.
Summary updated