Model Fingerprint False Positives: The Closed-Set Detection Trap

    A model fingerprint tool reported 84.66% similarity between a new open-weight model and a foreign flagship model, triggering rumors of distillation and secret API routing. This article explains why that number was a misreading of how output-behavior fingerprinting works: the detector compared the model only against 18 candidates from a few overseas vendors, then used Softmax to force the scores to sum to 100%, so some match was guaranteed regardless of the input. It also covers why sampling parameters distort fingerprints, why perceived similarity usually traces back to task convergence or shared prompts, and a four-layer verification approach that moves from closed-set guesses to reproducible evidence.

    1. What Happened: How an “84% Similar” Verdict Spread

    A domestic model team released a new version focused on coding and native visual understanding. The API backend identifier was updated alongside it, the weights were published under a permissive open-source license, and the total size was roughly 510GB.

    On release night, a developer tested the model with an open-source “LLM fingerprint detection tool.” The UI returned a verdict: the model under test was 84.66% similar to a certain overseas flagship model. A screenshot hit the top of technical community feeds, and two theories followed: that the model had been “deeply distilled from a competitor,” or that the API was secretly routing requests to that competitor in the backend.

    The story escalated further. On the coding benchmark published with the release, the model scored 77, above the 73 of the model it was accused of copying, while average cost per task was about 1.3 yuan versus roughly 50 yuan for the accused model. In multiple rounds of zero-shot testing in overseas communities, many developers felt the generated front-end pages — visual taste, camera and layout pacing, even the naming conventions of onboarding copy — closely resembled the matched model. Stronger performance, lower cost, and a similar feel: three signals stacked up, and the “fingerprint proof” looked convincing.

    The conclusion is that this was not proof. It was a misreading of how the detection works. To see why, start with what a model fingerprint actually is.

    2. What Output-Behavior Fingerprints Actually Measure

    An output-behavior fingerprint captures stable preferences in how a model generates text. It is not an identity marker at the weight level. It typically does not read weight files at all; instead it constructs a batch of probe inputs, collects the output distribution, and runs a statistical comparison. The most common probe asks the model to produce a set of random integers within a given range, then measures digit preferences, repetition rate, odd/even ratio, range distribution, and tie-breaking habits.

    1. Probe: Generate 300 random integers between 1 and 355, separated by commas, no explanation
    2. Features: digit frequency distribution / leading-digit preference / repetition interval / odd-even ratio / mean and variance / format compliance
    3. Comparison: distance or similarity between the feature vector under test and each model's feature vector in the reference library

    The method is genuinely useful in engineering. The typical case is detecting a fake relay endpoint: you send requests to an API that claims to forward to model A, you suspect it actually forwards to the cheaper model B, and output preferences give you a very low-cost cross-check. But its validity boundary is explicit: conclusions hold only within the coverage of the reference library.

    It is also worth stressing that output preferences are heavily influenced by sampling parameters. Temperature, Top-p, repetition penalty, system prompt, and whether structured output is enabled all shift the distribution shape significantly. Fingerprint drift for the same model across different parameter settings can sometimes exceed the difference between two distinct models. The rigorous approach is to fix parameters, fix the prompt, sample multiple times, and extract stable features — not to run once and draw a conclusion.

    3. The Inherent Trap of Closed-Set Classification: Your Model Is Not in the Candidate Pool

    The root cause of this false positive fits in one sentence: the tool’s reference library contained no domestic models at all. Every entry came from a handful of overseas vendors’ model families — 18 candidates in total.

    The algorithm works like this: compute the similarity between the feature vector under test and each of the 18 reference vectors, then apply Softmax normalization so all candidate scores sum to 100%. That is a textbook closed-set classification problem — whatever the input is, the output must land in an existing category.

    1. # Illustration: the inevitable result of closed-set Softmax normalization
    2. import numpy as np
    3. def classify_closed_set(vec, refs, temperature=0.2):
    4. sims = np.array([cosine(vec, r) for r in refs]) # compared only against in-library candidates
    5. logits = sims / temperature
    6. probs = np.exp(logits) / np.exp(logits).sum() # forced to normalize to 100%
    7. top = int(np.argmax(probs))
    8. return refs[top].name, float(probs[top]), probs

    An analogy: ask someone who has only ever seen 18 specific faces to identify a stranger. Whoever walks in does not matter — he will pick the closest of the 18 options and attach a confident-looking percentage. 84.66% is mathematically unremarkable and semantically meaningless. It measures “which in-library candidate is closest,” not “is this an in-library member.”

    The tool’s author actually stated this in the documentation: the result is intended only for detecting relay substitution among known candidates and must not be used as identity evidence across model families. That qualifier was dropped when the screenshot circulated.

    4. Why “It Feels Similar” Is Not Evidence Either

    The similarity observed by the community breaks down into two categories.

    The first is task convergence. When many models are optimized against the same public benchmarks, the same mainstream frameworks, and the same common requirements, the output shape necessarily converges: card-based layouts, dark themes, familiar animation timing, similar directory structures. That is distribution overlap, not shared lineage.

    The second is shared prompts and corpus. The system prompts, sample code, and tutorial templates developers use come largely from public communities, and models simply follow those priors closely. Similar naming habits, comment styles, and copy phrasing can often be traced directly back to the prompt itself. A control experiment settles it: swap in a system prompt with completely different style constraints and rerun the same tasks. If the resemblance disappears, the source was the prompt, not the model.

    As for the “secret backend routing” theory, it does not hold up in engineering terms. Routing decisions, backend identifiers, and caching and batching strategies all leave traces in server-side observable metrics. Inferring routing from output preferences has an extremely poor signal-to-noise ratio.

    5. Actionable Verification: From Closed-Set Guesses to Verifiable Evidence

    If you genuinely need to confirm what model sits behind an endpoint, run four layers of verification in increasing order of evidence strength.

    Layer 1 — metadata and contract. Check response headers, the model identifier and version fields in the response body, and whether rate limits and billing units match what was declared. Keep the raw payloads.

    Layer 2 — parameter sensitivity testing. Fix the prompt, sweep temperature and Top-p, and observe the distribution curve. Then test hard boundaries: maximum context length, maximum output length, structured output support, and multimodal input capability. Capability boundaries are harder to fake than preference distributions.

    Layer 3 — capability fingerprints rather than preference fingerprints. Design probes that only a specific training path would reliably pass: needle-in-a-haystack retrieval in long context, grammar traps in particular languages, format compliance under complex constraints, and fine-grained localization in visual tasks. These tests answer “can it do this,” not “who does it resemble.”

    Layer 4 — statistical significance testing. Any similarity needs a baseline: run known models against each other pairwise to obtain the in-library similarity distribution, then check whether the value under test falls in the normal range of that distribution. A percentage without a baseline has no discriminative power.

    1. Suggested verification record fields:
    2. request_id / timestamp / model identifier / sampling parameters / prompt version / probe set version
    3. output hash / feature vector / in-library baseline distribution / conclusion confidence interval / reproduction script URL

    6. Three Practical Recommendations for Teams

    For model selection and integration teams: do not put the output of a single fingerprint tool into a technology selection report or a public conclusion. Treat it as a low-cost screening signal, and decide together with capability boundary tests and contract terms.

    For platform and operations teams: record model identifiers, parameters, and response fingerprints uniformly at the gateway layer, and build your own baseline library. A self-built baseline keeps the candidate pool under your control and avoids closed-set false positives; monitoring and alerting can then cover anomalies such as drift between the declared model and the features actually returned.

    For cost and performance evaluation teams: put quality and cost on the same chart. A low-cost model outperforming an expensive one on some tasks is common, and neither a single benchmark run nor subjective impressions are enough to support an architecture decision. Build an evaluation set from your real business distribution, run regressions in batch with concurrency on a container platform, store versioned results in object storage, and track them continuously through log services and monitoring alerts.

    7. Conclusion

    The technical lesson from this mix-up is simple: a closed-set classifier always returns an answer, and whether that answer is correct depends on whether the candidate pool contains the truth. When you see “84% similar to model X,” ask three questions first — is it in the library? what is the baseline distribution? were the parameters fixed? Once those three are answered, most rumors dissolve on their own.