跳到正文
arXiv (AI + Vision + Imaging)· Yasmin Moslem, Magdalena Kacmajor, Vasudevan Nedumpozhimana, Ammar Abbas, Solmaz Panahi, David Lynch, Zhuangzhuang Nie, Alexandros Agapitos, Aleksandar Milenovic, Hongmeng Song, Yucheng Shi, Yue Pan, Patricia Buffini, John D. Kelleher·AI 评分32

CRE-Router:面向成本感知LLM服务的聚类-路由-升级级联框架

Cluster, Route, Escalate: Cascaded Framework for Cost-Aware LLM Serving

AI 导读

CRE-Router(Cluster, Route, Escalate)是一种两阶段方法,先聚类查询并将每个簇路由到在TPOT或E2EL预算下误差与成本权衡最优的模型,再由质量估计器在生成后决定是否升级到强模型。在TeleMath、TeleQnA和AIME上,用2至9个模型池在A100 GPU上评测,其准确率优于池内高效模型、与所升级的强模型相当,且每token成本更低。

正文 · 原文

arXiv:2606.27457v2 Announce Type: replace-cross Abstract: Serving open-weight language models on premises forces a trade-off between accuracy and computational cost. Hosting models of different sizes lets easy queries go to a small, efficient model and hard ones to a large model. We present CRE-Router (Cluster, Route, Escalate), a two-stage method that decides which of these models answers each query. It clusters queries and routes each cluster to the model that best trades error against cost, under a budget on the time per output token (TPOT) or the end-to-end latency per request (E2EL). It then either accepts the answer or, when a quality estimator rejects it, escalates the query to the strong model. Routing decides before generation, so a hard query goes straight to the strong model; escalation decides after, so it can catch the errors routing cannot predict. It needs no annotation beyond task-correctness labels. We evaluate CRE-Router on TeleMath, TeleQnA and AIME, with pools of two to nine models served on A100 GPUs. CRE-Router is more accurate than the efficient models in its pool and comparable to the strong model it escalates to, at a lower cost per token. We also find that the choice of cost term decides which models serve the workload, that pricing each model per cluster shortens the wait per request, and that a change of hardware changes the best routing.

来源:arXiv (AI + Vision + Imaging) · arxiv.org