LoRA-C:面向物联网设备的鲁棒CNN参数高效微调
LoRA-C: Parameter-Efficient Fine-Tuning of Robust CNN for IoT Devices
AI总结:
本文提出LoRA-C方法,通过在卷积层进行低秩分解实现CNN在物联网设备上的参数高效鲁棒微调,并实验证明其优于标准ResNet。
摘要:
利用本地数据对预训练卷积神经网络(CNN)模型进行高效微调,对于使用无处不在且资源受限的物联网(IoT)设备向用户提供高质量服务至关重要。低秩适应(LoRA)微调因其简单、高效且不引入额外推理负担而受到工业界和学术界的广泛关注。然而,现有先进方法大多使用LoRA微调Transformer,关于使用LoRA微调CNN的研究较少。CNN模型因其在综合资源占用和性能方面的优势而被广泛部署在物联网设备上用于应用。此外,物联网设备广泛部署在户外,通常处理受环境(如雾、雪、雨等)影响的数据。本文的目标是利用LoRA技术高效提升CNN模型的鲁棒性。为此,本文首先提出了一种面向物联网设备的强鲁棒CNN微调方法LoRA-C,该方法在卷积层而非核单元上进行低秩分解,以减少微调参数量。然后,本文详细分析了两种不同的秩设置,并观察到在标准数据或损坏数据中,当α/r为常数时通常能取得最佳性能。这一发现为LoRA-C的广泛应用提供了经验。最后,本文基于预训练模型进行了大量实验。在CIFAR-10、CIFAR-100、CIFAR-10-C和Icons50数据集上的实验结果表明,所提出的LoRA-C优于标准ResNet。具体而言,在CIFAR-10-C数据集上,LoRA-C-ResNet-101的准确率达到83.44%,超过标准ResNet-101结果+9.5%。
英文摘要:
Efficient fine-tuning of pre-trained convolutional neural network (CNN) models using local data is essential for providing high-quality services to users using ubiquitous and resource-limited Internet of Things (IoT) devices. Low-Rank Adaptation (LoRA) fine-tuning has attracted widespread attention from industry and academia because it is simple, efficient, and does not incur any additional reasoning burden. However, most of the existing advanced methods use LoRA to fine-tune Transformer, and there are few studies on using LoRA to fine-tune CNN. The CNN model is widely deployed on IoT devices for application due to its advantages in comprehensive resource occupancy and performance. Moreover, IoT devices are widely deployed outdoors and usually process data affected by the environment (such as fog, snow, rain, etc.). The goal of this paper is to use LoRA technology to efficiently improve the robustness of the CNN model. To this end, this paper first proposes a strong, robust CNN fine-tuning method for IoT devices, LoRA-C, which performs low-rank decomposition in convolutional layers rather than kernel units to reduce the number of fine-tuning parameters. Then, this paper analyzes two different rank settings in detail and observes that the best performance is usually achieved when $α/{r}$ is a constant in either standard data or corrupted data. This discovery provides experience for the widespread application of LoRA-C. Finally, this paper conducts many experiments based on pre-trained models. Experimental results on CIFAR-10, CIFAR-100, CIFAR-10-C, and Icons50 datasets show that the proposed LoRA-Cs outperforms standard ResNets. Specifically, on the CIFAR-10-C dataset, the accuracy of LoRA-C-ResNet-101 achieves 83.44% accuracy, surpassing the standard ResNet-101 result by +9.5%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。