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

同一图,不同似然度:通过排列等价编码校准自回归图生成器

Same Graph, Different Likelihoods: Calibration of Autoregressive Graph Generators via Permutation-Equivalent Encodings

Technical University of Denmark(丹麦技术大学);University of Birmingham(伯明翰大学);National Institute of Informatics(国立信息学研究所)

Laurits Fredsgaard, Aaron Thomas, Michael Riis Andersen, Mikkel N. Schmidt, Mahito Sugiyama

AI总结:

本文通过排列等价编码量化自回归图生成器的似然度不一致问题,发现模型更倾向于训练线性化而非图结构本身,且基于排列的评估更可靠。

摘要:

自回归图生成器通过顺序构建过程定义似然度,但这些似然度必须在所有线性化中保持一致。SEGMENTED EUROPIAN NEIGHBORHOOD TRAILS (SENT)是一种线性化方法,能将图转换为可被语言模型高效处理的序列,但允许同一图的等价线性化。本文通过量化等价线性化中的负对数似然(NLL)变异系数(称为线性化不确定性LU),发现训练策略偏好的顺序在自身顺序上具有较低NLL,但在随机排列下表现出更高的预期校准误差(ECE)。在分子图基准QM9上,生成图的NLL与分子稳定性负相关(AUC=0.43),而LU与分子稳定性正相关(AUC=0.85),表明基于排列的评估更可靠。代码可在https://github.com/lauritsf/linearization-uncertainty获取。

英文摘要:

Autoregressive graph generators define likelihoods via a sequential construction process, but these likelihoods are only meaningful if they are consistent across all linearizations of the same graph. Segmented Eulerian Neighborhood Trails (SENT), a recent linearization method, converts graphs into sequences that can be perfectly decoded and efficiently processed by language models, but admit multiple equivalent linearizations of the same graph. We quantify violations in assigned negative log-likelihood (NLL) using the coefficient of variation across equivalent linearizations, which we call Linearization Uncertainty (LU). Training transformers under four linearization strategies on two datasets, we show that biased orderings achieve lower NLL on their native order but exhibit expected calibration error (ECE) two orders of magnitude higher under random permutation, indicating that these models have learned their training linearization rather than the underlying graph. On the molecular graph benchmark QM9, NLL for generated graphs is negatively correlated with molecular stability (AUC $=0.43$), while LU achieves AUC $=0.85$, suggesting that permutation-based evaluation provides a more reliable quality check for generated molecules. Code is available at https://github.com/lauritsf/linearization-uncertainty

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

↑