English

Sampling Triangulations and Calabi-Yau Threefolds with Autoregressive GNNs

High Energy Physics - Theory 2026-05-29 v2

Abstract

We introduce `dualGNN', an autoregressive message-passing GNN for sampling fine, regular triangulations (FRTs) of convex polytopes. dualGNN operates on a generalization of the dual graph of a triangulation, with edges labeled by `signed circuits' -- combinatorial invariants from oriented matroid theory which we show are both necessary and sufficient for exposing regularity. The model is independent of the number of points in the polytope and invariant under the polytope's orientation-preserving symmetries (SL(d,Z)Zd\mathrm{SL}(d,\mathbb{Z}) \ltimes \mathbb{Z}^d). When implemented with a certain masking procedure, one can also guarantee that every rollout produces a fine triangulation (in 22D). On unseen polygons with Npts40N_\mathrm{pts} \leq 40, dualGNN is the most uniform FRT sampler we tested, and even a model trained on a single polygon generalizes well to other polygons. The model is small (92\sim92k parameters), trains in 7.5\sim7.5 hours on a single consumer GPU, and runs without modification on an M1 MacBook Pro. We apply dualGNN to string theory, uniformly sampling Calabi-Yau threefolds at h1,1=86h^{1,1}=86 and consistent with uniformity at h1,1=128h^{1,1}=128. This is an order of magnitude beyond previous learned methods with a model 1000×\sim1000\times smaller. Code, training scripts, and pretrained models are available at https://github.com/natemacfadden/dualGNN .

Keywords

Cite

@article{arxiv.2605.27770,
  title  = {Sampling Triangulations and Calabi-Yau Threefolds with Autoregressive GNNs},
  author = {Nate MacFadden},
  journal= {arXiv preprint arXiv:2605.27770},
  year   = {2026}
}

Comments

50 pages, 27 figures, 3 tables

R2 v1 2026-07-22T07:35:51.637Z