arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.12596cs.CLcs.AIcs.LG

参数高效多样化改写生成:基于序列级知识蒸馏

Parameter Efficient Diverse Paraphrase Generation Using Sequence-Level Knowledge Distillation

School of Computing(计算机学院);Informatics Institute of Technology(信息技术学院)

Lasal Jayawardena, Prasan Yapa

AI总结:

本研究利用序列级知识蒸馏从大型语言模型开发三个小型改写模型,在保持改写质量的同时实现更快的推理和句法、词汇多样性,性能仅下降4%,模型规模缩小1000倍。

摘要:

在过去一年中,自然语言生成(NLG)领域经历了指数级的增长,这主要归功于大型语言模型(LLMs)的引入。这些模型在自然语言处理和生成领域的多个任务中展现了最有效的性能。然而,它们在特定领域任务(如改写)中的应用面临着重大挑战。由于参数数量庞大,这些模型难以在商用硬件上运行,并且推理需要大量时间,导致在生产环境中成本高昂。在本研究中,我们通过采用一种称为序列级知识蒸馏的方法,利用LLMs开发了三个针对改写领域的独立模型,以应对这些障碍。这些蒸馏后的模型能够保持由LLM生成的改写的质量。它们展现出更快的推理速度,并能生成质量相当的多样化改写。这些模型的一个显著特点是能够在保持词汇多样性的同时展现句法多样性,这一特性此前因现有数据集的数据质量问题而并不常见,且在基于神经网络的方案中通常不被观察到。对我们模型的人工评估显示,尽管模型规模比蒸馏过程中使用的LLM教师模型小1000倍,但性能仅下降了4%。这项研究为NLG领域做出了重要贡献,为改写任务提供了一种更高效且成本效益更高的解决方案。

英文摘要:

Over the past year, the field of Natural Language Generation (NLG) has experienced an exponential surge, largely due to the introduction of Large Language Models (LLMs). These models have exhibited the most effective performance in a range of domains within the Natural Language Processing and Generation domains. However, their application in domain-specific tasks, such as paraphrasing, presents significant challenges. The extensive number of parameters makes them difficult to operate on commercial hardware, and they require substantial time for inference, leading to high costs in a production setting. In this study, we tackle these obstacles by employing LLMs to develop three distinct models for the paraphrasing field, applying a method referred to as sequence-level knowledge distillation. These distilled models are capable of maintaining the quality of paraphrases generated by the LLM. They demonstrate faster inference times and the ability to generate diverse paraphrases of comparable quality. A notable characteristic of these models is their ability to exhibit syntactic diversity while also preserving lexical diversity, features previously uncommon due to existing data quality issues in datasets and not typically observed in neural-based approaches. Human evaluation of our models shows that there is only a 4% drop in performance compared to the LLM teacher model used in the distillation process, despite being 1000 times smaller. This research provides a significant contribution to the NLG field, offering a more efficient and cost-effective solution for paraphrasing tasks.

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

↑