atlas

Research map / Learning theory and algorithms / Sample complexity

Testing Calibration in Nearly-Linear Time

NeurIPS 2024 · Learning theory and algorithms › Sample complexity · approach: Coresets and sublinear estimation · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Defines calibration testing from samples under the lower distance to calibration and gives a nearly-linear-time (O(n log^2 n)) exact DP/min-cost-flow solver for empirical smooth calibration, plus faster tolerant testers and sample-complexity lower bounds for other calibration measures.

Problem

Testing whether a binary prediction distribution is perfectly calibrated versus epsilon-far from calibration from n samples, where existing black-box LP solvers need Omega(n^omega) time.

Approach

Reformulate the empirical smooth calibration LP as a min-cost flow on a star-plus-path graph, solve it exactly with a dynamic program over piecewise-linear convex functions using a segment tree with lazy add/set operations; for tolerant testing of LDTC, use an augmented-Lagrangian/rounding approach.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Reformulate empirical smooth calibration as minimum-cost flow and solve it with dynamic programmingEmpirical smooth calibration · Empirical smooth calibrationruntime: \Omega(n^\omega) -> O(n\log^2(n))Helped
Use a custom direct LDTC approximation algorithmTolerant calibration testing · Tolerant calibration testingruntime: \Omega(n^{2.5}) -> O(\frac{n\log(n)}{(\varepsilon_1 - \varepsilon_2)^2}) = O(n^2\log(n))Helped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic Bernoulli data postprocessed neural network predictions

Metrics: runtime tester reliability

Baselines: CVXPY linear program solver Gurobi min-cost flow solver binned ECE variants convolved ECE estimator interval calibration error estimator

Builds on: Blasiok et al 2023 distance to calibration framework smooth calibration error lower distance to calibration

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy