arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.20282cs.CVcs.AI
收藏

通过减少token冗余实现更快的参数高效调优

Faster Parameter-Efficient Tuning with Token Redundancy Reduction

Yonsei University(延世大学);Korea Institute of Science and Technology (KIST)(韩国科学技术院)

Kwonyoung Kim, Jungin Park, Jin Kim, Hyeongjun Kwon, Kwanghoon Sohn

AI总结:

针对多数参数高效调优(PET)方法推理延迟高且计算开销大的问题,提出FPET方法,通过即插即用的token冗余减少模块及全微分token合并策略,在保持存储效率和性能的同时提升推理与训练效率。

摘要:

参数高效调优(PET)旨在通过学习少量参数将预训练基础模型迁移到下游任务。与更新整个模型的传统微调相比,无论预训练模型容量呈指数增长,PET都能显著降低每个任务的存储和迁移成本。然而,大多数PET方法继承了其大型骨干模型的推理延迟,且常因额外模块(如适配器)引入额外计算开销,限制了其在计算密集型应用中的实用性。本文提出快速参数高效调优(FPET),这是一种在保持高存储效率的同时提升推理速度和训练效率的新方法。具体而言,我们引入一个为PET精心设计的即插即用token冗余减少模块。该模块利用适配器从自注意力层提取token,通过使用直通估计器的全微分token合并策略截断token,以实现最优token减少。实验结果证明,我们的FPET在保持与最先进PET方法相当的竞争力性能的同时,实现了更快的推理速度和更高的内存效率。

英文摘要:

Parameter-efficient tuning (PET) aims to transfer pre-trained foundation models to downstream tasks by learning a small number of parameters. Compared to traditional fine-tuning, which updates the entire model, PET significantly reduces storage and transfer costs for each task regardless of exponentially increasing pre-trained model capacity. However, most PET methods inherit the inference latency of their large backbone models and often introduce additional computational overhead due to additional modules (e.g. adapters), limiting their practicality for compute-intensive applications. In this paper, we propose Faster Parameter-Efficient Tuning (FPET), a novel approach that enhances inference speed and training efficiency while maintaining high storage efficiency. Specifically, we introduce a plug-and-play token redundancy reduction module delicately designed for PET. This module refines tokens from the self-attention layer using an adapter to learn the accurate similarity between tokens and cuts off the tokens through a fully-differentiable token merging strategy, which uses a straight-through estimator for optimal token reduction. Experimental results prove that our FPET achieves faster inference and higher memory efficiency than the pre-trained backbone while keeping competitive performance on par with state-of-the-art PET methods.

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

↑