arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.11258cs.CL
收藏

利用条件互信息改进用于分类的大型语言模型微调

Leveraging Conditional Mutual Information to Improve Large Language Model Fine-Tuning For Classification

Department of Electrical and Computer Engineering University of Waterloo(电气与计算机工程系 华威大学)

Thanushon Sivakaran, En-Hui Yang

AI总结:

本文将条件互信息(CMI)引入大型语言模型微调,通过最小化CMI提升模型独立性能,最大化CMI增强知识蒸馏,在多个GLUE任务上优于BERT和DistilBERT。

摘要:

尽管大型语言模型(LLMs)近年来展现出了卓越的能力,但信息论(IT)在增强LLM开发方面的潜力仍未被充分探索。本文将条件互信息(CMI)的信息论原理引入用于分类任务的LLM微调中,并从两个主要方面探索其潜力:通过最小化CMI来提升模型的独立性能,以及通过最大化CMI来增强知识蒸馏(KD),从而获得更强大的学生模型。为了在LLM微调中应用CMI,我们对近期提出的CMI约束深度学习框架进行了适配与修改,该框架最初是为图像分类开发的。通过在LLM微调中最小化CMI,与BERT相比,我们在8个GLUE分类任务中的6个上取得了更优的性能提升。此外,在KD过程中最大化CMI,与DistilBERT相比,我们在8个GLUE分类任务中的6个上实现了显著的性能改善。这些发现证明了CMI在优化独立LLM和学生模型方面的适应性,展示了其作为推进LLM微调的稳健框架的潜力。我们的工作弥合了信息论与LLM开发之间的差距,为构建高性能语言模型提供了新见解。

英文摘要:

Although large language models (LLMs) have demonstrated remarkable capabilities in recent years, the potential of information theory (IT) to enhance LLM development remains underexplored. This paper introduces the information theoretic principle of Conditional Mutual Information (CMI) to LLM fine-tuning for classification tasks, exploring its promise in two main ways: minimizing CMI to improve a model's standalone performance and maximizing CMI to enhance knowledge distillation (KD) for more capable student models. To apply CMI in LLM fine-tuning, we adapt the recently proposed CMI-constrained deep learning framework, which was initially developed for image classification, with some modification. By minimizing CMI during LLM fine-tuning, we achieve superior performance gains on 6 of 8 GLUE classification tasks compared to BERT. Additionally, maximizing CMI during the KD process results in significant performance improvements in 6 of 8 GLUE classification tasks compared to DistilBERT. These findings demonstrate CMI's adaptability for optimizing both standalone LLMs and student models, showcasing its potential as a robust framework for advancing LLM fine-tuning. Our work bridges the gap between information theory and LLM development, offering new insights for building high-performing language models.

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

↑