Advanced Search
LI Xinrong, WANG Peiyan. Nearest Neighbor Prompt Learning Method for Few-shot Relation Extraction from Process TextJ. Journal of Chinese Information Processing, 2026, 40(8): 46-55, 66. DOI: 10.3969/j.issn.1003-0077.2026.08.005
Citation: LI Xinrong, WANG Peiyan. Nearest Neighbor Prompt Learning Method for Few-shot Relation Extraction from Process TextJ. Journal of Chinese Information Processing, 2026, 40(8): 46-55, 66. DOI: 10.3969/j.issn.1003-0077.2026.08.005

Nearest Neighbor Prompt Learning Method for Few-shot Relation Extraction from Process Text

  • The process text relationship extraction task is of strong application value. To deal with the numerous and complex relationships in process texts, this paper proposes the nearest neighbor prompt learning model K-PTR. Firstly, the model sets a label set for each relationship class in the prompt learning stage and summarizes the entity types and relationship contents of the relationship in the process text, which helps the model effectively improve the sample utilization rate in the case of few-shot. Then the KNN method is used to combine the similarity of instances to complete the reasoning and prediction of the relationship categories of the instances to be tested Experiments indicate that the F1 values of K-PTR are increased by 1.2%, 1.9%, 1.8% and 2.5% in four -shot experiments, respectively.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return