arXiv:2501.08008cs.CLcs.AI2025-01被引 1

用脑启发的三角自适应法,让小参数高效微调大模型

TriAdaptLoRA: Brain-Inspired Triangular Adaptive Low-Rank Adaptation for Parameter-Efficient Fine-Tuning

  • 将变换矩阵拆成上下三角块,提升参数利用效率
  • 动态调整训练时参数量,线性阈值下性能超越现有方法
  • 适合资源受限场景,对小规模微调尤其有效

大型语言模型(LLMs)的微调对实现下游任务最优性能至关重要。尽管全量微调效果最佳,但计算与资源开销巨大。参数高效微调(PEFT)方法如LoRA通过减少可训练参数缓解此问题,但常面临秩调整效率低和任务适应性差的挑战。我们提出受神经科学启发的三角自适应低秩微调(TriAdaptLoRA),动态优化可训练参数分配。该框架引入三项创新:1)将变换矩阵三角分解为上下三角部分以最大化参数利用率;2)基于归一化Frobenius范数的参数重要性度量实现高效适配;3)由动态阈值控制的自适应秩增长策略,支持训练过程中的灵活参数分配。在多种自然语言理解与生成任务上的实验表明,TriAdaptLoRA持续优于现有PEFT方法,在线性阈值驱动的秩增长下表现尤为突出,兼具更优性能、更强稳定性与更低计算开销。结果验证其作为可扩展、资源高效的LLM微调方案的有效性。

原文摘要 · Abstract (English)

The fine-tuning of Large Language Models (LLMs) is pivotal for achieving optimal performance across diverse downstream tasks. However, while full fine-tuning delivers superior results, it entails significant computational and resource costs. Parameter-Efficient Fine-Tuning (PEFT) methods, such as LoRA, address these challenges by reducing the number of trainable parameters, but they often struggle with rank adjustment efficiency and task-specific adaptability. We propose Triangular Adaptive Low-Rank Adaptation (TriAdaptLoRA), a novel PEFT framework inspired by neuroscience principles, which dynamically optimizes the allocation of trainable parameters. TriAdaptLoRA introduces three key innovations: 1) a triangular split of transformation matrices into lower and upper triangular components to maximize parameter utilization, 2) a parameter importance metric based on normalized Frobenius norms for efficient adaptation, and 3) an adaptive rank-growth strategy governed by dynamic thresholds, allowing flexible parameter allocation across training steps. Experiments conducted on a variety of natural language understanding and generation tasks demonstrate that TriAdaptLoRA consistently outperforms existing PEFT methods. It achieves superior performance, enhanced stability, and reduced computational overhead, particularly under linear threshold-driven rank growth. These results highlight its efficacy as a scalable and resource-efficient solution for fine-tuning LLMs.

参数高效微调低秩神经启发

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。