When Graph Language Models Go Beyond Memorization
Not on the map. Why?
Abstract (arXiv)
It remains unclear whether graph language models learn structural regularities or merely memorize training graphs; this cannot be resolved by current aggregate fidelity metrics alone. We develop a calibrated diagnostic protocol that combines frequent subgraph mining, a graph-level bootstrap baseline, and three-level frequency stratification to disentangle memorization from structural alignment. Using this framework, we show that graph language models can acquire structural regularities beyond memorization at scale, primarily in the high-frequency regime. This is supported by the following empirical evidence: On five TU benchmarks, LLaMA-style graph language models reach high subgraph-rank correlation, yet their alignment is matched or exceeded by the memorization bootstrap in most cases. At small scale, under our bootstrap diagnostic, fidelity is largely indistinguishable from verbatim recall. In contrast, at large scale with 3.75M graphs, verbatim memorization drops sharply while rank correlation remains near ceiling. Crucially, in a separate fixed-subsample analysis, frequent subgraph mining restricted to the novel-only subset closely tracks the corresponding all-generation Spearman correlation, providing evidence that the alignment is not driven solely by verbatim recall. Across all scales, high-frequency patterns are well reproduced, while rare patterns remain poorly covered, and this deficit narrows only marginally as capacity increases. We observe the same scale-dependent crossover under two distinct graph serializations (canonical DFS code and action sequences), providing evidence of robustness in our analysis.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 21 of its 25 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
21 of 25 references.
References · 21
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 718
- 2022DiGress: Discrete Denoising diffusion for graph generationcited by 503
- 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 418
- 2018GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Modelscited by 406
- 2018GraphVAE: Towards Generation of Small Graphs Using Variational Autoencoderscited by 375
- 2018Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generationcited by 363
- 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
- 2020GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generationcited by 301
9 more
- 2022Score-based Generative Modeling of Graphs via the System of Stochastic Differential Equationscited by 273
- 2020Permutation Invariant Graph Generation via Score-Based Generative Modelingcited by 263
- 2018Learning Deep Generative Models of Graphscited by 227
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 175
- 2020GraphGen: A Scalable Approach to Domain-agnostic Labeled Graph Generationcited by 65
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 64
- 2022On Evaluation Metrics for Graph Generative Modelscited by 44
- 2023GraphGPT: Generative Pre-trained Graph Eulerian Transformercited by 15
- 2025Flatten Graphs as Sequences: Transformers are Scalable Graph Generatorscited by 12
Built on by
Citing papers per year: 2026: 1.
1 paper.