arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.00387cs.CLcs.AI
收藏

利用大型语言模型与检索增强生成提升低数据场景下紧凑模型的能力

Boosting the Capabilities of Compact Models in Low-Data Contexts with Large Language Models and Retrieval-Augmented Generation

University of Colorado Boulder(科罗拉多大学博尔德分校)

Bhargav Shandilya, Alexis Palmer

AI总结:

本文提出由LLM支持的RAG框架,利用语法知识和LLM解释能力纠正小模型形态学注释输出,在低数据场景下取得新SOTA,并为语言学家提供带解释和置信度分数的实用工具。

摘要:

当前语言建模技术对数据和计算资源的要求给低资源语言的处理与分析带来了挑战。声明性语言知识有潜力通过以语言特定规则的形式为模型提供有用的归纳偏置,从而部分弥合这一数据稀缺的差距。在本文中,我们提出了一种由大型语言模型(LLM)支持的检索增强生成(RAG)框架,用于纠正较小模型在形态学注释这一语言任务上的输出。我们利用语言信息来弥补数据和可训练参数的不足,同时允许输入来自书面描写语法,这些语法经LLM解释和提炼后使用。结果表明,通过正确组合以下要素,可以实现性能和效率的显著飞跃:a)以语法形式提供的语言输入,b)LLM的解释能力,以及c)较小规模词元分类网络的可训练性。我们证明,一个紧凑的、由RAG支持的模型在数据稀缺场景下非常有效,在该任务和我们的目标语言上取得了新的最先进水平。我们的工作还为记录语言学家提供了一种更可靠、更易用的形态学注释工具,通过为每个输出提供有理有据的解释和置信度分数。

英文摘要:

The data and compute requirements of current language modeling technology pose challenges for the processing and analysis of low-resource languages. Declarative linguistic knowledge has the potential to partially bridge this data scarcity gap by providing models with useful inductive bias in the form of language-specific rules. In this paper, we propose a retrieval augmented generation (RAG) framework backed by a large language model (LLM) to correct the output of a smaller model for the linguistic task of morphological glossing. We leverage linguistic information to make up for the lack of data and trainable parameters, while allowing for inputs from written descriptive grammars interpreted and distilled through an LLM. The results demonstrate that significant leaps in performance and efficiency are possible with the right combination of: a) linguistic inputs in the form of grammars, b) the interpretive power of LLMs, and c) the trainability of smaller token classification networks. We show that a compact, RAG-supported model is highly effective in data-scarce settings, achieving a new state-of-the-art for this task and our target languages. Our work also offers documentary linguists a more reliable and more usable tool for morphological glossing by providing well-reasoned explanations and confidence scores for each output.

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

↑