AI RESEARCH

Just Pass Twice: Efficient Token Classification with LLMs for Zero-Shot NER

arXiv CS.CL

ArXi:2604.05158v1 Announce Type: new Large language models encode extensive world knowledge valuable for zero-shot named entity recognition. However, their causal attention mechanism, where tokens attend only to preceding context, prevents effective token classification when disambiguation requires future context. Existing approaches use LLMs generatively, prompting them to list entities or produce structured outputs, but suffer from slow autoregressive decoding, hallucinated entities, and formatting errors.