Statistical Laws of Language as a Stylometric Fingerprint for Machine-Generated Text Detection in Spanish

Authors

DOI:

https://doi.org/10.21814/lm.18.2.510

Keywords:

authorship analysis, stylometry, statistical laws of language, quantitative linguistics, machine-generated texts

Abstract

This paper examines the discriminative capacity of a set of linguistic descriptors and statistical language laws (Zipf's law, Heaps' law, and the brevity principle) to distinguish human-authored from machine-generated scientific articles in Spanish. Using the ROBOT-TALK corpus (Alonso et al., 2024), we build a paired set of 90 articles, each with its human-authored version and six machine-generated equivalents (Bard, Claude 3.5 Sonnet, DeepSeek-V3, GPT-3.5-turbo, GPT-4, Mixtral-8x7B-Instruct). Fifteen stylometric features that do not depend on the text's specific vocabulary are evaluated via group-based cross-validation. Sentence-length features—associated with the syntactic dimension of the brevity principle—are the most discriminative individual feature group; the full feature set reaches F1=0.943, matching Burrows' Delta (2002) without using any specific lexical form. The false positive rate on human texts is below 4% (FPR=0.033; SVM). The most recent models (Claude 3.5 Sonnet, DeepSeek-V3, GPT-4) are statistically closest to the human profile, whereas telling the LLMs apart from one another is more challenging (macro-F1=0.699). These results suggest that sentence-level linguistic descriptors can serve as interpretable, vocabulary-independent stylometric markers for authorship analysis in the LLM era.

Published

2026-11-25

Issue

Section

Research Articles

How to Cite

Statistical Laws of Language as a Stylometric Fingerprint for Machine-Generated Text Detection in Spanish. (2026). Linguamática, 18(2). https://doi.org/10.21814/lm.18.2.510