Skip to main content
QUICK REVIEW

[论文解读] Breaking Model Lock-in: Cost-Efficient Zero-Shot LLM Routing via a Universal Latent Space

Cheng Yan, Wuyang Zhang|arXiv (Cornell University)|Jan 9, 2026
Natural Language Processing TechniquesComputer Science被引用 0
一句话总结

ZeroRouter 通过一个通用潜在空间实现零-shot 路由,在 unseen 模型/数据集上也达到更高准确率,成本和延迟更低。

ABSTRACT

The rapid proliferation of Large Language Models (LLMs) has led to a fragmented and inefficient ecosystem, a state of ``model lock-in'' where seamlessly integrating novel models remains a significant bottleneck. Current routing frameworks require exhaustive, costly retraining, hindering scalability and adaptability. We introduce ZeroRouter, a new paradigm for LLM routing that breaks this lock-in. Our approach is founded on a universal latent space, a model-agnostic representation of query difficulty that fundamentally decouples the characterization of a query from the profiling of a model. This allows for zero-shot onboarding of new models without full-scale retraining. ZeroRouter features a context-aware predictor that maps queries to this universal space and a dual-mode optimizer that balances accuracy, cost, and latency. Our framework consistently outperforms all baselines, delivering higher accuracy at lower cost and latency.

研究动机与目标

  • 自动化并优化 LLM 选择以平衡准确性、成本与延迟。
  • 将查询特征与模型剖析解耦,以实现无需再训练即可无缝引入新模型。
  • 开发一个通用的跨任务潜在空间和一个面向上下文的零-shot 路由预测器。
  • 提供一个以策略驱动的路由框架,能够适应不同的运营优先级。

提出的方法

  • 构建一个由信息论锚点选择(D-optimality)标定的通用潜在空间。
  • 使用轻量级剖析通过锚点和二元交叉熵优化将新模型映射到潜在空间。
  • 利用混合语义与结构查询特征通过多任务网络预测潜在向量。
  • 通过任务感知难度度量和事先在复杂度分箱上的查找表来估算输出长度。
  • 将路由建模为一个在用户定义权重下同时优化准确性、成本与延迟的多目标整数线性规划(ILP)。

实验结果

研究问题

  • RQ1一个通用潜在空间能否将查询特征与模型剖析解耦,以实现新 LLM 的零-shot 上线?
  • RQ2如何以少量锚点集高效剖析新模型并仍能在任务与模型上准确预测性能?
  • RQ3面向上下文的潜在空间预测是否能实现对分布外查询的鲁棒泛化?
  • RQ4路由是否可以被框定为一个多目标优化,以在不同策略下平衡准确性、成本与延迟?

主要发现

  • ZeroRouter 在同域与跨域数据集、不同模型规模下始终优于基线。
  • 在较小模型上,ZeroRouter 达到最大准确率 0.45,并在成本和延迟方面低于基线。
  • 在较大模型上,ZeroRouter 实现最大准确率 0.68,并显著降低成本与延迟。
  • ZeroRouter 提供强大的零-shot 泛化,在 OOD 数据集上达到最高 Max-Acc(如 0.68),并且比对手的最小成本与最小延迟值更低。
  • 信息论锚点选择(D-optimality)显著提升上岗效率,优于随机、基于差分的和基于离散的策略。
  • 消融研究证实潜在空间设计和任务感知难度提升路由性能与鲁棒性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。