wikillm

Paper · 2024-07-04 · cs.CL, cs.AI

Differentiating Between Human-Written and AI-Generated Texts Using Automatically Extracted Linguistic Features

Ten essays (five IELTS task samples, five GPT-4 essays matched in length) were profiled with the Open Brain AI web tool into 94 phonological, morphological, syntactic and lexical measures. Wilcoxon tests and per-domain LASSO found AI text higher in nouns, alveolar consonants and difficult words, and lower in pronouns, dentals and function words. Author-reported; five texts per group.

AI-generated text detectionLasso regressionFeature selectionai-text-detectionstylometrylinguistic-featureschatgptessaysexploratory-study

arXivPDFMarkdown11 min read

AI-compiled by claude-haiku-5-5 on 2026-11-01, not yet reviewed by a human. Every claim cites its source; check it when a detail matters.

In plain words

Many people now ask whether a piece of writing came from a person or from a chatbot. This small study took ten short essays on everyday topics. Five were written by people for an English language exam, and five were written by ChatGPT from the same kind of prompt, at about the same length. Instead of judging the essays by reading them, the author ran each one through a web tool that counts features of the text: its sounds, its word types, its sentence parts and how difficult its words are.

The ChatGPT essays looked fluent, but the counts differed. They used more nouns, more of certain consonant sounds and more difficult words, and fewer pronouns and function words. The author suggests that such differences could help detect AI text or guide how models are trained. The study is small and exploratory, so it is a starting point for larger work, not a general rule.

TL;DR

  • Ten essays: five authentic IELTS writing task samples and five GPT-4 essays prompted to match them §2.1 p. 5.
  • Each text was profiled by the Open Brain AI web platform into 94 measures (22 phonological, 15 morphological, 44 syntactic, 13 lexical) §2.1 p. 6.
  • Univariate Wilcoxon rank-sum tests with Hedges' g, then one LASSO model per linguistic domain §2.2 p. 6.
  • Author-reported differences are large in effect size but rest on five texts per group. No code or data is released.

Problem

Detecting AI-written text with black-box scores is hard to explain, and published comparisons of human and ChatGPT writing are few §1 p. 1–4. The paper asks which phonological, morphological, syntactic and lexical features separate the two kinds of text, using measures that can be read off directly §1.2 p. 4. The author calls the study exploratory and not exhaustive §1.2 p. 4.

Method

The study has five steps. The texts are normalised lightly, then profiled by the platform's linguistic module. Features are kept if they are counts or normalised frequencies and appear in at least 80% of texts §2.1 p. 5–6. Each kept feature is tested univariately. Finally, a LASSO model is fitted per domain with AI or human source as the binary outcome §2.2 p. 6.

  1. Corpus. Five human essays are IELTS task samples written by professional English teachers, aimed at B2–C1 level. Five essays are generated by ChatGPT (GPT-4, March 2024 version) through the web interface with default platform settings. Each generated text targets the length of its human counterpart. The prompts ask for academic English and structure typical of IELTS Band 8 §2.1 p. 5.
  2. Normalisation. Unicode is normalised to UTF-8; whitespace is trimmed and collapsed; smart quotes become straight quotes and em/en dashes become hyphens; HTML tags and copy-paste artifacts are removed. Words, punctuation and case are kept §2.1 p. 5.
  3. Profiling. Each text goes through the Open Brain AI beta web platform's linguistic profiling module (readability, phonology, morphology, syntax and lexis). The platform runs its own NLP pipeline (tokenisation, lemmatisation, POS tagging, parsing). The paper uses the per-document table as output without changes §2.1 p. 5–6.
  4. Feature filter. Keep counts or normalised frequencies of constituents (words, syllables, clauses or phrases). Keep features present in at least 80% of texts. Readability indices are analysed descriptively §2.1 p. 6.
  5. Univariate tests. For each feature, a Wilcoxon rank-sum test (W, p) and Hedges' g with 95% CI. Holm correction is applied "when appropriate" §2.2 p. 6.
  6. Multivariate selection. One LASSO model per domain (phonology, morphology, syntax, lexicon). The outcome is AI versus human. The model is fitted with glmnet, family binomial, α = 1, on unscaled features. The penalty is the λ that minimises cross-validated classification error (λ_min). Non-zero coefficients at λ_min are the selected features. Positive weights mean more typical of AI text, negative weights more typical of human text §2.2 p. 6.
