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

你所有的知识都属于我们:通过推理API窃取知识图谱

All Your Knowledge Belongs to Us: Stealing Knowledge Graphs via Reasoning APIs

Zhaohan Xi

AI总结:

本文提出KGX攻击,通过黑盒查询推理API逐步自适应地高保真窃取私有知识图谱子图,并验证其对现有噪声注入等防御措施的有效性,呼吁开发更安全的KGR系统。

摘要:

知识图谱推理(KGR)在大规模知识图谱(KGs)上回答复杂的逻辑查询,是一项重要的人工智能任务,具有广泛的应用。许多知识图谱的构建需要大量的领域专业知识和工程投入,因此在组织和企业内部被视为专有资产。然而,受商业和研究潜力的推动,将(部分)构建于私有知识图谱之上的KGR系统通过推理API公开提供服务的趋势日益增长。维护知识图谱机密性与确保KGR系统可访问性之间的内在张力,促使我们研究知识图谱提取攻击:攻击者旨在仅利用对KGR API的黑盒访问来“窃取”后端知识图谱的私有部分。具体而言,我们提出了KGX,一种在有限查询预算下高保真提取机密子知识图谱的攻击方法。在高层次上,KGX逐步且自适应地查询KGR API,并整合查询响应以重建私有子知识图谱。即使与私有子知识图谱相关的任何查询响应被过滤,这种提取仍然可行。我们针对实验性和真实世界的KGR API验证了KGX的有效性。有趣的是,我们发现典型的对策(例如向查询响应中注入噪声)通常对KGX无效。我们的发现表明,需要更有原则性的方法来开发和部署KGR系统,并设计针对知识图谱提取攻击的新型防御措施。

英文摘要:

Knowledge graph reasoning (KGR), which answers complex, logical queries over large knowledge graphs (KGs), represents an important artificial intelligence task with a range of applications. Many KGs require extensive domain expertise and engineering effort to build and are hence considered proprietary within organizations and enterprises. Yet, spurred by their commercial and research potential, there is a growing trend to make KGR systems, (partially) built upon private KGs, publicly available through reasoning APIs. The inherent tension between maintaining the confidentiality of KGs while ensuring the accessibility to KGR systems motivates our study of KG extraction attacks: the adversary aims to "steal" the private segments of the backend KG, leveraging solely black-box access to the KGR API. Specifically, we present KGX, an attack that extracts confidential sub-KGs with high fidelity under limited query budgets. At a high level, KGX progressively and adaptively queries the KGR API and integrates the query responses to reconstruct the private sub-KG. This extraction remains viable even if any query responses related to the private sub-KG are filtered. We validate the efficacy of KGX against both experimental and real-world KGR APIs. Interestingly, we find that typical countermeasures (e.g., injecting noise into query responses) are often ineffective against KGX. Our findings suggest the need for a more principled approach to developing and deploying KGR systems, as well as devising new defenses against KG extraction attacks.

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

↑