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

低维联邦知识图谱嵌入 via 知识蒸馏

Low-Dimensional Federated Knowledge Graph Embedding via Knowledge Distillation

Nanyang Technological University(南洋理工大学)

Xiaoxiong Zhang, Zhiwei Zeng, Xin Zhou, Chunyan Miao

AI总结:

本文提出FedKD,通过知识蒸馏实现低维联邦知识图谱嵌入,缓解教师模型过度自信问题,提升通信效率和训练效果。

摘要:

联邦知识图谱嵌入(FKGE)旨在从多个客户端分布的图谱中协作学习实体和关系嵌入,同时保护数据隐私。训练FKGE模型通常倾向于更高维度,因为它们有潜力获得更优性能。然而,高维嵌入在存储资源和推理速度方面带来了显著挑战。与传统图谱嵌入方法不同,FKGE涉及多个客户端-服务器通信轮次,其中通信效率至关重要。现有的传统图谱嵌入压缩方法可能无法直接应用于FKGE,因为它们通常需要多次模型训练,这可能会带来显著的通信成本。在本文中,我们提出了一种轻量级组件,基于知识蒸馏(KD),命名为FedKD,专门针对FKGE方法。在客户端侧本地训练过程中,FedKD使低维学生模型模仿高维教师模型的三元组得分分布,使用KL散度损失。与传统KD方法不同,FedKD自适应地学习一个温度来缩放正三元组的得分,并分别调整相应负三元组的得分,使用预定义的温度,从而缓解教师过度自信的问题。此外,我们动态调整KD损失的权重以优化训练过程。在三个数据集上的广泛实验支持了FedKD的有效性。

英文摘要:

Federated Knowledge Graph Embedding (FKGE) aims to facilitate collaborative learning of entity and relation embeddings from distributed Knowledge Graphs (KGs) across multiple clients, while preserving data privacy. Training FKGE models with higher dimensions is typically favored due to their potential for achieving superior performance. However, high-dimensional embeddings present significant challenges in terms of storage resource and inference speed. Unlike traditional KG embedding methods, FKGE involves multiple client-server communication rounds, where communication efficiency is critical. Existing embedding compression methods for traditional KGs may not be directly applicable to FKGE as they often require multiple model trainings which potentially incur substantial communication costs. In this paper, we propose a light-weight component based on Knowledge Distillation (KD) which is titled FedKD and tailored specifically for FKGE methods. During client-side local training, FedKD facilitates the low-dimensional student model to mimic the score distribution of triples from the high-dimensional teacher model using KL divergence loss. Unlike traditional KD way, FedKD adaptively learns a temperature to scale the score of positive triples and separately adjusts the scores of corresponding negative triples using a predefined temperature, thereby mitigating teacher over-confidence issue. Furthermore, we dynamically adjust the weight of KD loss to optimize the training process. Extensive experiments on three datasets support the effectiveness of FedKD.

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

↑