CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

重新思考LLM路由质量:安全条件化模型与预算选择

Yichi Zhang、Zhenxiang Huang、Yuyang Zhang、Yuchen Yang

摘要与解读

研究LLM路由在混合负载下需兼顾效用与安全目标

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 来源报告聚焦LLM路由中的安全条件化选择:SCRouter针对每个模型与预算组合,估计响应在预算内完成的概率,并分别预测效用与安全,再由小型probe按查询确定两者权重,最终在加权效用、安全与成本之间选择模型和预算。影响对象是采用多模型、多token预算路由的LLM服务链路,其信任边界落在路由决策层:路由器的概率估计与权重选择直接决定下游调用哪个模型、给多少预算。

    原文依据 · 1
    when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets,
    查看原文 · v1

关联资产

  • 原文明确关联的资产类型为LLM路由组件SCRouter、其小型probe、被路由的12个模型与12档token预算,以及评估基准SCRouterBench(38,869条效用与安全查询、九个安全维度)。适用前提是部署采用多模型、多预算的可选路由,并需要按查询在效用、安全与成本间权衡;具体模型名称、版本与本地部署条件原文未列出。

    原文依据 · 1
    when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets,
    查看原文 · v1

风险评估

  • 已报道的风险机制在于路由决策依赖对“预算内完成概率”的估计以及效用、安全两类预测的加权:若probe给出的权重或概率估计偏离实际查询,路由可能偏向低成本或高效用组合,从而在安全维度上作出不利取舍。触发条件与具体查询的安全维度、所选模型和预算组合相关;防护优先级应放在路由权重校准与安全预测的偏差监测上,其次才是成本优化。

    原文依据 · 1
    when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets,
    查看原文 · v1

相关研究

  • 研究方法为安全条件化的模型与预算联合选择:对每个模型-预算对估计响应在预算内完成的概率,据此分别预测效用与安全,并用小型probe为每个查询确定两类预测的权重,再结合成本做选择。材料同时提供SCRouterBench,包含38,869条效用与安全查询,覆盖九个安全维度,每条查询在12个模型与12个预算的全部144种组合下作答,为路由策略评估提供统一测试面。

    原文依据 · 1
    when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets,
    查看原文 · v1

验证资料

  • 来源给出的实验材料是SCRouterBench的规模与覆盖:38,869条查询、九个安全维度、12个模型×12个预算共144种组合。防御性核查可围绕路由层展开:核对实际部署的模型清单与预算档位是否与评估矩阵一致,观察probe权重输出分布、预算内完成概率估计与实际完成情况的偏差,以及按安全维度分组的效用与安全预测差异,作为回归验证的观察指标。

    原文依据 · 1
    when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets,
    查看原文 · v1

处置建议

  • 建议按序推进:先梳理现有路由的模型与预算档位,确认是否具备按查询分别预测效用与安全的条件;再为probe权重与预算内完成概率估计建立日志观察,按九个安全维度分组统计预测与实际结果的偏差;随后在SCRouterBench式评估面上做回归验证,比较调整权重前后的效用、安全与成本表现。上述步骤是基于来源机制的防御性推导,来源未逐字提出这些操作。

    原文依据 · 1
    when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets,
    查看原文 · v1
模型与引文记录
模型
deepseek-flash
生成时间
记录编号
REQ-9d90bf9fe0924386be5d62402fd0f91a
分析原文
查看原文 · v1

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

作者
Yichi Zhang、Zhenxiang Huang、Yuyang Zhang、Yuchen Yang
文献与标准标识
arxiv:2610.18566
主题分类
cs.AI、cs.CR
来源版本
v1
来源更新时间
2026-10-13T15:36:57+00:00
日期依据
来源明确给出发表日期
原始标题与分类记录

Rethinking Quality in Large Language Model Routing: Security-Conditioned Model-and-Budget Selection

研究方向
评测治理
影响维度
安全与合规
风险类型
待人工确认
相关技术
LLM

当前为离线关键词规则模式。

