arXiv:2610.41714cs.DSOct 2026

Manuscript Offprint

arXiv:2610.41714

A Fully Polynomial Randomized Approximation Scheme for Hypergraph Unreliability

Zhijie Zheng

Abstract

We give a fully polynomial randomized approximation scheme for all-terminal unreliability in explicitly represented undirected hypergraphs of arbitrary rank. The algorithm estimates the probability that independent hyperedge failures disconnect the hypergraph, allowing a different rational failure probability for every edge. For a common failure probability, this improves the quasi-polynomial approximation schemes of Cen, Li, and Panigrahi to polynomial time and answers the polynomial-time approximation question reiterated in their subsequent work on graphs.

The construction turns their representative-survival bound into an importance sampler whose relative second moment is bounded solely in terms of the number of vertices. We protect one randomly chosen representative pair during contraction, correct the path likelihood, and divide by the number of pairs surviving at the end. The resulting unbiased estimator has relative second moment at most (n2)\binom{n}{2}, even when unreliability is exponentially small.

A minimum-cut normalization makes this estimator implementable with polynomially bounded precision: the residual likelihood becomes a survival probability in an auxiliary absorbing process, which admits rational discretization with a fixed random-bit budget. Logarithmic rate rounding and an exact weighted minimum cut extend the construction to unequal rational failure probabilities. The algorithm's worst-case running time and random-bit usage are polynomial in the input length, the inverse relative error, and log⁡(1/δ)\log(1/\delta) for confidence 1−δ1 - \delta.

1 Introduction

Network unreliability quantifies the risk that independent component failures disconnect a system. A hyperedge represents a component connecting an entire set of vertices, so one failure can remove a connection among arbitrarily many endpoints. We study all-terminal unreliability, the probability that the surviving hypergraph has more than one connected component. A relative estimate measures this risk at its own scale, including when disconnection is exponentially unlikely.

For ordinary graphs, polynomial-time relative approximation has been available since Karger's FPRAS [Kar99], and, for a common failure probability and fixed relative accuracy, the running time has recently reached almost linear in the number of edges [CLP25]. Extending these guarantees to unrestricted hyperedges encounters a structural obstacle. Near-minimum cuts can be enumerated in polynomial time at logarithmic rank for each fixed approximation factor, but their number can grow exponentially with the rank [KK15]. Enumerating these cuts can therefore require super-polynomial work at large rank.

Cen, Li, and Panigrahi [CLP24] gave quasi-polynomial approximation schemes for arbitrary-rank hypergraphs. Their later work [CLP25] again identified polynomial-time approximation in this model as an open problem. We resolve this question with an FPRAS. The result also allows independent rational failure probabilities that differ across edges, and bounds both running time and random-bit usage for every random outcome. The input length includes the number of hyperedges and all of their incidences.