FPS:基于前馈的参数选择用于高效微调
FPS: Feedforward-based Parameter Selection For Efficient Fine-Tuning
AI总结:
针对现有PEFT方法存在的推理延迟或内存开销大问题,提出无梯度的FPS方法,在单次前向传播中选出最优参数子集,在24个视觉任务上性能媲美SOTA且大幅降低内存和加速选择。
摘要:
参数高效微调(PEFT)已成为将大规模预训练模型适配到下游任务的关键策略,但现有方法面临显著局限。加法型方法(如 Adapters [1])引入了推理延迟和工程复杂性,而基于选择的策略如 Gradient-based Parameter Selection (GPS) [2] 需要完整的反向传播,导致其峰值内存使用量与全量微调相同。为解决这一困境,我们提出了 Feedforward-based Parameter Selection (FPS),这是一种无梯度方法,能在单次前向传播中识别最优参数子集。FPS 通过参数幅度与对应输入激活的乘积对其进行排序,同时利用预训练知识和下游数据。在来自 FGVC 和 VTAB-1k 的 24 个视觉任务上评估,FPS 实现了与最先进方法相当的性能,同时将峰值内存使用量降低近 9 倍,并将参数选择速度提高约 2 倍,为微调大规模预训练模型提供了真正内存高效且实用的解决方案。
英文摘要:
Parameter-Efficient Fine-Tuning (PEFT) has emerged as a key strategy for adapting large-scale pre-trained models to downstream tasks, but existing approaches face notable limitations. Addition-based methods, such as Adapters [1], introduce inference latency and engineering complexity, while selection-based methods like Gradient-based Parameter Selection (GPS) [2] require a full backward pass, which results in the same peak memory usage as full fine-tuning. To address this dilemma, we propose Feedforward-based Parameter Selection (FPS), a gradient-free method that identifies an optimal parameter subset in a single forward pass. FPS ranks parameters by the product of their magnitudes and corresponding input activations, leveraging both pre-trained knowledge and downstream data. Evaluated on $24$ visual tasks from FGVC and VTAB-1k, FPS achieves performance comparable to state-of-the-art methods while reducing peak memory usage by nearly $9 \times$ and accelerating parameter selection by about $2 \times$, offering a genuinely memory-efficient and practical solution for fine-tuning large-scale pre-trained models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。