Prompt Learning with Structured Semantic Knowledge Makes Pre-Trained Language Models Better

Author:

Zheng Hai-Tao12ORCID,Xie Zuotong1,Liu Wenqiang3,Huang Dongxiao3,Wu Bei3,Kim Hong-Gee4

Affiliation:

1. Shenzhen International Graduate School, Tsinghua University, Shenzhen 518055, China

2. Pengcheng Laboratory, Shenzhen 518055, China

3. Interactive Entertainment Group, Tencent Inc., Shenzhen 518057, China

4. School of Dentistry, Seoul National University, Seoul 03080, Republic of Korea

Abstract

Pre-trained language models with structured semantic knowledge have demonstrated remarkable performance in a variety of downstream natural language processing tasks. The typical methods of integrating knowledge are designing different pre-training tasks and training from scratch, which requires high-end hardware, massive storage resources, and long computing times. Prompt learning is an effective approach to tuning language models for specific tasks, and it can also be used to infuse knowledge. However, most prompt learning methods accept one token as the answer, instead of multiple tokens. To tackle this problem, we propose the long-answer prompt learning method (KLAPrompt), with three different long-answer strategies, to incorporate semantic knowledge into pre-trained language models, and we compare the performance of these three strategies through experiments. We also explore the effectiveness of the KLAPrompt method in the medical field. Additionally, we generate a word sense prediction dataset (WSP) based on the Xinhua Dictionary and a disease and category prediction dataset (DCP) based on MedicalKG. Experimental results show that discrete answers with the answer space partitioning strategy achieve the best results, and introducing structured semantic information can consistently improve language modeling and downstream tasks.

Funder

National Natural Science Foundation of China

Research Center for Computer Network (Shenzhen) Ministry of Education

Beijing Academy of Artificial Intelligence

Natural Science Foundation of Guangdong Province

Basic Research Fund of Shenzhen City

Major Key Project of PCL for Experiments and Applications

Overseas Cooperation Research Fund of Tsinghua Shenzhen International Graduate School

Publisher

MDPI AG

Subject

Electrical and Electronic Engineering,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Control and Systems Engineering

Reference45 articles.

1. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA.

2. XLNet: Generalized Autoregressive Pretraining for Language Understanding;Yang;Adv. Neural Inf. Process. Syst.,2019

3. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. (2019). Roberta: A robustly optimized bert pretraining approach. arXiv.

4. Zellers, R., Bisk, Y., Schwartz, R., and Choi, Y. (November, January 31). SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inference. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.

5. Pre-trained models for natural language processing: A survey;Qiu;Sci. China Technol. Sci.,2020

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3