Knowledge-enhanced prototypical network with class cluster loss for few-shot relation classification

Few-shot Relation Classification identifies the relation between target entity pairs in unstructured natural language texts by training on a small number of labeled samples. Recent prototype network-based studies have focused on enhancing the prototype representation capability of models by incorpor...

Full description

Saved in:
Bibliographic Details
Published inPloS one Vol. 18; no. 6; p. e0286915
Main Authors Tao Liu, Zunwang Ke, Yanbing Li, Wushour Silamu
Format Journal Article
LanguageEnglish
Published Public Library of Science (PLoS) 01.01.2023
Online AccessGet full text
ISSN1932-6203
DOI10.1371/journal.pone.0286915

Cover

Loading…
Abstract Few-shot Relation Classification identifies the relation between target entity pairs in unstructured natural language texts by training on a small number of labeled samples. Recent prototype network-based studies have focused on enhancing the prototype representation capability of models by incorporating external knowledge. However, the majority of these works constrain the representation of class prototypes implicitly through complex network structures, such as multi-attention mechanisms, graph neural networks, and contrastive learning, which constrict the model's ability to generalize. In addition, most models with triplet loss disregard intra-class compactness during model training, thereby limiting the model's ability to handle outlier samples with low semantic similarity. Therefore, this paper proposes a non-weighted prototype enhancement module that uses the feature-level similarity between prototypes and relation information as a gate to filter and complete features. Meanwhile, we design a class cluster loss that samples difficult positive and negative samples and explicitly constrains both intra-class compactness and inter-class separability to learn a metric space with high discriminability. Extensive experiments were done on the publicly available dataset FewRel 1.0 and 2.0, and the results show the effectiveness of the proposed model.
AbstractList Few-shot Relation Classification identifies the relation between target entity pairs in unstructured natural language texts by training on a small number of labeled samples. Recent prototype network-based studies have focused on enhancing the prototype representation capability of models by incorporating external knowledge. However, the majority of these works constrain the representation of class prototypes implicitly through complex network structures, such as multi-attention mechanisms, graph neural networks, and contrastive learning, which constrict the model's ability to generalize. In addition, most models with triplet loss disregard intra-class compactness during model training, thereby limiting the model's ability to handle outlier samples with low semantic similarity. Therefore, this paper proposes a non-weighted prototype enhancement module that uses the feature-level similarity between prototypes and relation information as a gate to filter and complete features. Meanwhile, we design a class cluster loss that samples difficult positive and negative samples and explicitly constrains both intra-class compactness and inter-class separability to learn a metric space with high discriminability. Extensive experiments were done on the publicly available dataset FewRel 1.0 and 2.0, and the results show the effectiveness of the proposed model.
Author Yanbing Li
Zunwang Ke
Tao Liu
Wushour Silamu
Author_xml – sequence: 1
  fullname: Tao Liu
– sequence: 2
  fullname: Zunwang Ke
– sequence: 3
  fullname: Yanbing Li
– sequence: 4
  fullname: Wushour Silamu
BookMark eNqtjE1OwzAUhC0EEi1wAxa-QIIdN26yRiAQ2-6th_PcOBi_yHYV9faEnyOwmdF8Gn1bdhkpImP3UtRS7eXDRKcUIdTzimvRdLqX7QXbyF41lW6EumbbnCchWtVpvWHDW6Ql4HDECuMI0eLA50SFynn2FgKPWBZKH3zxZeQ2QM5rnnLBxAOtw1HiDpcqj1R4wgDFU_w9ercavuctu3IQMt799Q17fX46PL5UA8Fk5uQ_IZ0NgTc_gNLRQCreBjRgtdWou0ZJ2HUCO9eK9r0HZ62Qe7lT_-n6AmI9az0
ContentType Journal Article
DBID DOA
DOI 10.1371/journal.pone.0286915
DatabaseName Directory of Open Access Journals (DOAJ)
DatabaseTitleList
Database_xml – sequence: 1
  dbid: DOA
  name: DOAJ Directory of Open Access Journals - NZ
  url: https://www.doaj.org/
  sourceTypes: Open Website