Pseudocode
# Input: five human essays, five generated essays (plain text)
# Output: univariate tests and one LASSO model per linguistic domain

def analyse(human_texts, ai_texts):
    # 1. Light, content-preserving normalisation  [§2.1] [p. 5]
    texts = [normalise(t) for t in human_texts + ai_texts]

    # 2. One row per text, one column per measure  [§2.1] [p. 5–6]
    #    The paper does not state how ratios are normalised.
    table = platform_profile(texts)

    # 3. Keep count or normalised measures in >= 80% of texts  [§2.1] [p. 6]
    kept = [m for m in table.measures if share_present(m) >= 0.8]

    # 4. Per measure: rank-sum test and Hedges' g  [§2.2] [p. 6]
    for m in kept:
        p, W = wilcoxon_rank_sum(m.human, m.ai)
        # Sign convention inferred from the Results text: positive = AI higher
        # [§3] [p. 7]
        g, ci = hedges_g(m.ai, m.human)

    # 5. Holm correction, scope not stated  [§2.2] [p. 6]
    p_adjusted = holm(all_p_values)

    # 6. One binomial LASSO per domain, alpha = 1, lambda at minimum CV error
    #    [§2.2] [p. 6]
    for domain in [phonology, morphology, syntax, lexicon]:
        coefs = lasso_cv(domain.measures, label=is_ai)
        selected = [m for m in domain.measures if coefs[m] != 0]

    return tests, selected

Hyperparameters

The paper has no training hyperparameters. The table lists the study's settings and what is not stated.

NameValueWhereNotes
essays per source5 human, 5 ChatGPT§2.1 p. 510 texts in total
human essay lengthmean 310 words (SD 48.19); 17.2 sentences (SD 3.77)§2.1 p. 5one set of values; split by source not stated
generatorChatGPT, GPT-4, March 2024 version, web interface§2.1 p. 5
decodingplatform defaults; temperature, top-p and penalties not adjustable§2.1 p. 5the paper gives no seed or repeat count
target lengthmatched to the human counterpart§2.1 p. 5
prompttask instruction, length, formal register, "Band 8" style directive§2.1 p. 5the full prompt text is not given
context or examples in promptnone§2.1 p. 5
preprocessingas Method step 2§2.1 p. 5em/en dashes become hyphens
measures extracted94 (22 phon., 15 morph., 44 syn., 13 lex.)§2.1 p. 6Table 2 tests 35 of them; the filter used is not shown
linguistic observations9201§1.2 p. 4; §2.1 p. 6how this count arises is not stated
presence threshold80% of texts§2.1 p. 6
univariate testWilcoxon rank-sum§2.2 p. 6two-sidedness not stated
effect sizeHedges' g; CI via effsize§2.2 p. 6CI method for g not stated
multiple comparisonsHolm, "when appropriate"§2.2 p. 6which p-values were adjusted is not stated
significance levelnot statedthe text calls p < 0.05 results significant
LASSOglmnet, family binomial, α = 1§2.2 p. 6one model per domain
penalty choiceλ_min, internal cross-validation§2.2 p. 6folds and seed not stated; coding of AI/human outcome not stated
features in LASSOunscaled, original scale§2.2 p. 6
softwareR; packages glmnet, effsize, rstatix§2.2 p. 6versions not stated; R cited as [30]
platformOpen Brain AI beta web platform§2.1 p. 5version and feature definitions not stated

Results

Author-reported. Setup: 5 authentic IELTS task samples and 5 GPT-4 essays, measured by the Open Brain AI platform, tested with Wilcoxon rank-sum and per-domain LASSO §2.1–2.2 p. 5–6. Table 2 is reproduced in full; p-values are as printed and the sign of g is as printed. The Results text reads positive g as higher in AI text (see Pitfalls).

Univariate Wilcoxon results, all 35 tested features tab. 2 p. 8–9:

