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

EVOLvE:评估和优化LLM以进行上下文探索

EVOLvE: Evaluating and Optimizing LLMs For In-Context Exploration

Stanford University(斯坦福大学);Google DeepMind(谷歌DeepMind)

Allen Nie, Yi Su, Bo Chang, Jonathan N. Lee, Ed H. Chi, Quoc V. Le, Minmin Chen

AI总结:

本文评估了LLM在多臂老虎机场景下的最优决策与探索能力,并提出通过算法引导推理和算法蒸馏微调,使较小模型在多种任务上实现超越大模型的探索性能。

摘要:

尽管大型语言模型(LLMs)在许多领域取得了成功,但在不确定性下需要最优决策的场景中仍研究不足。这一点至关重要,因为许多现实世界的应用,从个性化推荐到医疗干预,都要求LLMs不仅要进行预测,还要通过探索主动学习以做出最优决策。在这项工作中,我们测量了LLMs在多臂老虎机中做出最优决策的(无)能力,这是一种与许多应用相关的无状态强化学习设置。我们开发了一套全面的环境,包括无上下文和上下文多臂老虎机,且任务难度各异,以对LLMs的性能进行基准测试。受最优探索算法存在的启发,我们提出了将这种算法知识高效集成到LLMs中的方法:在推理期间提供明确的算法引导支持;以及通过上下文演示和使用这些算法生成的合成数据进行微调的算法蒸馏。令人印象深刻的是,这些技术使我们能够用较小的模型实现卓越的探索性能,在各种任务上超越更大的模型。我们进行了广泛的消融研究,以阐明影响LLM探索效率的各种因素,如任务难度和数据表示。此外,我们使用遗憾的概念对LLM的探索效率进行了严格分析,将其探索能力与模型规模和底层算法联系起来。

英文摘要:

Despite their success in many domains, large language models (LLMs) remain under-studied in scenarios requiring optimal decision-making under uncertainty. This is crucial as many real-world applications, ranging from personalized recommendations to healthcare interventions, demand that LLMs not only predict but also actively learn to make optimal decisions through exploration. In this work, we measure LLMs' (in)ability to make optimal decisions in bandits, a state-less reinforcement learning setting relevant to many applications. We develop a comprehensive suite of environments, including both context-free and contextual bandits with varying task difficulties, to benchmark LLMs' performance. Motivated by the existence of optimal exploration algorithms, we propose efficient ways to integrate this algorithmic knowledge into LLMs: by providing explicit algorithm-guided support during inference; and through algorithm distillation via in-context demonstrations and fine-tuning, using synthetic data generated from these algorithms. Impressively, these techniques allow us to achieve superior exploration performance with smaller models, surpassing larger models on various tasks. We conducted an extensive ablation study to shed light on various factors, such as task difficulty and data representation, that influence the efficiency of LLM exploration. Additionally, we conduct a rigorous analysis of the LLM's exploration efficiency using the concept of regret, linking its ability to explore to the model size and underlying algorithm.

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

↑