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

本地大语言模型集成用于零样本葡萄牙命名实体识别

Local LLM Ensembles for Zero-shot Portuguese Named Entity Recognition

Instituto de Ciências Matemáticas e Computação, Universidade de São Paulo(数学与计算科学学院,圣保罗大学)

João Lucas Luz Lima Sarcinelli, Diego Furtado Silva

AI总结:

本文提出了一种本地大语言模型集成方法,用于零样本葡萄牙命名实体识别,通过选择最优模型组合提升性能,无需标注数据。

摘要:

大型语言模型(LLMs)通过上下文学习在许多自然语言处理(NLP)任务中表现出色,但在命名实体识别(NER)任务中往往表现不佳,尤其是在资源较少的语言如葡萄牙语中。虽然开放式权重LLMs能够实现本地部署,但没有单一模型能主导所有任务,这促使了集成方法的发展。然而,现有的LLM集成方法主要集中在文本生成或分类上,NER领域仍被忽视。在此背景下,本文提出了一种新的三步集成管道,利用同样具有能力的本地运行LLMs,用于零样本NER任务。我们的方法在五个葡萄牙NER数据集中有四个超越了单一LLMs,通过一种启发式方法选择最优模型组合,仅需最少的标注数据。此外,我们证明了在不同源数据集上获得的集成方法在跨数据集配置中通常优于单一LLMs,可能消除了当前任务对标注数据的需求。我们的工作通过有效结合多个小型LLMs而无需微调,推动了可扩展、低资源和零样本NER的发展。代码可在https://github.com/Joao-Luz/local-llm-ner-ensemble上获得。

英文摘要:

Large Language Models (LLMs) excel in many Natural Language Processing (NLP) tasks through in-context learning but often under-perform in Named Entity Recognition (NER), especially for lower-resource languages like Portuguese. While open-weight LLMs enable local deployment, no single model dominates all tasks, motivating ensemble approaches. However, existing LLM ensembles focus on text generation or classification, leaving NER under-explored. In this context, this work proposes a novel three-step ensemble pipeline for zero-shot NER using similarly capable, locally run LLMs. Our method outperforms individual LLMs in four out of five Portuguese NER datasets by leveraging a heuristic to select optimal model combinations with minimal annotated data. Moreover, we show that ensembles obtained on different source datasets generally outperform individual LLMs in cross-dataset configurations, potentially eliminating the need for annotated data for the current task. Our work advances scalable, low-resource, and zero-shot NER by effectively combining multiple small LLMs without fine-tuning. Code is available at https://github.com/Joao-Luz/local-llm-ner-ensemble.

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

↑