Cited by 4Authorship Attribution and ProfilingTopic ModelingArtificial Intelligence in Education

Towards AI-Generated Essay Classification Using Numerical Text Representation

Open access
Krawczyk, Natalia, Probierz, Barbara, Kozak, Jan·2024·Applied Sciences

Abstract

The detection of essays written by AI compared to those authored by students is increasingly becoming a significant issue in educational settings. This research examines various numerical text representation techniques to improve the classification of these essays. Utilizing a diverse dataset, we undertook several preprocessing steps, including data cleaning, tokenization, and lemmatization. Our system analyzes different text representation methods such as Bag of Words, TF-IDF, and fastText embeddings in conjunction with multiple classifiers. Our experiments showed that TF-IDF weights paired with logistic regression reached the highest accuracy of 99.82%. Methods like Bag of Words, TF-IDF, and fastText embeddings achieved accuracies exceeding 96.50% across all tested classifiers. Sentence embeddings, including MiniLM and distilBERT, yielded accuracies from 93.78% to 96.63%, indicating room for further refinement. Conversely, pre-trained fastText embeddings showed reduced performance, with a lowest accuracy of 89.88% in logistic regression. Remarkably, the XGBoost classifier delivered the highest minimum accuracy of 96.24%. Specificity and precision were above 99% for most methods, showcasing high capability in differentiating between student-created and AI-generated texts. This study underscores the vital role of choosing dataset-specific text representations to boost classification accuracy.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.3390/app14219795

Cites

20 of 22 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Bag of Words and fastText consistently produced accuracies above 96.50%.

    “Additionally, methods like Bag of Words and fastText consistently produced accuracies above 96.50%.”

    From Evaluating the Effectiveness and Ethical Implications of AI Detection Tools in Higher Education (2025) · cites this paper as [22]

    The Conclusions state that Bag of Words and fastText models trained on the study’s dataset exceeded 96.50% accuracy with all classifiers. But the claim leaves fastText unqualified: the Results report that a pretrained fastText model fell to 89.88% with logistic regression, so fastText did not consistently exceed the threshold across all versions tested. (LLM, conf=0.89)

    Experimental — accuracy not yet measured
  • AI detection tools remain unreliable for high-stakes academic decisions.

    “In summary, while AI detection tools have shown promise, they remain unreliable for high-stakes academic decisions [22].”

    From Evaluating the Effectiveness and Ethical Implications of AI Detection Tools in Higher Education (2025) · cites this paper as [22]

    The Related Works section reports that existing detectors can be inaccurate and unreliable, and the Conclusions note limitations of general-purpose classifiers. But the paper does not assess their suitability for high-stakes academic decisions; its own essay classifiers achieved high accuracy. No page numbers were supplied in our copy. (LLM, conf=0.84)

    Experimental — accuracy not yet measured
  • Many current detectors rely heavily on outdated linguistic heuristics and were trained on earlier-generation models, making them less effective at identifying advanced AI-generated content.

    “Many current detectors rely heavily on outdated linguistic heuristics and were trained on earlier-generation models, making them less effective at identifying advanced AI-generated content.”

    From Evaluating the Effectiveness and Ethical Implications of AI Detection Tools in Higher Education (2025) · cites this paper as [22]

    Section 2 (Related Works; page not provided) says early detectors used linguistic or statistical patterns and became less precise as language models evolved. It does not establish that many current detectors rely heavily on outdated heuristics or were trained on earlier-generation models. (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • White-box methods offer full access to a language model's internal mechanisms, supporting real-time behavior tracking.

    “These white-box methods offer full access to a language model's internal mechanisms, supporting real-time behavior tracking.”

    From Evaluating the Effectiveness and Ethical Implications of AI Detection Tools in Higher Education (2025) · cites this paper as [22]

    The Related Works section says white-box detection provides full access to the target language model and allows its behavior to be monitored and controlled. It does not specify real-time behavior tracking, so that qualifier is not supported by the passage. (LLM, conf=0.84)

    Experimental — accuracy not yet measured
  • TF-IDF paired with logistic regression achieved the highest overall accuracy of 99.82%.

    “Among these, TF-IDF paired with logistic regression achieved the highest overall accuracy of 99.82%.”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 9

  1. Liu, Y.; Ott, M.; Goyal, N.; Du, J.; Joshi, M.; Chen, D.; Stoyanov, V. Roberta: A robustly optimized bert pretraining approach. arXiv 2019, arXiv:1907.11692. · arXiv
  2. Tabassum, A.; Patil, R.R. A Survey on Text Pre-Processing & Feature Extraction Techniques in Natural Language Processing. Int. Res. J. Eng. Technol. (IRJET) 2020, 7, 4864-4867.
  3. Joulin, A.; Grave, E.; Bojanowski, P.; Douze, M.; Jégou, H.; Mikolov, T. FastText.zip: Compressing text classification models. arXiv 2016, arXiv:1612.03651. · arXiv
  4. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Polosukhin, I. Attention is all you need. arXiv 2017, arXiv:1706.03762. · arXiv
  5. OpenAI. GPT-4 Technical Report. arXiv 2023, arXiv:2303.08774. · arXiv
  6. Shyam, P.; Sastry, G.; Askell, A. Language models are few-shot learners. arXiv 2020, arXiv:2005.14165. · arXiv
  7. Ziegler, D.M.; Stiennon, N.; Wu, J.; Brown, T.B.; Radford, A.; Amodei, D.; Irving, G. Fine-tuning language models from human preferences. arXiv 2019, arXiv:1909.08593. · arXiv
  8. Naveed, H.; Khan, A.U.; Qiu, S.; Saqib, M.; Anwar, S.; Usman, M.; Mian, A. A Comprehensive Overview of Large Language Models. arXiv 2023, arXiv:2307.06435. · arXiv
  9. Sanh, V.; Debut, L.; Chaumond, J.; Wolf, T. DistilBERT, a distilled version of BERT: Smaller, faster, cheaper and lighter. arXiv 2019, arXiv:1910.01108 · arXiv

Cited by

Sorted by citations

Authors
Krawczyk, N., Probierz, B., & Kozak, J.
Affiliations
  • University of Economics in Katowice (PL)
  • Department of Machine Learning, University of Economics in Katowice, 1 Maja 50, 40-287 Katowice, Poland
Corresponding author
Probierz, Barbara
Venue
Applied Sciences
Publisher
MDPI AG
Published
2024-10-26
Volume
14
Issue
21
Pages
9795
ISSN
2076-3417 (ISSN-L)
OpenAlex
W4403810633
Cited by
4
References
19
Citations by year
2026: 1 · 2025: 3
FWCI
0.59
Type
journal article
Language
en
Open access
Locations
  • Applied Sciences (publishedVersion, cc-by)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Authorship Attribution and Profiling
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Information Systems › Artificial Intelligence in Education
Keywords
AI-generated text detection, TF-IDF, bag-of-words, FastText embeddings, sentence embeddings, MiniLM, DistilBERT, logistic regression, XGBoost, text preprocessing

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review