Dynamic Optimizations of LLM Ensembles with Two-Stage Reinforcement Learning Agents
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
The advancement of LLMs and their accessibility have triggered renewed interest in multi-agent reinforcement learning as robust and adaptive frameworks for dynamically changing environments. This paper introduces textttRL-Focal, a two-stage RL agent framework that routes and ensembles LLMs. textitFirst, we develop the Decider RL-agent, which learns to dynamically select an ensemble of small size (mi) among N LLMs (mi ll N) for incoming queries from a user-defined downstream task i, by maximizing both error-diversity and reasoning-performance of the selected ensemble through iterative updates of task-adaptive rewards and policy. textitSecond, to enable effective fusion of dynamically selected LLMs, we develop the stage-2 Fusion RL-agent, which learns to resolve reasoning conflicts from different LLMs and dynamically adapt to different ensemble teams composed by the Decider Agent for different downstream tasks. em Third, we introduce the focal diversity metric to better model the error correlations among multiple LLMs further improving the generalization performance of the Decider Agent, which actively prunes the ensemble combinations. By focal diversity, we enhance performance across tasks by effectively promoting reward-aware and policy-adaptive ensemble selection and inference fusion. Extensive evaluations on five benchmarks show that RL-Focal achieves the performance improvement of 8.48% with an ensemble of small size compared to the best individual LLM in a pool and offers stronger robustness. Code is available hrefhttps://github.com/git-disl/RL-Focalhere.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 45 of its 67 references that are in the map. First posted on arXiv 6 Feb 2025.
Builds on
45 of 67 references.
Closest ancestors · 1
Same direction, newest first
Other references · 44
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
32 more
- 2024Mixtral of Expertscited by 1,785
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 995
- 2021The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Gamescited by 903
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2018Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Modelscited by 748
- 2023ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debatecited by 724
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
- 2019Multi-Agent Reinforcement Learning: A Selective Overview of Theories and Algorithmscited by 555
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 550
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
- 2023A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaborationcited by 281
- 2022Making Large Language Models Better Reasoners with Step-Aware Verifiercited by 231
- 2023MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoningcited by 195
- 2024More Agents Is All You Needcited by 174
- 2022Rationale-Augmented Ensembles in Language Modelscited by 111
- 2024Knowledge Fusion of Large Language Modelscited by 110
- 2017Action Branching Architectures for Deep Reinforcement Learningcited by 90
- 2024Ensemble Learning for Heterogeneous Large Language Models with Deep Parallel Collaborationcited by 66
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimizationcited by 56
- 2024LLM-TOPLA: Efficient LLM Ensemble by Maximising Diversitycited by 42
- 2024Eagle: Efficient Training-Free Router for Multi-LLM Inferencecited by 34
- 2024Breaking the Ceiling of the LLM Community by Treating Token Generation as a Classification for Ensemblingcited by 33
- 2024RL-GPT: Integrating Reinforcement Learning and Code-as-policycited by 32
- 2024Determine-Then-Ensemble: Necessity of Top-k Union for Large Language Model Ensemblingcited by 27
- 2023Ensemble Reinforcement Learning: A Surveycited by 16
- 2024H3Fusion: Helpful, Harmless, Honest Fusion of Aligned LLMscited by 11
- 2020Reinforcement Learning based dynamic weighing of Ensemble Models for Time Series Forecastingcited by 6
- 2024Robust Few-Shot Ensemble Learning with Focal Diversity-Based Pruningcited by 3
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Hybrid LLM-Augmented Reinforcement Learning Agents for Complex Sequential Decision Tasks
- 2025AgentGym-RL: Training LLM Agents for Long-Horizon Decision Making through Multi-Turn Reinforcement Learning
- 2026Dr. MAS: Stable Reinforcement Learning for Multi-Agent LLM Systems
- 2025DRAFT-RL: Multi-Agent Chain-of-Draft Reasoning for Reinforcement Learning-Enhanced LLMs
- 2026UnityMAS-O: A General RL Optimization Framework for LLM-Based Multi-Agent Systems
- 2026Explicit Trajectory Diversity for RL-Based Post-Training of LLM Agents
- 2023LgTS: Dynamic Task Sampling using LLM-generated sub-goals for Reinforcement Learning Agents
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Survey