DeliveryMethod fulltext_linktorsrc
Discipline Sciences (General)
EISSN 1932-6203
ExternalDocumentID oai_doaj_org_article_ac6c6e68231a480e8f505b9afcc01714
GroupedDBID ---
123
29O
2WC
53G
5VS
7RV
7X2
7X7
7XC
88E
8AO
8C1
8CJ
8FE
8FG
8FH
8FI
8FJ
A8Z
AAFWJ
AAUCC
AAWOE
ABDBF
ABIVO
ABJCF
ABUWG
ACGFO
ACIHN
ACIWK
ACPRK
ACUHS
ADBBV
AEAQA
AENEX
AEUYN
AFKRA
AFPKN
AFRAH
AHMBA
ALMA_UNASSIGNED_HOLDINGS
AOIJS
APEBS
ARAPS
ATCPS
BAWUL
BBNVY
BCNDV
BENPR
BGLVJ
BHPHI
BKEYQ
BPHCQ
BVXVI
BWKFM
CCPQU
CS3
D1I
D1J
D1K
DIK
DU5
E3Z
EAP
EAS
EBD
EMOBN
ESX
EX3
F5P
FPL
FYUFA
GROUPED_DOAJ
GX1
HCIFZ
HH5
HMCUK
HYE
IAO
IEA
IGS
IHR
IHW
INH
INR
IOV
IPY
ISE
ISR
ITC
K6-
KB.
KQ8
L6V
LK5
LK8
M0K
M1P
M48
M7P
M7R
M7S
M~E
NAPCQ
O5R
O5S
OK1
OVT
P2P
P62
PATMY
PDBOC
PHGZM
PHGZT
PIMPY
PJZUB
PPXIY
PQGLB
PQQKQ
PROAC
PSQYO
PTHSS
PUEGO
PV9
PYCSY
RNS
RPM
RZL
SV3
TR2
UKHRP
WOQ
WOW
~02
~KM
ID FETCH-doaj_primary_oai_doaj_org_article_ac6c6e68231a480e8f505b9afcc017143
IEDL.DBID DOA
IngestDate Wed Aug 27 01:02:04 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Issue 6
Language English
LinkModel DirectLink
MergedId FETCHMERGED-doaj_primary_oai_doaj_org_article_ac6c6e68231a480e8f505b9afcc017143
OpenAccessLink https://doaj.org/article/ac6c6e68231a480e8f505b9afcc01714
ParticipantIDs doaj_primary_oai_doaj_org_article_ac6c6e68231a480e8f505b9afcc01714
PublicationCentury 2000
PublicationDate 2023-01-01
PublicationDateYYYYMMDD 2023-01-01
PublicationDate_xml – month: 01
  year: 2023
  text: 2023-01-01
  day: 01
PublicationDecade 2020
PublicationTitle PloS one
PublicationYear 2023
Publisher Public Library of Science (PLoS)
Publisher_xml – name: Public Library of Science (PLoS)
SSID ssj0053866
Score 4.412935
Snippet Few-shot Relation Classification identifies the relation between target entity pairs in unstructured natural language texts by training on a small number of...
SourceID doaj
SourceType Open Website
StartPage e0286915
SummonAdditionalLinks – databaseName: Scholars Portal Journals: Open Access
  dbid: M48
  link: http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV1NS8NAEB1KvXgR6wd-swcPethgk3Q3OYioWKpSTxZ6C5vJxh5K0qYp2n_vzmYrCHrSSyBhNwmzGeZlZ-Y9gPO4h2ngZ5KrINU81EryOOjmPEMRYuBjkNpemOGLGIzCp3Fv3IK1Zqsz4OLHXzvSkxpVU-9jvroxDn9tVRtkdz3Jm5WF9ky8FDF1nW-Y2CRJzGEYfuUVjHcL4Rrofpv5jbzfRpn-Nmw5eMhum_XsQEsXO9BxDrhgF44l-nIXsuf1bhjXxcTm8RmRLpT1akaGZ0VT4M1op5UhgWRzXBIvApuayMgMWmW5fueLSVmzytXENQOpfMie7sFj_-H1fsDpXZNZw0yREFe0vVBWb4n79BKFAoUWlO9TYXSlo9ygnjRWOWIjf74P7cIY4ABYJDGSQRbJnGjGhBmFws-VgYiIUajiQ7j7-_OO_uMmx7BJwu_NZsgJtOtqqU8NPKjTM7vin3EJxEI
  priority: 102
  providerName: Scholars Portal
Title Knowledge-enhanced prototypical network with class cluster loss for few-shot relation classification
URI https://doaj.org/article/ac6c6e68231a480e8f505b9afcc01714
Volume 18
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV1NSwMxEA1SL17E-oFaLTl40ENa22yz2aOVlqq0iCj0tmRns_Qg26XdIv57Z5IUevOgl0CWkCwvJPMymbxh7CYZQCb7eSyMzKyIrIlFInuFyEFFIPsgM_cWZjpTk4_oeT6Y76T6opgwLw_sgesaUKCsotsqE-l7qwu02VliCgCXvJt2X7R528OU34NxFSsVHsrJuNcN89KplqXtoEVVCaXB3RHpd9ZkfMQOAw3kD374Jtuz5TFrhoW25rdBDfruhOUvW6-XsOXC3ddzEldY1t8VAcxLH8jNyaPKgcgwlhvSP-CfaAE5slJe2C-xXixrvgqxb74hhQm56il7Go_eHyeC_jWtvAJFSprQ7gMilQak0t-QkmesUSIA54zrGHQscx0XJCemsBWofmGQCgLoyCQXbPj38S7_o5MWO6AE797pccUa9Wpjr5EG1Fmb7Q9Hs9e3tpt5LKeR_gHtUrxh
linkProvider Directory of Open Access Journals
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Knowledge-enhanced+prototypical+network+with+class+cluster+loss+for+few-shot+relation+classification&rft.jtitle=PloS+one&rft.au=Tao+Liu&rft.au=Zunwang+Ke&rft.au=Yanbing+Li&rft.au=Wushour+Silamu&rft.date=2023-01-01&rft.pub=Public+Library+of+Science+%28PLoS%29&rft.eissn=1932-6203&rft.volume=18&rft.issue=6&rft.spage=e0286915&rft_id=info:doi/10.1371%2Fjournal.pone.0286915&rft.externalDBID=DOA&rft.externalDocID=oai_doaj_org_article_ac6c6e68231a480e8f505b9afcc01714