分类规则与原始字段
评测治理 · benchmark
security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 1
安全与合规 · harmful
for security-sensitive queries, a good answer refuses harmful requests or resists malicious instructions (security). These two objectives prefer different models
LLM · llm
ioned Model-and-Budget Selection Large language model (LLM) routers reduce serving cost by choosing which model to call and how many output tokens to grant it
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 42,
        "location": "title_and_content",
        "quote": "Large Language Model",
        "rule": "ai_term",
        "start_offset": 22
      },
      {
        "end_offset": 120,
        "location": "title_and_content",
        "quote": "Large language model",
        "rule": "ai_term",
        "start_offset": 100
      },
      {
        "end_offset": 125,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 122
      }
    ],
    "matches": [
      {
        "end_offset": 42,
        "location": "title_and_content",
        "quote": "Large Language Model",
        "rule": "ai_term",
        "start_offset": 22
      },
      {
        "end_offset": 120,
        "location": "title_and_content",
        "quote": "Large language model",
        "rule": "ai_term",
        "start_offset": 100
      },
      {
        "end_offset": 125,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 122
      }
    ],
    "method": "explainable_keyword_rules",
    "reason": "Matched AI topic or component evidence",
    "relevant": true
  },
  "entity_ids": [],
  "facts": [],
  "method": "source_grounded_extraction",
  "unknown_fields": [
    "affected_products",
    "affected_versions",
    "fixed_versions",
    "cvss",
    "mitigations",
    "references",
    "papers",
    "poc"
  ]
}
原始采集文本
Large language model (LLM) routers reduce serving cost by choosing which model to call and how many output tokens to grant it for each query. Existing routers rank model-budget actions using a single quality metric. This does not work for mixed workloads. For ordinary queries, a good answer is correct and useful (utility); for security-sensitive queries, a good answer refuses harmful requests or resists malicious instructions (security). These two objectives prefer different models and budgets.
  We propose SCRouter, a router that learns when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets, plus 2,753 out-of-domain queries. SCRouter improves the baselines by 13-29 points in-domain and 19-23 points out-of-domain.
采集信息与校验
完整来源元数据
{
  "authors": [
    "Yichi Zhang",
    "Zhenxiang Huang",
    "Yuyang Zhang",
    "Yuchen Yang"
  ],
  "content_level": "abstract",
  "date_basis": "explicit_published",
  "date_evidence": {
    "published": "2026-10-13T15:36:57Z",
    "updated": "2026-10-13T15:36:57Z"
  },
  "identifiers": [
    "arxiv:2610.18566"
  ],
  "source_updated_at": "2026-10-13T15:36:57+00:00",
  "subjects": [
    "cs.AI",
    "cs.CR"
  ],
  "version_label": "v1"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-10-14 05:32 UTC2026-10-13 15:36 UTC8d273cc1f48c5e7a7d338508803a0e149752409f96c32d6c7fb9f0ec38313941
可引用分片 · 1 段

CHK-9fa0c936f9371005cdd876c2

Large language model (LLM) routers reduce serving cost by choosing which model to call and how many output tokens to grant it for each query. Existing routers rank model-budget actions using a single quality metric. This does not work for mixed workloads. For ordinary queries, a good answer is correct and useful (utility); for security-sensitive queries, a good answer refuses harmful requests or resists malicious instructions (security). These two objectives prefer different models and budgets.
  We propose SCRouter, a router that learns when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets, plus 2,753 out-of-domain queries. SCRouter improves the baselines by 13-29 points in-domain and 19-23 points out-of-domain.
处理记录
补充资料

中文译文

正文译文暂缺,以下仅为中文摘要。

中文摘要

研究LLM路由在混合负载下需兼顾效用与安全目标

已采集原文

访问来源网页

Large language model (LLM) routers reduce serving cost by choosing which model to call and how many output tokens to grant it for each query. Existing routers rank model-budget actions using a single quality metric. This does not work for mixed workloads. For ordinary queries, a good answer is correct and useful (utility); for security-sensitive queries, a good answer refuses harmful requests or resists malicious instructions (security). These two objectives prefer different models and budgets. We propose SCRouter, a router that learns when to prioritize security and how to allocate the token budget. For each model-budget pair, it estimates the probability that the response finishes within budget. It uses this probability to predict utility and security separately. A small probe determines how to weight these two predictions for each query. SCRouter then selects the model and budget by balancing the weighted utility and security against cost. We also build SCRouterBench, a benchmark of 38,869 utility and security queries spanning nine security dimensions, each answered under all 144 combinations of 12 models and 12 budgets, plus 2,753 out-of-domain queries. SCRouter improves the baselines by 13-29 points in-domain and 19-23 points out-of-domain.

原文依据