arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.09719cs.CLcs.AI
收藏

推动ChatGPT在NLP任务上的性能极限

Pushing the Limits of ChatGPT on NLP Tasks

Zhejiang University(浙江大学);Kyoto University(京都大学);Nanyang Technological University(南洋理工大学);Sony AI(索尼人工智能);Amazon(亚马逊)

Xiaofei Sun, Linfeng Dong, Xiaoya Li, Zhen Wan, Shuhe Wang, Tianwei Zhang, Jiwei Li, Fei Cheng, Lingjuan Lyu, Fei Wu, Guoyin Wang

AI总结:

本研究针对ChatGPT在NLP任务上表现不佳的三大原因,提出六个通用优化模块,在10类任务的21个数据集上验证后,显著提升了其性能,达到甚至超过有监督基线与现有SOTA水平。

摘要:

尽管ChatGPT取得了成功,但其在大多数NLP任务上的表现仍远低于有监督基线。在本研究中,我们探究了背后的原因,发现其表现不佳由以下因素导致:(1)提示中的token限制使得有监督数据集无法得到充分利用;(2)ChatGPT的生成式属性与NLP任务之间存在不匹配;(3)大语言模型(LLMs)的固有缺陷,例如幻觉、过度关注特定关键词等。\n 本研究提出了一组通用模块来解决这些问题,旨在推动ChatGPT在NLP任务上的性能极限。我们提出的模块包括:(1)一输入多提示策略,即对单个输入使用多个提示以容纳更多示例;(2)使用微调后的模型实现更优的示例检索;(3)将任务转换为更适配生成式属性的格式;(4)采用适配特定任务复杂度的推理策略;(5)自验证策略,用于解决LLMs的幻觉问题;(6)释义策略,用于提升模型预测的鲁棒性。\n 我们在10项代表性NLP任务的21个数据集上开展了实验,涵盖问答、常识推理、自然语言推理、情感分析、命名实体识别、实体关系抽取、事件抽取、依存句法分析、语义角色标注和词性标注。通过使用提出的这套技术组合,我们能够显著提升ChatGPT在所选NLP任务上的性能,达到与有监督基线相当甚至更优的表现,甚至超过现有SOTA性能。

英文摘要:

Despite the success of ChatGPT, its performances on most NLP tasks are still well below the supervised baselines. In this work, we looked into the causes, and discovered that its subpar performance was caused by the following factors: (1) token limit in the prompt does not allow for the full utilization of the supervised datasets; (2) mismatch between the generation nature of ChatGPT and NLP tasks; (3) intrinsic pitfalls of LLMs models, e.g., hallucination, overly focus on certain keywords, etc. In this work, we propose a collection of general modules to address these issues, in an attempt to push the limits of ChatGPT on NLP tasks. Our proposed modules include (1) a one-input-multiple-prompts strategy that employs multiple prompts for one input to accommodate more demonstrations; (2) using fine-tuned models for better demonstration retrieval; (3) transforming tasks to formats that are more tailored to the generation nature; (4) employing reasoning strategies that are tailored to addressing the task-specific complexity; (5) the self-verification strategy to address the hallucination issue of LLMs; (6) the paraphrase strategy to improve the robustness of model predictions. We conduct experiments on 21 datasets of 10 representative NLP tasks, including question answering, commonsense reasoning, natural language inference, sentiment analysis, named entity recognition, entity-relation extraction, event extraction, dependency parsing, semantic role labeling, and part-of-speech tagging. Using the proposed assemble of techniques, we are able to significantly boost the performance of ChatGPT on the selected NLP tasks, achieving performances comparable to or better than supervised baselines, or even existing SOTA performances.

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

↑