You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

KUFA: A Source-Grouped Corpus for AI-Generated Text Detection

KUFA contains 83,020 English documents (41,575 human-written, 41,445 AI-generated) in seven domains, built for the paper "SupCon-Attn: Supervised Contrastive Sentence Encoding with Attention-Pooled Document Classification for AI-Generated Text Detection and Sentence-Level Interpretation".

Splits

Documents are split by source_id, so a human text and every AI text produced from it fall in the same partition. No source_id and no identical text occurs in more than one partition.

Split Documents Human AI
train 66,462 33,259 33,203
validation 8,275 4,157 4,118
test 8,283 4,159 4,124

Domains

Academic 53,874; reviews 5,248; answers 5,174; story 5,014; wiki 5,002; news 4,841; opinion 3,867.

Text types (text_type)

Human-Written (41,575); AI-Generated (14,189); AI-Humanized (13,685); AI-Paraphrased (13,571).

Columns

Column Description
title Document title (academic documents only; empty in the other domains)
text Document text
label 0 = human, 1 = AI
domain One of the seven domains
model_used Generator of the AI text
word_count Number of words
text_type Human-Written, AI-Generated, AI-Humanized, or AI-Paraphrased
source_id Identifier of the human source text; shared by all texts derived from it

Generators and generation settings

AI texts were produced with two commercial large language models, recorded in model_used:

Generator (model_used) AI-Generated AI-Humanized AI-Paraphrased Total
gemini-2.5-flash 7,093 7,094 7,087 21,274
gpt-5.4 7,096 6,591 6,484 20,171

Three strategies were used in every domain, with the same prompt templates and only the domain wording changed:

  • AI-Generated: the model writes a new text from a title (for academic documents, an Introduction of 150 to 400 words for a given paper title).
  • AI-Paraphrased: the model rewrites a human-written paragraph with different wording and sentence structure while preserving its meaning.
  • AI-Humanized: the model rewrites a human-written text with a nine-rule prompt asking for varied sentence length, natural discourse markers, and a non-robotic tone while preserving meaning.

GPT-5.4 was called through the OpenAI chat-completions interface with temperature 0.7 and a maximum of 600 completion tokens. An output was kept only if it had at least 150 words; longer outputs were cut at the last complete sentence within the first 400 words, and failed or too-short requests were skipped (up to three attempts on API errors). Human academic texts are the Introduction sections of PLOS research articles published between 2000 and 2019. The prompts are released with the code.

Text length

Median 289 words (mean 315; range 20 to 3,881); the longest documents come from the non-academic domains.

Intended use and limitations

For research on AI-text detection. AI texts come from two commercial generators and from humanization and paraphrasing tools applied to human text; detectors trained on KUFA should not be assumed to transfer to other generators, languages, or mixed-authorship documents.

Downloads last month
77