噪声示例使大语言模型更鲁棒:一种领域无关的行为分析
Noisy Exemplars Make Large Language Models More Robust: A Domain-Agnostic Behavioral Analysis
AI总结:
本文通过领域无关的多层次扰动系统分析大语言模型在多跳推理中的鲁棒性,发现模型对同义词替换等扰动较敏感,并证明增加提示中噪声示例比例可提升少样本提示的鲁棒性。
摘要:
提示工程的最新进展使大语言模型(LLMs)能够以令人印象深刻的准确率解决多跳逻辑推理问题。然而,现有工作很少研究采用少样本提示技术的LLMs的鲁棒性。因此,我们引入一种系统化方法,通过领域无关的扰动来测试LLMs在多跳推理任务中的鲁棒性。我们在多个抽象层次上引入扰动(例如拼写错误等词汇扰动,以及在问题中加入中间推理步骤等语义扰动),以对LLMs进行行为分析。在整个实验过程中,我们发现模型对某些扰动更为敏感,例如将词语替换为其同义词。我们还证明,提高提示中受扰动示例的比例能够改善少样本提示方法的鲁棒性。
英文摘要:
Recent advances in prompt engineering enable large language models (LLMs) to solve multi-hop logical reasoning problems with impressive accuracy. However, there is little existing work investigating the robustness of LLMs with few-shot prompting techniques. Therefore, we introduce a systematic approach to test the robustness of LLMs in multi-hop reasoning tasks via domain-agnostic perturbations. We include perturbations at multiple levels of abstractions (e.g. lexical perturbations such as typos, and semantic perturbations such as the inclusion of intermediate reasoning steps in the questions) to conduct behavioral analysis on the LLMs. Throughout our experiments, we find that models are more sensitive to certain perturbations such as replacing words with their synonyms. We also demonstrate that increasing the proportion of perturbed exemplars in the prompts improves the robustness of few-shot prompting methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。