用参数加权平均提升知识图谱链接预测性能
Parameter Averaging in Link Prediction
- 训练中维护模型参数的运行平均值用于预测
- 仅在验证集性能提升时更新平均参数,减少冗余计算
- 适用于多跳查询和实体属性增强任务,效果稳定
集成学习广泛应用于机器学习以提升泛化能力,也推动了知识图谱嵌入(KGE)模型在链接预测中的应用。传统方法通过训练多个模型并平均其预测结果来实现集成,但存在计算开销大、延迟高、内存占用高的问题。本文提出一种模型融合策略,采用加权平均方式,在训练过程中持续维护参数的运行平均值用于预测。为进一步优化,我们提出仅当验证集性能提升时才更新平均参数。在链接预测任务上评估该方法,对比当前最先进的集成基准。此外还测试了在带实体属性增强的KGE模型及多跳查询任务上的表现。结果表明,所提加权平均方法在多种设置下均持续提升性能。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。