levelfeaturep-value95% CIWHedges' g
phonologyapproximant1.0000−1.48 – 1.1612−0.16
phonologyfricative0.4034−1.95 – 0.758−0.60
phonologylateral1.0000−1.12 – 1.53130.20
phonologynasal0.02160.01 – 2.99241.50
phonologyplosive0.4034−0.60 – 2.13170.77
phonologyalveolar0.01220.80 – 4.37252.58
phonologydental0.0216−3.83 – −0.511−2.17
phonologylabiodental0.0216−3.54 – −0.341−1.94
phonologypostalveolar0.2963−0.86 – 1.81180.47
phonologyvoiced0.4034−1.83 – 0.848−0.50
phonologyvoiceless0.03670.00 – 2.98231.49
phonologyprimary stress0.2963−2.40 – 0.407−1.00
phonologysecondary stress0.8345−1.35 – 1.2011−0.03
morphologyadjective0.03670.25 – 3.38231.81
morphologyadposition0.0212−3.62 – −0.391−2.00
morphologyadverb0.6752−1.15 – 1.49150.17
morphologyauxiliary0.0122−3.97 – −0.590−2.28
morphologycoordinating conjunction0.03560.03 – 3.02231.52
morphologynoun0.01220.78 – 4.33252.56
morphologyparticle0.7526−1.45 – 1.1810.5−0.14
morphologypronoun0.0119−5.20 – −1.220−3.21
morphologysubordinating conjunction0.2059−2.21 – 0.546−0.84
morphologyverb0.8345−1.23 – 1.40140.09
syntaxadjectival modifier0.02780.15 – 3.2223.51.68
syntaxadverbial modifier1.0000−1.39 – 1.2512−0.07
syntaxconjunct0.01600.05 – 3.0524.51.55
syntaxdeterminer0.1732−2.23 – 0.525.5−0.85
syntaxdirect object0.0662−0.24 – 2.6221.51.19
syntaxnominal subject0.2101−0.39 – 2.41191.01
syntaxobject of preposition0.0465−2.93 – 0.032.5−1.45
syntaxprepositional modifier0.0367−3.22 – 0.162−1.69
syntaxroot0.1732−0.69 – 2.0219.50.66
lexicondifficult word0.01221.02 – 4.79152.90
lexiconcontent word0.01220.88 – 4.51252.69
lexiconfunction word0.0122−4.78 – −1.010−2.90

Readability indices, descriptive only, columns human then AI tab. 1 p. 7–8:

measurehumanAI
Estimated Reading Time (sec)22.46226.764
Flesch Reading Ease55.35228.444
Flesch-Kincaid Grade Level10.36613.795
Gunning Fog Index12.53716.391
Coleman-Liau Index11.65117.306
Automated Readability Index11.49815.463
Smog Index12.48215.690
Linsear Write Formula2.6452.715
Passive Sentences Percent33.59311.055
Dale Chall Readability Score9.49812.176
Difficult words95.800146.00

LASSO coefficients at λ_min, one model per domain, original scale tab. 3 p. 11–12. The column is headed "p-value" in the paper but holds coefficients. Features not listed as non-zero have coefficient 0.

levelfeaturecoefficient
phonologyprimary stress−269.2275
phonologyalveolar122.52697
phonologyvoiceless53.26128
phonologydental−20.5736
morphologypronoun−99.27591
morphologyauxiliary−21.29675
morphologynoun21.17488
syntaxprepositional modifier−26.1565252
syntaxadjectival modifier24.0081669
syntaxconjunct21.642647
syntaxnominal subject0.5338395
lexiconfunction words−8.95668793
lexicondifficult words0.01683913

Headline reading the author gives: the human texts have more adjectives, adpositions, auxiliaries and pronouns, and the AI texts have more coordinating conjunctions, nouns, difficult words and content words §3 p. 7; §4 p. 12–13.

Paper vs code

No official code. The paper gives no code link, no project page, and no data repository. Data is "available on request" and not public, because the human essays are under copyright and licence [data availability statement] p. 15. The platform, Open Brain AI, is a web service §2.1 p. 5. The raw arXiv metadata has no comments field. GitHub repository searches through the API were run on the title words and the author name, on the author's lab ("Georgiou Phonetic Lab"), on the platform ("Open Brain AI Themistocleous") and on the topic ("ChatGPT essays linguistic features human AI"). Each returned zero repositories.

