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

面向语法可接受性优化语言模型:微调技术的比较研究

Optimizing Language Models for Grammatical Acceptability: A Comparative Study of Fine-Tuning Techniques

Georgia Tech(佐治亚理工学院)

Shobhit Ratan, Farley Knight, Ghada Jerfel, Sze Chung Ho

AI总结:

本研究针对语法可接受性任务,比较多种微调技术对OPT-125M模型的优化效果,发现LoRA可在保持准确率的同时大幅提升计算效率,为降低大语言模型使用门槛提供参考。

摘要:

本研究探索使用CoLA数据集对Open Pre-trained Transformer(OPT-125M,开放预训练Transformer)进行语法可接受性任务的微调(FT)。通过比较普通微调(VFT)、基于模式的微调(PBFT)以及低秩适配(LoRA)这类参数高效微调技术(PEFT),我们证明在保持高准确率的同时,计算效率得到显著提升。实验显示,VFT取得最高准确率(81.2%),LoRA将内存占用和迭代时间减少超50%以优化微调,且在PBFT场景下提升准确率。上下文蒸馏(CD)虽计算高效,但表现不佳,准确率约31%。我们的发现通过降低计算门槛,助力大语言模型(LLM)的普及使用。

英文摘要:

This study explores the fine-tuning (FT) of the Open Pre-trained Transformer (OPT-125M) for grammatical acceptability tasks using the CoLA dataset. By comparing Vanilla-Fine-Tuning (VFT), Pattern-Based-Fine-Tuning (PBFT), and Parameter-Efficient Fine-Tuning techniques (PEFT) like Low-Rank Adaptation (LoRA), we demonstrate significant improvements in computational efficiency while maintaining high accuracy. Our experiments reveal that while VFT achieves the highest accuracy (81.2%), LoRA enhancing FT by reducing memory usage and iteration time by more than 50%, and increases accuracy in PBFT case. Context Distillation (CD), though computationally efficient, underperformed with accuracy around 31%. Our findings contribute to democratizing access to large language models (LLM) by reducing computational barriers.

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

↑