Skip to main content
QUICK REVIEW

[Paper Review] InstructionNER: A Multi-Task Instruction-Based Generative Framework for Few-shot NER

Liwen Wang, Rumei Li|arXiv (Cornell University)|Mar 8, 2022
Topic ModelingComputer Science25 citations
TL;DR

InstructionNER reformulates NER as a sequence-to-sequence generation task augmented with task-specific instructions and answer options, plus two auxiliary tasks, to improve few-shot NER performance.

ABSTRACT

Recently, prompt-based methods have achieved significant performance in few-shot learning scenarios by bridging the gap between language model pre-training and fine-tuning for downstream tasks. However, existing prompt templates are mostly designed for sentence-level tasks and are inappropriate for sequence labeling objectives. To address the above issue, we propose a multi-task instruction-based generative framework, named InstructionNER, for low-resource named entity recognition. Specifically, we reformulate the NER task as a generation problem, which enriches source sentences with task-specific instructions and answer options, then inferences the entities and types in natural language. We further propose two auxiliary tasks, including entity extraction and entity typing, which enable the model to capture more boundary information of entities and deepen the understanding of entity type semantics, respectively. Experimental results show that our method consistently outperforms other baselines on five datasets in few-shot settings.

Motivation & Objective

  • Motivate and address data-scarce NER by bridging pre-training and fine-tuning through instruction-tuned generation.
  • Reformulate NER as a seq2seq generation problem using descriptive instructions and an explicit output option space.
  • Introduce two auxiliary tasks—entity extraction and entity typing—to improve boundary awareness and type semantics.
  • Demonstrate effectiveness across few-shot settings on multiple NER benchmarks and analyze factors influencing performance.

Proposed method

  • Reformulate NER as a natural language generation task solved with T5 (seq2seq) by feeding: sentence, an instruction, and options (entity types).
  • Output entities and their types in natural language using a template; support two strategies for entity type tokens (natural language vs synthetic tokens).
  • Introduce two auxiliary tasks: entity extraction (extract entity spans) and entity typing (type the given entity occurrences); train jointly with the main task.
  • Use a parsing procedure to convert T5 outputs into standard NER triplets (l, r, t) by matching spans to the source sentence.
  • Compare InstructionNER variants (with/without ET and EE) and analyze the impact of instruction tuning and auxiliary tasks.
  • Evaluate using F1 on several datasets under few-shot regimes, with beam search for decoding.

Experimental results

Research questions

  • RQ1Can instruction-based generative framing improve few-shot NER compared to prior prompt-based and generative methods?
  • RQ2Do auxiliary tasks that focus on entity boundaries (extraction) and type semantics (typing) yield measurable gains in low-resource NER?
  • RQ3How does the choice of label representation (natural language vs synthetic tokens) affect performance in low-resource vs high-resource settings?

Key findings

  • InstructionNER consistently outperforms baselines in 10/20/50-shot settings across MIT Movie, MIT Restaurant, and ATIS datasets.
  • Auxiliary tasks ET and EE provide additional gains in low-resource scenarios, with ET improving type accuracy and EE improving boundary/span performance; combined ET+EE may introduce noise in some settings.
  • Using instruction and options (InstructionNER) yields clear gains over a T5-native (no-instruction) baseline, especially in few-shot regimes.
  • Across cross-domain transfer (CoNLL03 source to MIT Restaurant target), InstructionNER achieves superior or competitive gains over baselines.
  • Label semantics analysis shows natural-language label forms outperform synthetic tokens in few-shot, while synthetic tokens can help in richer supervision.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.