Boltzmann sampling and optimal exact-size sampling for directed acyclic graphs

📅 2026-02-09
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the problem of efficiently generating uniformly random directed acyclic graphs (DAGs) of a fixed size. The authors propose two novel algorithms, one of which constitutes the first asymptotically optimal exact-size sampler for DAGs, achieving an expected time complexity of $\frac{n^2}{2} + o(n^2)$. This method extends the Boltzmann sampling framework by integrating structural decompositions of DAGs with generating function techniques and an optimized strategy for random number usage. Compared to the current state-of-the-art, the proposed approach yields significant improvements both in theoretical time complexity and practical runtime performance, thereby enabling, for the first time, uniform and efficient sampling of DAGs at a prescribed scale.

Technology Category

Search and Optimization: Sampling/Simulation-based SearchReasoning under Uncertainty: Stochastic OptimizationMachine Learning: Probabilistic Circuits and Graphical Models

Application Category

Graph Algorithms and Modeling for the Web: Efficient manipulation of static and dynamic Web-related graphsSemantics and Knowledge: Scalable techniques for the creation, curation, publication, maintenance, and consumption of large, Web-based, structured, reusable, knowledge graphs and ontologiesWeb Mining and Content Analysis: Web data generation and simulation
📝 Abstract
We propose two efficient algorithms for generating uniform random directed acyclic graphs, including an asymptotically optimal exact-size sampler that performs $\frac{n^2}{2} + o(n^2)$ operations and requests to a random generator. This was achieved by extending the Boltzmann model for graphical generating functions and by using various decompositions of directed acyclic graphs. The presented samplers improve upon the state-of-the-art algorithms in terms of theoretical complexity and offer a significant speed-up in practice.
Problem

Research questions and friction points this paper is trying to address.

directed acyclic graphs
uniform random sampling
exact-size sampling
Boltzmann sampling
Innovation

Methods, ideas, or system contributions that make the work stand out.

Boltzmann sampling
exact-size sampling
directed acyclic graphs
graph generation
asymptotically optimal
🔎 Similar Papers
W
Wojciech Gabryelski
Department of Fundamentals of Computer Science, Wrocław University of Science and Technology, Poland
Z
Zbigniew Gołębiewski
Department of Fundamentals of Computer Science, Wrocław University of Science and Technology, Poland
M
Martin Pépin
Université Caen Normandie, ENSICAEN, CNRS, Normandie Univ, GREYC UMR 6072, F-14000 Caen, France