Pitfalls

  • Five texts per group. The sample is five human and five generated texts (n = 5 per group in each test). The paper calls the sample limited §2.1 p. 6 and exploratory §1.2 p. 4. Treat the effect sizes as descriptive, not as population estimates.
  • Generator prompt confound. The prompt asks for IELTS Band 8 style, while the human essays are described as B2–C1 §2.1 p. 5. Differences may reflect the prompt's target register as well as the model.
  • Only one model and one configuration. The study uses GPT-4 (March 2024) through the web interface with defaults. No other model, sampling setting or version is tested §2.1 p. 5.
  • Feature counts do not add up. 94 measures are extracted and Table 2 tests 35 of them (13 phonology, 10 morphology, 9 syntax, 3 lexicon). The filter that removed the rest is not shown §2.1 p. 6 tab. 2 p. 8–9. "9201 observations" §2.1 p. 6 does not match 94 measures × 10 texts = 940; the paper does not explain the count.
  • Normalisation unknown. The paper says features are counts or normalised frequencies, but not which denominator (words, syllables, clauses) each one uses §2.1 p. 6. Implementers need the platform's definitions to reproduce the values.
  • Orthographic, not acoustic, phonology. The phonological measures are inferred from spelling through grapheme-to-phoneme conversion, not from audio. The paper says this may bias the results for irregular or reduced spellings §4 p. 12.
  • Sign convention. Table 2 gives Hedges' g, but the sign direction is stated only in the Results text, which describes the AI text as having more difficult and content words (difficult words g = 2.90) §3 p. 7. Read positive g as higher in AI text, and treat that as inferred from the text.
  • p-value and CI disagree in places. Several rows have p < 0.05 while the 95% CI includes 0 (e.g. object of preposition p = 0.0465, CI −2.93 to 0.03; voiceless p = 0.0367, CI 0.00 to 2.98; prepositional modifier p = 0.0367, CI −3.22 to 0.16). The p-value comes from the Wilcoxon test and the CI from effsize, so they are not expected to match tab. 2 p. 8–9.
  • Holm scope and threshold unclear. Holm correction is applied "when appropriate", and the significance level is never stated. Whether Table 2's p-values are adjusted is not stated §2.2 p. 6.
  • Primary stress: significant in LASSO, not in tests. Primary stress has p = 0.2963 and g = −1.00 tab. 2 p. 8, yet it has the largest-magnitude LASSO coefficient tab. 3 p. 11. The Discussion says it "did not differ significantly" but is the most influential phonological predictor §4 p. 12.
  • LASSO coefficients are unscaled. All variables are used on their original scale §2.2 p. 6. Coefficient magnitudes (for example −269.2 and 0.017) therefore depend on each measure's units and cannot be compared directly.
  • LASSO detail missing. The λ value, the number of folds, the random seed and the coding of the AI/human outcome are not stated. With ten texts, the selected set can change with the fold split. Rerunning the analysis may give different non-zero features.
  • Table 3 header. The column is labelled "p-value" but holds LASSO coefficients tab. 3 p. 11.
  • Readability is not tested. Table 1 has no p-values. The Results text says "we used statistical analyses" for the comparisons as a whole §3 p. 7, while §2.1 says readability is analysed descriptively §2.1 p. 6.
  • Detection limits. The author warns that surface cues may shift with newer models and decoding strategies, and that detectors built on them risk false positives and misuse §5 p. 14. Do not use these features as a classifier without validation on new data.

Lineage

  • Builds on: stylometry and computational linguistics traditions §1 p. 4. The paper extends earlier part-of-speech, lexical-density and cohesion work by adding phonology-adjacent measures and nonparametric tests §1 p. 4.
  • Related work discussed: Alexander et al. [10], Herbold et al. [11], Cai et al. [12] and Liao et al. [13] on human versus AI writing §1 p. 2; DetectGPT [14] and Fast-DetectGPT [15] on likelihood-based detection §1 p. 3.
  • Compared against: §4 p. 12–13 compares the findings with Alexander et al. and Liao et al.
  • Superseded by: not stated.

Source and license

Adapted from “Differentiating Between Human-Written and AI-Generated Texts Using Automatically Extracted Linguistic Features” by Georgios P. Georgiou (arXiv:2407.03646), used under CC BY 4.0. Changes: condensed and restructured for implementation, with tables, equations and algorithms taken from the paper and its code, each cited to its source. Not affiliated with or endorsed by the authors.