Strategies for Span Labeling with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used for text analysis tasks, such as named entity recognition or error detection. Unlike encoder-based models, however, generative architectures lack an explicit mechanism to refer to specific parts of their input. This leads to a variety of ad-hoc prompting strategies for span labeling, often with inconsistent results. In this paper, we categorize these strategies into three families: tagging the input text, indexing numerical positions of spans, and matching span content. To address the limitations of content matching, we introduce LogitMatch, a new constrained decoding method that forces the model's output to align with valid input spans. We evaluate all methods across four diverse tasks. We find that while tagging remains a robust baseline, LogitMatch improves upon competitive matching-based methods by eliminating span matching issues and outperforms other strategies in some setups.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 23 Jan 2026.
Builds on
20 of 40 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
- 2023GEMBA-MQM: Detecting Translation Quality Error Spans with GPT-4cited by 143
- 2019Fine-Grained Analysis of Propaganda in News Articlescited by 130
- 2024Error Span Annotation: A Balanced Approach for Human Evaluation of Machine Translationcited by 62
- 2024Why Do Large Language Models (LLMs) Struggle to Count Letters?cited by 37
- 2023Prompting Large Language Models for Counterfactual Generation: An Empirical Studycited by 36
- 2024CUTE: Measuring LLMs' Understanding of Their Tokenscited by 28
- 2023Universal NER: A Gold-Standard Multilingual Named Entity Recognition Benchmarkcited by 26
8 more
- 2024Looking Right is Sometimes Right: Investigating the Capabilities of Decoder-only LLMs for Sequence Labelingcited by 24
- 2024xTower: A Multilingual LLM for Explaining and Correcting Translation Errorscited by 17
- 2024Beyond Traditional Benchmarks: Analyzing Behaviors of Open LLMs on Data-to-Text Generationcited by 16
- 2024LTNER: Large Language Model Tagging for Named Entity Recognition with Contextualized Entity Markingcited by 7
- 2025LLMs as Span Annotators: A Comparative Study of LLMs and Humanscited by 7
- 2025Fine-grained Fallacy Detection with Human Label Variationcited by 6
- 2025Do LLMs Surpass Encoders for Biomedical NER?cited by 6
- 2025Can LLMs extract human-like fine-grained evidence for evidence-based fact-checking?cited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.