arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01234cs.CL
收藏

LLMRank: 理解大语言模型的优势以用于模型路由

LLMRank: Understanding LLM Strengths for Model Routing

Zeno AI

Shubham Agrawal, Prasang Gupta

AI总结:

针对大语言模型部署中性能与效率权衡的挑战,本研究提出感知提示词的路由框架LLMRank,通过多维度人类可读特征和神经排序模型实现模型选择,性能接近最优解且具备可解释性。

摘要:

大语言模型(LLM)数量快速增长,且在能力、延迟和计算成本方面差异显著,这带来了一个关键的部署挑战:为每个提示词选择最合适的模型,以在性能和效率之间实现最优权衡。我们提出了LLMRank,这是一种感知提示词的路由框架,它利用从提示词中提取的丰富、人类可读的特征,包括任务类型、推理模式、复杂度指标、句法线索,以及来自轻量级代理求解器的信号。与仅依赖潜在嵌入的现有单步路由器不同,LLMRank使用神经排序模型预测每个模型的效用,该模型在RouterBench上训练,RouterBench包含36497个提示词,覆盖11个基准和11个最先进的LLM,从小型高效模型到大型前沿系统均有涵盖。我们的方法最多可达到最优解效用的89.2%,同时还能提供可解释的特征归因,用于解释路由决策。大量研究证明了多方面特征提取和混合排序目标的重要性,凸显了特征驱动的路由在实现高效、透明的LLM部署方面的潜力。

英文摘要:

The rapid growth of large language models (LLMs) with diverse capabilities, latency and computational costs presents a critical deployment challenge: selecting the most suitable model for each prompt to optimize the trade-off between performance and efficiency. We introduce LLMRank, a prompt-aware routing framework that leverages rich, human-readable features extracted from prompts, including task type, reasoning patterns, complexity indicators, syntactic cues, and signals from a lightweight proxy solver. Unlike prior one-shot routers that rely solely on latent embeddings, LLMRank predicts per-model utility using a neural ranking model trained on RouterBench, comprising 36,497 prompts spanning 11 benchmarks and 11 state-of-the-art LLMs, from small efficient models to large frontier systems. Our approach achieves up to 89.2% of oracle utility, while providing interpretable feature attributions that explain routing decisions. Extensive studies demonstrate the importance of multifaceted feature extraction and the hybrid ranking objective, highlighting the potential of feature-driven routing for efficient and transparent LLM deployment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