Your Large Language Models Are Leaving Fingerprints
Hope McGovern, Rickard Stureborg, Yoshi Suhara, Dimitris Alikaniotis
TL;DR
This work reframes machine-generated text detection as an authorship-identification problem and introduces LLM fingerprints—distinct lexical and morphosyntactic patterns left by models. By combining word, character, and POS n-gram features with a GradientBoost classifier, the authors achieve strong cross-domain and multiclass detection across five GTD datasets, often rivaling neural detectors. Fingerprints prove to be robust within model families and across domains, though they can be altered by targeted fine-tuning or instruction tuning, and are less transferable across different model families. The findings advocate for simple, interpretable feature-based baselines as reliable detectors and offer a new lens on evaluating and understanding LLM-generated text across real-world contexts.
Abstract
It has been shown that finetuned transformers and other supervised detectors effectively distinguish between human and machine-generated text in some situations arXiv:2305.13242, but we find that even simple classifiers on top of n-gram and part-of-speech features can achieve very robust performance on both in- and out-of-domain data. To understand how this is possible, we analyze machine-generated output text in five datasets, finding that LLMs possess unique fingerprints that manifest as slight differences in the frequency of certain lexical and morphosyntactic features. We show how to visualize such fingerprints, describe how they can be used to detect machine-generated text and find that they are even robust across textual domains. We find that fingerprints are often persistent across models in the same model family (e.g. llama-13b vs. llama-65b) and that models fine-tuned for chat are easier to detect than standard language models, indicating that LLM fingerprints may be directly induced by the training data.
