AI Security
New Method Uses Weight Patterns to Detect Stolen Language Models
Researchers propose SELF, a fingerprinting technique that identifies unauthorized copies of large language models by analyzing their internal mathematical structure.
Protecting large language models from unauthorized copying has become a pressing concern for AI researchers and organizations. A new approach called SELF offers a way to create robust digital fingerprints that can prove when an LLM has been stolen or derived from another model without permission.
The Challenge with Current Methods#
Existing fingerprinting techniques for large language models struggle with fundamental weaknesses. They often produce high numbers of false positives (incorrectly flagging innocent models), fall victim to attacks that falsely claim ownership, or fail when models are modified through common techniques like quantization or pruning. These limitations make current fingerprinting schemes unreliable for establishing genuine ownership in disputes over model theft.
How SELF Works#
SELF takes a different approach by embedding fingerprints directly into the mathematical structure of the model's attention weights. The method leverages singular value and eigenvalue decomposition—mathematical techniques that break down matrices into fundamental components—to extract unique signatures from these weights. Because this fingerprinting operates intrinsically within the model itself, it doesn't depend on feeding data into the model or observing its outputs.
The resulting fingerprints remain stable and identifiable even when models undergo typical transformations, making them reliable forensic evidence of a model's origin and lineage.
Demonstrated Strengths#
Testing shows that SELF maintains high accuracy in detecting genuine intellectual property infringement while dramatically reducing false positives compared to existing methods. Crucially, the fingerprints resist various attacks that models commonly face in practice—including quantization (reducing numerical precision), pruning (removing less important connections), and fine-tuning on new tasks. These resilience qualities make SELF far more practical for real-world IP protection.
Research code for the method is available online.
