Objective
Generative AI tools such as ChatGPT can write stories, essays and reports that look like human work. For teachers, this makes it harder to know who wrote a piece of student work. The authors say this problem is especially tricky in second-language classes, because the mistakes learners make can look very different from the smooth text of a language model.
This paper tests an approach called stylometry, which measures writing style with numbers, such as vocabulary variety, sentence length and use of small function words. The authors combine these measures with machine learning, meaning computer programs that learn patterns from labeled examples, to guess whether a text was written by a learner or by ChatGPT.
The paper lists these aims:
- Compare ChatGPT short-story retellings with retellings written by non-native learners of German.
- Find which style measures best separate the two.
- Build and compare machine learning classifiers (support vector machine, random forest and others) for authorship prediction.
- Judge how useful style measures are for spotting AI-written text.
The authors say earlier work has mostly looked at English essays, reviews and academic writing, and has given little attention to creative writing by language learners.
Methods
This was a data analysis study with a small text collection. It can show whether style measures separated these two sets of texts, but it cannot show how a detector would behave on other students or in real classrooms.
The texts
The authors built a balanced set of 60 short-story retellings based on classic literary works: 30 written by students and 30 generated by ChatGPT. Both groups got the same prompts and adaptation guidelines. Students were asked to retell the original stories in their own words and keep the plot. The paper does not say which ChatGPT version was used, the language of the prompts, or how long the students had to write.
The students
The 30 learners were undergraduates in German language courses at a higher education institution. They were aged 19 to 24 (mean 21.3 years), and 16 were female and 14 male. Their first languages included English, Tamil, Hindi, Telugu and Malayalam. Their German level was intermediate (CEFR B1 to B2). They took part voluntarily and gave informed consent.
Measuring style
After cleaning the texts, the team extracted four kinds of features: vocabulary (for example the type-token ratio, a measure of word variety), sentence structure (sentence length, the share of simple, compound and complex sentences), layout (paragraphs, punctuation, dialogue) and readability and meaning consistency. They kept the useful features using three selection methods.
Classifiers and checks
They trained a support vector machine (SVM) and a random forest, and tested with stratified 10-fold cross-validation, where the data is split into 10 parts and each part takes a turn as the test set. They also ran t-tests and other statistical tests with a significance level of p less than 0.05.
Key Findings
On these 60 texts, ChatGPT's retellings differed from the learners' in measurable ways, and the classifiers separated the two groups with high accuracy.
How the texts differed
- Vocabulary: the type-token ratio was 0.58 for student texts and 0.74 for ChatGPT texts. The share of words used only once was 18.3% for students and 29.7% for ChatGPT. Repeated words made up 22.8% of student text and 9.7% of ChatGPT text.
- Sentences: average sentence length was 14.8 words for students and 21.4 for ChatGPT. Complex sentences made up 24.1% of student text and 47.8% of ChatGPT text, while simple sentences were 44.5% and 13.6%.
- Readability: the reading ease score was 71.2 for students and 62.4 for ChatGPT, so ChatGPT's text was harder to read.
- Story quality: the authors scored plot preservation at 73.4% for students and 95.1% for ChatGPT, and character consistency at 76.8% and 96.5%. The paper does not explain how these scores were produced.
How well the classifiers worked
- The SVM reached an accuracy of 94.8%, precision of 93.7%, recall of 95.2% and an F1-score of 94.4%.
- The random forest scored lower on every measure: accuracy 92.3%, precision 91.2%, recall 90.8% and F1-score 91.0%.
- The area under the ROC curve, a measure of how well a model separates two groups, was 0.97 for SVM and 0.94 for random forest.
- Only three of the 60 texts were misclassified: 2 student texts were labeled as ChatGPT and 1 ChatGPT text was labeled as a student text.
Which features mattered
Lexical diversity ranked first in importance (0.182), followed by average sentence length (0.156), readability score (0.141) and function word frequency (0.128). The statistical tests reported differences between the two groups on lexical diversity, sentence length, vocabulary richness, readability and narrative coherence, all at p less than 0.05.
Other details
- The narrative coherence score was 0.68 for student texts and 0.91 for ChatGPT texts, and theme preservation was 79.1% for students and 94.8% for ChatGPT.
- Average word count was 482.0 for students and 537.0 for ChatGPT, and average paragraph count was 5.2 versus 6.8.
- The paper reports these differences as group averages, so they do not describe any single student.
Implications
The authors say the approach could help in educational assessment, plagiarism detection, authorship checks and tools that support academic integrity in language courses. Their results are promising, but the sample is small, so practical advice has to stay modest.
What the authors suggest
- Style measures may be a useful, explainable way to flag AI-written text in second-language courses, since the measures can be named and checked.
- Researchers and developers can use lexical diversity, sentence complexity, readability and function-word use as starting points for detection tools.
Our reading (not the authors' recommendation):
- Teachers should not accept a detector's label as proof of cheating. A flagged text could be a starting point for a conversation with the student, not a penalty.
- Instructors could compare a submission with earlier samples of the same student's writing, because the study compared groups of texts, not one student over time.
- Language teachers could notice that a very smooth text with long, layered sentences is different from the writing of learners at this level, which showed shorter, simpler sentences and repeated words in this study. This is only a pattern from 30 students and not a rule.
- Programs should treat any detector as one input among others and tell students how such tools are used.
The evidence is not strong enough to recommend using this classifier for grading or discipline decisions.
Limitations
The paper has no separate limitations section, so the weaknesses below come from reading the design.
- The paper does not mention, but the data set is very small: 60 texts, with 30 per group. Results from such a small collection can change a great deal with a few different texts.
- The paper does not mention, but all students came from one program, were at a similar level and wrote one kind of task, a story retelling. The result may not carry over to essays, other languages, other levels or other writing tasks.
- The paper does not mention, but ChatGPT was asked to do the same task once the same way, and the paper does not say which version or settings were used. Newer models, or a student who edits AI output, might look very different.
- The paper does not mention, but the tests did not include texts where students used AI help or rewrote AI text, which is a common real-world case.
- The paper does not mention, but the story-quality scores such as plot preservation are not explained, so it is unclear who or what produced them.
- The paper does not mention, but cross-validation on 60 texts does not test the model on writing from new students or new courses.
There are also signs of editing slips in the text: one list of aims refers to learners with Italian as a first language and to "A1C" text, which does not match the German learners described elsewhere. Readers should treat details with some caution.
Future Directions
The paper does not give a dedicated list of next steps. Based on the gaps the authors name, these questions remain open:
- Do the same style differences appear in other writing tasks, such as essays or reports, and in other languages?
- Does the classifier still work on larger collections and on learners at other proficiency levels?
- How does it perform on texts written by students with AI help, or on edited AI text?
- The authors say existing work gives little attention to how understandable detection tools are and how useful they are in real learning settings. How would a teacher actually use and interpret such a tool?
A further open point is whether the style measures stay useful as language models improve, since the paper itself notes that differences between human and AI text have been shrinking.
The bottom line: In this small test, a classifier built on writing-style measures separated 30 ChatGPT retellings from 30 retellings by German learners with 94.8% accuracy, and ChatGPT's texts showed longer sentences and wider vocabulary. The evidence is early: one task, one program, a very small set of texts, and no tests on edited or AI-assisted student writing. Educators can take away that style differences exist, but should not rely on a detector like this to judge individual students without other evidence.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.