[Paper Review] Towards Fair and Comprehensive Evaluation of Routers in Collaborative LLM Systems
Proposes RouterXBench, a triple-perspective framework for evaluating LLM routers across router ability, scenario alignment, and cross-domain robustness, and introduces ProbeDirichlet, a hidden-state router that improves cross-domain generalization.
Large language models (LLMs) have achieved success, but cost and privacy constraints necessitate deploying smaller models locally while offloading complex queries to cloud-based models. Existing router evaluations are unsystematic, overlooking scenario-specific requirements and out-of-distribution robustness. We propose RouterXBench, a principled evaluation framework with three dimensions: router ability, scenario alignment, and cross-domain robustness. Unlike prior work that relies on output probabilities or external embeddings, we utilize internal hidden states that capture model uncertainty before answer generation. We introduce ProbeDirichlet, a lightweight router that aggregates cross-layer hidden states via learnable Dirichlet distributions with probabilistic training. Trained on multi-domain data, it generalizes robustly across in-domain and out-of-distribution scenarios. Our results show ProbeDirichlet achieves 16.68% and 18.86% relative improvements over the best baselines in router ability and high-accuracy scenarios, with consistent performance across model families, model scales, heterogeneous tasks, and agentic workflows.
Motivation & Objective
- Motivate fair, scenario-aware evaluation of routers in edge-cloud LLM collaboration.
- Disentangle router ability from deployment constraints to enable principled comparisons.
- Propose a lightweight hidden-state router with robust cross-domain performance.
- Show that diverse training data improves robustness without sacrificing in-domain performance.
- Demonstrate generalization across model families, scales, and agentic workflows.
Proposed method
- Define RouterXBench with three evaluation dimensions: Router Ability (AUROC), Scenario Alignment (LPM, MPM, HCR), and Cross-Domain Robustness.
- Propose ProbeDirichlet that aggregates cross-layer hidden states using Dirichlet-distributed layer weights during training and uses expected values at inference.
- Extract sentence-level hidden states from each layer, compute a weighted sum across layers, and train a lightweight linear probe.
- Use multi-domain training data to improve cross-domain robustness and prevent domain-specific overfitting.
- Evaluate on six benchmarks (Alpaca, MMLU, Big-Math, Magpie, MMLU-Pro, MATH) with GPT-5 as the large model and LLama-3.1-8B-Instruct as the small model.
- Compare against signal modalities: Verbose, Logit, and Embedding-based routers.
Experimental results
Research questions
- RQ1Can intrinsic router ability be measured independently of the deployment cost using AUROC on small-model correctness?
- RQ2How can scenario alignment (low-band, mid-band, high-band) be quantified to reflect real-world deployment constraints?
- RQ3Does training on diverse, multi-domain data improve cross-domain robustness of routers?
- RQ4Are internal hidden states a superior signal for routing decisions compared to output probabilities or external embeddings?
- RQ5Do Dirichlet-based cross-layer aggregations offer advantages over fixed or mean-based aggregation?
Key findings
- ProbeDirichlet achieves 16.68% relative improvement in router ability over best baselines in ID and OOD settings.
- Probe-based methods achieve 18.86% relative improvement in high-accuracy scenarios (HCR).
- Hidden-state signals outperform output-based or embedding-based signals across benchmarks and tasks.
- Dirichlet aggregation provides the best AUROC among aggregation strategies, outperforming Final Layer and Mean Pool.
- Diverse multi-domain training yields additive gains without interference across domains and model families.
- Generalization is observed across model families (Llama and Qwen) and scales, including agent-based inference scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.