RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing

Ruihan Jin, Pengpeng Shao, Zhengqi Wen, Jinyang Wu, Mingkuan Feng +2 more
6/4/2025
cs.CLcs.AI

No official code found. Best implementation: RuihanJin/RadialRouter (3 stars, last commit 2025-10-28).

Abstract

The rapid advancements in large language models (LLMs) have led to the emergence of routing techniques, which aim to efficiently select the optimal LLM from diverse candidates to tackle specific tasks, optimizing performance while reducing costs. Current LLM routing methods are limited in effectiveness due to insufficient exploration of the intrinsic connection between user queries and the characteristics of LLMs. To address this issue, in this paper, we present RadialRouter, a novel framework for LLM routing which employs a lightweight Transformer-based backbone with a radial structure named RadialFormer to articulate the query-LLMs relationship. The optimal LLM selection is performed based on the final states of RadialFormer. The pipeline is further refined by an objective function that combines Kullback-Leibler divergence with the query-query contrastive loss to enhance robustness. Experimental results on RouterBench show that RadialRouter significantly outperforms existing routing methods by 9.2\% and 5.8\% in the Balance and Cost First scenarios, respectively. Additionally, its adaptability toward different performance-cost trade-offs and the dynamic LLM pool demonstrates practical application potential.

View on arXivView PDF

Code Implementations(1)

[EMNLP 2025 Findings] "RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing"

30Shell, PythonOct 28, 202511 months ago

Similar Papers

Cite this paper

@article{jin2025radialrouter,
  title  = {RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing},
  author = {Ruihan Jin and Pengpeng Shao and Zhengqi Wen and Jinyang Wu and Mingkuan Feng and Shuai Zhang and Jianhua Tao},
  year   = {2025},
  eprint = {2506.03880},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.03880v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.03880.svg)](https://codeofpaper.com/paper/2506.03880)

Discussion