arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20447cs.CL
收藏

用于高效准确命名实体识别的文本跨度解码

Decoding Text Spans for Efficient and Accurate Named-Entity Recognition

Samsung Research UK(三星英国研究院)

Andrea Maracani, Savas Ozkan, Junyi Zhu, Sinan Mutlu, Mete Ozay

AI总结:

本文提出SpanDec框架,通过在最终Transformer阶段计算跨度表示交互,减少冗余计算,提升NER任务的吞吐量和效率,实现更优的准确率与效率平衡。

摘要:

命名实体识别(NER)是信息提取流水线中的关键组件,系统需满足严格的延迟和吞吐量约束,同时保持高精度。最先进的NER精度通常通过基于跨度的框架实现,这些框架从token编码构建跨度表示并分类候选跨度。然而,许多基于跨度的方法枚举大量候选并使用标记增强输入处理每个候选,显著增加推理成本并限制大规模部署的可扩展性。在本文中,我们提出了SpanDec,一种高效的基于跨度的NER框架,旨在解决这一瓶颈。我们的主要见解是可以在最终Transformer阶段有效计算跨度表示交互,通过轻量级解码器避免早期层的冗余计算。我们进一步在枚举过程中引入跨度过滤机制以修剪不可能的候选。在多个基准测试中,SpanDec与竞争性的基于跨度的基线相媲美,同时提高吞吐量并减少计算成本,实现更优的准确率与效率权衡,适用于高流量服务和设备端应用。

英文摘要:

Named Entity Recognition (NER) is a key component in industrial information extraction pipelines, where systems must satisfy strict latency and throughput constraints in addition to strong accuracy. State-of-the-art NER accuracy is often achieved by span-based frameworks, which construct span representations from token encodings and classify candidate spans. However, many span-based methods enumerate large numbers of candidates and process each candidate with marker-augmented inputs, substantially increasing inference cost and limiting scalability in large-scale deployments. In this work, we propose SpanDec, an efficient span-based NER framework that targets this bottleneck. Our main insight is that span representation interactions can be computed effectively at the final transformer stage, avoiding redundant computation in earlier layers via a lightweight decoder dedicated to span representations. We further introduce a span filtering mechanism during enumeration to prune unlikely candidates before expensive processing. Across multiple benchmarks, SpanDec matches competitive span-based baselines while improving throughput and reducing computational cost, yielding a better accuracy-efficiency trade-off suitable for high-volume serving and on-device applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