Probing the Uniquely Identifiable Linguistic Patterns of Conversational AI Agents

Iqra Zahid, Tharindu Madusanka, Riza Batista-Navarro, Youcheng SunACL 2024

Abstract

As large language models (LLMs) proliferate, distinguishing between machine-generated and human-written text is no longer sufficient; identifying the specific source model is the next frontier in digital forensics. This study investigates the existence of "linguistic fingerprints"—Uniquely Identifiable Linguistic Patterns (UILPs)—across five prominent AI agents. By employing an Extended Writeprint (EWP) feature set and various classification models, we demonstrate that AI models can be identified with over 96% accuracy, even when prompted to adopt diverse stylistic genres.

Introduction

The rapid integration of conversational AI into digital communication has led to an influx of machine-generated content. While previous research has focused on AI detection generally, this work addresses the "forensic linguistics" challenge of identifying which specific model authored a text. We explore whether AI agents possess an "idiolect"—a unique individual language identity—similar to human authors. Establishing these patterns is vital for detecting misinformation, preventing plagiarism, and ensuring transparency in online discourse.

Methodology

The research utilizes a multi-staged approach to isolate and classify linguistic signatures:

  1. Extended Writeprint (EWP): A comprehensive feature set comprising 11 categories, including lexical traits (vocabulary richness), syntactic patterns (POS and dependency tags), and phonetic markers (alliteration).
  2. Dimensionality Reduction: Principal Component Analysis (PCA) was applied to distill the top 100 most informative linguistic features for each model.
  3. Classification: Traditional machine learning classifiers (Logistic Regression, Random Forest, SVM) were benchmarked against a fine-tuned DeBERTa transformer model to compare interpretable linguistic analysis with deep learning performance.

Datasets

Two primary datasets were constructed for this study:

  • Original Dataset: 1,000 texts generated by GPT-4, GPT-3.5, Text-Curie-001, PaLM-2, and LLaMA2-7b based on ten diverse BBC news prompts.
  • Stylistic Dataset: A subset of the original texts paraphrased into five genres: general paraphrase, fictitious narrative, tweet, social media blog, and academic article. This dataset tests the persistence of linguistic fingerprints across varying contexts.

Results

The experimental results confirm that AI models exhibit highly distinct linguistic habits. The DeBERTa model achieved a peak weighted F1-score of 99.11% on the original dataset. Notably, interpretable models like Logistic Regression (LR) performed remarkably well, reaching 96.94% accuracy on the original data and 97.50% on the GPT-specific subset.

Classification performance across different datasets and model architectures.

The system also demonstrated significant robustness across genres. In the Stylistic Dataset, the LR model maintained an F1-score of 95.84%, suggesting that a model's underlying "fingerprint" remains detectable even when it attempts to mask its style through genre-specific constraints.

Discussion: Linguistic Individuality and Family Resemblance

A key insight from this study is the "family resemblance" between models of similar lineage. For instance, GPT-3.5 and GPT-4 share more linguistic features with each other than with models like LLaMA2-7b. This overlap is likely due to shared training data and architectural similarities.

Venn diagrams illustrating the overlap and uniqueness of linguistic features between model pairs.

Despite these overlaps, each model retains a unique core. The PCA analysis showed that models could be identified with high accuracy using only their top 100 unique features. Text-Curie-001 was found to be the most linguistically distinct, while LLaMA2-7b was characterized by a unique distribution of function words compared to the OpenAI models.

Conclusion

This research provides strong evidence for the existence of UILPs in conversational AI. These fingerprints are robust enough to survive stylistic paraphrasing and can be identified using both deep learning and transparent, interpretable linguistic features. Future work should expand this analysis to a larger number of models, investigate cross-lingual fingerprints, and explore adversarial prompting techniques designed to evade detection.

Summary updated

BibTeX
@inproceedings{zahid2024probing,
  author = {Iqra Zahid and Tharindu Madusanka and Riza Batista-Navarro and Youcheng Sun},
  title = {{Probing the Uniquely Identifiable Linguistic Patterns of Conversational AI Agents}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.274},
}
Figure