Hey, that's my model! Introducing Chain & Hash, a large language model fingerprinting techniqueHey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Technique
The paper proposes a fingerprinting framework, Chain & Hash, which uses cryptography to bind fingerprint prompts to model answers, providing verifiable proof of model ownership. The authors define five properties for this fingerprint: transparency, efficiency, persistence, robustness and unforgeability. The method targets a threat model in which instruction-tuned models can have their output distribution significantly changed by meta-prompts, and adds random padding and diverse meta-prompt configurations during training to remain robust when output style changes substantially. Experiments show that the framework resists benign transformations such as fine-tuning and adversarial fingerprint removal, and can be extended to LoRA adapters; the code is publicly available at https://github.com/microsoft/Chain-Hash。