JOURNAL ARTICLE

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

Hai-Tao ZhengZuotong XieWenqiang LiuDongxiao HuangBei WuHong‐Gee Kim

Year: 2023 Journal:   Electronics Vol: 12 (15)Pages: 3281-3281   Publisher: Multidisciplinary Digital Publishing Institute

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.

Keywords:
Computer science Artificial intelligence Natural language processing Question answering Security token Language model Machine learning Field (mathematics) Variety (cybernetics) Word (group theory)

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
45
Refs
0.08
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Natural Language Processing Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
Multimodal Machine Learning Applications
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

© 2026 ScienceGate Book Chapters — All rights reserved.