arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.11252cs.CLcs.AIcs.HC
收藏

揭示未写之物:束搜索树的可视化调查以应对语言模型提示挑战

Revealing the Unwritten: Visual Investigation of Beam Search Trees to Address Language Model Prompting Challenges

University of Konstanz(康斯坦茨大学);ETH Zürich(苏黎世联邦理工学院)

Thilo Spinner, Rebecca Kehlbeck, Rita Sevastjanova, Tobias Stähle, Daniel A. Keim, Oliver Deussen, Andreas Spitz, Mennatallah El-Assady

AI总结:

针对大型语言模型提示挑战,提出交互式可视化束搜索树的方法,以分析模型生成决策,验证结果并提供新见解。

摘要:

生成式语言模型的日益普及,激发了人们对引导模型输出的交互式方法的兴趣。在这些方法中,提示优化被认为是影响输出的最有效手段之一。我们识别了与大型语言模型提示相关的若干挑战,并将其分为数据特定、模型特定、语言和社会语言挑战。为了应对这些问题,需要对模型输出进行全面检查,包括候选者及其对应概率。束搜索树作为采样模型输出的主流算法,能够天然地提供这些信息。因此,我们引入了一种交互式可视化方法,用于调查束搜索树,以促进对模型生成过程中所做决策的分析。我们定量展示了暴露束搜索树的价值,并提出了五个详细的分析场景,以应对所识别的挑战。我们的方法验证了现有结果,并提供了额外的见解。

英文摘要:

The growing popularity of generative language models has amplified interest in interactive methods to guide model outputs. Prompt refinement is considered one of the most effective means to influence output among these methods. We identify several challenges associated with prompting large language models, categorized into data- and model-specific, linguistic, and socio-linguistic challenges. A comprehensive examination of model outputs, including runner-up candidates and their corresponding probabilities, is needed to address these issues. The beam search tree, the prevalent algorithm to sample model outputs, can inherently supply this information. Consequently, we introduce an interactive visual method for investigating the beam search tree, facilitating analysis of the decisions made by the model during generation. We quantitatively show the value of exposing the beam search tree and present five detailed analysis scenarios addressing the identified challenges. Our methodology validates existing results and offers additional insights.

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

↑