arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.08869cs.CLcs.LG
收藏

PEDAL:利用多样化范例增强大语言模型的贪心解码

PEDAL: Enhancing Greedy Decoding with Large Language Models using Diverse Exemplars

Sumanth Prabhu

AI总结:

本研究提出混合自集成方法PEDAL,结合多样化范例提示与LLM聚合技术,在SVAMP、ARC数据集上实现了比贪心解码更高的准确率,且推理成本低于自一致性方法。

摘要:

采用多样化推理路径的自集成技术(如Self-Consistency(自一致性))已在大语言模型(LLM)文本生成任务中展现出显著的性能提升。然而,这类技术依赖准确的答案提取流程来聚合多个输出。此外,与贪心解码相比,由于需要生成数量更多的输出token,它们的推理成本更高。研究表明,Self-Consistency生成的自由形式文本输出可以通过LLM可靠聚合,得到最终输出。另外,LLM推理领域的最新进展显示,在提示中使用多样化范例能够诱导LLM输出产生多样性。这些已被验证的技术可以轻松扩展到基于自集成的方法中,以实现更优的文本生成效果。本文提出了一种混合自集成方法PEDAL(基于范例多样性的提示并通过LLM聚合,全称为Prompts based on Exemplar Diversity Aggregated using LLMs),它结合了基于多样化范例的提示与基于LLM的聚合的优势,以提升整体性能。在公开数据集SVAMP和ARC上的实验表明,与基于贪心解码的策略相比,PEDAL能取得更高的准确率;同时与基于Self-Consistency的方法相比,其推理成本更低。

英文摘要:

Self-ensembling techniques with diverse reasoning paths such as Self-Consistency have demonstrated remarkable performance gains in text generation with Large Language Models (LLMs). However, such techniques depend on the availability of an accurate answer extraction process to aggregate across multiple outputs. Moreover, they acquire higher inference cost, in comparison to Greedy Decoding, due to generation of relatively higher number of output tokens. Research has shown that the free form text outputs from Self-Consistency can be aggregated reliably using LLMs to produce the final output. Additionally, recent advancements in LLM inference have demonstrated that usage of diverse exemplars in prompts have the ability to induce diversity in the LLM outputs. Such proven techniques can be easily extended to self-ensembling based approaches to achieve enhanced results in text generation. In this paper, we introduce PEDAL (Prompts based on Exemplar Diversity Aggregated using LLMs), a hybrid self-ensembling approach, that combines the strengths of diverse exemplar based prompts and LLM based aggregation to achieve improvement in overall performance. On the publicly available SVAMP and ARC datasets, our experiments reveal that PEDAL can achieve better accuracy than Greedy Decoding based strategies with lower inference cost compared to Self Consistency based approaches.

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

↑