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

Jinghui Lu, Ziwei Yang, Yanjie Wang, Xuejing Liu, Brian Mac Namee +1 more
2/1/2024

No official code found. Best implementation: GeorgeLuImmortal/PaDeLLM_NER (12 stars, last commit 2024-11-21).

Abstract

In this study, we aim to reduce generation latency for Named Entity Recognition (NER) with Large Language Models (LLMs). The main cause of high latency in LLMs is the sequential decoding process, which autoregressively generates all labels and mentions for NER, significantly increase the sequence length. To this end, we introduce Parallel Decoding in LLM for NE} (PaDeLLM-NER), a approach that integrates seamlessly into existing generative model frameworks without necessitating additional modules or architectural modifications. PaDeLLM-NER allows for the simultaneous decoding of all mentions, thereby reducing generation latency. Experiments reveal that PaDeLLM-NER significantly increases inference speed that is 1.76 to 10.22 times faster than the autoregressive approach for both English and Chinese. Simultaneously it maintains the quality of predictions as evidenced by the performance that is on par with the state-of-the-art across various datasets.

View on arXivView PDF

Code Implementations(1)

120HTML, ShellFeb 8, 20241 years ago

Similar Papers

Cite this paper

@article{lu2024padellmner,
  title  = {PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognition},
  author = {Jinghui Lu and Ziwei Yang and Yanjie Wang and Xuejing Liu and Brian Mac Namee and Can Huang},
  year   = {2024},
  eprint = {2402.04838},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.04838},
  url    = {https://arxiv.org/abs/2402.04838},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.04838.svg)](https://codeofpaper.com/paper/2402.04838)

Discussion