Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering ›› 2026, Vol. 52 ›› Issue (9): 123-132. doi: 10.19678/j.issn.1000-3428.0070629

• Computational Intelligence and Pattern Recognition • Previous Articles     Next Articles

Research on Entity Linking Method Based on Contrastive Learning and Re-ranking

LIU Junping1,2,3, WANG Runpeng1, HU Xinrong1, PENG Tao1, WANG Bangchao1, YANG Huali1, ZHU Qiang1,*()   

  1. 1. School of Computer Science and Artificial Intelligence, Wuhan Textile University, Wuhan 430200, Hubei, China
    2. Engineering Research Center of Hubei Province for Clothing Information, Wuhan 430200, Hubei, China
    3. Hubei Provincial Research Center for Intelligent Textile and Fashion, Wuhan 430200, Hubei, China
  • Received:2024-11-19 Revised:2025-02-20 Online:2026-09-15 Published:2025-04-09
  • Contact: ZHU Qiang

基于对比学习和重排序的实体链接方法研究

刘军平1,2,3, 王润鹏1, 胡新荣1, 彭涛1, 王帮超1, 杨华利1, 朱强1,*()   

  1. 1. 武汉纺织大学计算机与人工智能学院, 湖北 武汉 430200
    2. 湖北省服装信息化工程技术研究中心, 湖北 武汉 430200
    3. 纺织服装智能化湖北省工程研究中心, 湖北 武汉 430200
  • 通讯作者: 朱强
  • 作者简介:

    刘军平(CCF高级会员), 男, 副教授, 主研方向为自然语言处理、信息检索、知识图谱

    王润鹏, 硕士研究生

    胡新荣, 教授

    彭涛, 教授

    王帮超, 讲师

    杨华利, 讲师

    朱强(通信作者), 讲师

  • 基金资助:
    教育部人文社会科学研究一般项目(23YJAZH082); 湖北省教育科学规划重点课题(2022GA046); 国家自然科学基金青年科学基金项目(62102291); 湖北省自然科学基金计划项目(2024AFB736)

Abstract:

Entity Linking (EL), which links entity mentions in natural text to corresponding entities within a knowledge base, plays a crucial role in fields such as information retrieval and question-answering systems. The key challenge in EL lies in the effective utilization of the contextual information of mentions and feature information of entities in the knowledge base to generate candidate entities and select the correct entity among them. Although some methods generate relevant candidate entities by relying on specific strategies and select appropriate entities by combining feature information, they often fail to capture deeper semantic relationships, resulting in an inability to obtain high-quality candidate entities. In some cases, the correct entity may not be included among the candidate entities. Meanwhile, in specific domains, limited entity information may impair the capability of some methods for multi-level interaction. To address these issues, this paper proposes a two-stage EL method. This method first generates high-quality candidate entities and then aggregates entity feature information to achieve re-ranking at both coarse- and fine-grained levels. Specifically, it retrieves high-quality candidate entities using a contrastive learning method based on hybrid negative sample sampling. Subsequently, it predicts the fine-grained entity types in a weakly supervised manner and uses both coarse- and fine-grained type information to re-rank the candidate entities. Experimental results on three public datasets demonstrate the effectiveness of this method in enhancing EL performance.

Key words: Entity Linking (EL), candidate entity generation, contrastive learning, mixed negative sampling, fine-grained entity types

摘要:

实体链接(EL)是一项将自然文本中的实体提及链接到知识库中相应实体的任务, 在信息检索、问答系统等领域发挥着重要作用。EL的挑战在于如何利用提及的上下文和知识库中实体的特征信息, 生成候选实体并选择其中正确的实体。尽管一些方法依靠某种策略生成了相关的候选实体, 并结合特征信息选择了合适的实体, 但是这些方法往往未能学习更深层次的语义信息, 导致不能得到高质量的候选实体, 甚至正确的实体不包含在候选实体中。同时, 在一些特定领域, 实体信息资源会出现不充分的情况, 使得一些方法缺乏在多个层面上进行交互的能力。为了解决以上问题, 提出一种两阶段的EL方法, 首先生成高质量的候选实体, 随后聚合实体特征信息以实现粗粒度和细粒度层面的重排序。具体地, 使用基于混合负样本采样的对比学习方法检索得到高质量的候选实体, 然后利用弱监督的方式预测实体细粒度的类型, 并使用粗粒度和细粒度的类型信息对候选实体进行重排序。在3个公共数据集上的实验结果表明, 该方法可以有效提升EL的效果。

关键词: 实体链接, 候选实体生成, 对比学习, 混合负样本采样, 细粒度实体类型