Retrieval Augmented Instruction Tuning for Open NER with Large Language Models

Tingyu Xie, Jian Zhang, Yan Zhang, Yuanyuan Liang, Qi Li +1 more
6/25/2024
cs.CL

Official code: Emma1066/Retrieval-Augmented-IT-OpenNER (28 stars, last commit 2024-06-26).

Abstract

The strong capability of large language models (LLMs) has been applied to information extraction (IE) through either retrieval augmented prompting or instruction tuning (IT). However, the best way to incorporate information with LLMs for IE remains an open question. In this paper, we explore Retrieval Augmented Instruction Tuning (RA-IT) for IE, focusing on the task of open named entity recognition (NER). Specifically, for each training sample, we retrieve semantically similar examples from the training dataset as the context and prepend them to the input of the original instruction. To evaluate our RA-IT approach more thoroughly, we construct a Chinese IT dataset for open NER and evaluate RA-IT in both English and Chinese scenarios. Experimental results verify the effectiveness of RA-IT across various data sizes and in both English and Chinese scenarios. We also conduct thorough studies to explore the impacts of various retrieval strategies in the proposed RA-IT framework. Code and data are available at: https://github.com/Emma1066/Retrieval-Augmented-IT-OpenNER

View on arXivView PDF

Code Implementations(1)

The github repository for the paper at COLING 2025: Retrieval Augmented Instruction Tuning for Open NER with Large Language Models.

283Shell, PythonJun 25, 20242 years ago

Similar Papers

Cite this paper

@article{xie2024retrieval,
  title  = {Retrieval Augmented Instruction Tuning for Open NER with Large Language Models},
  author = {Tingyu Xie and Jian Zhang and Yan Zhang and Yuanyuan Liang and Qi Li and Hongwei Wang},
  year   = {2024},
  eprint = {2406.17305},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17305v2}
}

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/2406.17305.svg)](https://codeofpaper.com/paper/2406.17305)

Discussion