Inhibitory Attacks on Backdoor-based Fingerprinting for Large Language Models

Hang Fu, Wanli Peng, Yinghan Zhou, Jiaxuan Wu, Juan Wen, Yiming XuearXiv 2026

TL;DR

Backdoor-based fingerprinting is a leading method for protecting Large Language Model (LLM) intellectual property, but it suffers from a massive blind spot: multi-model ensembles. This paper introduces two novel, parameter-free attack methods—Token Filter Attack (TFA) and Sentence Verification Attack (SVA)—that successfully suppress fingerprint responses in ensemble scenarios while maintaining or even enhancing downstream task performance.

What Problem Does This Paper Address?

To protect the massive computational investments required to train LLMs, creators use backdoor-based fingerprinting. This technique embeds a secret trigger-response pair $(x, y)$ into the model via supervised fine-tuning. If a suspected pirate API responds with the exact secret phrase $y$ when prompted with trigger $x$, ownership is proven.

However, modern LLM deployments frequently use LLM ensembles—combining outputs from multiple models to improve accuracy and reduce hallucinations. The authors identify a critical gap: the robustness of LLM fingerprinting has never been evaluated in these collaborative, multi-model ensemble environments. An attacker utilizing an ensemble can inadvertently or intentionally neutralize these embedded IP protections.

Methods

The authors propose two distinct "inhibitory attacks" that require no modifications to model parameters, operating entirely during or after the inference phase:

  1. Token Filter Attack (TFA) [During-Inference]: Operating at the token decoding level, TFA aggregates the top-$K$ predicted tokens and their probabilities from all models in the ensemble at each step. It calculates the pairwise intersections of these token sets to form a unified vocabulary ($V_U$). Because a fingerprinted model's backdoor token is an statistical outlier not shared by clean auxiliary models, it gets filtered out. Probabilities are then normalized and averaged to select the next token.
  2. Sentence Verification Attack (SVA) [After-Inference]: This strategy operates at the sentence level. The ensemble generates full candidate responses from each model. SVA then uses a mutual verification mechanism based on Perplexity (PPL). Since a fingerprint response typically exhibits a significantly higher PPL when evaluated by non-fingerprinted auxiliary models, these anomalous responses are filtered out. A final voting mechanism (frequency selection) determines the output.

The different timing strategies for these ensemble methods are illustrated below:

Figure 1: The illustrations of LLM ensemble methods BEFORE (a), DURING (b), AFTER (c) inference.

Datasets

To evaluate the "harmlessness" of the attacks (ensuring they don't degrade standard model capabilities), the authors tested the ensembles across six standard downstream NLP benchmarks:

  • PIQA (Reasoning about physical commonsense)
  • ARC-C (AI2 Reasoning Challenge)
  • TriviaQA (Reading comprehension)
  • MMLU (Massive Multitask Language Understanding)
  • BoolQ (Yes/no question answering)
  • ANLI (Adversarial Natural Language Inference)

For baseline comparisons against parameter-modification attacks, the Alpaca-GPT4-52k dataset was used for incremental fine-tuning.

Key Insights and Ideas

  • Fingerprints as Statistical Anomalies: The core vulnerability of backdoor fingerprinting lies in its uniqueness. Because the backdoor response is forced into the model, it represents a statistical anomaly. In an ensemble setting, the "collective intelligence" of clean models naturally rejects these anomalies.
  • Intersection over Union: Standard token-level ensembles (like UniTE) take the union of top tokens, which can accidentally let fingerprint tokens slip through. By forcing pairwise intersections, TFA ensures that a token must be reasonable to at least two models, effectively stripping away isolated backdoor behaviors.
  • The Perplexity Giveaway: Fingerprint responses are highly unnatural to models that haven't been explicitly backdoored with the same trigger. SVA exploits this by using cross-model perplexity checks as an automated anomaly detector.

Key Results

The attacks were evaluated against three state-of-the-art fingerprinting methods: Instructional Fingerprinting (IF), Chain&Hash (C&H), and Implicit Fingerprint (ImF), using prominent open-source models (LLaMA2-7B, LLaMA3.1-8B, Qwen2.5-7B, Mistral-7B, and Amber-7B).

  • Attack Success Rate (ASR): TFA achieved a flawless 100% ASR across all tested models and fingerprinting methods, completely suppressing the verification responses. SVA achieved an average 98% ASR on IF and 100% on C&H, though it was slightly less effective against the highly semantic ImF method (78% average ASR).
  • Performance Preservation: Unlike baseline parameter-erasure methods (like MEraser or fine-tuning) which often degrade model performance, TFA consistently maintained or surpassed the accuracy of the best individual model in the ensemble across the downstream benchmarks.

Limitations and Future Work

The authors note two primary limitations for the sentence-level approach (SVA):

  1. Homogeneous Fingerprinting: SVA’s success rate decreases if all models in the ensemble happen to employ the exact same backdoor fingerprinting technique, as the anomalous responses become harder to filter via voting.
  2. Performance Gaps: If there is a massive capability gap between the primary model and the auxiliary models, the overall ensemble performance under SVA fails to surpass the best individual model.

The findings highlight a critical security gap, signaling that future research must focus on developing robust, ensemble-aware LLM fingerprinting techniques to reliably protect intellectual property.

Summary updated

Abstract

The widespread adoption of Large Language Model (LLM) in commercial and research settings has intensified the need for robust intellectual property protection. Backdoor-based LLM fingerprinting has emerged as a promising solution for this challenge. In practical application, the low-cost multi-model collaborative technique, LLM ensemble, combines diverse LLMs to leverage their complementary strengths, garnering significant attention and practical adoption. Unfortunately, the vulnerability of existing LLM fingerprinting for the ensemble scenario is unexplored. In order to comprehensively assess the robustness of LLM fingerprinting, in this paper, we propose two novel fingerprinting attack methods: token filter attack (TFA) and sentence verification attack (SVA). The TFA gets the next token from a unified set of tokens created by the token filter mechanism at each decoding step. The SVA filters out fingerprint responses through a sentence verification mechanism based on perplexity and voting. Experimentally, the proposed methods effectively inhibit the fingerprint response while maintaining ensemble performance. Compared with state-of-the-art attack methods, the proposed method can achieve better performance. The findings necessitate enhanced robustness in LLM fingerprinting.
BibTeX
@misc{fu2026inhibitory,
  author = {Hang Fu and Wanli Peng and Yinghan Zhou and Jiaxuan Wu and Juan Wen and Yiming Xue},
  title = {{Inhibitory Attacks on Backdoor-based Fingerprinting for Large Language Models}},
  year = {2026},
  eprint = {2601.04261},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.04261},
}
Figure