Machine-Generated Text Detection
Machine-generated text detection task requiring annotators to classify whether a given text was written by a human, generated by a machine, contains mixed authorship, or is uncertain. Based on SemEval-2024 Task 8.
Configuration Fileconfig.yaml
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# Machine-Generated Text Detection
# Based on Wang et al., SemEval 2024
# Paper: https://aclanthology.org/2024.semeval-1.279/
# Dataset: https://github.com/mbzuai-nlp/SemEval2024-task8
#
# This task asks annotators to determine whether a text was written by
# a human, generated by a machine (LLM), contains mixed human-machine
# authorship, or if the origin is uncertain.
annotation_task_name: "Machine-Generated Text Detection"
task_dir: "."
data_files:
- sample-data.json
item_properties:
id_key: "id"
text_key: "text"
output_annotation_dir: "annotation_output/"
output_annotation_format: "json"
port: 8000
server_name: localhost
annotation_schemes:
- annotation_type: radio
name: authorship_judgment
description: "Who wrote this text?"
labels:
- "Human-Written"
- "Machine-Generated"
- "Mixed"
- "Uncertain"
keyboard_shortcuts:
"Human-Written": "1"
"Machine-Generated": "2"
"Mixed": "3"
"Uncertain": "4"
tooltips:
"Human-Written": "The text appears to be entirely written by a human author"
"Machine-Generated": "The text appears to be entirely generated by an AI/LLM"
"Mixed": "The text appears to contain both human-written and machine-generated portions"
"Uncertain": "You cannot determine the authorship with reasonable confidence"
annotation_instructions: |
You will be shown a text passage. Your task is to determine whether it was:
1. Written entirely by a human
2. Generated entirely by an AI language model
3. A mixture of human and machine writing
4. Uncertain if you cannot determine the origin
Consider factors like fluency, coherence, specificity, style, and any telltale patterns.
html_layout: |
<div style="padding: 15px; max-width: 800px; margin: auto;">
<div style="background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 16px; margin-bottom: 16px;">
<strong style="color: #0369a1;">Text:</strong>
<p style="font-size: 16px; line-height: 1.7; margin: 8px 0 0 0;">{{text}}</p>
</div>
<div style="background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 12px;">
<strong style="color: #166534;">Domain:</strong> <span>{{domain}}</span>
</div>
</div>
allow_all_users: true
instances_per_annotator: 50
annotation_per_instance: 2
allow_skip: true
skip_reason_required: false
Sample Datasample-data.json
[
{
"id": "mgt_001",
"text": "The old barn stood at the edge of the property, its red paint peeling in long strips that curled like dried leaves. My grandfather built it in 1952 with lumber from the Hendersons' sawmill, back when a handshake still meant something. Every summer, I'd climb to the hayloft and read comics until my mother hollered that supper was ready.",
"domain": "Creative Writing"
},
{
"id": "mgt_002",
"text": "Photosynthesis is a fundamental biological process through which plants, algae, and certain bacteria convert light energy into chemical energy. This process involves the absorption of carbon dioxide and water, which are then transformed into glucose and oxygen through a series of complex biochemical reactions. The light-dependent reactions occur in the thylakoid membranes, while the Calvin cycle takes place in the stroma of the chloroplast.",
"domain": "Science"
}
]
// ... and 8 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git cd potato-showcase/semeval/2024/task08-machine-generated-text potato start config.yaml
Dataset & paper
Wang et al., SemEval 2024
Citation (BibTeX)
@inproceedings{wang-etal-2024-semeval-2024,
title = "{S}em{E}val-2024 Task 8: Multidomain, Multimodel and Multilingual Machine-Generated Text Detection",
author = "Wang, Yuxia and Mansurov, Jonibek and Ivanov, Petar and Su, Jinyan and Shelmanov, Artem and Tsvigun, Akim and Mohammed Afzal, Osama and Mahmoud, Tarek and Puccetti, Giovanni and Arnold, Thomas and others",
booktitle = "Proceedings of the 18th International Workshop on Semantic Evaluation (SemEval-2024)",
month = jun,
year = "2024",
address = "Mexico City, Mexico",
publisher = "Association for Computational Linguistics",
pages = "2057--2079",
doi = "10.18653/v1/2024.semeval-1.279"
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an IssueRelated Designs
Suggestion Mining from Online Reviews and Forums
Binary classification of sentences as suggestions or non-suggestions in online reviews and forum posts. Based on SemEval-2019 Task 9 (Suggestion Mining).
AdMIRe - Advancing Multimodal Idiomaticity Representation
Multimodal idiomaticity task (SemEval-2025 Task 1, Subtask A): given a potentially idiomatic nominal compound in a context sentence, annotators rank five candidate images by how well each represents the sense in which the compound is used.
AfriSenti - African Language Sentiment
Sentiment analysis for tweets in African languages, classifying text as positive, negative, or neutral. Covers 14 African languages including Amharic, Hausa, Igbo, Yoruba, and Swahili. Based on SemEval-2023 Task 12 (Muhammad et al.).