Papers › UniversalNER: Targeted Distillation from Large Language Models for Open Named Entity...

UniversalNER: Targeted Distillation from Large Language Models for Open Named Entity Recognition

7 Aug 2023arXiv:2308.03279archive 2025-07-28

Wenxuan Zhou, Sheng Zhang, Yu Gu, Muhao Chen, Hoifung Poon

Large language models (LLMs) have demonstrated remarkable generalizability, such as understanding arbitrary entities and relations. Instruction tuning has proven effective for distilling LLMs into more cost-efficient models such as Alpaca and Vicuna. Yet such student models still trail the original LLMs by large margins in downstream applications. In this paper, we explore targeted distillation with mission-focused instruction tuning to train student models that can excel in a broad application class such as open information extraction. Using named entity recognition (NER) for case study, we show how ChatGPT can be distilled into much smaller UniversalNER models for open NER. For evaluation, we assemble the largest NER benchmark to date, comprising 43 datasets across 9 diverse domains such as biomedicine, programming, social media, law, finance. Without using any direct supervision, UniversalNER attains remarkable NER accuracy across tens of thousands of entity types, outperforming general instruction-tuned models such as Alpaca and Vicuna by over 30 absolute F1 points in average. With a tiny fraction of parameters, UniversalNER not only acquires ChatGPT's capability in recognizing arbitrary entity types, but also outperforms its NER accuracy by 7-9 absolute F1 points in average. Remarkably, UniversalNER even outperforms by a large margin state-of-the-art multi-task instruction-tuned systems such as InstructUIE, which uses supervised NER examples. We also conduct thorough ablation studies to assess the impact of various components in our distillation approach. We release the distillation recipe, data, and UniversalNER models to facilitate future research on targeted distillation.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.03279")

Code

Syntology Ran 5 of 12 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 2 ran with no contract checked.

By repository: community (archive-listed): 12 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

emma1066/retrieval-augmented-it-openner mentioned on GitHubpytorch report
universal-ner/universal-ner mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 5 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran · our draft was wrong
2ran
7unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from universal-ner/universal-ner. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

gen_prompt universal-ner/universal-ner/src/train/fastchat/eval/eval_gpt_review.py community (archive-listed) ran · our draft was wrong MIT (permissive) · a6a3ac30bf6e7bcf · report
normalize_answer universal-ner/universal-ner/src/eval/evaluate.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · e7e75981cb464788 · report
parse_score universal-ner/universal-ner/src/train/fastchat/eval/eval_gpt_review.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · 8049b382893c73dd · report
read_jsonl universal-ner/universal-ner/src/train/fastchat/eval/generate_webpage_data_from_table.py community (archive-listed) ran MIT (permissive) · 7beeb01acc36919e · report
trim_hanging_lines universal-ner/universal-ner/src/train/fastchat/eval/generate_webpage_data_from_table.py community (archive-listed) ran fingerprinted MIT (permissive) · 1d45bc90fd0cd90c · report
get_conv_template universal-ner/universal-ner/src/conversation.py community (archive-listed) unverified MIT (permissive) · dab937567e76e9e3 · report
get_eval universal-ner/universal-ner/src/train/fastchat/eval/eval_gpt_review.py community (archive-listed) unverified MIT (permissive) · 26ac62acef82f73c · report
get_gpu_memory universal-ner/universal-ner/src/train/fastchat/utils.py community (archive-listed) unverified MIT (permissive) · 2f3cb5d0dcc18502 · report
get_response universal-ner/universal-ner/src/utils.py community (archive-listed) unverified MIT (permissive) · fbd915d7d3d14137 · report
parser universal-ner/universal-ner/src/eval/evaluate.py community (archive-listed) unverified MIT (permissive) · 823ac03e72032fcb · report
preprocess_instance universal-ner/universal-ner/src/utils.py community (archive-listed) unverified MIT (permissive) · 278f9963b50f1622 · report
violates_moderation universal-ner/universal-ner/src/train/fastchat/utils.py community (archive-listed) unverified MIT (permissive) · f9939a84b9a65279 · report

Tasks

NERNamed Entity RecognitionNamed Entity Recognition (NER)Open Information Extractionnamed-entity-recognition

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Named Entity Recognition (NER) ACE 2005 UniNER-7B F1 86.69 #8 of 20 Archive leaderboard report
Named Entity Recognition (NER) AnatEM UniNER-7B F1 88.65 #2 of 5 Archive leaderboard report
Named Entity Recognition (NER) BC2GM UniNER-7B F1 82.42 #13 of 13 Archive leaderboard report
Named Entity Recognition (NER) BC4CHEMD UniNER-7B F1 89.21 #7 of 7 Archive leaderboard report
Named Entity Recognition (NER) BC5CDR UniNER-7B F1 89.34 #10 of 16 Archive leaderboard report
Named Entity Recognition (NER) CoNLL03 UniNER-7B F1 93.3 #1 of 5 Archive leaderboard report
Named Entity Recognition (NER) FindVehicle UniNER-7B F1 98.3 #3 of 3 Archive leaderboard report
Named Entity Recognition (NER) GENIA UniNER-7B F1 77.54 #5 of 14 Archive leaderboard report
Named Entity Recognition (NER) NCBI Disease UniNER-7B F1 86.96 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections