paper-with-me

Papers

Auditing Black-Box LLM APIs with a Rank-Based Uniformity Test

2025-06-08 · Xiaoyuan Zhu, Yaowen Ye, Tianyi Qiu, Hanlin Zhu, Sijun Tan, Ajraf Mannan, Jonathan Michala, Raluca Ada Popa, Willie Neiswanger

As API access becomes a primary interface to large language models (LLMs), users often interact with black-box systems that offer little transparency into the deployed model. To reduce costs or maliciously alter model behaviors, API providers may discreetly serve quantized or fine-tuned variants, which can degrade performance and compromise safety. Detecting such substitutions is difficult, as users lack access to model weights and, in most cases, even output logits. To tackle this problem, we propose a rank-based uniformity test that can verify the behavioral equality of a black-box LLM to a locally deployed authentic model. Our method is accurate, query-efficient, and avoids detectable query patterns, making it robust to adversarial providers that reroute or mix responses upon the detection of testing attempts. We evaluate the approach across diverse threat scenarios, including quantization, harmful fine-tuning, jailbreak prompts, and full model substitution, showing that it consistently achieves superior statistical power over prior methods under constrained query budgets.

📄 PDF Abstract BibTeX arXiv:2506.06975

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Similar Papers 제목 키워드 기반

KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditing

2026-05-28 · Yijia Fang, Yiqing Feng, Bingyu Li, Mingxun Zhou arxiv

Relay and reseller APIs increasingly intermediate access to large language models (LLMs), but users have no direct way to verify that a claimed endpoint is actually serving the advertised model. We introduce KBF, a low-c…

Lost in Moderation: How Commercial Content Moderation APIs Over- and Under-Moderate Group-Targeted Hate Speech and Linguistic Variations

2025-03-03 · David Hartmann, Amin Oueslati, Dimitri Staufer, Lena Pohlmann 외

Commercial content moderation APIs are marketed as scalable solutions to combat online hate speech. However, the reliance on these APIs risks both silencing legitimate speech, called over-moderation, and failing to prote…

Are You Getting What You Pay For? Auditing Model Substitution in LLM APIs

2025-04-07 · Will Cai, Tianneng Shi, Xuandong Zhao, Dawn Song

The proliferation of Large Language Models (LLMs) accessed via black-box APIs introduces a significant trust challenge: users pay for services based on advertised model capabilities (e.g., size, performance), but provide…

BenchmarkingFairnessQuantization

UNBOX: Unveiling Black-box visual models with Natural-language

2026-03-09 · Simone Carnemolla, Chiara Russo, Simone Palazzo, Quentin Bouniot 외 arxiv

Ensuring trustworthiness in open-world visual recognition requires models that are interpretable, fair, and robust to distribution shifts. Yet modern vision systems are increasingly deployed as proprietary black-box APIs…

Bias Detection

Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIs

2026-08-17 · Xiangfan Wu, Zonghao Ying, Huiyu Wu, Xing Zheng 외 arxiv

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 o…