mlsanityData to 14 Oct 2026

You-Only-Randomize-Once: Shaping Statistical Properties in Constraint-based PCG

arXiv 2409.00837 ↗First posted 1 Sep 2024cs.AI cs.LOcited by 0

Not on the map. Why?

Abstract (arXiv)

In procedural content generation, modeling the generation task as a constraint satisfaction problem lets us define local and global constraints on the generated output. However, a generator's perceived quality often involves statistics rather than just hard constraints. For example, we may desire that generated outputs use design elements with a similar distribution to that of reference designs. However, such statistical properties cannot be expressed directly as a hard constraint on the generation of any one output. In contrast, methods which do not use a general-purpose constraint solver, such as Gumin's implementation of the WaveFunctionCollapse (WFC) algorithm, can control output statistics but have limited constraint propagation ability and cannot express non-local constraints. In this paper, we introduce You-Only-Randomize-Once (YORO) pre-rolling, a method for crafting a decision variable ordering for a constraint solver that encodes desired statistics in a constraint-based generator. Using a solver-based WFC as an example, we show that this technique effectively controls the statistics of tile-grid outputs generated by several off-the-shelf SAT solvers, while still enforcing global constraints on the outputs.1 Our approach is immediately applicable to WFC-like generation problems and it offers a conceptual starting point for controlling the design element statistics in other constraint-based generators.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 3 of its 29 references that are in the map. First posted on arXiv 1 Sep 2024.

Builds on

3 of 29 references.

References · 3

  1. 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learningcited by 82
  2. 2015Hinge-Loss Markov Random Fields and Probabilistic Soft Logiccited by 63
  3. 2014Distribution-Aware Sampling and Weighted Model Counting for SATcited by 15

Built on by

Not cited yet.