SNACK: A Sequential Notation Framework for Probabilistic Graph Generation
Abstract
We introduce SNACK, a string representation for probabilistic graph generation that enables language models to generate graphs with discrete node and edge features. SNACK linearizes graphs by encoding the nonzero entries of the lower-triangular adjacency matrix, establishing a bijective correspondence between valid sequences and ordered adjacency matrices. This design enables invalid logit masking to enforce structural constraints, such as chemical valence and ordering rules, thereby guaranteeing 100% valid generated sequences while sticking to standard language modeling for effective training. SNACK also enables principled string-based GFlowNet training by explicitly accounting for node-ordering symmetries. Across standard graph-generation tasks and molecular distribution-learning benchmarks, SNACK achieves competitive sample quality, while substantially improving the throughput of GFlowNet training relative to graph-based generation. Probing analyses further show that models trained on SNACK encode meaningful local and global graph structure despite receiving only sequential supervision. These results position SNACK as a practical framework for probabilistic graph generation with deep sequence models.
Create a lesson
Related papers
A Statistical Framework for Training Data Auditing of Large Language Models
Shared title terminology · Shengjie Niu, Yeheng Ge, Jian Huang
Differentially Private Score Estimation with Applications to Score-Based Generative Models
Shared title terminology · Mengxiao Gao, Elly K. H. Hung, Yuchen Wu et al.
A Generative Model for Higher-Order Network Dynamics
Shared title terminology · Valentina Sánchez, Theodore Papamarkou, Gonzalo Nápoles et al.
Generative Data Augmentation Without External Data: An Empirical and Theoretical Study on Deep Networks
Shared title terminology · Daniel Kua, Yan Song
The Limits of Closed-Form Couplings for Few-Step Generation
Shared title terminology · Tobias Höppe, Stefan Bauer, Qiang Liu et al.
Tight Sequential Confidence Intervals for Online Kernel Regression
Shared title terminology · Haichen Hu, David Simchi-Levi