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

KEHRL:通过分层强化学习学习知识增强的语言表示

KEHRL: Learning Knowledge-Enhanced Language Representations with Hierarchical Reinforcement Learning

Alibaba Group(阿里巴巴集团)

Dongyang Li, Taolin Zhang, Longtao Huang, Chengyu Wang, Xiaofeng He, Hui Xue

AI总结:

针对现有知识增强预训练语言模型将知识注入与整合割裂的问题,提出KEHRL分层强化学习框架,通过高层RL选注入位置、低层RL优化三元组,提升事实知识探测和自然语言理解任务性能。

摘要:

知识增强预训练语言模型(KEPLMs)利用知识图谱(KGs)中的关系三元组,通过自监督学习将这些外部数据源整合到语言模型中。以往的研究将知识增强视为两个独立的操作,即知识注入和知识整合。本文提出了基于分层强化学习的知识增强语言表示学习方法KEHRL,该方法联合解决知识注入位置检测与外部知识整合问题,以避免注入不准确或不相关的知识。具体而言,高层强化学习(RL)智能体结合内部知识与先验知识,迭代检测文本中需要注入知识的关键位置,过滤掉意义不大的实体,避免偏离知识学习方向。选定实体位置后,相关三元组过滤模块会启动低层强化学习,通过二值动作动态优化多义实体对应的三元组。实验验证了KEHRL在事实知识探测以及提升模型在多种自然语言理解任务上的性能方面的有效性。

英文摘要:

Knowledge-enhanced pre-trained language models (KEPLMs) leverage relation triples from knowledge graphs (KGs) and integrate these external data sources into language models via self-supervised learning. Previous works treat knowledge enhancement as two independent operations, i.e., knowledge injection and knowledge integration. In this paper, we propose to learn Knowledge-Enhanced language representations with Hierarchical Reinforcement Learning (KEHRL), which jointly addresses the problems of detecting positions for knowledge injection and integrating external knowledge into the model in order to avoid injecting inaccurate or irrelevant knowledge. Specifically, a high-level reinforcement learning (RL) agent utilizes both internal and prior knowledge to iteratively detect essential positions in texts for knowledge injection, which filters out less meaningful entities to avoid diverting the knowledge learning direction. Once the entity positions are selected, a relevant triple filtration module is triggered to perform low-level RL to dynamically refine the triples associated with polysemic entities through binary-valued actions. Experiments validate KEHRL's effectiveness in probing factual knowledge and enhancing the model's performance on various natural language understanding tasks.

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

↑