atlas

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

PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognition

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 5 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 PaDeLLM-NER, which reformulates NER instruction tuning so each LLM sequence generates one label-mention pair, enabling parallel decoding that is 1.76-10.22x faster than autoregressive generation with comparable F-scores.

Problem

LLM-based NER generates all labels and mentions autoregressively, producing long output sequences and high inference latency.

Approach

Split each NER training example into per-label sequences that predict a mention count and then the n-th mention of that label; at inference, predict counts first and then decode all label-mention pairs in parallel (multi-GPU or batched), removing duplicate mentions by token-probability.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use parallel two-step decoding instead of autoregressive structured outputPaDeLLM-NER · Supervised NER, English and Chinese datasetslatency: 1.76x to 10.22xHelped
use parallel two-step decoding instead of autoregressive structured outputPaDeLLM-NER · Supervised English NERmean micro F-score: 84.25 -> 85.07Helped
use parallel two-step decoding instead of autoregressive structured outputPaDeLLM-NER · Supervised Chinese NERmean micro F-score: 82.02 -> 84.66Helped
use parallel two-step decoding instead of autoregressive structured outputPaDeLLM-NER · Zero-shot NER (7 domains)average micro F-score: 66.05 -> 61.68Hurt
ignore loss on <mention n> text spans (ablation)PaDeLLM-NER · CoNLL03micro F-score: 92.52 -> 92.01Hurt
ignore loss on <mention n> text spans (ablation)PaDeLLM-NER · ACE05micro F-score: 85.02 -> 85.18No clear effect
ignore loss on <mention n> text spans (ablation)PaDeLLM-NER · GENIAmicro F-score: 77.66 -> 73.47Hurt
remove de-duplication (ablation)PaDeLLM-NER · Supervised NER (CoNLL03, ACE05, GENIA)mean micro F-score: 85.06 -> 84.92Hurt
remove the lowest-probability mentions rather than the highest-probability duplicate (ablation)PaDeLLM-NER · Supervised NER (CoNLL03, ACE05, GENIA)mean micro F-score: 85.06 -> 84.73Hurt
predict all mentions of a label in one sequence instead of two-step parallel decoding (ablation)PaDeLLM-NER · English NER (CoNLL03, ACE05, GENIA)mean micro F-score: 85.06 -> 82.87Hurt
predict all mentions of a label in one sequence instead of two-step parallel decoding (ablation)PaDeLLM-NER · English NER (CoNLL03, ACE05, GENIA)latency: 267.39 -> 390.93Hurt
scale model from 7B to 13B (ablation)PaDeLLM-NER · CoNLL03micro F-score: 92.52 -> 93.02Helped

Surprising findings

Limitations

Experimental setup

Datasets: Pile-NER CrossNER MIT CoNLL2003 ACE2005 GENIA Resume Weibo MSRA OntoNotes 4.0 Youku Ecommerce

Benchmarks: CoNLL2003 ACE2005 GENIA Weibo MSRA OntoNotes 4.0 Resume Youku Ecommerce CrossNER MIT

Metrics: micro F-score latency (ms) average generated sequence length

Baselines: AutoReg-Aug AutoReg-Struct GoLLIE-7B UniNER-7B GLiNER-L GNER-LLaMA-7B BINDER DeepStruct W2NER SSCNN NEZHA-BC

Builds on: UniNER GNER instruction tuning speculative sampling

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