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

利用参数高效训练方法进行低资源文本分类:以马拉地语为例

Leveraging Parameter Efficient Training Methods for Low Resource Text Classification: A Case Study in Marathi

Pune Institute of Computer Technology(浦那计算机技术学院);Indian Institute of Technology Madras(马德拉斯印度理工学院)

Pranita Deshmukh, Nikita Kulkarni, Sanhita Kulkarni, Kareena Manghani, Raviraj Joshi

AI总结:

本文以马拉地语为案例,系统研究LoRA和adapter等参数高效微调方法在低资源文本分类中的效果,证明其可在不损失准确率的情况下显著加快训练速度,并与完全微调相媲美。

摘要:

随着低资源语言数字内容的激增,针对这些语言的高级自然语言处理(NLP)技术的需求日益增长。BERT(Bidirectional Encoder Representations from Transformers,基于Transformer的双向编码器表示)作为众多NLP架构和语言模型的基础框架,正越来越多地被用于开发低资源NLP模型。参数高效微调(Parameter Efficient Fine-Tuning,PEFT)是一种微调大语言模型(Large Language Models,LLMs)并在一定程度上减少训练参数的方法,以降低训练模型所需的计算成本,并取得与完全微调模型相当的结果。在这项工作中,我们针对印度低资源语言马拉地语开展了PEFT方法研究。我们对应用于各种单语和多语马拉地语BERT模型的PEFT方法进行了全面分析。这些方法在MahaSent、MahaHate和MahaNews等著名文本分类数据集上进行了评估。结果表明,引入PEFT技术能够显著加快模型的训练速度,解决了模型开发和部署中的一个关键问题。在本研究中,我们探索了大语言模型的低秩适配(Low-Rank Adaptation of Large Language Models,LoRA)和adapter方法用于低资源文本分类。我们表明,这些方法与完全微调相比具有竞争力,并且可以在不损失准确率的情况下使用。本研究为马拉地语BERT模型的有效性提供了有价值的见解,为马拉地语及类似印度语言NLP能力的持续发展奠定了基础。

英文摘要:

With the surge in digital content in low-resource languages, there is an escalating demand for advanced Natural Language Processing (NLP) techniques tailored to these languages. BERT (Bidirectional Encoder Representations from Transformers), serving as the foundational framework for numerous NLP architectures and language models, is increasingly employed for the development of low-resource NLP models. Parameter Efficient Fine-Tuning (PEFT) is a method for fine-tuning Large Language Models (LLMs) and reducing the training parameters to some extent to decrease the computational costs needed for training the model and achieve results comparable to a fully fine-tuned model. In this work, we present a study of PEFT methods for the Indic low-resource language Marathi. We conduct a comprehensive analysis of PEFT methods applied to various monolingual and multilingual Marathi BERT models. These approaches are evaluated on prominent text classification datasets like MahaSent, MahaHate, and MahaNews. The incorporation of PEFT techniques is demonstrated to significantly expedite the training speed of the models, addressing a critical aspect of model development and deployment. In this study, we explore Low-Rank Adaptation of Large Language Models (LoRA) and adapter methods for low-resource text classification. We show that these methods are competitive with full fine-tuning and can be used without loss in accuracy. This study contributes valuable insights into the effectiveness of Marathi BERT models, offering a foundation for the continued advancement of NLP capabilities in Marathi and similar Indic languages.

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

↑