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

高效去天气混合专家模型与不确定性感知的特征级线性调制

Efficient Deweather Mixture-of-Experts with Uncertainty-aware Feature-wise Linear Modulation

Nanjing University(南京大学);Peking University(北京大学);University of California, Berkeley(加州大学伯克利分校);Panasonic(松下)

Rongyu Zhang, Yulin Luo, Jiaming Liu, Huanrui Yang, Zhen Dong, Denis Gudovskiy, Tomoyuki Okuno, Yohei Nakata, Kurt Keutzer, Yuan Du, Shanghang Zhang

AI总结:

本研究提出高效MoFME架构,通过共享专家块上的特征调制和不确定性感知路由器,在多去天气任务中以低开销实现SOTA性能,节省72%参数和39%推理时间。

摘要:

混合专家(MoE)方法在多任务学习中展现出卓越的可扩展性,包括低级上游任务,如同时去除多种不良天气影响。然而,传统的具有并行前馈网络(FFN)专家的MoE架构导致了显著的参数和计算开销,阻碍了其高效部署。此外,朴素的MoE线性路由器在将任务特定特征分配给多个专家时是次优的,这限制了其进一步的可扩展性。在这项工作中,我们提出了一种高效的MoE架构,在专家之间共享权重。受线性特征调制(FM)思想的启发,我们的架构通过在单个共享专家块上进行可学习的激活调制,隐式地实例化多个专家。所提出的特征调制专家(FME)作为新型混合特征调制专家(MoFME)架构的构建块,该架构能够以低开销扩展专家数量。我们进一步提出了一种不确定性感知路由器(UaR),以将任务特定特征分配给具有良好校准权重的不同FM模块。这使得MoFME能够有效地为多个任务学习多样化的专家功能。在多去天气任务上进行的实验表明,我们的MoFME在图像恢复质量上比基线高出0.1-0.2 dB,并实现了与SOTA相当的性能,同时比传统MoE对应物节省了超过72%的参数和39%的推理时间。在下游分割和分类任务上的实验进一步证明了MoFME在真实开放世界应用中的泛化能力。

英文摘要:

The Mixture-of-Experts (MoE) approach has demonstrated outstanding scalability in multi-task learning including low-level upstream tasks such as concurrent removal of multiple adverse weather effects. However, the conventional MoE architecture with parallel Feed Forward Network (FFN) experts leads to significant parameter and computational overheads that hinder its efficient deployment. In addition, the naive MoE linear router is suboptimal in assigning task-specific features to multiple experts which limits its further scalability. In this work, we propose an efficient MoE architecture with weight sharing across the experts. Inspired by the idea of linear feature modulation (FM), our architecture implicitly instantiates multiple experts via learnable activation modulations on a single shared expert block. The proposed Feature Modulated Expert (FME) serves as a building block for the novel Mixture-of-Feature-Modulation-Experts (MoFME) architecture, which can scale up the number of experts with low overhead. We further propose an Uncertainty-aware Router (UaR) to assign task-specific features to different FM modules with well-calibrated weights. This enables MoFME to effectively learn diverse expert functions for multiple tasks. The conducted experiments on the multi-deweather task show that our MoFME outperforms the baselines in the image restoration quality by 0.1-0.2 dB and achieves SOTA-compatible performance while saving more than 72% of parameters and 39% inference time over the conventional MoE counterpart. Experiments on the downstream segmentation and classification tasks further demonstrate the generalizability of MoFME to real open-world applications.

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

↑