RUIE: Retrieval-based Unified Information Extraction using Large Language Model

Xincheng Liao, Junwen Duan, Yixi Huang, Jianxin Wang
9/18/2024
cs.CL

No official code found. Best implementation: OStars/RUIE (7 stars, last commit 2025-06-10).

Abstract

Unified information extraction (UIE) aims to extract diverse structured information from unstructured text. While large language models (LLMs) have shown promise for UIE, they require significant computational resources and often struggle to generalize to unseen tasks. We propose RUIE (Retrieval-based Unified Information Extraction), a framework that leverages in-context learning for efficient task generalization. RUIE introduces a novel demonstration selection mechanism combining LLM preferences with a keyword-enhanced reward model, and employs a bi-encoder retriever trained through contrastive learning and knowledge distillation. As the first trainable retrieval framework for UIE, RUIE serves as a universal plugin for various LLMs. Experimental results on eight held-out datasets demonstrate RUIE's effectiveness, with average F1-score improvements of 19.22 and 3.22 compared to instruction-tuning methods and other retrievers, respectively.

View on arXivView PDF

Code Implementations(1)

OStars/RUIECommunity100%

Code for COLING 2025 paper "RUIE: Retrieval-based Unified Information Extraction using Large Language Model"

70Shell, PythonDec 9, 20241 years ago

Similar Papers

Cite this paper

@article{liao2024ruie,
  title  = {RUIE: Retrieval-based Unified Information Extraction using Large Language Model},
  author = {Xincheng Liao and Junwen Duan and Yixi Huang and Jianxin Wang},
  year   = {2024},
  eprint = {2409.11673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.11673v2}
}

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

Discussion