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

从逻辑形式到自然语言生成的重排序:一项基于大语言模型的研究

Reranking for Natural Language Generation from Logical Forms: A Study based on Large Language Models

Levon Haroutunian, Zhuang Li, Lucian Galescu, Philip Cohen, Raj Tumuluri, Gholamreza Haffari

AI总结:

本文提出先生成后重排序方法,利用任务特定重排序器从大语言模型生成的候选中选出语义一致且流畅的输出,以提升从逻辑形式生成自然语言的质量。

摘要:

大语言模型(LLMs)在自然语言生成方面展现了令人印象深刻的能力。然而,其输出质量可能不稳定,这给从逻辑形式(LFs)生成自然语言带来了挑战。该任务要求生成的输出体现逻辑形式的精确语义,既不能遗漏任何逻辑形式语义,也不能产生任何幻觉。在本工作中,我们通过提出一种新颖的先生成后重排序方法来应对这一问题。我们的方法首先通过提示大语言模型生成一组候选输出,随后使用一个任务特定的重排序器模型对它们进行重排序。此外,我们整理了一个人工收集的数据集,用于评估不同排序指标与人类判断之间的一致性。所选排序指标被用于增强重排序器模型的训练和评估。通过在三个不同的数据集上进行广泛实验,我们证明由我们的重排序器选出的候选输出在语义一致性和流畅性方面优于基线方法选出的候选输出,并通过三个综合指标进行了衡量。我们的发现为该方法的有效性提供了有力证据,表明其能够提高生成输出的质量。

英文摘要:

Large language models (LLMs) have demonstrated impressive capabilities in natural language generation. However, their output quality can be inconsistent, posing challenges for generating natural language from logical forms (LFs). This task requires the generated outputs to embody the exact semantics of LFs, without missing any LF semantics or creating any hallucinations. In this work, we tackle this issue by proposing a novel generate-and-rerank approach. Our approach involves initially generating a set of candidate outputs by prompting an LLM and subsequently reranking them using a task-specific reranker model. In addition, we curate a manually collected dataset to evaluate the alignment between different ranking metrics and human judgements. The chosen ranking metrics are utilized to enhance the training and evaluation of the reranker model. By conducting extensive experiments on three diverse datasets, we demonstrate that the candidates selected by our reranker outperform those selected by baseline methods in terms of semantic consistency and fluency, as measured by three comprehensive metrics. Our findings provide strong evidence for the effectiveness of our approach in improving the quality of generated outputs.

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

↑