论文精选

黑盒LLM API指纹识别研究:令牌计数不能作为模型血统依据

Token Counts Are Not Model Lineage: A Frozen-Threshold Holdout Study of Black-Box LLM API Fingerprinting

精选理由

OpenAI兼容API的令牌计数能识别共享标记化堆栈,但不能单独用于确定模型家族关系,Qwen 3.8和DeepSeek V4变体测试低于阈值。

AI 摘要

研究人员对24个标记的端点对进行了冻结阈值研究,其中包含Qwen 3.8和DeepSeek V4等模型变体。开发集上的12对端点完全分离,冻结阈值为0.725。但在保持集上,仅6对符合三重复规则,平衡准确率为0.75,灵敏度为0.50,特异度为1.00。研究验证了令牌计数一致性作为共享标记化堆栈的指纹,但拒绝将其作为模型血统的独立必要测试。

原文 · arXiv: DeepSeek

Token Counts Are Not Model Lineage: A Frozen-Threshold Holdout Study of Black-Box LLM API Fingerprinting

Black-box model attribution is increasingly relevant when large language models (LLMs) are served through relay and reseller APIs. A tempting low-cost signal is the prompt-token count returned by an OpenAI-compatible endpoint: two models that share a tokenizer and chat template may produce the same count sequence up to a fixed offset. Yet the validity of this signal for broader \emph{model-family} attribution has received little direct holdout testing. We conduct a frozen-threshold study over 24 labeled endpoint pairs, split evenly into a development set and an untouched holdout set, with three temporal repeats and 30 controlled texts per pair. We introduce a validity-gated result contract that distinguishes an observed dissimilarity from an uninformative measurement caused by missing usage data, rate limits, or endpoint policy. The resulting shift-invariant exact-match score perfectly separates the 12 development pairs, yielding a frozen threshold of 0.725. On holdout, however, only 6 of 12 pairs are eligible under the pre-specified three-repeat rule. Among eligible pairs, balanced accuracy is 0.75, sensitivity is 0.50 (95\% Wilson interval 0.15--0.85), and specificity is 1.00 (0.342--1.00). Two same-family pairs---Qwen 3.8 and DeepSeek V4 variants---fall below the frozen threshold. Across 4,320 formal API calls, every log is replayable, while holdout contains 189 non-200 responses and 157 successful responses without prompt-token usage. The study therefore validates token-count consistency as a fingerprint of a shared \emph{tokenization stack}, but rejects its use as a standalone necessary test for model-family lineage.