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

ChatGPT零样本命名实体识别的实证研究

Empirical Study of Zero-Shot NER with ChatGPT

Zhejiang University(浙江大学);ZJU-UIUC Institute, Zhejiang University(浙江大学ZJU-UIUC学院);National University of Singapore(新加坡国立大学)

Tingyu Xie, Qi Li, Jian Zhang, Yan Zhang, Zuozhu Liu, Hongwei Wang

AI总结:

本研究针对ChatGPT零样本命名实体识别,提出分解问答、句法增强和两阶段投票策略,在七个基准上显著提升性能,并分析错误类型与优化方向。

摘要:

大型语言模型(LLMs)在各种自然语言处理任务中展现了强大的能力。本研究聚焦于探索LLM在零样本信息抽取中的性能,重点关注ChatGPT和命名实体识别(NER)任务。受LLM在符号和算术推理方面卓越推理能力的启发,我们将流行的推理方法适配到NER,并提出了针对NER定制的推理策略。首先,我们探索了一种分解式问答范式,通过标签将NER任务分解为更简单的子问题。其次,我们提出了句法增强方法,以两种方式激发模型的中间思考:句法提示,鼓励模型自行分析句法结构;以及工具增强,为模型提供由解析工具生成的句法信息。此外,我们将自一致性适配到NER,提出了一种两阶段多数投票策略,该策略首先对最一致的提及进行投票,然后对最一致的类型进行投票。所提出的方法在七个基准上(包括中文和英文数据集,以及领域特定和通用领域场景)显著提升了零样本NER的性能。此外,我们对错误类型进行了全面分析,并提出了优化方向的建议。我们还验证了所提方法在少样本设置和其他LLM上的有效性。

英文摘要:

Large language models (LLMs) exhibited powerful capability in various natural language processing tasks. This work focuses on exploring LLM performance on zero-shot information extraction, with a focus on the ChatGPT and named entity recognition (NER) task. Inspired by the remarkable reasoning capability of LLM on symbolic and arithmetic reasoning, we adapt the prevalent reasoning methods to NER and propose reasoning strategies tailored for NER. First, we explore a decomposed question-answering paradigm by breaking down the NER task into simpler subproblems by labels. Second, we propose syntactic augmentation to stimulate the model's intermediate thinking in two ways: syntactic prompting, which encourages the model to analyze the syntactic structure itself, and tool augmentation, which provides the model with the syntactic information generated by a parsing tool. Besides, we adapt self-consistency to NER by proposing a two-stage majority voting strategy, which first votes for the most consistent mentions, then the most consistent types. The proposed methods achieve remarkable improvements for zero-shot NER across seven benchmarks, including Chinese and English datasets, and on both domain-specific and general-domain scenarios. In addition, we present a comprehensive analysis of the error types with suggestions for optimization directions. We also verify the effectiveness of the proposed methods on the few-shot setting and other LLMs.

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

↑