arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.11747cs.CL
收藏

使用探针分类器进行嵌入式命名实体识别

Embedded Named Entity Recognition using Probing Classifiers

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);TU Dresden(德累斯顿工业大学)

Nicholas Popovič, Michael Färber

AI总结:

提出名为EMBER的方法,通过探针分类器在decoder-only语言模型中实现无需微调的流式命名实体识别,在保持高生成速率的同时显著降低了推理时的计算成本。

摘要:

流式文本生成已成为提高语言模型驱动的应用程序(如聊天助手)响应能力的常见方式。同时,从生成的文本中提取语义信息是自动事实核查或检索增强生成等应用的有用工具。目前,这需要在推理期间使用单独的模型,从而增加计算成本,或者对语言模型进行破坏性微调。相反,我们提出了一种名为 EMBER 的方法,该方法在 decoder-only 语言模型中实现流式命名实体识别,无需对其进行微调,且在推理时仅产生极少的额外计算成本。具体而言,我们的实验表明,EMBER 保持了较高的 token 生成率,与基线测得的 43.64% 减速相比,其速度仅降低了约 1%。我们在线提供了代码和数据,包括一个用于训练、测试和部署针对流式文本生成优化的高效 token 分类模型的工具包。

英文摘要:

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.

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

↑