We provide an efficient implementation of combinatorial Bernoulli factories. Such a factory turns coins of unknown biases x into a random vertex of a polytope P whose mean is exactly x. For every affine slice of the cube (the class of polytopes that admit a factory), we give a single algorithm whose expected number of coin flips and running time at every interior x are polynomial in the dimension and in 1/δ∗, where δ∗=mini{xi,1−xi} is never supplied to the algorithm. For perfect matchings this gives O(n8δ∗−2log(n/δ∗)) flips, while the factory of Niazadeh, Paes Leme, and Schneider [STOC 2021] spends at least n2n−1 flips in expectation at the uniform doubly stochastic matrix. For other polytopes, our method rounds exactly given a point deep inside P and the promise that x is far from the boundary of P.
Figures & tables
Figure 1: The batch, drawn for d=2 with \aff(P) a line. The empirical mean Z of m rounds of flips need not lie on \aff(P) ; its projection Y=Π(Z) does, and \EY=x exactly. The ball B(x,ρ)∩\aff(P) lies in P and Z concentrates around x , so Y is feasible except on a rare event, as for Z′ ; the algorithm then rounds u instead, and keeps the residual Y′−u rather than discarding the sample.
Figure 2: The anchors, drawn for dim\aff(P)=2 . The ball B(u,r)∩\aff(P) lies in P , so the 2d points ui±=Π(u±rei) are feasible. The correction picks i uniformly, chooses between ui+ and ui− with a coin tilted by the observed residual, and decomposes the chosen point into vertices; the resulting vertex lottery has mean exactly u+Rˉ/α , a point inside the ball that the algorithm never computes.
We introduce a class of random polytopes which simultaneously generalizes several known constructions. While being fairly general, these polytopes are also computationally exceptionally benign. We indicate how these properties can be exploited for classification and clustering tasks in data analysis. Crucially, our construction lets users smoothly trade off between a tighter description of the data and faster computation.
Michael Joswig, Marek Kaluba, Lukas Ruff
Technische Universität Berlin, Chair of Discrete Mathematics/Geometry · MPI MiS Leipzig · Adam Mickiewicz University, Poznań, Poland +1
We introduce TriSearch, a reinforcement learning framework for optimizing objectives over triangulations of a polytope via bistellar flips. The key idea is a circuit-supported subtriangulation action representation: feasible flips are encoded by their supporting circuit and realized local subtriangulation, enabling a learned policy to rank them using local geometric and combinatorial features. This yields a dimension-agnostic interface and enables efficient traversal of the flip graph without explicit enumeration of the full triangulation space. Instantiated in 3D and 4D, TriSearch generalizes zero-shot from small training instances to larger polytopes with exponentially larger search spaces. It achieves top performance on metric objectives in 3D and, in 4D, discovers more distinct Fine, Regular, Star triangulations of reflexive polytopes, corresponding to Calabi-Yau threefolds, than existing samplers under a fixed budget.
Finding minimal arithmetic circuits for polynomials over finite fields is a combinatorially hard problem central to algebraic complexity theory. We formulate it as a reinforcement learning problem in two directions, bottom-up and top-down. To address the challenge of a fast-growing combinatorial search space, we introduce FactorLibrary, which stores factorizable subexpressions that serve as reusable subgoals across training episodes. We trained a bottom-up agent with Gumbel-PPO-MCTS and two top-down agents with PPO+MCTS and SAC. The PPO+MCTS top-down agent exhibited the most stable performance, finding certified optimal circuits up to complexity 8 with a success rate of 91.8%.
Rohan Pandey, Michael Ruofan Zeng, Weikun K. Zhang +5