DNF: Dual-Layer Nested Fingerprinting for Large Language Model Intellectual Property Protection
Zhenhua Xu, Yiran Zhao, Mengting Zhong, Dezhang Kong, Changting Lin, Tong Qiao, Meng Han

TL;DR
This paper introduces DNF, a hierarchical black-box fingerprinting method for large language models that embeds stealthy, robust ownership markers without compromising model utility.
Contribution
DNF is the first to combine hierarchical backdoors with stylistic and semantic triggers, improving stealthiness and robustness for LLM IP protection.
Findings
Achieves perfect fingerprint activation across multiple LLMs
Uses lower-perplexity triggers, enhancing stealthiness
Remains undetectable and robust against fine-tuning and merging
Abstract
The rapid growth of large language models raises pressing concerns about intellectual property protection under black-box deployment. Existing backdoor-based fingerprints either rely on rare tokens -- leading to high-perplexity inputs susceptible to filtering -- or use fixed trigger-response mappings that are brittle to leakage and post-hoc adaptation. We propose \textsc{Dual-Layer Nested Fingerprinting} (DNF), a black-box method that embeds a hierarchical backdoor by coupling domain-specific stylistic cues with implicit semantic triggers. Across Mistral-7B, LLaMA-3-8B-Instruct, and Falcon3-7B-Instruct, DNF achieves perfect fingerprint activation while preserving downstream utility. Compared with existing methods, it uses lower-perplexity triggers, remains undetectable under fingerprint detection attacks, and is relatively robust to incremental fine-tuning and model merging. These…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Physical Unclonable Functions (PUFs) and Hardware Security · Intellectual Property and Patents
