aiqbench analysis
SNACK introduces a novel string-based representation for probabilistic graph generation, allowing sequence models to enforce structural constraints like chemical valence with 100% validity. By linearizing graphs via the lower-triangular adjacency matrix, it significantly improves GFlowNet training throughput while maintaining competitive sample quality on molecular benchmarks. This framework effectively bridges deep learning sequence models with complex graph topology tasks.
SNACK: A Sequential Notation Framework for Probabilistic Graph Generation
arXiv:2610.19781v1 Announce Type: cross Abstract: We introduce SNACK, a string representation for probabilistic graph generation that enables sequence models to generate and model 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--guaranteeing 100% valid generated sequences. 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.
Abstract:We introduce SNACK, a string representation for probabilistic graph generation that enables sequence models to generate and model 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--guaranteeing 100% valid generated sequences. 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.
Machine Learning (stat.ML); Machine Learning (cs.LG)
arXiv:2610.19781 [stat.ML]
(or arXiv:2610.19781v1 [stat.ML] for this version)
https://doi.org/10.48550/arXiv.2610.19781 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 241 words
Related coverage
Perspectives on Tsallis Statistics for Artificial Intelligence
arXiv · Aug 5, 2026
SpecBox: Speculative Sandbox Scheduling for Efficient LLM Agent Serving
arXiv · Jul 28, 2026
Looking Ahead and Back: Anticipatory Generative Modeling for Road-Network Trajectories
arXiv · Oct 12, 2026
FLAGG: Flexible Autoregressive Graph Generation
arXiv · Jun 5, 2026