Research
Integral Probability Boundaries
Overview Research area: Machine learning theory and statistics, specifically distribution-discrepancy bounds that connect expectation bounds, information theory, alignment, fairness, and privacy. Tech
- arXiv
- 2610.38036
- Published
- 2026-10-27
- Authors
- Bogdan Kulynych, Shahab Asoodeh
AI summary
Overview
Research area: Machine learning theory and statistics, specifically distribution-discrepancy bounds that connect expectation bounds, information theory, alignment, fairness, and privacy.
Technical level: Advanced. The paper uses measure-theoretic probability, convex geometry, likelihood ratios, Rademacher complexity, and Lagrangian duality. The core intuition is accessible, but the formal results assume a graduate-level background.
Scope (one sentence): The paper introduces Integral Probability Boundaries (IPBs), a non-linear generalization of Integral Probability Metrics (IPMs) that produces bounds which remain tight at the extremes, and develops their theory, estimation algorithms, and applications.
What This Paper Is About
A recurring task in machine learning and statistics is bounding the expectation of a function (f) under one distribution (P) using its expectation under another distribution (Q), plus a discrepancy term. IPMs handle this by collapsing the difference between (P) and (Q) into a single worst-case number, which makes the resulting bounds loose or completely vacuous when the quantity of interest is near 0 or 1, as happens for rare events, safety failures, or under-represented groups. The paper replaces that single number with a boundary curve that depends on the actual value of (\mathbb{E}_Q[f]), yielding sharper bounds, and shows how to estimate this curve from samples.
Key Contributions
-
A new object: Integral Probability Boundaries. The authors define IPBs as the upper boundary of the achievable region (\mathcal{C}_{\mathcal{F}}(P|Q)={(\mathbb{E}_Q[f],\mathbb{E}_P[f]) \mid f\in\mathcal{F}}), prove a unique tight IPB exists, and establish basic properties: monotonicity, concavity for convex (\mathcal{F}), a complement-symmetry formula for the lower boundary, recovery of the original IPM, and collapse to the IPM for shift-invariant function classes.
-
Connections to information theory. Over the set of all bounded functions (\mathcal{F}1), the tight IPB is shown to be the ROC curve of the Neyman–Pearson likelihood-ratio test, and IPBs are shown to be in a convex-dual relationship with the hockeystick divergence (\mathsf{E}\gamma(P|Q)).
-
Two estimation algorithms with finite-sample guarantees. Algorithm 1 estimates the tight IPB over all bounded functions using only samples from (Q) and importance weighting, with an (\mathcal{O}(B\sqrt{\log(2/\delta)/n})) uniform error bound. Algorithm 2 handles a learnable family (\mathcal{F}) via a Lagrangian dual and a grid of (\lambda) values, with an error decomposed into statistical, discretization, and optimization terms.
-
Applications across alignment, evaluation, and fairness. The paper derives a closed-form best-of-(N) IPB that improves on KL-divergence bounds, performs judge-free estimation of benchmark scores when a language model is moved to a different inference backend, and estimates proportional-representation gaps for rare intersectional groups. Additional theoretical applications to generalization and privacy risk appear in Appendix B.
Main Findings
-
IPM bounds are lossy; IPB bounds are not. For any (f\in\mathcal{F}), (\mathbb{E}_P[f]\le g(\mathbb{E}_Q[f])). Because (g) is a curve rather than a constant offset, it tracks the achievable region and stays informative near the extremes where IPM bounds become vacuous.
-
IPBs recover IPMs as a special case. From a pair of tight adjoint IPBs, the IPM is recovered as (D_{\mathcal{F}}(P,Q)=\max{\sup[g(\alpha)-\alpha],\sup[\check{g}(\alpha)-\alpha]}). Conversely, for shift-invariant and negation-closed families such as Lipschitz functions, every IPB satisfies (g(\alpha)\ge \alpha + D_{\mathcal{F}}(P,Q)), so IPBs offer no improvement there. The gains come from families such as bounded functions and RKHS balls.
-
For all bounded functions, the IPB is a likelihood-ratio ROC curve. Proposition 2.4 identifies the tight IPB over (\mathcal{F}_1) with the ROC curve of the randomized likelihood-ratio test, which is what makes Algorithm 1 possible without ever solving the optimization in the definition.
-
Toy subpopulation-shift example. With three groups and proportions ((q_1,q_2,q_3)=(0.7,0.2,0.1)) versus ((p_1,p_2,p_3)=(0.4,0.2,0.4)), the IPM reduces to total variation. At a validation performance of (0.5), IPM bounds give deployment performance in ([0.2,0.8]), while IPB bounds give ([0.29,0.71]). For (\alpha\ge 0.7), the IPM upper bound is vacuous while the IPB remains below 1.
-
Best-of-(N) alignment bound. Theorem 5.1 gives (\mathbb{E}{y\sim P_N}[f(y)]\le 1-(1-\mathbb{E}{y\sim Q}[f(y)])^N), tight when the reward has no ties. At (N=10), this is reported as 14 percentage points tighter than KL-based bounds for the worst-case (\mathbb{E}_Q[f]), and 83 percentage points tighter at the extremes where (\mathbb{E}_Q[f]\approx 0) or (\approx 1).
-
Judge-free backend comparison. Using Llama-3.1-8B-Instruct served with huggingface transformers in bfloat16 over (m=512) tokens as (Q), and comparing against regular vLLM, FP8 quantization, and AWQ-INT4 quantization as (P), IPB bounds are loose under quantization but in some cases, such as INT4 on HarmBench, the lower bound is almost reached. Moving from huggingface to vLLM keeps bounds fairly narrow, for example within 5 percentage points of the original value on StrongREJECT.
-
Fairness gaps for rare groups. For group-membership indicators defined by depth-3 decision trees, IPB bounds are substantially tighter than the IPM-based approach of Oesterling et al. (2024), with, for example, 15 percentage points more precise estimates for rare groups in some cases. The paper highlights the ([0,0.05]) prevalence region as where the improvement is most visible.
-
Finite-sample behavior. Algorithm 1 converges uniformly at rate (\mathcal{O}(B\sqrt{\log(2/\delta)/n})) under a bounded likelihood ratio. Algorithm 2's error is bounded by (\varepsilon_P+\lambda_{\max}\varepsilon_Q+\eta_\Lambda+\varepsilon_{\text{opt}}), where (\eta_\Lambda) is the grid covering radius; a uniform grid of (k) points gives (\eta_\Lambda=\lambda_{\max}/(2(k-1))), requiring (\mathcal{O}(\lambda_{\max}/\varepsilon)) oracle calls for discretization error at most (\varepsilon).
Methodology in Plain English
The starting point is to stop asking "how different are (P) and (Q)?" as a single number and instead ask "for every possible average under (Q), what is the largest possible average under (P)?" Plotting the second quantity against the first traces out the boundary of everything the function class can simultaneously achieve. That boundary is the IPB, and reading a bound off it requires only the known value of (\mathbb{E}_Q[f]).
To estimate the boundary over all bounded functions, the authors exploit the Neyman–Pearson lemma: the optimal test is a threshold on the likelihood ratio (dP/dQ). Their algorithm draws samples only from (Q), computes each sample's likelihood ratio, sorts these values in decreasing order, and accumulates them to trace out the ROC curve. A normalization step enforces (g(1)=1), correcting for statistical noise that would otherwise produce an invalid boundary.
When the function family is a learnable class rather than all bounded functions, the constrained optimization is replaced by a Lagrangian (\sup_{f\in\mathcal{F}}[\mathbb{E}_P[f]-\lambda\mathbb{E}_Q[f]]). The algorithm solves this for several values of (\lambda) on a grid, then takes the minimum of (h(\lambda)+\lambda\alpha) over the grid; including (\lambda=1) guarantees the result is never worse than the plain IPM. A doubling-search heuristic for the largest useful (\lambda), and a companion procedure for the lower boundary, are given in the appendices.
Why This Matters
Impact on research. The paper supplies a general recipe for sharpening any bound of the form (\mathbb{E}_P[f]\le\mathbb{E}_Q[f]+\delta), which is one of the most reused templates in learning theory. It also ties that template to classical hypothesis testing and (f)-divergences, giving researchers a unified language for discrepancy bounds and a principled reason why KL-based bounds can be vacuous in exactly the regimes practitioners care about.
Real-world applications:
- Alignment: Predicting how much any capability metric can move under best-of-(N) sampling, without evaluating every metric under the aligned model.
- Deployment and auditing: Estimating whether a model's safety behavior shifts when served through vLLM or quantized to FP8 or AWQ-INT4, potentially avoiding re-scoring outputs with expensive LLM judges.
- Synthetic data and fairness: Checking proportional representation for rare intersectional groups defined by depth-3 decision trees, where IPM-based gaps are loose.
- Privacy: Bounding privacy risk in differentially private learning, developed in Appendix B.
Industry relevance. Model providers routinely change inference backends, quantize models, and use synthetic data as proxies for real data. Each of these changes is a distribution shift that needs an audit. IPBs offer a way to bound the effect on any bounded metric from samples of the original distribution alone, which can reduce evaluation cost and provide safety guarantees that a single KL number cannot.
Future Directions
- Broader finite-sample certificates. The paper's high-probability certificate is illustrated only for bounded linear functions, where the optimization oracle is exact and tight Rademacher complexity expressions exist. Extending certified bounds to other function families is an open step.
- Non-convex and unbounded function classes. The appendix sketches how Algorithm 2 behaves for non-convex (\mathcal{F}), where an additional duality gap separates the estimate from the tight IPB, and extends the analysis to unbounded families. Closing that gap and quantifying it in practice remains open.
- Choosing the dual grid principledly. Algorithm 3 uses doubling search to find (\lambda_{\max}), described as a heuristic; a more principled selection rule would affect both tightness and computational cost.
- Empirical breadth. The evaluation covers one language model,
Authors’ abstract
Bounds based on Integral Probability Metrics (IPMs) are ubiquitous in machine learning and statistics, appearing, e.g., in generalization, alignment, fairness, and privacy. IPMs reduce the discrepancy between two distributions to a single worst-case gap between expectations. This compression is costly: for rare events, safety failures, or under-represented groups, IPM-based bounds are loose or vacuous. We introduce a non-linear generalization of IPMs, which we term Integral Probability Boundaries (IPBs). Unlike IPMs, IPBs provide bounds that are tight at the extremes. We derive their basic properties and present algorithms for estimating them in practically relevant settings. We demonstrate the usage of IPBs in both theoretical and practical applications for alignment, judge-free performance estimation, and fairness, where they enable us to obtain sharp bounds on performance and fairness gaps, e.g., 15 p.p. more precise estimates on fairness gaps for rare groups in a realistic generative modeling task, compared to the state of the art.