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

通过偏好优化实现知识图谱嵌入的遗忘

Unlearning of Knowledge Graph Embedding via Preference Optimization

Southeast University(东南大学);University of Macau(澳门大学)

Jiajun Liu, Wenjun Ke, Peng Wang, Yao He, Ziyu Shang, Guozheng Li, Zijie Xu, Ke Ji

AI总结:

本文提出 GraphDPO 近似遗忘框架,通过 DPO 偏好优化、边界外采样和边界回忆机制,在移除知识图谱嵌入中指定三元组的同时保护剩余知识,实验显著优于现有基线。

摘要:

现有知识图谱(KG)不可避免地包含过时或错误的知识,需要将其从知识图谱嵌入(KGE)模型中移除。为应对这一挑战,可采用知识遗忘来消除特定信息,同时保留知识图谱中剩余知识的完整性。现有遗忘方法通常可分为精确遗忘和近似遗忘。然而,精确遗忘需要高昂的训练成本,而由于三元组固有的连通性,近似遗忘在应用于知识图谱时面临两个问题:(1)它无法完全移除目标信息,因为被遗忘的三元组仍可从剩余三元组中推断出来。(2)它聚焦于特定移除的局部数据,这会削弱遗忘边界中的剩余知识。为解决这些问题,我们提出 GraphDPO,这是一种基于直接偏好优化(DPO)的新型近似遗忘框架。首先,为有效移除遗忘三元组,我们将遗忘重构为偏好优化问题,其中模型通过 DPO 训练,使其偏好重构的替代项而非原始遗忘三元组。该形式化对依赖易遗忘知识的行为进行惩罚,缓解由知识图谱连通性导致的不彻底遗忘。此外,我们引入边界外采样策略,以构建语义重叠最小的偏好对,削弱遗忘知识与保留知识之间的联系。其次,为保留边界知识,我们引入边界回忆机制,在时间步内部及跨时间步重放并蒸馏相关信息。我们在四个流行知识图谱上构建了八个具有不同遗忘率的遗忘数据集。实验表明,GraphDPO 在 MRR_Avg 上最高优于最先进基线 10.1%,在 MRR_F1 上最高优于 14.0%。

英文摘要:

Existing knowledge graphs (KGs) inevitably contain outdated or erroneous knowledge that needs to be removed from knowledge graph embedding (KGE) models. To address this challenge, knowledge unlearning can be applied to eliminate specific information while preserving the integrity of the remaining knowledge in KGs. Existing unlearning methods can generally be categorized into exact unlearning and approximate unlearning. However, exact unlearning requires high training costs while approximate unlearning faces two issues when applied to KGs due to the inherent connectivity of triples: (1) It fails to fully remove targeted information, as forgetting triples can still be inferred from remaining ones. (2) It focuses on local data for specific removal, which weakens the remaining knowledge in the forgetting boundary. To address these issues, we propose GraphDPO, a novel approximate unlearning framework based on direct preference optimization (DPO). Firstly, to effectively remove forgetting triples, we reframe unlearning as a preference optimization problem, where the model is trained by DPO to prefer reconstructed alternatives over the original forgetting triples. This formulation penalizes reliance on forgettable knowledge, mitigating incomplete forgetting caused by KG connectivity. Moreover, we introduce an out-boundary sampling strategy to construct preference pairs with minimal semantic overlap, weakening the connection between forgetting and retained knowledge. Secondly, to preserve boundary knowledge, we introduce a boundary recall mechanism that replays and distills relevant information both within and across time steps. We construct eight unlearning datasets across four popular KGs with varying unlearning rates. Experiments show that GraphDPO outperforms state-of-the-art baselines by up to 10.1% in MRR_Avg and 14.0% in MRR_F1.

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

↑