cs.LGOct 31, 2026

Infinite Worlds from One Example: What Local Generators Must Share

Authors: Amin Najafgholizadeh, Mohsen Afsharchi

Organizations: Department of Computer Engineering, University of Zanjan.

Abstract

Seeded noise lets games generate any region of an unbounded world on demand. We ask what such a generator needs when every small window must come from one example, the constraint behind Wave Function Collapse. The difficulty is that local constraints can require agreement over arbitrary distances: in a brick wall, each row keeps its place between the mortar lines. We study local generators, each cell a fixed function of the randomness near it. When the constraints carry a quantity that varies across the example, no generator that applies one rule, ignoring position, to independent randomness at every cell can be both exactly valid and faithful to the example's statistics, however far each cell reads. At radius r, staying faithful forces forbidden windows at a density of at least order 1/r, and a construction attains this order. To vary the quantity between exactly valid worlds, a generator needs randomness shared along its direction. We give a finitely checkable condition under which row types drawn from the seed and the position modulo a fixed period suffice for exact validity without learning. A search over the example's patches certifies these quantities and names the input each needs. Across 52 public examples of Wave Function Collapse and 27 from other implementations, it certifies only examples where a learned generator on independent randomness stays far from valid after repair. Given that input, a neural cellular automaton and a diffusion model become valid on 10 and 8 of the 12 certified examples that receive one, and on none from independent randomness. Valid means at most one forbidden window in a thousand after repair. With octaves of seeded noise elsewhere, the automaton is valid on 45 of the 52 public examples and 21 of the 27 from other implementations, and repair keeps random access.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning Local Constraints for Reinforcement-Learned Content Generators

    May 13, 2026Debosmita Bhaumik, Julian Togelius, Georgios N. Yannakakis +1Constrained Generative ModelingConstrained RL

  2. Why Do Conventional World Models Fail to Learn Cellular Automata?

    Sep 30, 2026Shaoyang Guo, Ziming LiuWorld Model LearningSpatiotemporal Reasoning

  3. Schrödinger's Seed: Purr-fect Initialization for an Impurr-fect Universe

    Mar 31, 2026Mi chen, Renhao YeNeural Network InitializationML Reproducibility