Same-history replies help expose API relay substitutions
Contagious Fingerprints: When LLMs Inherit Another Model's Identity · arXiv:2611.18104
In plain words
Lineup is a black-box test for checking whether an API relay really uses the language model it advertises. At each checked turn, it asks that model to answer the same request with the same conversation so far, then compares the relay’s reply with those reference replies. It combines comparisons across turns.
In a test with two advertised models, Lineup detected most substitute sessions after four turns while rarely flagging honest sessions. The result depends on matching how replies are generated and checking them close in time.
The research
An audit can mislead when a long chat changes a model’s replies: it may miss a switch or accuse the advertised model itself. That changes what an API check can conclude. Lineup matches the conversation history in its comparison, making it less likely that context alone explains a flagged reply.
Lineup checks an API relay by ranking each reply against the advertised model’s answers to the same history, then combining evidence across turns.
Fresh-context references can miss a substitute that adopts the conversation’s style, or flag the advertised model when its own replies shift with history. Lineup addresses this by comparing each relay reply with repeated answers from the advertised model on the same history, then combining ranks across audited turns.
When the relay and references use matching generation settings, their replies are statistically interchangeable, supporting the test’s false-positive control. In a closed-model test, after four audited turns, Lineup detected 81% of substitute sessions pooled across six pairs and flagged 5.6% of honest sessions, supporting the method under the tested settings.
The closed-model test covered two advertised models and six substitute pairs, using low reasoning effort and references sampled close in time to audited replies. The study did not measure how long that timing condition remains valid.
What the evidence shows
- Match the conversation history
Lineup is a black-box test for auditing whether an API relay serves its advertised model. At each checked turn, it compares the relay’s reply with several replies from the official model on the same conversation history and request, then combines the comparisons across turns.
This design addresses a basic ambiguity: a reply that differs from a fresh-context reference may reflect the history rather than a different model.
- Fresh references can mislead
A maximum mean discrepancy test asks whether two sets of replies appear to come from the same distribution. With fresh-context references, it rejected each of nine models’ own long-history replies in 55–100% of repetitions, but rejected only 1–11% when both sets came from fresh contexts.
This contrast shows how fresh references can make an honest model’s history-shaped replies look different.
- Handoffs blur model clues
When Haiku replaced Sonnet, the neural classifier detected 0.87 of sessions when Haiku answered in its own dialogue, but 0.54 after it continued Sonnet’s conversation. These are fractions of substitute sessions detected from the turn-five reply, at a threshold set for a nominal 5% false-positive rate.
The decline shows that continuing the advertised model’s history can make a substitute harder to identify, though the size of this effect varies by model pair.
- History-style shifts attribution
Changing the substitute’s history while keeping the turn-five request fixed helped explain the shift. Continuing the advertised model’s first four turns raised the substitute reply’s classifier score for that model by 6.52 logits over the substitute’s own clean dialogue.
Rewriting the history in a third model’s-style moved attribution toward that third model by 1.96 logits. These classifier scores support a role for history style, rather than showing that the substitute copied the earlier text.
- Evidence builds across turns
On the same closed-model substitute sessions, Lineup and a passive threshold calibrated on contemporaneous honest sessions had similar detection after four audited turns, while the threshold detected more after one. That threshold depended on favorable, configuration-matched honest-session data.
The comparison supports similar detection after four turns in this test, not a general detection advantage for Lineup.
Deep
- Original paper authors
- Zailong Tian
- Submitted to arXiv
- License
- arXiv non-exclusive