arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.06884cs.CV
收藏

Transforming Vision Transformer:迈向高效的多任务异步学习

Transforming Vision Transformer: Towards Efficient Multi-Task Asynchronous Learning

Beihang University(北京航空航天大学)

Hanwen Zhong, Jiaxin Chen, Yutong Zhang, Di Huang, Yunhong Wang

AI总结:

针对视觉Transformer多任务学习中MoE与LoRA结合效果不佳的问题,提出EMTAL方法,通过MoEfied LoRA结构、质量保持优化机制和路由衰减策略,实现高效的多任务异步学习,性能优于现有最优方法。

摘要:

面向视觉Transformer的多任务学习(MTL)旨在通过同时处理多个任务提升模型能力。近期多数研究主要聚焦于设计混合专家(Mixture-of-Experts, MoE)结构并结合低秩适配(Low-Rank Adaptation, LoRA)以高效开展多任务学习,但二者的生硬结合既阻碍了MoE的优化,也降低了LoRA重参数化的有效性,导致性能次优且推理速度较慢。\n本研究提出一种名为高效多任务学习(Efficient Multi-Task Learning, EMTAL)的新方法,在训练阶段将预训练Vision Transformer转化为高效多任务学习器,并对学习到的结构进行重参数化以实现高效推理。具体而言,我们首先构建了MoEfied LoRA结构,将预训练Transformer分解为低秩MoE结构,并采用LoRA对参数进行微调。随后,我们考虑到多任务学习内在的异步特性,设计了学习质量保持(Quality Retaining, QR)优化机制,利用历史高质量类别logits防止已训练良好的任务出现性能下降。最后,我们设计了路由衰减策略,将学习到的参数整合回原始Transformer中,实现高效推理。\n在公开基准上开展的大量实验表明,与当前最优的多任务学习方法相比,本文方法具有更优的性能。

英文摘要:

Multi-Task Learning (MTL) for Vision Transformer aims at enhancing the model capability by tackling multiple tasks simultaneously. Most recent works have predominantly focused on designing Mixture-of-Experts (MoE) structures and in tegrating Low-Rank Adaptation (LoRA) to efficiently perform multi-task learning. However, their rigid combination hampers both the optimization of MoE and the ef fectiveness of reparameterization of LoRA, leading to sub-optimal performance and low inference speed. In this work, we propose a novel approach dubbed Efficient Multi-Task Learning (EMTAL) by transforming a pre-trained Vision Transformer into an efficient multi-task learner during training, and reparameterizing the learned structure for efficient inference. Specifically, we firstly develop the MoEfied LoRA structure, which decomposes the pre-trained Transformer into a low-rank MoE structure and employ LoRA to fine-tune the parameters. Subsequently, we take into account the intrinsic asynchronous nature of multi-task learning and devise a learning Quality Retaining (QR) optimization mechanism, by leveraging the historical high-quality class logits to prevent a well-trained task from performance degradation. Finally, we design a router fading strategy to integrate the learned parameters into the original Transformer, archiving efficient inference. Extensive experiments on public benchmarks demonstrate the superiority of our method, compared to the state-of-the-art multi-task learning approaches.

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

↑