pith. sign in

arxiv: 2506.00439 · v1 · pith:OCRY7AAYnew · submitted 2025-05-31 · 💻 cs.LG · cs.AI

RLAE: Reinforcement Learning-Assisted Ensemble for LLMs

classification 💻 cs.LG cs.AI
keywords rlaeensembletextllmsreinforcementtasksacrossagent
0
0 comments X
read the original abstract

Ensembling large language models (LLMs) can effectively combine diverse strengths of different models, offering a promising approach to enhance performance across various tasks. However, existing methods typically rely on fixed weighting strategies that fail to adapt to the dynamic, context-dependent characteristics of LLM capabilities. In this work, we propose Reinforcement Learning-Assisted Ensemble for LLMs (RLAE), a novel framework that reformulates LLM ensemble through the lens of a Markov Decision Process (MDP). Our approach introduces a RL agent that dynamically adjusts ensemble weights by considering both input context and intermediate generation states, with the agent being trained using rewards that directly correspond to the quality of final outputs. We implement RLAE using both single-agent and multi-agent reinforcement learning algorithms ($\text{RLAE}_\text{PPO}$ and $\text{RLAE}_\text{MAPPO}$ ), demonstrating substantial improvements over conventional ensemble methods. Extensive evaluations on a diverse set of tasks show that RLAE outperforms existing approaches by up to $3.3\%$ accuracy points, offering a more effective framework for LLM ensembling. Furthermore, our method exhibits superior generalization capabilities across different tasks without the need for retraining, while simultaneously achieving lower time latency.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. RV-HATE: Reinforced Multi-Module Voting for Implicit Hate Speech Detection

    cs.CL 2025-10 unverdicted novelty 5.0

    RV-HATE uses reinforcement learning to dynamically weight multiple feature-focused modules and aggregates their outputs via voting for improved implicit hate speech detection across diverse datasets.