Embedded Named Entity Recognition using Probing Classifiers

Nicholas Popovič, Michael Färber
3/18/2024
cs.CL

No official code found. Best implementation: nicpopovic/STOKE (4 stars, last commit 2025-03-25). 1 more below.

Abstract

Streaming text generation has become a common way of increasing the responsiveness of language model powered applications, such as chat assistants. At the same time, extracting semantic information from generated text is a useful tool for applications such as automated fact checking or retrieval augmented generation. Currently, this requires either separate models during inference, which increases computational cost, or destructive fine-tuning of the language model. Instead, we propose an approach called EMBER which enables streaming named entity recognition in decoder-only language models without fine-tuning them and while incurring minimal additional computational cost at inference time. Specifically, our experiments show that EMBER maintains high token generation rates, with only a negligible decrease in speed of around 1% compared to a 43.64% slowdown measured for a baseline. We make our code and data available online, including a toolkit for training, testing, and deploying efficient token classification models optimized for streaming text generation.

View on arXivView PDF

Code Implementations(2)

nicpopovic/STOKECommunity100%

Code for streaming token classification as proposed in the paper "Embedded Named Entity Recognition using Probing Classifiers"

40PythonMar 18, 20241 years ago
nicpopovic/EMBERCommunity100%
00PythonMar 18, 20241 years ago

Similar Papers

Cite this paper

@article{popovi2024embedded,
  title  = {Embedded Named Entity Recognition using Probing Classifiers},
  author = {Nicholas Popovič and Michael Färber},
  year   = {2024},
  eprint = {2403.11747},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.11747v2}
}

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/2403.11747.svg)](https://codeofpaper.com/paper/2403.11747)

Discussion