Sampling and counting contingency tables with arbitrary margins
OpenAI 描述的结果For nonnegative integer matrices with prescribed row and column sums, gives exact uniform sampling in expected polynomial bit time and almost-uniform sampling in worst-case polynomial bit time. The dimensions and binary-encoded margins are unrestricted. Also gives a fully polynomial randomized approximation scheme for counting such tables with arbitrary individual cell bounds, including structural zeros, with polynomial cost on every execution.
来自来源的摘要We give an exact uniform sampler for nonnegative integer contingency tables with arbitrary prescribed margins. It terminates almost surely and has expected bit complexity polynomial in both dimensions and the binary length of the margins. No positivity, balance, sparsity, or fixed-dimension assumption is required.
形式化证据
本手稿在结果族范围文档中被点名。阅读下方范围以了解确切覆盖的结论。
来自 OpenAI 的 BibTeX 引用
@misc{OAI:Exact-Uniform-Sampling-of-Contingency-Tables-with-Arbitrary-Margins-September-24-2026,
author = {{OpenAI}},
title = {{Exact Uniform Sampling of Contingency Tables with Arbitrary Margins}},
howpublished = {OpenAI Math Release preprint
\href{https://github.com/openai/math/blob/main/preprints/Exact-Uniform-Sampling-of-Contingency-Tables-with-Arbitrary-Margins-September-24-2026/main.pdf}{OAI:Exact-Uniform-Sampling-of-Contingency-Tables-with-Arbitrary-Margins-September-24-2026}},
year = {2026}
}
来自来源的摘要We give a fully polynomial randomized approximation scheme for counting nonnegative integer matrices with prescribed row sums, column sums, and individual entry bounds. Both dimensions vary, all numerical data are encoded in binary, and zero bounds are allowed. The algorithm uses only unbiased random bits and has a polynomial bound on its bit operations on every execution.
形式化证据
本手稿在结果族范围文档中被点名。阅读下方范围以了解确切覆盖的结论。
来自 OpenAI 的 BibTeX 引用
@misc{OAI:An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026,
author = {{OpenAI}},
title = {{An FPRAS for Cell-Bounded Contingency Tables}},
howpublished = {OpenAI Math Release preprint
\href{https://github.com/openai/math/blob/main/preprints/An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026/main.pdf}{OAI:An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026}},
year = {2026}
}
来源快照:1581d4cbdd69。上面的引用保留 OpenAI 的原始措辞。
检查形式化了什么
Lean 证明范围
由 OpenAI 描述 · 未经 Proofweave 重放
来自来源的范围声明
The formalization gives an exact uniform sampler for nonnegative integer contingency tables with arbitrary prescribed row and column sums having equal totals. It terminates almost surely, every halted output is feasible, and each table has exactly the uniform limiting probability. Expected bit complexity is polynomial in the dimensions and the binary length of the margins.
It also gives a sampler with a fixed polynomial time bound on every execution whose total-variation error is at most 2−k for requested precision k≥1. The same Comparator file includes the companion approximation scheme for counting tables with individual cell bounds.
The formalization gives a fully polynomial randomized approximation scheme for counting nonnegative integer matrices with prescribed row sums, column sums, and individual entry bounds. Both dimensions may vary, the margins and bounds are binary encoded, and zero entry bounds are allowed. For rational 0<ε,δ<1, the algorithm returns a nonnegative estimate with relative error at most ε with probability at least 1−δ, and returns zero on every execution when no table exists.
The running time is polynomial in the encoded input size, ε−1, and log(δ−1) on every random tape. The same Comparator file also contains the companion sampling results for tables without cell bounds.