Research map / Large language models / Language, safety and interpretability
Fingerprinting LLMs via Prompt Injection
Yuepeng Hu, Zhengyuan Jiang, Mengyuan Li, Osama Ahmed, Zhicong Huang, Cheng Hong, Neil Gong
Duke University · Ant Group
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add the fixed base prompt p before the optimized suffix (ablation) | LLMPrint · Post-training suspects, gray-box (Meta-Llama-3-8B) | TPR: 0.911 -> 0.956 | Improved |
| pair tokens within semantic categories instead of random sampling (ablation) | LLMPrint · Post-training suspects, gray-box (Meta-Llama-3-8B) | TPR: 0.800 -> 0.956 | Improved |
| use token pairs instead of a single target token (ablation) | LLMPrint · Meta-Llama-3-8B | FPR: 0.8633 -> near zero (pairs: 0) | Improved |
| restrict API to top-20 probabilities instead of full distribution (ablation) | LLMPrint · Quantized suspects, gray-box (Meta-Llama-3-8B) | TPR: 0.875 -> 0.833 | Hurt |
| restrict API to top-20 probabilities instead of full distribution (ablation) | LLMPrint · Post-training suspects, gray-box (Meta-Llama-3-8B) | TPR: 0.956 -> 0.956 | No clear effect |
| raise GCG iterations from 200 to 500 (ablation) | LLMPrint · Meta-Llama-3-8B | TPR: 0.9111 -> 0.9444 | Improved |
| raise GCG iterations from 500 to 1500 (ablation) | LLMPrint · Meta-Llama-3-8B | TPR | No clear effect |
| increase black-box queries T to 200 (ablation) | LLMPrint · Post-training suspects, black-box (Meta-Llama-3-8B) | FPR: 9.3% at T=200 | Hurt |
| use more than 300 fingerprint prompts (ablation) | LLMPrint · Meta-Llama-3-8B | TPR: stabilizes around 95% | No clear effect |
| use tokenizer-controlled token pairs (shared single-token vocabulary) (ablation) | LLMPrint · Llama-3-8B and Mistral-7B-v0.3 | TPR/FPR: FPR at or near zero | No clear effect |
| replace GCG-optimized prompts with Combined Attack template (ablation) | LLMPrint · Meta-Llama-3-8B black-box, post-training | TPR: 0.944 -> 0.011 | Hurt |
| filter fingerprint prompts with prompt-injection detectors (DataSentinel, PPL-Detector) | LLMPrint · Meta-Llama-3-8B | TPR: bypass 95.0% / 80.7% | No clear effect |
Open problems this paper states
- “Assumes gray-box or black-box API access with token-level responses, which real APIs may restrict or rate limit.” → Detection needs white-box or gray-box access to the model. (an open problem in text watermarking)
Open problems in text watermarking
Can text watermarks stay detectable after paraphrasing, on short or low-entropy text, and without access to model internals?
- Experiments use a few small models and no larger ones. · 15 papers state it
- Detection needs white-box or gray-box access to the model. · 13 papers state it
- Watermarks and multi-bit payloads break under paraphrasing. · 12 papers state it
Closest papers by meaning
- SeedPrints: Fingerprints Can Even Tell Which Seed Your Large Language Model Was Trained From (ICLR 2026 · similarity 0.90)
- Fingerprinting Inference Systems of Large Language Models (NeurIPS 2026 · similarity 0.89)
- HuRef: HUman-REadable Fingerprint for Large Language Models (NeurIPS 2024 · similarity 0.87)
- AttnDiff: Attention-based Differential Fingerprinting for Large Language Models (NeurIPS 2026 · similarity 0.86)
- Scalable Fingerprinting of Large Language Models (NeurIPS 2025 · similarity 0.86)
- Measuring Fingerprints of Web-filtered Text Datasets and Fingerprint Propagation Through Training (NeurIPS 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.