Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MetaIE: Distilling a Meta Model from LLM for All Kinds of Information Extraction Tasks

About

Information extraction (IE) is a fundamental area in natural language processing where prompting large language models (LLMs), even with in-context examples, cannot defeat small LMs tuned on very small IE datasets. We observe that IE tasks, such as named entity recognition and relation extraction, all focus on extracting important information, which can be formalized as a label-to-span matching. In this paper, we propose a novel framework MetaIE to build a small LM as meta-model by learning to extract "important information", i.e., the meta-understanding of IE, so that this meta-model can be adapted to all kind of IE tasks effectively and efficiently. Specifically, MetaIE obtains the small LM via a symbolic distillation from an LLM following the label-to-span scheme. We construct the distillation dataset via sampling sentences from language model pre-training datasets (e.g., OpenWebText in our implementation) and prompting an LLM to identify the typed spans of "important information". We evaluate the meta-model under the few-shot adaptation setting. Extensive results on 13 datasets from 6 IE tasks confirm that MetaIE can offer a better starting point for few-shot tuning on IE datasets and outperform other meta-models from (1) vanilla language model pre-training, (2) multi-IE-task pre-training with human annotations, and (3) single-IE-task symbolic distillation from LLM. Moreover, we provide comprehensive analyses of MetaIE, such as the size of the distillation dataset, the meta-model architecture, and the size of the meta-model.

Letian Peng, Zilong Wang, Feng Yao, Zihan Wang, Jingbo Shang• 2024

Related benchmarks

TaskDatasetResultRank
Named Entity RecognitionCoNLL 03--
102
Named Entity RecognitionMIT Restaurant
Micro-F170.08
50
Extractive Question AnsweringSQuAD 2.0
F1 Score62.54
34
Relation ExtractionCoNLL 04
F164.81
24
Named Entity RecognitionMIT Movie
Entity F165.23
22
Relation ExtractionADE
Relation Strict F164.4
20
Named Entity RecognitionInstruction-following IE Miscellaneous (test)
F1 Score47.35
12
Machine Reading ComprehensionInstruction-following IE Preference (test)
F1 Score56.12
12
Named Entity RecognitionInstruction-following IE Disambiguation (test)
F1 Score29.77
12
Named Entity RecognitionBioNLP 2004
F1 Score55.63
12
Showing 10 of 12 rows

Other info

Follow for update