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

Aunabil Chakma, Mihai Surdeanu, Eduardo Blanco
1/28/2026
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chakma2026structured,
  title  = {Structured Semantic Information Helps Retrieve Better Examples for In-Context Learning in Few-Shot Relation Extraction},
  author = {Aunabil Chakma and Mihai Surdeanu and Eduardo Blanco},
  year   = {2026},
  eprint = {2601.20803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.20803v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.20803.svg)](https://codeofpaper.com/paper/2601.20803)

Discussion