arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06239cs.LG
收藏

图语言模型超越记忆

When Graph Language Models Go Beyond Memorization

National Institute of Informatics(日本信息处理研究所);SOKENDAI

Masatsugu Yamada, Mahito Sugiyama

AI总结:

研究通过诊断协议区分图语言模型的记忆与结构对齐,发现大规模下模型能学习超越记忆的结构规律,但稀有模式仍存在覆盖不足。

摘要:

图语言模型是否学习结构规律还是单纯记忆训练图仍存疑问,现有聚合保真度指标无法解决。本文开发了校准诊断协议,结合频繁子图挖掘、图级Bootstrap基线和三级频率分层,分离记忆与结构对齐。结果显示,图语言模型在大规模下能学习超越记忆的结构规律,主要在高频领域。通过五种TU基准测试,LLaMA风格模型在子图排名相关性上表现优异,但其对齐度常被记忆Bootstrap匹配或超越。在小规模下,保真度与逐字记忆难以区分,而大规模(375万图)时,逐字记忆急剧下降,排名相关性保持高位。此外,固定子采样分析显示,仅限新图的频繁子图挖掘与所有生成的斯皮尔曼相关性一致,证明对齐非由逐字记忆驱动。所有规模下高频模式良好再现,稀有模式覆盖不足,容量增加时缺陷仅轻微缩小。在两种不同图序列化方式下观察到规模依赖的交叉点,证明分析的鲁棒性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