Reinforcement Learning for Graph Generation under a Hard Assortativity Constraint

Hoyun Choi, Junghyo Jo, Deok-Sun Lee
5/22/2026
cs.LGcond-mat.stat-mechcs.AI
rl

No confident code implementation found for this paper.

Abstract

Generating graph ensembles with precisely controlled structural properties is central to investigating how network structure shapes function. Canonical ensembles impose constraints only in expectation (soft constraints), letting individual realizations fluctuate around the target, whereas enforcing hard constraints with prescribed precision in every realization remains challenging beyond fixing the degree sequence.

Show full abstract

Here we show that a reinforcement learning framework can drive a graph through degree-preserving rewirings to satisfy a prescribed assortativity, which characterizes the degree--degree correlation of adjacent nodes. By replacing the entropically dominated Metropolis--Hastings random walk with directed transport, the learned policy reduces generation cost by at least an order of magnitude while retaining over 98\% of configurational diversity. Trained on small graphs, the framework generalizes across sizes and topologies without retraining, enabling quantitative isolation of secondary observables such as the clustering coefficient. These results establish reinforcement learning as a practical paradigm for hard-constrained graph generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{choi2026reinforcement,
  title  = {Reinforcement Learning for Graph Generation under a Hard Assortativity Constraint},
  author = {Hoyun Choi and Junghyo Jo and Deok-Sun Lee},
  year   = {2026},
  eprint = {2605.23285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.23285v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.23285.svg)](https://codeofpaper.com/paper/2605.23285)

Discussion