|国家预印本平台
首页|RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing

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

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

来源:Arxiv_logoArxiv
英文摘要

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.

Ruihan Jin、Pengpeng Shao、Zhengqi Wen、Jinyang Wu、Mingkuan Feng、Shuai Zhang、Jianhua Tao

计算技术、计算机技术

Ruihan Jin,Pengpeng Shao,Zhengqi Wen,Jinyang Wu,Mingkuan Feng,Shuai Zhang,Jianhua Tao.RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing[EB/OL].(2025-06-04)[2025-06-21].https://arxiv.org/abs/2506.03880.点此复制

评论