DAWN-ICL:面向零样本上下文学习的问题求解轨迹战略规划
DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learning
AI总结:
DAWN-ICL将零样本上下文学习建模为规划问题,利用演示感知的蒙特卡洛树搜索战略规划问题求解轨迹,并设计演示感知Q值函数提升估计效率,在域内与跨域场景中超越人工标注ICL。
摘要:
零样本上下文学习(ZS-ICL)旨在不使用人工标注示例的情况下进行上下文学习(ICL)。大多数ZS-ICL方法使用大语言模型(LLMs)生成(输入,标签)对作为伪示例,并利用历史伪示例来帮助解决当前问题。它们假设问题来自同一任务,并以随机顺序遍历这些问题。然而,在现实场景中,问题通常来自多样化的任务,只有少数属于同一任务。随机遍历顺序可能生成不可靠的伪示例并导致错误累积。为解决这一问题,我们将ZS-ICL重新表述为一个规划问题,并提出了一种演示感知的蒙特卡洛树搜索(MCTS)方法(DAWN-ICL),该方法利用MCTS为ZS-ICL战略性地规划问题求解轨迹。此外,为了实现有效且高效的Q值估计,我们提出了一种新颖的演示感知Q值函数,并利用它来增强MCTS中的选择阶段,并加速扩展和模拟阶段。大量实验证明了DAWN-ICL在域内和跨域场景下的有效性和效率,其性能甚至优于使用人工标注标签的ICL。代码可在https://github.com/RUCAIBox/MCTS4ZSICL获取。
英文摘要:
Zero-shot in-context learning (ZS-ICL) aims to conduct in-context learning (ICL) without using human-annotated demonstrations. Most ZS-ICL methods use large language models (LLMs) to generate (input, label) pairs as pseudo-demonstrations and leverage historical pseudo-demonstrations to help solve the current problem. They assume that problems are from the same task and traverse them in a random order. However, in real-world scenarios, problems usually come from diverse tasks, and only a few belong to the same task. The random traversing order may generate unreliable pseudo-demonstrations and lead to error accumulation. To address this problem, we reformulate ZS-ICL as a planning problem and propose a Demonstration-aware Monte Carlo Tree Search (MCTS) approach (DAWN-ICL), which leverages MCTS to strategically plan the problem-solving trajectories for ZS-ICL. In addition, to achieve effective and efficient Q value estimation, we propose a novel demonstration-aware Q-value function and use it to enhance the selection phase and accelerate the expansion and simulation phases in MCTS. Extensive experiments demonstrate the effectiveness and efficiency of DAWN-ICL on in-domain and cross-domain scenarios, and it even outperforms ICL using human-annotated labels. The code is available at https://github.com/RUCAIBox/MCTS4ZSICL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。