arXiv:2605.06239cs.LG2026-05被引 1

提出新方法证明图语言模型能学结构规律而非仅记忆。

When Graph Language Models Go Beyond Memorization

论文配图:When Graph Language Models Go Beyond Memorization
图 1 · 摘自论文原文
  • 用子图挖掘与基线对比,区分记忆与结构学习
  • 375万图数据下记忆率下降,排序相关性仍保持高位
  • 高频结构可复现,罕见结构仍难覆盖,适合大模型研究者

当前的聚合保真度指标无法判断图语言模型是学习结构规律还是仅记忆训练图。我们提出一种校准诊断协议,结合频繁子图挖掘、图级自举基线和三级频率分层,以分离记忆与结构对齐。在五个TU基准上,基于LLaMA风格的图语言模型虽在子图排序相关性上表现优异,但其对齐程度多数情况下被记忆基线匹配或超越。小规模下,保真度几乎等同于逐字回忆;而在大规模(375万图)时,逐字记忆显著下降,排序相关性却接近顶峰。特别地,在仅包含新出现子图的分析中,频繁子图挖掘结果与整体生成的斯皮尔曼相关性高度一致,表明对齐并非仅由逐字回忆驱动。各规模下,高频模式被良好复现,稀有模式覆盖不足,容量增加也仅轻微改善这一缺陷。两种不同图编码方式(标准DFS码与动作序列)均呈现相同规模依赖的转折点,验证了分析的鲁棒性。

原文摘要 · Abstract (English)

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.

图神经网络结构学习大模型分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。