2025-02-28 · 专家 · 机器学习 · 计算机视觉 · 多模态

R2-T2: Re-Routing in Test-Time for Multimodal Mixture-of-Experts

本文提出了一种名为R2-T2的测试时重路由方法,通过动态调整路由权重,在不重新训练模型参数的情况下显著提升了多模态MoE在多任务基准测试上的性能。

更新于 2025-03-04。作者:Zhongyang Li、Ziyue Li、Tianyi Zhou。

中文摘要

在大型多模态模型(LMMs)中,对非语言模态(例如视觉表示)的感知通常不如大型语言模型(LLMs)强大的推理能力,这阻碍了LMMs在具有挑战性的下游任务上的表现。这种弱点最近通过用专家混合模型(MoE)替换视觉编码器而得到了缓解,MoE提供了满足各种下游任务需求的丰富、多粒度和多样化的表示。多模态MoE的性能在很大程度上取决于其路由器,该路由器为每个输入重新加权并混合不同专家的表示。然而,我们发现端到端训练的路由器并不总是为每个测试样本产生最优的路由权重。为了弥合这一差距,我们提出了一种新颖且高效的方法“测试时重新路由(R2-T2)”,该方法通过将路由权重向量局部优化到测试样本附近正确预测样本的向量,从而在测试时优化路由权重向量。我们提出了三种R2-T2策略,具有不同的优化目标和邻近搜索空间。R2-T2持续且大幅度提高了在具有挑战性的各种任务基准测试上最先进的LMMs的性能,而不需要训练任何基础模型参数。

英文摘要

In large multimodal models (LMMs), the perception of non-language modalities (e.g., visual representations) is usually not on par with the large language models (LLMs)' powerful reasoning capabilities, deterring LMMs' performance on challenging downstream tasks. This weakness has been recently mitigated by replacing the vision encoder with a mixture-of-experts (MoE), which provides rich, multi-granularity, and diverse representations required by diverse downstream tasks. The performance of multimodal MoE largely depends on its router, which reweights and mixes the representations of different experts for each input. However, we find that the end-to-end trained router does not always produce the optimal routing weights for every test sample. To bridge the gap, we propose a novel and efficient method "Re-Routing in Test-Time(R2-T2) that locally optimizes the vector of routing weights in test-time by moving it toward those vectors of the correctly predicted samples in a neighborhood of the test sample. We propose three R2-T2 strategies with different optimization objectives and neighbor-search spaces. R2-T2 consistently and greatly improves state-of-the-art LMMs' performance on challenging benchmarks of diverse tasks, without training any base-model parameters.

解读

一句话总结

本文提出了一种名为R2-T2的测试时重路由方法,通过动态调整路由权重,在不重新训练模型参数的情况下显著提升了多模态MoE在多任务基准测试上的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源