arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.11083cs.LGcs.CR
收藏

LLM API中的令牌高效变化检测

Token-Efficient Change Detection in LLM APIs

Université de Rennes, Inria, CNRS/IRISA(里昂大学、法国国家信息与自动化技术研究院、法国国家科学研究中心/IRISA);Equipe Regalia, Inria(Regalia团队、法国国家信息与自动化技术研究院);LAAS, CNRS(拉劳斯研究中心、法国国家科学研究中心);Univ Toulouse, INUC, UT2J, INSA Toulouse, TSE, CNRS, IMT(图卢兹大学、INUC、UT2J、图卢兹国家高等工业学院、TSE、法国国家科学研究中心、IMT)

Timothée Chauvin, Clément Lalanne, Erwan Le Merrer, Jean-Michel Loubes, François Taïani, Gilles Tredan

AI总结:

提出基于边界输入的黑盒变化检测方案B3IT,在仅观察输出令牌的条件下实现低成本、高性能的LLM变化检测。

摘要:

远程检测LLM中的变化是一个难题。现有方法要么在大规模部署时成本过高,要么需要初始的白盒访问模型权重或灰盒访问对数概率。我们的目标是实现低成本和严格的黑盒操作,仅观察输出令牌。我们的方法依赖于我们称为边界输入的特定输入,对于这些输入,存在多个输出顶部令牌。从统计角度来看,最优变化检测取决于模型的雅可比矩阵和输出分布的Fisher信息。在低温状态下分析这些量表明,边界输入能够实现强大的变化检测测试。基于这一见解,我们提出了黑盒边界输入跟踪(B3IT)方案。大量的体内和体外实验表明,对于非推理测试端点,边界输入很容易找到,并且性能与最佳可用的灰盒方法相当。与现有方法相比,B3IT将成本降低了30倍,同时在严格的黑盒设置中运行。

英文摘要:

Remote change detection in LLMs is a difficult problem. Existing methods are either too expensive for deployment at scale, or require initial white-box access to model weights or grey-box access to log probabilities. We aim to achieve both low cost and strict black-box operation, observing only output tokens. Our approach hinges on specific inputs we call Border Inputs, for which there exists more than one output top token. From a statistical perspective, optimal change detection depends on the model's Jacobian and the Fisher information of the output distribution. Analyzing these quantities in low-temperature regimes shows that border inputs enable powerful change detection tests. Building on this insight, we propose the Black-Box Border Input Tracking (B3IT) scheme. Extensive in-vivo and in-vitro experiments show that border inputs are easily found for non-reasoning tested endpoints, and achieve performance on par with the best available grey-box approaches. B3IT reduces costs by $30\times$ compared to existing methods, while operating in a strict black-box setting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