arXiv:2410.19117cs.CLcs.LG2024-10被引 2

用博弈树搜索提升大模型生成质量与多样性

LLM Tree Search

  • 借鉴AlphaGo思想,构建多路径搜索树评估生成结果
  • 通过模型置信度评分,实现高质量且多样化的文本输出
  • 适合需要创意生成或迭代优化的场景,如写作与翻译

本研究探索一种受AlphaGo启发的新型序列生成方法,将其应用于大型语言模型(LLMs)。该方法构建不同可能完成路径的搜索树,并基于模型置信度对各路径进行评估。通过综合考虑搜索树中的多种路径并依据模型对每个完成结果的信心打分,可生成多样且高质量的序列。本文旨在阐述该范式潜力,而非追求最优结果。我们认为该方法有望提升:1)输出质量;2)减少错误;3)缓解复合错误问题;4)生成多样化、创造性内容;5)支持迭代求解;6)自训练能力。目标是获得一组多样且连贯的序列,揭示序列生成中探索与利用的平衡机制。潜在应用包括故事创作、内容生成,以及机器翻译和自动摘要等自然语言处理任务。该方法使模型能充分考虑多种可能性,从而找到更优完成方案。本研究致力于推动对高效搜索策略的理解及其在生成高质量、多样化文本中的作用。

原文摘要 · Abstract (English)

This project aims to investigate a novel sequence generation method inspired by the AlphaGo paradigm, adapting it for use with large language models (LLMs). The proposed approach involves creating search trees of different possible completions and evaluating these completions based on model confidence. By considering various paths in the search tree and scoring them according to the model's confidence in each completion, we can generate diverse and high-quality sequences. This research explores the implementation of this paradigm by using confidence as a proxy for response quality akin to beam search \citep{vijayakumar2016diverse}. The primary goal of this paper is to outline the paradigm and demonstrate its potential, rather than focusing on achieving perfect results. The paper will outline the reasons why we believe this paradigm has the potential to improve LLMs in the following manners: 1) increase output quality, 2) decrease errors, 3) eliminate or reduce the compound error problems, 4) generate diverse and creative completions, 5) allow for iterative problem-solving, and 6) self-training. We expect this approach to yield a set of diverse and coherent sequences, offering insights into balancing exploration and exploitation in sequence generation. Potential applications include creative text generation tasks, such as storytelling and content creation, as well as other natural language processing domains, like machine translation and automated summarization. The goal is that the model will be far more effective as it will be able to consider many possible variations allowing it to find the ideal completion. This research aims to contribute to the understanding of effective search strategies in sequence generation and their impact on generating high-quality, varied textual outputs.

序列生成搜索算法大模型创意生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。