Content area

Abstract

Prompt-tuning has emerged as a promising approach for improving the performance of classification tasks by converting them into masked language modeling problems through the insertion of text templates. Despite its considerable success, applying this approach to relation extraction is challenging. Predicting the relation, often expressed as a specific word or phrase between two entities, usually requires creating mappings from these terms to an existing lexicon and introducing extra learnable parameters. This can lead to a decrease in coherence between the pre-training task and fine-tuning. To address this issue, we propose a novel method for prompt-tuning in relation extraction, aiming to enhance the coherence between fine-tuning and pre-training tasks. Specifically, we avoid the need for a suitable relation word by converting the relation into relational semantic keywords, which are representative phrases that encapsulate the essence of the relation. Moreover, we employ a composite loss function that optimizes the model at both token and relation levels. Our approach incorporates the masked language modeling (MLM) loss and the entity pair constraint loss for predicted tokens. For relation level optimization, we use both the cross-entropy loss and TransE. Extensive experimental results on four datasets demonstrate that our method significantly improves performance in relation extraction tasks. The results show an average improvement of approximately 1.6 points in F1 metrics compared to the current state-of-the-art model. Codes are released at https://github.com/12138yx/TCohPrompt.

Details

1009240
Title
TCohPrompt: task-coherent prompt-oriented fine-tuning for relation extraction
Author
Long, Jun 1 ; Yin, Zhuoying 1 ; Liu, Chao 2 ; Huang, Wenti 3 

 Central South University, School of Computer Science and Engineering, Changsha, China (GRID:grid.216417.7) (ISNI:0000 0001 0379 7164) 
 Guizhou Rural Credit Union, Guiyang, China (GRID:grid.216417.7) 
 Hunan University of Science and Technology, School of Computer Science and Engineering, Xiangtan, China (GRID:grid.411429.b) (ISNI:0000 0004 1760 6172) 
Publication title
Volume
10
Issue
6
Pages
7565-7575
Publication year
2024
Publication date
Dec 2024
Publisher
Springer Nature B.V.
Place of publication
Heidelberg
Country of publication
Netherlands
ISSN
21994536
e-ISSN
21986053
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2024-07-22
Milestone dates
2024-07-12 (Registration); 2023-06-26 (Received); 2024-07-06 (Accepted)
Publication history
 
 
   First posting date
22 Jul 2024
ProQuest document ID
3117209474
Document URL
https://www.proquest.com/scholarly-journals/tcohprompt-task-coherent-prompt-oriented-fine/docview/3117209474/se-2?accountid=208611
Copyright
© The Author(s) 2024. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-02-13
Database
ProQuest One Academic