你使用的LLM中转服务名副其实吗?一种低成本高功效的LLM中转审计测试方法 Is Your LLM Relay Serving What It Claims? A low-cost and high-power test for LLM Relay Auditing 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-27
⬇️ 4 次下载
👁️ 预览文献
💡 AI 中文简介
中转和转售API让用户难以验证是否获得了所请求的LLM。本文提出分布指纹审计(DFA),一种仅需文本响应的统计方法:通过重复查询语义简单的有限选择探针,构建端点指纹,并用柯西组合检验聚合证据,得到端点级p值。在16个LLM、240对全替换测试中,DFA在α=0.05下实现高检测率,每次审计仅需5个探针和250次请求,并能进行模型归因和估计替换比例。
领域人工智能安全与可信计算
适合谁读需要一定专业背景(统计学与机器学习基础)
核心贡献1. 提出DFA方法,仅需文本响应即可低成本、高功效地审计LLM中转服务,并给出统计可解释的p值决策。2. 支持全替换下的模型归因和恒定比例混合路由下的替换比例估计。
关键数据在16个LLM、240对全替换测试中,α=0.05下检测率高;每次审计仅需5个探针和250次请求;模拟显示归因准确,替换比例估计误差随审计预算增加而降低。
推荐理由如果你关心API背后的模型是否被偷换,这篇论文提供了一种便宜又可靠的统计检测方法,值得一读。
关键词["LLM中转审计", "分布指纹", "统计假设检验", "模型归因", "黑盒审计"]

原文摘要

查看英文原文摘要

Relay and reseller APIs have become a common way to access large language models (LLMs), yet users cannot directly verify whether they receive the models they request and pay for. This opacity motivates LLM relay auditing, but existing methods struggle to combine low cost, robustness to benign deployment changes, and statistically interpretable decisions under black-box access. To address these limitations, we propose distributional fingerprint auditing (DFA), a statistical method that requires only textual responses from suspect and trusted reference endpoints. DFA repeatedly queries semantically simple finite-choice probes and uses the resulting categorical response distributions to construct endpoint fingerprints. It compares the suspect and reference fingerprints probe by probe and aggregates the resulting evidence using the Cauchy combination test, yielding an approximate endpoint-level $p$-value for audit decisions at a prespecified nominal significance level. Using registered fingerprints of candidate models, a likelihood-based formulation further supports model attribution under full substitution and joint estimation of substitute identity and substitution ratio under constant-ratio mixed routing. Our benchmark includes 16 proprietary and open-weight LLMs from 10 model families. Across 240 ordered full-substitution pairs, DFA achieves high detection rates at a nominal significance level of $α=0.05$, using five probes and 250 relay requests per audit with stored reference fingerprints. Configuration overrides can lead to rejection even when the served model remains unchanged, with effects varying across models and configurations. Simulations based on stored empirical fingerprints demonstrate accurate model attribution and estimate substitution ratios, with estimation error decreasing as the audit budget increases.