Mixture-of-Experts Meets In-Context Reinforcement Learning
Wenhao Wu, Fuhong Liu, Haoru Li, Zican Hu, Daoyi Dong, Chunlin Chen, Zhi Wang
摘要
In-context reinforcement learning (ICRL) has emerged as a promising paradigm for adapting RL agents to downstream tasks through prompt conditioning. However, two notable challenges remain in fully harnessing in-context learning within RL domains: the intrinsic multi-modality of the state-action-reward data and the diverse, heterogeneous nature of decision tasks. To tackle these challenges, we propose T2MIR (Token- and Task-wise MoE for In-context RL), an innovative framework that introduces architectural advances of mixture-of-experts (MoE) into transformer-based decision models. T2MIR substitutes the feedforward layer with two parallel layers: a token-wise MoE that captures distinct semantics of input tokens across multiple modalities, and a task-wise MoE that routes diverse tasks to specialized experts for managing a broad task distribution with alleviated gradient conflicts. To enhance task-wise routing, we introduce a contrastive learning method that maximizes the mutual information between the task and its router representation, enabling more precise capture of task-relevant information. The outputs of two MoE components are concatenated and fed into the next layer. Comprehensive experiments show that T2MIR significantly facilitates in-context learning capacity and outperforms various types of baselines. We bring the potential and promise of MoE to ICRL, offering a simple and scalable architectural enhancement to advance ICRL one step closer toward achievements in language and vision communities. Our code is available at https://github.com/NJU-RL/T2MIR.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scalable In-Context Q-Learning 引用了 Language Models are Few-Shot Learners
- Scalable In-Context Q-Learning 引用了 Diversity-Incentivized Exploration for Versatile Reasoning
- Scalable In-Context Q-Learning 引用了 Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision
- Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision 引用了 Scalable In-Context Q-Learning
- Scalable In-Context Q-Learning 引用了 Training Diffusion Models with Reinforcement Learning
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Language Models are Few-Shot Learners
- Diversity-Incentivized Exploration for Versatile Reasoning 引用了 Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision
- Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision 引用了 Diversity-Incentivized Exploration for Versatile Reasoning
- Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision 引用了 Training Diffusion Models with Reinforcement Learning
引用它的顶会 Paper5
- Diversity-Incentivized Exploration for Versatile ReasoningZican Hu, Shilin Zhang, Yafu Li, Jianhao Yan 等ICLR 2026 · 32 次引用
- Scalable In-Context Q-LearningJinmei Liu, Fuhong Liu, Zhenhong Sun, Jianye HAO 等ICLR 2026 · 8 次引用
- Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language SupervisionShilin Zhang, Zican Hu, Wenhao Wu, Xinyi Xie 等NeurIPS 2025 · 7 次引用
- DyGRO-VLA: Cross-Task Scaling of Vision–Language–Action Models via Dynamic Grouped Residual OptimizationSixu Lin, Yunpeng Qing, Litao Liu, Ming Zhou 等ICML 2026 · 3 次引用
- DiTEA: Mixture-of-Experts for Vision-Language-Action Model in Robotic ManipulationChengxuan Li, Xingwan WangAAAI 2026
它引用的 Paper35
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- CURL: Contrastive Unsupervised Representations for Reinforcement LearningMichael Laskin, Aravind Srinivas, Pieter AbbeelICML 2020 · 1,261 次引用
- Training Diffusion Models with Reinforcement LearningKevin Black, Michael Janner, Yilun Du, Ilya Kostrikov 等ICLR 2024 · 816 次引用
相关 Paper
- MoE-GRPO: Optimizing Mixture-of-Experts via Reinforcement Learning in Vision-Language ModelsDohwan Ko, Jinyoung Park, Seoung Choi, Sanghyeok Lee 等CVPR 2026 · 3 次引用
- Mastering Massive Multi-Task Reinforcement Learning via Mixture-of-Expert Decision TransformerYilun Kong, Guozheng Ma, Qi Zhao, Haoyu Wang 等ICML 2025
- Routing Matters in MoE: Scaling Diffusion Transformers with Explicit Routing GuidanceYujie Wei, Shiwei Zhang, Hangjie Yuan, Yujin Han 等ICLR 2026 · 26 次引用
- CoMoE: Contrastive Representation for Mixture-of-Experts in Parameter-Efficient Fine-tuningJinyuan Feng, Chaopeng Wei, Tenghai Qiu, Tianyi Hu 等EMNLP Findings 2025 · 1 次引用
- Mixture of Tokens: Continuous MoE through Cross-Example AggregationSzymon Antoniak, Michal Krutul, Maciej Pióro, Jakub Krajewski 等NeurIPS 2024 · 6 次引用
