arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04104cs.CL
收藏

大语言模型(LLMs)可通过聚合自身响应生成更优答案

LLMs Can Generate a Better Answer by Aggregating Their Own Responses

Georgia Tech(佐治亚理工学院);Microsoft Azure(微软 Azure);Amazon(亚马逊);University at Albany(奥尔巴尼大学)

Zichong Li, Xinyu Feng, Yuheng Cai, Zixuan Zhang, Tianyi Liu, Chen Liang, Weizhu Chen, Haoyu Wang, Tuo Zhao

AI总结:

针对LLM在复杂任务中依赖自身判别能力的方法表现不佳的问题,提出无需判别能力的生成式自聚合(GSA)方法,通过采样多样化响应并聚合合成新响应,在多类任务中有效提升响应质量且更通用。

摘要:

大语言模型(LLMs)在各类任务中展现出卓越能力,但面对复杂问题时往往需要额外的提示技术。尽管自校正和响应选择等方法已成为热门解决方案,但近期研究表明,当依赖LLM自身提供反馈或选择标准时,这些方法表现不佳。我们认为这一局限源于常见的LLM后训练流程缺乏对判别性判断任务的显式监督。本文提出生成式自聚合(GSA),一种无需模型判别能力即可提升答案质量的新型提示方法。GSA首先从LLM中采样多个多样化响应,然后对其进行聚合以获得改进的解决方案。与以往方法不同,我们的方法不需要LLM纠正错误或比较响应质量;相反,它利用模型的生成能力,基于多个样本的上下文合成新的响应。虽然GSA与用于响应聚合的自一致性(SC)方法有相似之处,但SC需要特定的可验证标记来实现多数投票。相比之下,我们的方法更通用,可应用于开放式任务。实证评估表明,GSA在各类任务中有效提升了响应质量,包括数学推理、基于知识的问题以及代码合成和对话响应等开放式生成任务。

英文摘要:

Large Language Models (LLMs) have shown remarkable capabilities across tasks, yet they often require additional prompting techniques when facing complex problems. While approaches like self-correction and response selection have emerged as popular solutions, recent studies have shown these methods perform poorly when relying on the LLM itself to provide feedback or selection criteria. We argue this limitation stems from the fact that common LLM post-training procedures lack explicit supervision for discriminative judgment tasks. In this paper, we propose Generative Self-Aggregation (GSA), a novel prompting method that improves answer quality without requiring the model's discriminative capabilities. GSA first samples multiple diverse responses from the LLM, then aggregates them to obtain an improved solution. Unlike previous approaches, our method does not require the LLM to correct errors or compare response quality; instead, it leverages the model's generative abilities to synthesize a new response based on the context of multiple samples. While GSA shares similarities with the self-consistency (SC) approach for response aggregation, SC requires specific verifiable tokens to enable majority voting. In contrast, our approach is more general and can be applied to open-ended tasks. Empirical evaluation demonstrates that GSA effectively improves response quality across various tasks, including mathematical reasoning, knowledge-based problems, and open-ended generation tasks such as code synthesis and conversational responses.

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

↑