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

基于度量的上下文学习:以文本简化为例的案例研究

Metric-Based In-context Learning: A Case Study in Text Simplification

Mercer Island High School(默瑟岛高中);Koç University(科奇大学)

Subha Vadlamannati, Gözde Gül Şahin

AI总结:

本文针对文本简化任务提出基于度量的上下文学习方法,利用SARI等指标选择示例,实验证明其在不同规模模型上表现稳健且优于基线,为NLG系统提供新框架。

摘要:

大型语言模型的上下文学习(ICL)已被证明是处理许多自然语言处理任务的强大方法。然而,确定选择ICL示例的最佳方法并非易事,因为结果会因所用示例的质量、数量和顺序而产生很大差异。本文以文本简化(TS)为案例,研究如何为ICL选择最佳且最稳健的示例。我们提出了基于度量的上下文学习(MBL)方法,该方法利用常用的TS度量(如SARI、压缩比和BERT-Precision)进行选择。通过在标准TS基准(如TurkCorpus和ASSET)上使用不同规模的GPT模型进行大量实验,我们表明由最高SARI分数选择的示例在GPT-175B等较大模型上表现最佳,而压缩比通常在GPT-13B和GPT-6.7B等较小模型上表现更好。此外,我们证明MBL通常对示例顺序和域外测试集具有稳健性,并且优于强基线和最先进的微调语言模型。最后,我们表明大型GPT模型的行为可以通过所选度量进行隐式控制。我们的研究为在ICL中选择示例提供了新框架,并展示了其在文本简化任务中的有效性,为更准确高效的NLG系统开辟了新途径。

英文摘要:

In-context learning (ICL) for large language models has proven to be a powerful approach for many natural language processing tasks. However, determining the best method to select examples for ICL is nontrivial as the results can vary greatly depending on the quality, quantity, and order of examples used. In this paper, we conduct a case study on text simplification (TS) to investigate how to select the best and most robust examples for ICL. We propose Metric-Based in-context Learning (MBL) method that utilizes commonly used TS metrics such as SARI, compression ratio, and BERT-Precision for selection. Through an extensive set of experiments with various-sized GPT models on standard TS benchmarks such as TurkCorpus and ASSET, we show that examples selected by the top SARI scores perform the best on larger models such as GPT-175B, while the compression ratio generally performs better on smaller models such as GPT-13B and GPT-6.7B. Furthermore, we demonstrate that MBL is generally robust to example orderings and out-of-domain test sets, and outperforms strong baselines and state-of-the-art finetuned language models. Finally, we show that the behaviour of large GPT models can be implicitly controlled by the chosen metric. Our research provides a new framework for selecting examples in ICL, and demonstrates its effectiveness in text simplification tasks, breaking new ground for more accurate and efficient NLG systems.

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

↑