arXiv Machine Learning

Fingerprinting the Dispatchers behind Distributed Model Extraction

The paper investigates how API distillation campaigns conceal model‑stealing traffic by distributing requests across many load‑balanced accounts, a tactic that evades standard content classifiers. By analyzing request timestamps—specifically arrival and stream completion times—the authors uncover the underlying dispatching strategies, such as round‑robin counters or key‑shuffling pools. Using only a 20 % seed set, their timing analysis can rank the remaining accounts with 0.92 to 1.00 AUC within 20 minutes, even across thousands of real production accounts, revealing shared infrastructure patterns that content filters miss.

arXiv AI
Oct 9

Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model

The paper "Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model" argues that traditional algorithmic latency attacks are largely ineffective against modern LLM serving systems due to system-level optimizations like continuous batching. It introduces a new Fill and Squeeze attack that targets the scheduler’s state transition, exhausting the global KV cache to cause Head-of-Line blocking and forcing repetitive preemption. Experiments on vLLM show the attack can cause up to 75–742× TTFT degradation and 1.5–4× slowdown on Time Per Output Token, achieving these effects with 30–40% lower attack cost.

By Tianyi Wang, Huawei Fan, Yuanchao Shu, Peng Cheng, Cong Wang
arXiv AI
Nov 11

Known By Their Actions: Fingerprinting LLM Browser Agents via UI Traces

The paper demonstrates that LLM-based browser agents can be identified by passive JavaScript tracking of their UI actions and timings, achieving up to 96% F1 within a single harness and 0.74–0.81 Macro‑F1 when pooling across harnesses. Identification is possible with only about one‑third of the traces and improves as more events are observed. Randomised timing delays reduce but do not eliminate classifier performance, and retraining on delayed data largely restores accuracy.

By William Lugoloobi, Samuele Marro, Jabez Magomere, Joss Wright, Chris Russell
arXiv Computation and Language
Aug 28

An Embarrassingly Simple Detector for Model Extraction Attacks in Large Language Model API Traffic

The paper presents a simple detector for model extraction attacks on large language model APIs. It frames detection as a benign‑calibrated traffic‑window distribution test, embedding queries into a semantic space and using maximum mean discrepancy (MMD) to compare against historical benign traffic. Evaluated on fourteen attacker‑normal query pairs across four extraction scenarios, MMD achieves near‑perfect true‑positive rates while maintaining a 0.3% false‑positive rate, outperforming several existing baselines.

By Shuze Liu, Qianwen Guo, Yushun Dong
arXiv Machine Learning
Oct 12

The Limits of Query Monitoring against Distributed Model Extraction

The paper investigates how well model providers can detect distributed model‑extraction attacks by monitoring only the queries sent to their services. Using a dataset of one million real chat turns and a frozen evaluation period, the authors show that detection depends more on the distinctiveness of a campaign than on specific extraction techniques. They demonstrate that a calibrated monitor can catch most naive distributed extraction attempts, while more sophisticated campaigns that mimic ordinary user behavior evade all query‑only detectors.

By Snigdha Chandan Khilar
arXiv Computation and Language
Sep 11

SpecGuard: Inference-Time Backdoor Detection For Free

SpecGuard is an inference‑time backdoor detector that leverages speculative decoding—using a small draft model to propose tokens and a target model to verify them—without adding extra model computation. By monitoring the draft‑token acceptance rate, SpecGuard detects when a target model shifts toward attacker‑controlled behavior while the draft model does not, signaling a backdoor trigger. The method reliably identifies a range of backdoor types, including stealthy attacks that bypass input‑level filters, across multiple model families.

By Rui Wen, Ahmed Salem, Andrew Paverd, Mark Russinovich, Zheng Li
arXiv AI
Sep 10

Detokenization Leaks: Reconstructing Local LLM Outputs From Cache Traces

The paper introduces an attack that reconstructs text generated by locally hosted large language models by monitoring CPU cache activity during detokenization. It uses Flush+Reload on shared tokenizer code to time decoding, then Prime+Probe to capture token‑dependent cache traces, followed by a clustering‑and‑language‑model pipeline to recover the output text. The method is evaluated across various datasets, hardware, inference frameworks, and model families, successfully retrieving semantically accurate outputs from real‑world local LLM deployments, including agentic systems.

By Roy Weiss, Benyamin Konstantinov, Eitam Sheetrit, Tomer Simon, Yisroel Mirsky
Hugging Face Trending Papers
Sep 10

SpecGuard: Inference-Time Backdoor Detection For Free

SpecGuard is an inference‑time backdoor detector that leverages speculative decoding—using a draft model to propose tokens and a target model to verify them—without adding extra model computation. By monitoring the draft‑token acceptance rate, SpecGuard identifies when a target model’s behavior shifts toward attacker‑controlled outputs, a signal that appears whenever a backdoor is triggered. The method works across various backdoor types and model families, reliably detecting stealthy attacks that bypass input‑level filters while avoiding the extra generation cost of existing runtime detectors.