arXiv:2507.23536cs.LGcs.AI2025-07被引 7

在边缘设备上高效微调模型,发现适配器方法可降低95%计算量。

From LLMs to Edge: Parameter-Efficient Fine-Tuning on Edge Devices

  • 用适配器类方法微调边缘模型,仅更新少量参数。
  • 深度可分离卷积架构下,参数效率仅为大模型的一半。
  • 适合资源受限场景,尤其对推理性能要求高的边缘应用。

参数高效微调(PEFT)通过减少新增参数数量来降低深度学习模型更新的计算开销。尽管在大语言模型(LLMs)中已得到广泛研究,但在资源受限的边缘设备上常见的卷积神经网络中的应用仍不充分。本文针对典型边缘部署的卷积架构,评估并分析了LoRA、DoRA和GaLore等主流PEFT方法在应对分布偏移和未知类别时的表现。借助新提出的PyTorch剖析工具,对比了这些方法与传统微调在模型性能和计算成本上的差异。研究发现,当应用于深度可分离卷积架构时,所评估的PEFT方法内存效率仅为在大语言模型中的50%;而针对为边缘部署优化的卷积架构,适配器类方法可将模型更新过程中的浮点运算量(FLOPs)降低高达95%。这些结果为基于硬件限制、性能需求和应用场景选择合适的PEFT方法提供了重要参考。代码已公开。

原文摘要 · Abstract (English)

Parameter-efficient fine-tuning (PEFT) methods reduce the computational costs of updating deep learning models by minimizing the number of additional parameters used to adapt a model to a down- stream task. While extensively researched in large language models (LLMs), their application to smaller models used on edge devices, such as convolutional neural networks, remains underexplored. This paper benchmarks and analyzes popular PEFT methods on convolutional architectures typically deployed in resource-constrained edge environments. We evaluate LoRA, DoRA, and GaLore for updating standard and depthwise convolutional architectures to handle distribution shifts and accommodate unseen classes. We utilize recently proposed PyTorch profilers to compare the updated model performance and computational costs of these PEFT methods with traditional fine-tuning approaches. With resource efficiency in mind, we investigate their update behavior across different rank dimensions. We find that the evaluated PEFT methods are only half as memory-efficient when applied to depthwise-separable convolution architectures, compared to their efficiency with LLMs. Conversely, when targeting convolu- tional architectures optimized for edge deployment, adapter-based PEFT methods can reduce floating point operations (FLOPs) during model updates by up to 95%. These insights offer valuable guidance for selecting PEFT methods based on hardware constraints, performance requirements, and application needs. Our code is online.

边缘计算参数高效卷积网络微调

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