Skip to main content
QUICK REVIEW

[Paper Review] Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Models

Keming Lu, Hongyi Yuan|arXiv (Cornell University)|Nov 15, 2023
Topic ModelingComputer Science4 citations
TL;DR

Zooter proposes a reward-guided routing method that efficiently assembles off-the-shelf large language models (LLMs) by distilling expertise signals from pre-trained reward models to route queries to the most competent LLM, achieving performance on par with reward model ranking while reducing inference cost by only inferring a single model per query.

ABSTRACT

The complementary potential of Large Language Models (LLM) assumes off-the-shelf LLMs have heterogeneous expertise in a wide range of domains and tasks so that an ensemble of LLMs can achieve consistently better performance. Existing ensemble methods for LLMs mainly focus on reward model ranking of outputs, leading to significant computation overhead. To combat this issue, we revisit the complementary potential of LLMs and further elaborate it by mining latent expertise with off-the-shelf reward models. We propose Zooter, a reward-guided routing method distilling rewards on training queries to train a routing function, which can precisely distribute each query to the LLM with expertise about it. We also integrate a tag-based label enhancement to mitigate noise from uncertainty when using rewards as silver supervision. Zooter shows computation efficiency in inference as it introduces only a minor computation overhead of a routing function compared with reward model ranking methods. We evaluate Zooter on a comprehensive benchmark collection with 26 subsets on different domains and tasks. Zooter outperforms the best single model on average and ranks first on 44% of tasks, even surpassing multiple reward model ranking methods.

Motivation & Objective

  • To address the high inference cost of existing LLM ensemble methods that require generating responses from all models.
  • To explore whether off-the-shelf LLMs possess heterogeneous expertise across domains and tasks, enabling efficient routing.
  • To develop a computation-efficient routing mechanism that leverages reward model outputs as silver supervision for training.
  • To mitigate noise from reward model uncertainty in supervision using tag-based label enhancement.
  • To evaluate the effectiveness of the routing method across diverse benchmarks with minimal inference overhead.

Proposed method

  • Zooter distills rewards from off-the-shelf reward models (e.g., QwenRM, UltraRM) on a diverse training query set to train a lightweight routing function.
  • The routing function assigns each input query to the LLM predicted to be most competent based on reward scores, minimizing inference cost to one model per query.
  • A tag-based label enhancement technique combines sample-level rewards with coarse-grained tag-level rewards to reduce noise from reward model uncertainty.
  • The method uses a hyperparameter β to balance the contribution of fine-grained reward scores and tag-level priors during training.
  • The routing model is trained end-to-end using distillation from reward model outputs, enabling efficient inference without full ensemble generation.
  • The approach is evaluated on 26 benchmark subsets across four domains, comparing against BMA and RMR methods.

Experimental results

Research questions

  • RQ1Can off-the-shelf LLMs be effectively routed to their domain-specific expertise using reward model outputs as indirect supervision?
  • RQ2How does reward model uncertainty affect the training of a query routing function, and can it be mitigated?
  • RQ3Can a lightweight routing function achieve performance comparable to full reward model ranking with significantly reduced computation?
  • RQ4What is the optimal balance between sample-level and tag-level rewards in improving routing accuracy?
  • RQ5Does combining multiple LLMs via routing outperform the best single model across diverse tasks?

Key findings

  • Zooter outperforms the best single LLM on average across 26 benchmark subsets, achieving state-of-the-art performance on 44% of tasks.
  • Zooter achieves a 0.39 higher score than BMA on MT-Bench, demonstrating consistent improvement over baseline ensemble methods.
  • With only 86M parameters, Zooter's routing overhead is significantly lower than reward model ranking, which requires inference from all models.
  • The optimal tag-based label enhancement hyperparameter β = 0.3 yields the best performance, showing that combining sample-level and tag-level rewards improves robustness.
  • Distilling tag-level rewards (β = 0) outperforms distilling only sample-level rewards (β = 1), confirming that noise from reward uncertainty harms training.
  • Zooter surpasses RMR with OAssistRM, LLM-Blender, and Auto-J in performance while using substantially less computation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.