arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2412.03343cs.CLcs.AI
收藏

通过可能性探索微调提升大语言模型的语言多样性

Improving Linguistic Diversity of Large Language Models with Possibility Exploration Fine-Tuning

University College Dublin(都柏林大学学院);School of Computer Science(计算机科学学院);ML-Labs(机器学习实验室)

Long Mai, Julie Carson-Berndsen

AI总结:

针对LLM输出语言多样性下降且现有方法任务受限、成本高的问题,本文提出任务无关的PEFT框架,可零额外延迟生成多个可控且语义多样的回复,并降低人口偏见。

摘要:

尽管大语言模型(LLM)在复现类人能力方面已取得显著进展,但其输出的语言多样性下降仍引发担忧。这会导致观点和视角同质化,并使特定人口群体的代表性不足。尽管已有若干微调和提示技术被提出以解决该问题,但它们通常针对特定任务定制,或伴随计算成本与延迟的大幅增加。这使其难以应用于聊天机器人和虚拟助手等要求极低延迟的场景。我们提出可能性探索微调(Possibility Exploration Fine-Tuning,PEFT),这是一个任务无关框架,可在不增加延迟或计算成本的情况下提升LLM的文本多样性。给定相同提示,经PEFT微调的模型能够同时生成多个不同回复,每个回复对应一个可控的可能性编号。在对话和故事生成任务上的实验表明,PEFT显著提升了LLM输出的多样性,候选回复之间更低的相似度即为证明。由于PEFT强调语义多样性而非词汇多样性,它还能显著降低对话系统中的人口偏见。实现代码和数据集可在我们的仓库获取:https://github.com/mailong25/peft_diversity

英文摘要:

While Large Language Models (LLMs) have made significant strides in replicating human-like abilities, there are concerns about a reduction in the linguistic diversity of their outputs. This results in the homogenization of viewpoints and perspectives, as well as the underrepresentation of specific demographic groups. Although several fine-tuning and prompting techniques have been suggested to tackle the issue, they are often tailored to specific tasks or come with a substantial increase in computational cost and latency. This makes them challenging to apply to applications that demand very low latency, such as chatbots and virtual assistants. We propose Possibility Exploration Fine-Tuning (PEFT), a task-agnostic framework that enhances the text diversity of LLMs without increasing latency or computational cost. Given the same prompt, models fine-tuned with PEFT can simultaneously generate multiple diverse responses, each corresponding with a controllable possibility number. Experiments on dialogue and story generation tasks demonstrate that PEFT significantly enhances the diversity of LLM outputs, as evidenced by lower similarity between candidate responses. Since PEFT emphasizes semantic diversity over lexical diversity, it can also notably reduce demographic bias in dialogue systems. The implementations and datasets are available in our repository: https://github.com/mailong25/peft_diversity

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

↑