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

链接预测中的参数平均

Parameter Averaging in Link Prediction

Heinz Nixdorf Institute, Paderborn University(帕德博恩大学海因茨·尼克斯多夫研究所)

Rupesh Sapkota, Caglar Demir, Arnab Sharma, Axel-Cyrille Ngonga Ngomo

AI总结:

针对链接预测中传统集成方法计算开销大的问题,提出KGE模型参数加权平均及验证集驱动的选择性更新方法,在多任务多设置下均能稳定提升性能。

摘要:

集成方法被广泛用于提升机器学习模型的泛化能力,这也推动了集成学习在知识图谱嵌入(KGE)模型执行链接预测任务中的应用。这类方法的典型思路是训练多个模型作为集成的组成部分,再对各异的预测结果取平均。但该方法存在显著缺陷,例如训练多个模型的计算开销会提升延迟与内存占用。与之相对,模型合并方法提供了一种无需训练多个模型的可行替代方案。本研究将模型合并方法,具体为加权平均,引入KGE模型中:从某个训练轮次开始维护模型参数的滑动平均值,并将其用于预测。为进一步优化效果,我们还提出一种方法:仅当集成模型参数的滑动平均值在验证集上的泛化性能提升时,才对其进行选择性更新。我们在链接预测任务上评估了这两种不同的加权平均方法,与当前最优的基准集成方法进行对比;此外还结合字面量增强的KGE模型、多跳查询回答任务评估了加权平均方法。结果表明,所提出的加权平均方法在各类评估设置下均能持续提升性能。

英文摘要:

Ensemble methods are widely employed to improve generalization in machine learning. This has also prompted the adoption of ensemble learning for the knowledge graph embedding (KGE) models in performing link prediction. Typical approaches to this end train multiple models as part of the ensemble, and the diverse predictions are then averaged. However, this approach has some significant drawbacks. For instance, the computational overhead of training multiple models increases latency and memory overhead. In contrast, model merging approaches offer a promising alternative that does not require training multiple models. In this work, we introduce model merging, specifically weighted averaging, in KGE models. Herein, a running average of model parameters from a training epoch onward is maintained and used for predictions. To address this, we additionally propose an approach that selectively updates the running average of the ensemble model parameters only when the generalization performance improves on a validation dataset. We evaluate these two different weighted averaging approaches on link prediction tasks, comparing the state-of-the-art benchmark ensemble approach. Additionally, we evaluate the weighted averaging approach considering literal-augmented KGE models and multi-hop query answering tasks as well. The results demonstrate that the proposed weighted averaging approach consistently improves performance across diverse evaluation settings.

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

↑