atlas

Research map / Large language models / Language, safety and interpretability

ConsistNER: Towards Instructive NER Demonstrations for LLMs with the Consistency of Ontology and Context

AAAI 2024 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ConsistNER, a three-stage ICL framework for low-resource NER that retrieves demonstrations by ontological consistency (ontology distribution filtering) and contextual consistency (entity-aware self-attention), using ChatGPT.

Problem

Low-resource named entity recognition with in-context learning in LLMs, where demonstration retrieval ignores the consistency of entity ontology and sentence context.

Approach

Pre-recognize entities zero-shot with an LLM, then retrieve per-sentence demonstrations by filtering on ontology distribution (bag of ontology) and ranking by entity-aware contextual representations from dual train/target-level self-attention over BERT embeddings, with a replacement step to mitigate pre-recognition error propagation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ConsistNER instead of CLS-based retrieval with the vanilla queryChatGPT NER · CoNLL2003, 1-shotMicro-F1: 70.66±0.2 -> 73.01±0.1Helped
Use ConsistNER instead of CLS-based retrieval with the vanilla queryChatGPT NER · NCBI, 1-shotMicro-F1: 27.23±0.1 -> 34.85±0.2Helped
Use ConsistNER instead of CLS-based retrieval with GPT-NER* queryChatGPT NER · BC5CDR, 1-shotMicro-F1: 56.73±0.3 -> 58.69±0.2Helped
Use ConsistNER instead of CLS-based retrieval with the vanilla queryChatGPT NER · CoNLL2003, 5-shotMicro-F1: 75.49±0.1 -> 78.87±0.1Helped
Add ontology-based demonstration filtering (ablation)ConsistNER · CoNLL2003, 1-shotMicro-F1: 71.12 -> 73.01Helped
Add ontology-based demonstration filtering (ablation)ConsistNER · NCBI, 1-shotMicro-F1: 32.97 -> 34.85Helped
Add ontology filtering and entity-aware self-attention (ablation)ConsistNER · NCBI, 1-shotMicro-F1: 27.23 -> 34.85Helped
Add contextual consistency retrieval (ablation)ConsistNER · NCBI, 1-shotMicro-F1: 25.54 -> 34.85Helped
Add demonstration replacement (ablation)ConsistNER · BC5CDR, 1-shotMicro-F1: 55.15 -> 57.98Helped
Replace some retrieved demonstrations with top-k semantically similar examples (ablation)ConsistNER · CoNLL2003Micro-F1: 0 20 40 60 80 100 (%)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: CoNLL2003 OntoNotes5.0 NCBI BC5CDR

Benchmarks: CoNLL2003 OntoNotes5.0 NCBI BC5CDR

Metrics: span-level Micro-F1

Baselines: ProtoBERT NNShot StructShot CONTaiNER COPNER GPT-NER CLS retrieval Random retrieval

Builds on: GPT-NER prototypical networks kNN demonstration retrieval bag of words

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy