Statistical Laws of Language as a Stylometric Fingerprint for Machine-Generated Text Detection in Spanish
DOI:
https://doi.org/10.21814/lm.18.2.510Keywords:
authorship analysis, stylometry, statistical laws of language, quantitative linguistics, machine-generated textsAbstract
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.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Isabel Moyano-Moreno

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








