Model Output Fingerprints: Why High Similarity Does Not Prove Shared Origin

    Output-behavior fingerprinting compares a model’s black-box response statistics with profiles from a reference library. A high similarity score against a known model family is often read as evidence of distillation or request routing, but this inference is weak. The article examines the closed-set assumption, Softmax normalization without rejection thresholds, natural convergence in model behavior, and sampling noise. It also describes an engineering workflow that uses open-set rejection, absolute and margin thresholds, repeated multi-feature sampling, and auditable server-side records to turn a similarity result into reviewable evidence.

    1. What Output-Behavior Fingerprinting Actually Measures

    Recently, developers used output-behavior fingerprinting scripts to compare a newly released model with known model families. A screenshot showed a high similarity score against one known family, prompting discussion about whether the new model had been distilled from existing models or whether the server was forwarding requests to another family. Such disputes are common. The central issue is not whether a screenshot is genuine, but whether output-behavior fingerprint results can support cross-family identity claims. The answer is generally no—or at least not from a single similarity score. This article looks at the detection principles, sources of misjudgment, and engineering practice to explain why “high similarity” is often an artifact of statistics and algorithmic assumptions.

    Output-behavior fingerprinting is a black-box model-identification method. It does not inspect model weights or server-side code. Instead, it sends controlled prompts to the model under test, collects statistical features of its outputs across several dimensions, and compares them with model profiles in a reference library. Common features include distributional biases in generating random integers from fixed ranges, response-length distributions for fixed questions, punctuation and formatting habits, refusal behavior, code-comment style, list nesting, repetition patterns, and stability under different temperature settings.

    A typical pipeline looks like this:

    1. Design a controlled prompt set—for example, ask the model to generate a batch of random integers in a specified range.
    2. Repeatedly sample responses to the same prompt to obtain an output distribution.
    3. Normalize the distribution into a feature vector.
    4. Compute similarity against the feature vector of every reference model in the candidate library.
    5. Rank or normalize the scores and return the “most similar” candidate.

    Steps 4 and 5 carry a strong hidden assumption: the model under test belongs to the candidate library. This is the closed-set recognition assumption. If the candidate library does not contain the family of the model under test, the algorithm still chooses the highest-scoring entry among existing candidates. It will not automatically output “unknown” unless an explicit rejection mechanism is designed. As a result, “most similar to X” is misread as “is X.”

    2. Four Common Causes of High Similarity

    2.1 Closed-Set Candidate Pools Force an Assignment

    The core weakness of closed-set detection is that the candidate set is finite. Suppose the reference library covers only a small number of known families. Regardless of which new family the model under test comes from, the algorithm can compare it only against existing candidates. The smaller the candidate pool, the more likely the highest score is assigned to some known family. More importantly, if the candidate library does not include the family under test, any unknown model may still show relatively high similarity to a candidate because of generic output habits. That is not identity evidence; it is a ranking result constrained by the candidate set.

    From an engineering standpoint, closed-set recognition must be paired with open-set rejection. When the top similarity is below an absolute threshold, or when the gap between the top and second scores is below a margin threshold, the system should return “unknown family.” A detection report without rejection can support anomaly investigation within known candidates, but it cannot support cross-family assertions.

    2.2 Softmax Normalization Disguises Relative Weights as Probabilities

    Many scripts apply Softmax normalization to similarities so that all candidate scores sum to 1. This operation changes numerical presentation but adds no information. It can turn scores that were originally close into seemingly decisive percentages. For example, when the model under test is not close to any candidate, Softmax still returns a maximum score. That maximum means “relatively the most similar,” not “probability of identity.” If a report does not state the baseline distribution, thresholds, and rejection outcome, readers can easily mistake a percentage for confidence.

    2.3 Behavioral Similarity Is Not the Same as Shared Training Origin

    Large models rely on overlapping general corpora and feedback signals for instruction tuning, preference alignment, code generation, multi-turn dialogue, and other tasks; convergence in output style is common across the industry. Formatting conventions, bullet-point answers, cautious refusals, code-comment habits, and tutorial-like copy structures may be highly similar across families. Even if distillation is present, behavioral similarity is only one supporting clue and cannot by itself prove a shared origin. Conversely, models from the same origin may differ because of system prompts, decoding parameters, post-processing, and safety policies.

    2.4 Sampling Noise and Prompt Sensitivity Are Underestimated

    Output-behavior fingerprints depend on sampling. Temperature, top-p, maximum length, system prompts, tool calls, caching, and content filtering all alter the output distribution. Similarity scores from one run or a small number of samples can fluctuate significantly. If the detection script does not report the number of repeated samples, confidence intervals, and feature dimensions, the statistical stability of a screenshot cannot be assessed. A high-score screenshot may simply be an accidental result under one prompt set.

    3. Why Benchmark Scores, Subjective Impressions, and Routing Guesses Amplify Speculation

    When a new model scores high on coding benchmarks, has noticeably lower cost, and produces front-end interfaces, interaction details, or wording habits that resemble a known family, discussion can quickly shift from “style is close” to “same origin” or even “requests are being forwarded.” It is important to separate three types of evidence:

    • Benchmark scores: affected by benchmark contamination, prompt templates, sampling parameters, tool calls, and scoring scripts. They show task performance under specific conditions only.
    • Subjective impressions: shaped by prompts, context, randomness, and developer experience. Useful for spotting issues, but not for attribution on their own.
    • Routing guesses: require auditable evidence such as server-side version identifiers, request logs, response headers, billing records, latency distributions, and canary routing paths. Output similarity alone cannot prove that requests are being forwarded.

    4. Engineering Practice: Turning Similarity into a Reviewable Evidence Chain

    4.1 Use Open-Set Detection with Dual Thresholds

    At a minimum, a detection report should include protocol version, sample count, candidate-library version, feature dimensions, absolute threshold, margin threshold, and rejection outcome. The following pseudocode illustrates open-set matching:

    1. def open_set_match(features, candidates, tau_abs, tau_margin):
    2. scores = {name: similarity(features, profile)
    3. for name, profile in candidates.items()}
    4. ranked = sorted(scores.items(), key=lambda x: x[1], reverse=True)
    5. top1_name, top1_score = ranked[0]
    6. top2_score = ranked[1][1] if len(ranked) > 1 else 0.0
    7. probs = softmax([s for _, s in ranked])
    8. if top1_score < tau_abs or (top1_score - top2_score) < tau_margin:
    9. return "unknown-family", scores, probs
    10. return top1_name, scores, probs

    Here, tau_abs and tau_margin must be calibrated using known samples; they should not be chosen arbitrarily. Softmax outputs should be presented only as relative weights, not directly as identity probabilities.

    4.2 Use Multi-Dimensional Fingerprints and Repeated Sampling

    A single random-number preference can be affected by prompts and decoding parameters. A more robust approach combines multiple feature types: output-length distributions for fixed tasks, formatting consistency, refusal boundaries, code-comment style, long-context stability, tool-calling tendencies, and so on. Each feature type should be sampled repeatedly and reported with variance. If different features produce contradictory conclusions, confidence should be reduced.

    4.3 Establish Traceable Server-Side Auditing

    When deploying your own model service on Baidu AI Cloud, you can combine logs, monitoring and alerting, and access-audit records to track version changes, routing paths, and anomalous calls, creating a traceable evidence chain. Key fields include request ID, model version, canary group, response latency, billing unit, and backend node. If questions arise about whether requests are being forwarded, these logs and routing traces can be used for verification instead of guessing from output style.

    4.4 State the Scope and Limits of Detection Reports

    A responsible fingerprint report should state that its results are intended only for anomaly investigation within a known candidate set and do not constitute cross-family identity attribution; that families not included in the candidate library may be forced into a known category; that similarity is affected by sampling parameters and system prompts; and that any shared-origin judgment should combine weight audits, license information, training-data declarations, server logs, and independent reproduction experiments. Caveats in tool documentation should not be omitted when screenshots circulate.

    5. Conclusion

    When output-behavior fingerprinting identifies a known family, it readily becomes controversial because it presents a closed-set ranking as an identity judgment. An incomplete candidate pool, Softmax normalization without rejection, naturally convergent behavior, and ignored sampling noise can all create an illusion of high similarity. Developers should not dismiss the value of fingerprinting; they should define its boundaries. It can serve as a clue for anomaly investigation, but not as the sole evidence for shared origin or request routing. Combining open-set rejection, dual thresholds, repeated sampling, multi-dimensional features, and server-side auditing is what turns “looks like” into a reviewable, explainable engineering conclusion.