Uni-Perceiver-MoE:学习具有条件MoEs的稀疏广义模型
Uni-Perceiver-MoE: Learning Sparse Generalist Models with Conditional MoEs
摘要:
为了构建类似于生物智能系统的人工神经网络,最近的工作已经将许多任务统一到一个通用模型中,该模型可以使用共享参数处理各种任务,并且没有任何特定于任务的模块。虽然通才模型在各种基准测试中取得了令人鼓舞的结果,但与任务专用模型相比,它们在某些任务上的性能有所下降。在这项工作中,我们发现,不同的任务和模式之间的干扰是这一现象的主要因素。为了减轻这种干扰,我们引入了条件混合专家(条件MOE)的通才模型。提出了不同条件下的路由策略,以同时考虑训练/推理成本和泛化能力。最近提出的通才模型Uni-Perceiver通过引入条件MoEs,可以有效地减轻任务和模态之间的干扰,并通过对1%的下游数据进行提示微调,在一系列下游任务上实现了最先进的结果。此外,条件MoE的引入仍然保持了通才模型对新任务进行zero-shot推理的泛化能力,例如,视频文本检索和视频字幕。应发布代码和预先培训的通才模型。
英文摘要:
To build an artificial neural network like the biological intelligence system, recent works have unified numerous tasks into a generalist model, which can process various tasks with shared parameters and do not have any task-specific modules. While generalist models achieve promising results on various benchmarks, they have performance degradation on some tasks compared with task-specialized models. In this work, we find that interference among different tasks and modalities is the main factor to this phenomenon. To mitigate such interference, we introduce the Conditional Mixture-of-Experts (Conditional MoEs) to generalist models. Routing strategies under different levels of conditions are proposed to take both the training/inference cost and generalization ability into account. By incorporating the proposed Conditional MoEs, the recently proposed generalist model Uni-Perceiver can effectively mitigate the interference across tasks and modalities, and achieves state-of-the-art results on a series of downstream tasks via prompt tuning on 1% of downstream data. Moreover, the introduction of Conditional MoEs still holds the generalization ability of generalist models to conduct zero-shot inference on new tasks, e.g., video-text retrieval and video caption. Code and pre-trained generalist models shall be released.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。