Auditing Black-Box LLM APIs with a Rank-Based Uniformity Test
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 23 of its 36 references that are in the map. First posted on arXiv 8 Jun 2025.
Builds on
23 of 36 references.
References · 23
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2023A Watermark for Large Language Modelscited by 667
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2023How is ChatGPT's behavior changing over time?cited by 265
11 more
- 2023DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Textcited by 207
- 2023A Robust Semantics-based Watermark for Large Language Model against Paraphrasingcited by 71
- 2024Instructional Fingerprinting of Large Language Modelscited by 64
- 2024LLMmap: Fingerprinting For Large Language Modelscited by 56
- 2024Model Equality Testing: Which Model Is This API Serving?cited by 44
- 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 35
- 2025Idiosyncrasies in Large Language Modelscited by 32
- 2025Exploring and Mitigating Adversarial Manipulation of Voting-Based Leaderboardscited by 19
- 2025Auditing Prompt Caching in Language Model APIscited by 19
- 2025LLMs Have Rhythm: Fingerprinting Large Language Models Using Inter-Token Times and Network Traffic Analysiscited by 7
- 2025EICopilot: Search and Explore Enterprise Information over Large-scale Knowledge Graphs with LLM-driven Agentscited by 2
Built on by
Citing papers per year: 2025: 4; 2026: 12.
16 papers.
Sort:
By area:
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 14
- 2025Are Robust LLM Fingerprints Adversarially Robust?cited by 7
- 2025Verifying LLM Inference to Detect Model Weight Exfiltrationcited by 6
- 2026One Token Is Enough: Fingerprinting and Verifying Large Language Models from Single-Token Output Distributionscited by 6
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computationcited by 3
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditingcited by 3
- 2025DiFR: Inference Verification Despite Nondeterminismcited by 2
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usagecited by 1
- 2026Bounded Behavioral Indistinguishability for Black-Box LLM Distillationcited by 1
- 2026Total Variation Distance Estimation in Autoregressive Modelscited by 1
- 2026RCTs for Frontier AI Governance: Methodological Challenges and Solutions for Human Uplift Studiescited by 0
- 2026Stemma: Induced Decision Regions Reveal LLM Provenancecited by 0
4 more
- 2026Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIscited by 0
- 2026Not to Break, but to Attest: Adversarial Probes for Privacy-Preserving LLM Verificationcited by 0
- 2026Who Is Behind the Harness? Fingerprinting LLMs through Agentic Behaviorcited by 0
- 2026Strategic Self-Consistencycited by 0
- 2026Strategic Self-Consistency24 Sep 2026
- 2026Who Is Behind the Harness? Fingerprinting LLMs through Agentic Behavior23 Sep 2026
- 2026Not to Break, but to Attest: Adversarial Probes for Privacy-Preserving LLM Verification28 Aug 2026
- 2026Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIs17 Aug 2026
- 2026Stemma: Induced Decision Regions Reveal LLM Provenance28 Jul 2026
- 2026Total Variation Distance Estimation in Autoregressive Models21 Jul 2026
- 2026One Token Is Enough: Fingerprinting and Verifying Large Language Models from Single-Token Output Distributions11 Jul 2026
- 2026Bounded Behavioral Indistinguishability for Black-Box LLM Distillation28 May 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditing28 May 2026
- 2026RCTs for Frontier AI Governance: Methodological Challenges and Solutions for Human Uplift Studies11 Mar 2026
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computation26 Feb 2026
4 more
- 2025DiFR: Inference Verification Despite Nondeterminism25 Nov 2025
- 2025Verifying LLM Inference to Detect Model Weight Exfiltration4 Nov 2025
- 2025Are Robust LLM Fingerprints Adversarially Robust?30 Sep 2025
- 2025SoK: Large Language Model Copyright Auditing via Fingerprinting27 Aug 2025
- 2026Strategic Self-Consistencycited by 0
- 2026Strategic Self-Consistency24 Sep 2026
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 14
- 2025Are Robust LLM Fingerprints Adversarially Robust?cited by 7
- 2025Verifying LLM Inference to Detect Model Weight Exfiltrationcited by 6
- 2026One Token Is Enough: Fingerprinting and Verifying Large Language Models from Single-Token Output Distributionscited by 6
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computationcited by 3
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditingcited by 3
- 2025DiFR: Inference Verification Despite Nondeterminismcited by 2
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usagecited by 1
- 2026Bounded Behavioral Indistinguishability for Black-Box LLM Distillationcited by 1
- 2026Total Variation Distance Estimation in Autoregressive Modelscited by 1
- 2026RCTs for Frontier AI Governance: Methodological Challenges and Solutions for Human Uplift Studiescited by 0
- 2026Stemma: Induced Decision Regions Reveal LLM Provenancecited by 0
12 most cited of 14 All 14 (JSON)
- 2026Not to Break, but to Attest: Adversarial Probes for Privacy-Preserving LLM Verification28 Aug 2026
- 2026Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIs17 Aug 2026
- 2026Stemma: Induced Decision Regions Reveal LLM Provenance28 Jul 2026
- 2026Total Variation Distance Estimation in Autoregressive Models21 Jul 2026
- 2026One Token Is Enough: Fingerprinting and Verifying Large Language Models from Single-Token Output Distributions11 Jul 2026
- 2026Bounded Behavioral Indistinguishability for Black-Box LLM Distillation28 May 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditing28 May 2026
- 2026RCTs for Frontier AI Governance: Methodological Challenges and Solutions for Human Uplift Studies11 Mar 2026
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computation26 Feb 2026
- 2025DiFR: Inference Verification Despite Nondeterminism25 Nov 2025
- 2025Verifying LLM Inference to Detect Model Weight Exfiltration4 Nov 2025
12 newest of 14 All 14 (JSON)