合成、划分、然后适配:从基础模型中引出多样化样本
Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Models
AI总结:
提出SPA框架,利用合成数据划分与适配,在保持质量的同时生成多样化响应,提升用户体验。
摘要:
向用户展示基础模型生成的多样化响应对于提升用户体验和适应不同偏好至关重要。然而,在不牺牲准确性的前提下生成多个高质量且多样化的响应仍然是一个挑战,尤其是在使用贪婪采样时。在这项工作中,我们提出了一种新颖的框架,即合成-划分-适配(SPA),该框架利用许多领域中丰富的合成数据来从基础模型中引出多样化响应。通过利用数据归因方法(如影响函数)提供的信号,SPA将数据划分为多个子集,每个子集针对数据的不同方面,并训练多个针对这些子集优化的模型适配。实验结果表明,我们的方法在使基础模型响应多样化的同时保持高质量方面是有效的,这通过在代码生成领域的HumanEval和MBPP任务以及自然语言理解领域的几个任务中得到展示,突显了其在各种应用中丰富用户体验的潜力。
英文摘要:
Presenting users with diverse responses from foundation models is crucial for enhancing user experience and accommodating varying preferences. However, generating multiple high-quality and diverse responses without sacrificing accuracy remains a challenge, especially when using greedy sampling. In this work, we propose a novel framework, Synthesize-Partition-Adapt (SPA), that leverages the abundant synthetic data available in many domains to elicit diverse responses from foundation models. By leveraging signal provided by data attribution methods such as influence functions, SPA partitions data into subsets, each targeting unique aspects of the data, and trains multiple model adaptations optimized for these subsets. Experimental results demonstrate the effectiveness of our approach in diversifying foundation model responses while maintaining high quality, showcased through the HumanEval and MBPP tasks in the code generation domain and several tasks in the natural language understanding domain, highlighting its potential to enrich user experience across various applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。