Synergistic Anchored Contrastive Pre-training for Few-Shot Relation Extraction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Luo, Da, Gan, Yanglei, Hou, Rui, Lin, Run, Liu, Qiao, Cai, Yuxiang, Gao, Wannian
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916154329530368
author Luo, Da
Gan, Yanglei
Hou, Rui
Lin, Run
Liu, Qiao
Cai, Yuxiang
Gao, Wannian
author_facet Luo, Da
Gan, Yanglei
Hou, Rui
Lin, Run
Liu, Qiao
Cai, Yuxiang
Gao, Wannian
contents Few-shot Relation Extraction (FSRE) aims to extract relational facts from a sparse set of labeled corpora. Recent studies have shown promising results in FSRE by employing Pre-trained Language Models (PLMs) within the framework of supervised contrastive learning, which considers both instances and label facts. However, how to effectively harness massive instance-label pairs to encompass the learned representation with semantic richness in this learning paradigm is not fully explored. To address this gap, we introduce a novel synergistic anchored contrastive pre-training framework. This framework is motivated by the insight that the diverse viewpoints conveyed through instance-label pairs capture incomplete yet complementary intrinsic textual semantics. Specifically, our framework involves a symmetrical contrastive objective that encompasses both sentence-anchored and label-anchored contrastive losses. By combining these two losses, the model establishes a robust and uniform representation space. This space effectively captures the reciprocal alignment of feature distributions among instances and relational facts, simultaneously enhancing the maximization of mutual information across diverse perspectives within the same relation. Experimental results demonstrate that our framework achieves significant performance enhancements compared to baseline models in downstream FSRE tasks. Furthermore, our approach exhibits superior adaptability to handle the challenges of domain shift and zero-shot relation extraction. Our code is available online at https://github.com/AONE-NLP/FSRE-SaCon.
format Preprint
id arxiv_https___arxiv_org_abs_2312_12021
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Synergistic Anchored Contrastive Pre-training for Few-Shot Relation Extraction
Luo, Da
Gan, Yanglei
Hou, Rui
Lin, Run
Liu, Qiao
Cai, Yuxiang
Gao, Wannian
Computation and Language
Artificial Intelligence
Few-shot Relation Extraction (FSRE) aims to extract relational facts from a sparse set of labeled corpora. Recent studies have shown promising results in FSRE by employing Pre-trained Language Models (PLMs) within the framework of supervised contrastive learning, which considers both instances and label facts. However, how to effectively harness massive instance-label pairs to encompass the learned representation with semantic richness in this learning paradigm is not fully explored. To address this gap, we introduce a novel synergistic anchored contrastive pre-training framework. This framework is motivated by the insight that the diverse viewpoints conveyed through instance-label pairs capture incomplete yet complementary intrinsic textual semantics. Specifically, our framework involves a symmetrical contrastive objective that encompasses both sentence-anchored and label-anchored contrastive losses. By combining these two losses, the model establishes a robust and uniform representation space. This space effectively captures the reciprocal alignment of feature distributions among instances and relational facts, simultaneously enhancing the maximization of mutual information across diverse perspectives within the same relation. Experimental results demonstrate that our framework achieves significant performance enhancements compared to baseline models in downstream FSRE tasks. Furthermore, our approach exhibits superior adaptability to handle the challenges of domain shift and zero-shot relation extraction. Our code is available online at https://github.com/AONE-NLP/FSRE-SaCon.
title Synergistic Anchored Contrastive Pre-training for Few-Shot Relation Extraction
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2312.12021