D.Va:在使用示范前先验证你的示范
D.Va: Validate Your Demonstration First Before You Use It
AI总结:
本文提出D.Va示范验证方法,通过验证机制筛选有效且可泛化的ICL示范,在NLU和NLG任务及多模型、多检索器设置中优于现有选择技术。
摘要:
上下文学习(ICL)在推理阶段增强大型语言模型(LLM)能力方面已展现出巨大潜力。众所周知,ICL严重依赖选择有效的示范,以生成更符合预期结果的输出。在示范选择方面,以往方法通常依赖直观指标来评估示范的有效性,这往往导致鲁棒性有限且跨模型泛化能力较差。为应对这些挑战,我们提出了一种新方法,即 Demonstration Validation(D.Va,示范验证),它将示范验证视角引入该领域。通过引入示范验证机制,我们的方法能够有效识别既有效又具有高度泛化性的示范。在自然语言理解(NLU)和自然语言生成(NLG)任务上,D.Va均优于所有现有示范选择技术。此外,我们结合不同的检索模型,在多种语言模型上证明了该方法的鲁棒性和泛化性。
英文摘要:
In-context learning (ICL) has demonstrated significant potential in enhancing the capabilities of large language models (LLMs) during inference. It's well-established that ICL heavily relies on selecting effective demonstrations to generate outputs that better align with the expected results. As for demonstration selection, previous approaches have typically relied on intuitive metrics to evaluate the effectiveness of demonstrations, which often results in limited robustness and poor cross-model generalization capabilities. To tackle these challenges, we propose a novel method, \textbf{D}emonstration \textbf{VA}lidation (\textbf{D.Va}), which integrates a demonstration validation perspective into this field. By introducing the demonstration validation mechanism, our method effectively identifies demonstrations that are both effective and highly generalizable. \textbf{D.Va} surpasses all existing demonstration selection techniques across both natural language understanding (NLU) and natural language generation (NLG) tasks. Additionally, we demonstrate the robustness and generalizability of our approach across various language models with different retrieval models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。