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

文本对齐是面向海量NLP任务的高效统一模型

Text Alignment Is An Efficient Unified Model for Massive NLP Tasks

UC San Diego(加州大学圣迭戈分校)

Yuheng Zha, Yichi Yang, Ruichen Li, Zhiting Hu

AI总结:

本文提出文本对齐统一模型Align,基于3.55亿参数RoBERTa轻量微调,在20多个NLP数据集及23个事实一致性评估集上以小模型规模媲美或超越更大模型,并可辅助LLM识别不可回答问题。

摘要:

大语言模型(LLM)通常被设计为下一单词预测函数,已在大量NLP任务中表现出色。尽管具有通用性,但下一单词预测对许多任务而言往往并非高效的建模形式,它需要极大规模的模型参数(数百亿甚至数千亿),有时还会产生次优性能。在实践中,构建更高效的模型通常是可取的——尽管通用性较弱,它们仍可应用于相当大的一类问题子集,并以小得多的模型规模提供相当甚至更优的性能。本文提出将文本对齐作为一种高效统一模型,用于处理文本蕴含、相似性、问答(及可回答性)、事实一致性等一系列重要任务。给定一对文本,该模型衡量二者信息之间的对齐程度。我们使用来自28个数据集的590万个样本,通过对RoBERTa(3.55亿参数)进行轻量级微调,实例化了一个对齐模型(Align)。尽管规模紧凑,大量实验证明了该模型的效率和强劲性能:(1)在上述不同任务的20多个数据集上,该模型达到或超过参数量约为其2倍或10倍的FLAN-T5模型;这一单一统一模型还优于在各个数据集上单独微调的任务专用模型;(2)当用于在23个数据集上评估语言生成的事实一致性时,我们的模型相较多种基线均有提升,包括规模大得多的GPT-3.5(ChatGPT),有时甚至包括GPT-4;(3)该轻量级模型还可作为GPT-3.5等LLM在问答任务中的附加组件,通过识别不可回答的问题,将平均精确匹配(EM)分数提高17.94,将F1分数提高15.05。

英文摘要:

Large language models (LLMs), typically designed as a function of next-word prediction, have excelled across extensive NLP tasks. Despite the generality, next-word prediction is often not an efficient formulation for many of the tasks, demanding an extreme scale of model parameters (10s or 100s of billions) and sometimes yielding suboptimal performance. In practice, it is often desirable to build more efficient models -- despite being less versatile, they still apply to a substantial subset of problems, delivering on par or even superior performance with much smaller model sizes. In this paper, we propose text alignment as an efficient unified model for a wide range of crucial tasks involving text entailment, similarity, question answering (and answerability), factual consistency, and so forth. Given a pair of texts, the model measures the degree of alignment between their information. We instantiate an alignment model (Align) through lightweight finetuning of RoBERTa (355M parameters) using 5.9M examples from 28 datasets. Despite its compact size, extensive experiments show the model's efficiency and strong performance: (1) On over 20 datasets of aforementioned diverse tasks, the model matches or surpasses FLAN-T5 models that have around 2x or 10x more parameters; the single unified model also outperforms task-specific models finetuned on individual datasets; (2) When applied to evaluate factual consistency of language generation on 23 datasets, our model improves over various baselines, including the much larger GPT-3.5 (ChatGPT) and sometimes even GPT-4; (3) The lightweight model can also serve as an add-on component for LLMs such as GPT-3.5 in question answering tasks, improving the average exact match (EM) score by 17.94 and F1 score by 15.05 through identifying unanswerable questions.

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

↑