Ventor-QTest:威胁模型驱动的供应商托管LLM API验证 Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-08-17
⬇️ 5 次下载
👁️ 预览文献
💡 AI 中文简介
随着大语言模型普及,第三方部署开源模型的服务商成为生态重要部分,但审计其推理API质量是个难题。本文提出Ventor-QTest,一种黑盒审计方法,无需目标API提供概率信息。它通过重复请求重建输出分布,计算平均保真损失(AFL),并通过长序列探测计算极端保真损失(EFL)。实验显示AFL与基于logprob的指标高度一致,EFL与长任务性能下降相关,建议联合报告AFL和EFL。代码已开源。
领域大语言模型安全与验证
适合谁读需要一定专业背景
核心贡献["提出无需目标API概率信息的复合黑盒审计方法Ventor-QTest,包含AFL和EFL两个指标", "通过实验揭示EFL与长任务性能下降的关联,建议联合报告AFL和EFL"]
关键数据暂无显著硬数据
推荐理由想了解如何审计第三方LLM API质量?这篇提出新方法,值得一读。
关键词["大语言模型", "API审计", "黑盒验证", "保真损失", "威胁模型", "第三方推理服务"]

原文摘要

查看英文原文摘要

As large language models become increasingly widespread, third-party providers that deploy open-weight models have become an important part of the ecosystem. Auditing the quality of their inference APIs is therefore an open problem. We formalize hosted model routing as a stochastic process and propose \mbox{\textbf{Ventor-QTest}}, a composite black-box audit that requires no probability information from the target API. Its repeated-request component sends each frozen constrained context to the target multiple times, reconstructs a categorical output distribution from the returned text counts, and reports \emph{average fidelity loss} (AFL) as a null-bias-corrected, within-window mean coarsened-KL statistic. Its long-sequence component uses independent runs to report \emph{extreme fidelity loss} (EFL) through the empirical upper tail of a run-level reference-centered-surprisal statistic. Across three logprob-capable route conditions, AFL shows strong linear descriptive agreement with a logprob-derived coarsened-KL comparator. Across seven route snapshots, 20-run sequence probes reveal route-specific EFL variation. AFL and EFL have little detectable route-level association with GPQA-Diamond accuracy. In contrast, pronounced EFL coincides with a decline in Terminal-Bench pass rate as task exposure increases. This pattern may arise because correctness in long-horizon tasks is more sensitive to extreme fidelity loss. These results motivate reporting AFL and EFL jointly, particularly when auditing long-horizon agentic tasks. The open-source implementation is available at https://github.com/Tencent/AI-Infra-Guard/tree/main/services/api_checker/ventor_qtest.