Structured Semantic Information Helps Retrieve Better Examples for In-Context Learning in Few-Shot Relation Extraction

📅 2026-01-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of insufficient example quality in few-shot relation extraction by proposing a hybrid strategy that integrates syntactic-semantic structural similarity with examples generated by large language models. For the first time, syntactic-semantic structures are leveraged as the core criterion for retrieving in-context examples, complementing synthetic examples produced by models such as Qwen and Gemma to more comprehensively capture target relations. The proposed approach achieves state-of-the-art performance on FS-TACRED and demonstrates significant improvements on a customized FewRel subset, exhibiting strong cross-dataset and cross-model transferability.

Technology Category

Application Category

📝 Abstract
This paper presents several strategies to automatically obtain additional examples for in-context learning of one-shot relation extraction. Specifically, we introduce a novel strategy for example selection, in which new examples are selected based on the similarity of their underlying syntactic-semantic structure to the provided one-shot example. We show that this method results in complementary word choices and sentence structures when compared to LLM-generated examples. When these strategies are combined, the resulting hybrid system achieves a more holistic picture of the relations of interest than either method alone. Our framework transfers well across datasets (FS-TACRED and FS-FewRel) and LLM families (Qwen and Gemma). Overall, our hybrid selection method consistently outperforms alternative strategies and achieves state-of-the-art performance on FS-TACRED and strong gains on a customized FewRel subset.
Problem

Research questions and friction points this paper is trying to address.

in-context learning
few-shot relation extraction
example retrieval
structured semantic information
relation extraction
Innovation

Methods, ideas, or system contributions that make the work stand out.

structured semantic information
in-context learning
few-shot relation extraction
example selection
hybrid retrieval
🔎 Similar Papers
No similar papers found.