---
title: "LLM-DetectAIve — paper by Abassy et al. (2024)"
description: "LLM-DetectAIve distinguishes human writing, generated text and machine-assisted revisions, with strong familiar-data results but weaker transfer."
canonical: "https://research.elamur.ai/free/en/papers/abassy-2024-llm-detectaive-tool-fine-grained/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abassy-2024-llm-detectaive-tool-fine-grained/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / LLM-DetectAIve: a Tool for Fine-Grained Machine-Generated Text Detection

# LLM-DetectAIve: a Tool for Fine-Grained Machine-Generated Text Detection

Paper · 2024 · Mervat Abassy, Kareem Elozeiri, Alexander Aziz et al.

**Authors:** [Mervat Abassy](https://md.research.elamur.ai/free/en/authors/mervat-abassy/), [Kareem Elozeiri](https://md.research.elamur.ai/free/en/authors/kareem-elozeiri/), [Alexander Aziz](https://md.research.elamur.ai/free/en/authors/alexander-aziz/), [Minh Ngoc Ta](https://md.research.elamur.ai/free/en/authors/minh-ngoc-ta/), [Raj Vardhan Tomar](https://md.research.elamur.ai/free/en/authors/raj-vardhan-tomar/), [Bimarsha Adhikari](https://md.research.elamur.ai/free/en/authors/bimarsha-adhikari/), [Saad El Dine Ahmed](https://md.research.elamur.ai/free/en/authors/saad-el-dine-ahmed/), [Yuxia Wang](https://md.research.elamur.ai/free/en/authors/yuxia-wang/), [Osama Mohammed Afzal](https://md.research.elamur.ai/free/en/authors/osama-mohammed-afzal/), [Zhuohan Xie](https://md.research.elamur.ai/free/en/authors/zhuohan-xie/), [Jonibek Mansurov](https://md.research.elamur.ai/free/en/authors/jonibek-mansurov/), [Ekaterina Artemova](https://md.research.elamur.ai/free/en/authors/ekaterina-artemova/), [Vladislav Mikhailov](https://md.research.elamur.ai/free/en/authors/vladislav-mikhailov/), [Rui Xing](https://md.research.elamur.ai/free/en/authors/rui-xing/), [Jiahui Geng](https://md.research.elamur.ai/free/en/authors/jiahui-geng/), [Hasan Iqbal](https://md.research.elamur.ai/free/en/authors/hasan-iqbal/), [Zain Muhammad Mujahid](https://md.research.elamur.ai/free/en/authors/zain-muhammad-mujahid/), [Tarek Mahmoud](https://md.research.elamur.ai/free/en/authors/tarek-mahmoud/), [Akim Tsvigun](https://md.research.elamur.ai/free/en/authors/akim-tsvigun/), [Alham Fikri Aji](https://md.research.elamur.ai/free/en/authors/alham-fikri-aji/), [Artem Shelmanov](https://md.research.elamur.ai/free/en/authors/artem-shelmanov/), [Nizar Habash](https://md.research.elamur.ai/free/en/authors/nizar-habash/), [Iryna Gurevych](https://md.research.elamur.ai/free/en/authors/iryna-gurevych/) and [Preslav Nakov](https://md.research.elamur.ai/free/en/authors/preslav-nakov/) · **Year:** 2024 · **Venue:** Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: System Demonstrations · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: System Demonstrations · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.emnlp-demo.35/)
- [PDF](https://aclanthology.org/2024.emnlp-demo.35.pdf)
- [DOI 10.18653/v1/2024.emnlp-demo.35](https://doi.org/10.18653/v1/2024.emnlp-demo.35)

## What it is about

LLM-DetectAIve distinguishes human writing, generated text and machine-assisted revisions, with strong familiar-data results but weaker transfer. · about 32 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [The problem and its context](#dd-the-problem-and-its-context)
3. [The method, step by step](#dd-the-method-step-by-step)
4. [Experiments and results](#dd-experiments-and-results)
5. [What the ablations show](#dd-what-the-ablations-show)
6. [Limitations](#dd-limitations)
7. [What came after](#dd-what-came-after)

### Summary

A detector that labels writing as either human or machine-made leaves an important question unanswered: what happened between the first draft and the finished text? A person may write an essay and ask a machine to improve its grammar. A machine may produce an essay that another automated pass makes less recognizably artificial. These processes involve different kinds of assistance, yet a binary decision cannot describe their difference. LLM-DetectAIve addresses this problem by treating the detection of machine involvement as a task with several possible outcomes. It distinguishes unassisted human writing, entirely generated writing, generated writing subsequently made more human-like by a machine, and human writing subsequently polished by a machine.

The authors motivate these distinctions through education, academic writing, and authorship analysis. Their central concern is that the acceptability of assistance depends on its form and setting. They describe polishing as potentially acceptable for an academic manuscript while presenting educational assessment as a setting where even that assistance may be prohibited. Their contribution is an attempt to identify the production process that might inform such judgments. To support this task, they extend an existing detection benchmark with newly generated and automatically revised material across several domains. They then train classifiers to predict the resulting categories.

The strongest results occur when evaluation resembles the training material. A universal DeBERTa detector, trained across the included domains, obtains accuracy of 95.71 and macro F1 of 95.72 on the full-dataset evaluation. A RoBERTa detector augmented with domain-adversarial training reaches macro F1 of 96.06, compared with 94.65 for ordinary RoBERTa. In a separate binary comparison using a small sample of human and generated texts, LLM-DetectAIve achieves 97.50% accuracy, ahead of the commercial systems tested. These findings support the feasibility of learning the authors’ finer distinctions under the evaluated conditions.

Transfer is much harder. On an IELTS essay evaluation involving unfamiliar material and a new generator, macro F1 is 66.55; on MixSet, which brings different domains and generators, it is 54.95. The paper therefore offers both a practical demonstration and a warning about its reach. Its web application provides automatic classification and a playground where people can attempt the same distinctions themselves, but the reported experiments do not establish reliable detection across arbitrary writing. The dataset is English-only, machine-generated writing later edited by a person is outside the label scheme, and domain-specific formatting can supply misleading cues. The main advance is a more informative detection task, accompanied by evidence that its categories are learnable and that generalization remains unresolved.

### The problem and its context

#### Authorship becomes a question about a process

The paper starts from a change in the production of written material. Advanced [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) make fluent generated prose readily available, while automated editing makes the boundary between human and generated writing less clear. The authors cite systems associated with [GPT-4](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/), [Gemini](https://md.research.elamur.ai/free/en/papers/gemini-team-2023-gemini-family-highly-capable-multimodal/), and [Llama 3](https://md.research.elamur.ai/free/en/papers/grattafiori-2024-llama-3-herd-models/) as part of this setting. Their concern is broader than whether a detector can recognize output from a particular generator. They ask whether its decision categories adequately describe how people use automated writing tools.

A binary detector answers a narrow question: should a text be assigned to the human category or the machine category? That decision becomes ambiguous when a person supplies the substance and a machine changes the expression. It is also incomplete when a generated draft undergoes another automated transformation intended to make its style appear more natural. Both situations contain machine involvement, but its position in the writing process differs.

LLM-DetectAIve makes the direction of that process explicit. Human-origin writing followed by automated polishing is separated from machine-origin writing followed by automated humanization. The finished text is the observable input; the category describes an earlier sequence of actions. This distinction matters because the detector is trying to infer production history from the result of that history. It does not receive a record of the drafting and editing operations.

The term “humanized” can otherwise invite a misunderstanding. In this paper, it refers to an automated revision of an already generated text. A person does not perform the final editing step in that category. Actual human revision of generated writing is acknowledged later as an important missing case. Keeping these processes separate is essential to understanding both the dataset and the limits of the proposed classification.

#### Why the distinctions matter to the authors

Education supplies the clearest motivation. If an assignment is intended to assess a student’s own knowledge and writing ability, a generated submission can undermine the purpose of the assessment. Automated polishing may raise a different question, depending on what the assignment permits. The authors argue that a detector should expose these differences rather than force every form of assistance into the same category.

Academic writing provides a contrasting setting in their discussion. They describe language polishing as potentially acceptable there, even when replacing the author’s work with generated prose would be problematic. The category system is therefore intended to provide information relevant to a policy decision. It does not itself determine the policy.

This separation between classification and judgment is useful when reading the paper. A predicted production category cannot establish whether a particular institution allowed that process, whether assistance was disclosed, or whether an author violated an agreed rule. Those questions require context that the text classifier does not take as input. The paper motivates its labels through such decisions, but its experiments evaluate label prediction.

The authors also mention digital forensics and authorship identification. Here, the attraction of finer categories is that machine involvement may be part of the question being investigated. A detector that recognizes only fully generated material would have a limited vocabulary for describing more complex writing histories. LLM-DetectAIve expands that vocabulary, although its experiments do not establish the evidentiary standards that a forensic application would require.

#### What earlier detection left unresolved

The authors describe most earlier work as concentrating on binary detection. They cite approaches such as [DetectGPT](https://md.research.elamur.ai/free/en/papers/mitchell-2023-detectgpt-zero-shot-machine-generated/) among the existing detection literature, alongside work on broader evaluation. Their account does not present all prior detectors as identical. The common limitation relevant to this paper is the restricted output decision: human or machine.

They also place their work within research on variation across generators and domains. The cited [M4 benchmark](https://md.research.elamur.ai/free/en/papers/wang-2023-m4-multi-generator-multi-domain/) and the M4GT-Bench resource used for data construction reflect a need to test more than a narrow collection of generated passages. The paper reports that previous studies found substantial performance losses when detectors encountered unfamiliar domains.

This creates a problem beyond label design. Even a well-chosen category scheme may be difficult to predict outside the training distribution. A detector can learn properties of student essays, scientific abstracts, or the output style of particular generators. Those properties may help within familiar material without representing a durable distinction between human and automated writing.

The authors identify two pressures on generalization. Newly introduced generators can produce text unlike the material on which a detector was trained. Separately, prompting and revision can change how generated writing looks. A detector trained on direct output may therefore face difficulty when the same general production process is expressed through a different style.

The paper also cites contemporary work on identifying automated contributions to collaborative writing. That connection supports its premise that mixed authorship deserves explicit treatment. LLM-DetectAIve’s response is a particular classification scheme and a corresponding dataset, rather than a claim to cover every possible collaboration.

#### A task definition and a demonstration system

The contribution has several connected parts. The authors define a finer detection task, construct training material for it, compare classifier choices, and implement a web demonstration. These parts should be assessed separately. A useful task definition can survive weaknesses in a particular detector, and a convincing interface cannot by itself establish robustness.

The task is a form of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/): an input passage receives a category. It is fine-grained in the sense that the available categories distinguish different production processes. The label set does not provide a continuous estimate of how much each participant contributed. Nor does it identify the location of every automated change within the passage.

This makes the paper’s scope concrete. It asks whether a passage can be assigned to one of the chosen histories of writing and revision. It then examines how much the answer depends on training domain, classifier architecture, and exposure to different generators. The resulting system is more descriptive than a binary detector, while remaining a bounded classifier rather than a complete reconstruction of authorship.

### The method, step by step

#### Define the production histories

The method begins with the labels. Human-written material is intended to originate from a person without generative assistance. Machine-generated material is produced automatically from a prompt. These categories carry forward the basic distinction used in binary detection.

The remaining categories introduce an additional transformation. Generated prose serves as the foundation for material both written and humanized by machines. A machine then rewrites it with an instruction aimed at making it sound more natural or more like human writing. For human-written, machine-polished material, the starting point is a human text. A machine revises its expression, potentially changing grammar, readability, or style while being asked to retain its meaning.

The categories depend on known construction history during dataset creation. A polished human passage receives its label because of the source passage and the operation applied to it. The label is not assigned by asking an annotator whether the result merely sounds polished. Likewise, humanized generated material belongs to its class because it underwent that automated transformation.

At prediction time, the situation is reversed. The classifier sees the finished passage without the source text or revision instruction. It must infer which construction process most likely produced the observed result. This asymmetry explains why collecting examples is relatively straightforward while making a reliable decision on unfamiliar writing remains difficult.

#### Start from an existing detection collection

The authors build on M4GT-Bench instead of collecting every original text themselves. Their initial sample contains 79,220 human texts and 103,075 generated texts. The collection spans several kinds of writing: scientific abstracts from arXiv, reference material from Wikipedia, instructional content from wikiHow, and discussion material from Reddit. Student essays come from OUTFOX, while peer-review material comes from PeerRead.

These sources provide variation in communicative purpose. An abstract compresses a research contribution; an instructional passage organizes actions; an essay develops a response to a prompt. The authors’ motivation for combining domains is that a detector should not depend entirely on the conventions of a particular kind of document.

The inherited generated material also comes from several generators. The dataset statistics name davinci-003 and gpt-3.5-turbo, along with cohere and dolly-v2. Other rows cover BLOOMz and gpt4. Their presence matters because the new task extends an existing collection with a history of generator diversity, rather than beginning with output from a single source.

The authors then add recent generated material and examples for the revision categories. The new generation stage reports 91,358 fully generated texts, 103,852 machine-origin humanized texts, and 107,900 human-origin polished texts. They separately report 303,110 generated outputs across the categories that require automated production. These generation figures should be distinguished from the earlier sample sizes and from the later distribution used for universal training.

#### Generate the additional material

The new material is produced with a mixture of generators and editing systems. The paper names GPT-4o and Mixtral 8x7b, along with Llama3-8b and Llama3-70b. It also uses Gemma-7b and [Gemma2-9b](https://md.research.elamur.ai/free/en/papers/gemma-2024-team-gemma-2-improving-open-language/), as well as Gemini-1.5-pro and Mistral-7b.

The detailed statistics show that this coverage is uneven. Some generator-domain combinations contain no examples. For example, the joint generation row for gemma2-9b records 0 for OUTFOX, while the PeerRead portion is much more restricted than several other domains. Therefore, diversity of named generators does not mean that every generator appears equally in every kind of writing.

For direct machine generation, the authors reuse the generation prompts associated with M4GT-Bench. For the new revision categories, they develop instructions matched to the desired process. Humanization instructions ask for more natural, accessible, or personable expression. Polishing instructions ask for paraphrasing, grammatical improvement, or smoother prose.

The distinction between these instruction families is purposeful, but their surface effects can overlap. Both may change sentence structure and word choice. The more fundamental difference is the origin of the input: generated material for humanization, human material for polishing. The detector therefore has to learn from the combined effects of origin and revision rather than rely on an obvious keyword describing the task.

The authors use 5-6 prompts for each domain when creating the revised categories. Random selection among these prompts introduces some variation in how the editing request is expressed. The paper does not provide a separate experiment measuring how much this prompt variation improves detection or transfer. It is part of the construction procedure.

#### Remove output that reveals the instruction wrapper

Automated revision can produce material beyond the requested passage. A system may introduce its answer with an acknowledgment or a sentence explaining that the text has been paraphrased. Such material would be an unusually convenient clue for a detector.

The authors try to suppress this behavior in two stages. They append an instruction requesting only the revised passage, with no surrounding explanation. They then remove unwanted introductory wording when it still appears. This cleaning reflects their expectation that a person using the revised content would also discard obvious conversational framing.

The concern is methodological as well as practical. If an introductory phrase occurs mainly in a particular generated class, a classifier could learn to recognize the response wrapper rather than the writing process. Good performance would then depend on an artifact that disappears when someone copies only the intended content.

Cleaning these phrases reduces one source of shortcut learning. It does not establish that all construction artifacts have disappeared. The authors later identify formatting conventions as a remaining problem. The cleaning procedure is therefore an attempt to make the task more realistic, with an acknowledged boundary.

For the new revision categories, text length is limited to 1,500 words. The stated reasons are context restrictions in some smaller systems and the cost and time of data production. This is a generation constraint, distinct from the shorter input range eventually used by the demonstration.

Building and using the fine-grained detector The steps in order.

#### Train a passage classifier

The authors train detectors through [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/): adapting an existing text encoder to the new category-prediction task. They consider [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/), DeBERTa, and [DistilBERT](https://md.research.elamur.ai/free/en/papers/sanh-2019-distilbert-distilled-version-bert-smaller/). Each receives text and is trained to predict the appropriate production category.

The paper describes DeBERTa as building on BERT and RoBERTa with disentangled attention and a modified masked decoding mechanism. It presents DistilBERT as the compact, faster option. Those architectural descriptions motivate the choices, but the relevant empirical question is how the alternatives perform on this dataset.

The domain-specific experiments use RoBERTa and DistilBERT. For both arXiv and OUTFOX, the learning rate is 2e-5, weight decay is 0.01, training lasts 10 epochs, and batch size is 16. The domain-specific data are divided into training, validation, and test portions using 70%:15%:15%.

An epoch is a pass through the training material. Batch size controls how many examples are processed together for an update. The learning rate governs the scale of parameter changes, while weight decay regularizes their growth. Reporting these settings makes the training procedure more concrete, although the paper does not explore them as experimental variables.

For universal training, the authors use RoBERTa and DeBERTa with learning rate 5e-5, weight decay 0.01, 10 epochs, and batch size 32. They explain that DistilBERT’s preliminary results led them to replace it with DeBERTa in the later experiments. This changes the architectural comparison between the domain-specific and full-dataset settings.

#### Compare domain-specific and universal learning

A domain-specific detector learns from a particular source of writing. Its practical attraction is that it can concentrate on a more consistent distribution. Its interface cost is that the user needs to identify the domain before receiving the appropriate prediction.

A universal detector instead learns across the included sources. It can accept a passage without requiring the user to choose a domain. Here, “universal” describes a training arrangement and a user interaction. It does not mean that the detector has demonstrated reliable behavior on every possible domain.

For this training setup, the authors remove some inherited material to reduce class imbalance. Their stated concern is that the classifier might otherwise favor a category simply because of its greater representation. The final training distribution is reported by domain and category rather than as an entirely uniform dataset.

For instance, arXiv has 15,998 human passages, with 18,000 in each machine-involved category. OUTFOX has 14,043 human passages, while each machine-involved category has 17,000. The balancing procedure therefore brings the categories closer without making every count identical.

#### Add an adversary that predicts the domain

The domain-adversarial experiment addresses a different concern: representations may encode source-specific properties too strongly. The authors use a domain-adversarial neural network, abbreviated DANN, with RoBERTa as the representation extractor.

The architecture has a shared text representation and separate predictive roles. A label predictor tries to identify the production category. A domain classifier tries to identify the source domain. Between the shared representation and the domain classifier sits a gradient reversal layer.

During ordinary back-propagation, gradients indicate how parameters should change to improve a prediction objective. The reversal layer changes the direction of the signal passed from the domain classifier to the representation extractor. The domain classifier is trained to recognize domains, while the extractor is encouraged to make that recognition harder.

The intended result is a representation that preserves information useful for the production label while reducing information that distinguishes the source domains. In this experiment, the category task uses the paper’s four labels, and the adversarial task predicts the six source domains.

The paper explains this mechanism verbally and supplies no mathematical equations for its objectives. It describes reducing the category-prediction loss while making domain prediction less successful through reversed gradients. It does not give a symbolic loss function, a stated reversal coefficient, or a detailed schedule for that coefficient.

#### Expose the decision through a demonstration

The automatic interface accepts a passage and returns a predicted category. Submitted text is constrained to 50-500 words. The authors explain the lower bound through poor performance on shorter inputs, while longer passages encounter the context restrictions of the encoders and are truncated.

The playground uses a different interaction. Visitors inspect examples and attempt to identify their production categories themselves. Its purpose is to let people experience the distinctions, rather than to collect a reported human-performance benchmark.

The implementation uses Gradio for the interface and Hugging Face Spaces for hosting. The authors release LLM-DetectAIve’s code under an MIT license. There is, however, an inconsistency in the deployment description: an earlier passage says the demonstration uses DistilBERT, while the universal-detector section says the deployed backend is DeBERTa. The experimental results can be read independently of that unresolved implementation detail.

### Experiments and results

#### What the reported metrics measure

The experiments report precision, recall, macro F1, and accuracy. These measures answer related but different questions about category prediction. Accuracy records how often the predicted category matches the recorded label across the evaluated examples.

Precision concerns the reliability of assignments to a category: when the detector predicts a label, how frequently is that assignment correct? Recall concerns coverage: among the examples belonging to a category, how many receive the correct prediction? F1 combines precision and recall, while macro F1 gives categories equal influence through category-level averaging.

This distinction matters because the dataset is not perfectly balanced. A detector can perform well on frequent categories and still struggle with less represented ones. Macro F1 provides a view that is less directly controlled by category frequency than overall accuracy.

The tables label their F1 measure as macro F1. They do not explain the aggregation of the precision and recall columns in comparable detail. Those columns should therefore be read as reported measures without supplying an averaging convention that the paper does not state.

The evidence also spans different tasks. Most experiments use the fine-grained categories. The comparison with commercial detectors is binary. Its accuracy figures cannot be treated as direct measurements of the same decision problem as the full-dataset results.

#### Domain-specific evaluation

The domain-specific experiment trains and tests within arXiv or OUTFOX using the stated 70%:15%:15% division. It asks whether the category scheme can be learned when the broad kind of writing is known and represented during training.

On arXiv, RoBERTa obtains precision of 95.82, recall of 95.79, macro F1 of 95.79, and accuracy of 95.79. DistilBERT records precision of 88.98, recall of 87.97, macro F1 of 87.93, and accuracy of 87.79. The stronger RoBERTa result is consistent across the reported measures in this domain.

OUTFOX produces a different architectural ordering. RoBERTa has precision of 95.67, recall of 95.43, macro F1 of 95.53, and accuracy of 95.65. DistilBERT has precision of 96.66, with recall, macro F1, and accuracy each reported as 96.65.

The compact detector therefore does well on the essay setting but is less successful on scientific abstracts. The evidence supports a domain-dependent comparison rather than a uniform claim that the larger alternative wins everywhere. The authors’ later preference for other architectures should be read alongside this variation.

The confusion-matrix discussion reports residual confusion among categories with overlapping properties. That observation is important because strong overall scores do not mean that production histories always leave sharply separated textual signatures. The categories can be conceptually distinct while their finished passages remain difficult to distinguish.

#### Universal training across the included domains

The full-dataset experiment combines domains and adjusts the inherited data to reduce category imbalance. This removes the need for users to select a source-specific detector. It also exposes the classifier to more varied writing during training.

The distribution retains differences between domains. Wikipedia contains 14,333 human examples, with 22,615 in each machine-involved category. PeerRead contains 2,847 human examples and 4,684 in each machine-involved category. These figures show that the universal setting combines sources of different sizes instead of drawing identical training quantities from each.

RoBERTa’s full-dataset result is precision of 94.79, recall of 94.63, macro F1 of 94.65, and accuracy of 94.62. DeBERTa records precision of 95.71, recall of 95.78, macro F1 of 95.72, and accuracy of 95.71.

DeBERTa leads on every reported measure in this comparison. This is the result the authors cite when saying that it was chosen for the demonstration backend. The conclusion is specific to the reported training and evaluation arrangement; it does not establish that the same ordering holds under every external distribution.

The universal scores also should not be interpreted as a direct improvement over each domain-specific score. The training data and evaluated population differ. The experiments establish that combining the included sources can support strong overall classification, while leaving the separate question of unfamiliar sources to later tests.

#### Domain-adversarial training

Adding DANN to RoBERTa improves all the measures reported for that comparison. Precision becomes 96.30, recall becomes 95.54, macro F1 becomes 96.06, and accuracy becomes 95.24. The ordinary RoBERTa values in the comparison match those of the full-dataset experiment.

Fine-grained detection on the full dataset, macro F1 Domain-adversarial RoBERTa has the strongest macro F1 among these reported settings.

**The numbers**

| System or setting | macro F1 |
| --- | --- |
| RoBERTa | 94.65 |
| DeBERTa | 95.72 |
| DANN with RoBERTa (this paper) | 96.06 |

The DANN result gives experimental support to the idea that domain-related information can interfere with category prediction. Encouraging less domain-discriminative representations improves performance relative to ordinary RoBERTa under the reported evaluation.

The metric choice still matters. DANN with RoBERTa has the highest macro F1 among these settings, while DeBERTa’s reported accuracy is 95.71 and DANN’s is 95.24. The paper therefore does not supply a single ordering that is identical across all measures.

Nor does the DANN comparison show that the representation has become completely independent of domain. The reported outcome is improved category prediction. Establishing how much domain information remains would require a more direct representation analysis than the paper presents.

#### A binary comparison with existing services

The authors compare their system with GPTZero, ZeroGPT, and Sapling AI. These services do not offer the same fine-grained label scheme. GPTZero is described as including a mixed category, but the comparison conducted by the authors uses a binary decision.

Usage restrictions prevent evaluation of the full test collection through the commercial services. The paper describes a random sample containing 60 generated texts and 60 human texts, with 10 from each source. This small sample is the basis of the reported comparison.

Binary detection on the sampled human and generated texts LLM-DetectAIve leads the compared services on this sampled binary task.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| GPTZero | 87.50 |
| ZeroGPT | 69.17 |
| Sapling AI | 88.33 |
| LLM-DetectAIve (this paper) | 97.50 |

The result is favorable to LLM-DetectAIve under those conditions. It does not measure the competitors’ ability to separate the paper’s revised categories, because the evaluation does not ask them to make that distinction.

The small sample also limits the breadth of the conclusion. A higher accuracy here supports an advantage on the selected material. It is not an exhaustive comparison across the domains, generators, and revision processes that a deployed detector might encounter.

#### Generalization to IELTS essays

The external essay evaluation begins with human-written IELTS material. After removing duplicates, the authors sample 300 pairs consisting of an essay question and its human response. They then use the questions to obtain generated essays from Llama3.1-70B and create corresponding humanized and polished material.

This evaluation changes several conditions at once. The human writers are described as using English as a second language. The generator differs from those used in the main construction. Yet the broad task remains essay writing, which has some connection to OUTFOX in the training collection.

The reported IELTS precision is 63.74, recall is 66.91, macro F1 is 66.55, and accuracy is 66.91. These results are substantially weaker than the familiar-data evaluation.

The authors suggest that exposure to OUTFOX helps explain why IELTS is easier than MixSet. This is a plausible interpretation of shared essay structure, but the experiment does not isolate that cause. There is no reported retraining comparison that removes OUTFOX while holding the rest of the setup fixed.

#### Generalization to MixSet

MixSet supplies a different external test. Its 3,600 examples include 300 human passages, 300 generated passages, 600 machine-origin humanized passages, and 2,400 human-origin polished passages. The category distribution is therefore uneven.

The collection includes output associated with Llama2-70B and GPT-4. Its domains include email, news, and game reviews. These sources differ from the training material in both writing purpose and generator coverage.

On MixSet, precision is 59.18, recall is 64.25, macro F1 is 54.95, and accuracy is 60.08. The macro F1 result is particularly relevant because the categories have unequal representation.

Reported detector generalization across evaluation datasets The external evaluations have much weaker macro F1 than the full-dataset evaluation.

**The numbers**

| System or setting | macro F1 |
| --- | --- |
| Full dataset, DeBERTa (this paper) | 95.72 |
| IELTS | 66.55 |
| MixSet | 54.95 |

This comparison displays a change in evaluation conditions, rather than a controlled manipulation of a single cause. Domains, generators, prompts, and dataset construction can all vary together. The evidence establishes a transfer problem without identifying exactly how much each source of change contributes.

The generalization results are therefore central to the paper’s practical interpretation. The detector can learn the fine-grained labels within the authors’ collection, but that success does not carry over reliably to unfamiliar material. The more informative category scheme does not remove the longstanding difficulty of distribution shift.

### What the ablations show

The paper does not present a systematic component-by-component ablation; its diagnostic evidence comes from architectural comparisons, alternative training arrangements, confusion matrices, and external evaluations.

#### Architecture interacts with the writing domain

The RoBERTa–DistilBERT comparison is informative because it does not produce the same winner everywhere. RoBERTa performs more consistently across arXiv and OUTFOX, while DistilBERT is competitive on OUTFOX and much weaker on arXiv.

This suggests that a compact detector’s suitability depends on the writing it encounters. The essay result alone would make DistilBERT look attractive. The abstract result reveals a limitation that would be missed by evaluating only that setting.

The comparison does not isolate which architectural property causes the difference. The paper does not vary attention mechanisms, representation size, or pretraining procedures independently. It compares complete pretrained alternatives after task adaptation.

Likewise, the universal comparison favors DeBERTa over RoBERTa, but it is evidence about the complete systems under the chosen setup. It does not establish a separate causal contribution for the DeBERTa features described in the method section.

#### Domain-adversarial training is the closest component test

The DANN experiment most closely resembles an ablation-style comparison. Ordinary RoBERTa supplies the reference, and the domain-adversarial arrangement adds a competing domain-prediction objective.

Because both variants use RoBERTa representations, this comparison focuses more directly on the training approach than the architecture comparisons do. The stronger reported measures support the authors’ decision to investigate domain confusion as a way to improve category prediction.

There is still a gap between the training mechanism and a broad claim of domain robustness. The adversary learns to distinguish the domains represented during training. Making those domains less separable does not guarantee that a new domain will resemble the remaining representation distribution.

The paper also does not report a DANN study that isolates generator shift. Its adversarial labels concern source domains. Suppressing generator-specific information is proposed as future work, which means the present result should not be described as an established solution to unseen-generator detection.

#### Confusion matrices show overlap between categories

The domain-specific confusion matrices provide a view beyond aggregate scores. The authors describe mistakes involving categories whose textual properties overlap, including generated, human, and polished writing.

That overlap fits the structure of the task. Polishing starts from human content but changes its expression through an automated system. Humanization starts from generated content but attempts to alter the style that might make it recognizable. Neither operation is required to leave an obvious marker of its history.

The analysis therefore supports a careful reading of high accuracy. Most examples can be classified correctly in the evaluated distribution while some neighboring processes remain difficult to separate. A strong average does not make every label assignment equally secure.

The paper does not provide enough textual discussion of the matrices to attribute every confusion to a particular linguistic phenomenon. It would go beyond the evidence to claim, for example, that a specific grammatical construction distinguishes polishing from humanization. The reported analysis remains at the category level.

#### External tests expose a limitation that familiar-data scores hide

IELTS and MixSet function as stress tests of the learned distinction. Their weaker results show that strong performance on the constructed collection is not sufficient evidence for broad applicability.

The contrast is especially useful because the task labels remain conceptually similar. The detector is still asked to recognize human writing, direct generation, and automated revision. What changes is the material through which those categories are expressed.

This is evidence that the learned decision depends in part on the training distribution. It does not prove that the detector relies only on artifacts or domain cues. Genuine production-related patterns and accidental collection-specific patterns can coexist in the same representation.

A more decisive causal analysis would hold some factors fixed while varying others. The paper’s external datasets change several factors together. Their contribution is to reveal the practical failure of straightforward transfer, rather than to fully explain its internal cause.

#### Data-cleaning choices remain unablated

The authors explain why they remove introductory response framing, but they do not compare cleaned and uncleaned training collections. The value of that cleaning is argued through the risk of shortcut learning rather than demonstrated through a separate result.

The same applies to prompt diversity. The use of several revision instructions per domain broadens the construction procedure, but the paper does not test whether a detector trained with fewer instructions generalizes less well.

Class balancing is also part of the universal setup instead of an independently evaluated factor. The authors reduce imbalance to avoid favoring particular categories, yet no matched unbalanced result is supplied.

These distinctions matter because they separate reasonable design choices from experimentally isolated contributions. The paper demonstrates the performance of the assembled system and offers comparisons around it. It does not quantify the contribution of every construction and training decision.

### Limitations

#### Authors’ stated limit: genuine human editing is missing

The authors explicitly identify machine-generated writing later revised by a person as an omitted case. Their explanation is the cost of collecting material that requires actual human editing.

This absence is more than a small extension to the terminology. Automated humanization and human editing are different processes. A person can make choices based on knowledge, intent, preference, and the needs of a particular document. The dataset’s humanization instructions do not establish that they reproduce those choices.

A passage produced through genuine human editing may therefore fit none of the trained categories cleanly. The classifier will still have an available label to return, but the label scheme does not supply a correct description of that production history.

The authors propose adding such a category in future work. That proposal marks an intended extension, not an evaluated capability. The current system should be understood through the histories actually represented in its training material.

#### Authors’ stated limit: formatting may reveal the collection

The authors report that generators associate certain domains with particular presentation styles. In wikiHow and PeerRead material, they notice recurring use of headings, bullet points, lists, and Markdown-like formatting.

Such patterns can create an unintended route to a correct training label. A detector might recognize the formatting habits of a generation pipeline instead of a stable difference between human and machine production.

The cleaning of response introductions does not settle this problem. Conversational wrappers and document formatting are separate sources of information. Removing an acknowledgment before a passage can leave its internal layout highly characteristic of a particular generator or prompt.

The authors plan to address these biases. Their acknowledgment limits the interpretation of the strongest scores: some useful predictive information may be tied to the dataset’s construction conventions. The paper does not measure how much performance would remain after those conventions were controlled.

#### Authors’ stated limit: language and generator coverage

The dataset is English-only. The authors explicitly leave open whether the detector can work with languages absent from training. Their proposed multilingual expansion is future work.

It would therefore be unsupported to carry the reported results into another language. The classification scheme can be described independently of English, but a language-independent task definition does not establish language-independent detection.

The same distinction applies to generators. The paper includes varied generation sources, but its external evaluations show that variety alone does not guarantee robust transfer. New generators may change the patterns on which the detector depends.

The conclusion proposes adversarial training against generator identity, potentially together with domain identity. That direction follows naturally from the observed difficulty, but no result in the paper validates the combined approach.

#### Authors’ stated limit: text length restricts use

The demonstration accepts 50-500 words because the authors observe much worse behavior on shorter text. Longer material is truncated to fit the encoder’s available context.

This means the interface does not evaluate every writing situation under the same conditions. A brief response may not contain enough evidence for the detector’s learned patterns. A long document may contain relevant variation outside the portion the system processes.

The paper does not provide a detailed performance curve across input lengths. The stated range is a practical operating restriction, not evidence that every passage within the range receives equally reliable treatment.

Truncation also matters for documents with changing production histories. If one portion is human-written and another generated, the processed segment may not represent the whole. The paper’s passage-level categories do not provide a segmentation mechanism for resolving that situation.

#### Authors’ stated limit: generated content was not separately screened

The ethical discussion acknowledges that generated data may include biased or offensive material. The authors do not describe a separate intervention to control it; they rely on the generation systems’ internal safeguards.

This is a limit on what can be claimed about the collection’s content. The paper does not provide an evaluation establishing that all such material was excluded.

Its licensing discussion focuses on reusing publicly available research corpora and producing additional material from them. That account explains the authors’ handling of source availability. It does not substitute for a broader empirical analysis of the distribution of sensitive or biased content.

#### Careful-reader limit: prediction is not proof of provenance

The classifier infers a production category from a finished passage. It does not observe drafting events, editing logs, or the author’s interaction with a writing system.

Accordingly, a category prediction is evidence about resemblance to the training examples. It cannot by itself verify that the corresponding sequence of actions occurred. This limitation follows from the setup even when average classification performance is high.

The distinction is particularly important for the paper’s educational motivation. An incorrect label can have a different practical consequence from a routine benchmark error. The experiments evaluate predictive performance, rather than a procedure for deciding contested allegations of unauthorized assistance.

The paper does not report a decision protocol that combines classifier output with independently established provenance. Nor does it evaluate whether users interpret its categories with appropriate caution. Its demonstration makes a prediction accessible; it does not validate every decision someone might make from that prediction.

#### Careful-reader limit: the labels simplify collaboration

The chosen categories describe a limited set of production histories. They do not represent every ordering of drafting, revision, prompting, and manual intervention.

Even within a represented category, the amount of change may vary. Polishing can be light or extensive, while a humanization instruction can lead to a small stylistic adjustment or a substantial rewrite. The label records the operation and source history without directly measuring the degree of transformation.

The experiments therefore do not show that the detector estimates an author’s share of a document. They also do not establish that it preserves distinctions among different amounts of editing within a category.

This is a boundary of the task definition rather than simply a weakness of a particular architecture. Better classification among the existing labels would still leave unrepresented histories and variation within labels unresolved.

#### Careful-reader limit: dataset stages need to be distinguished

The paper reports the initial source sample, the newly generated material, and a later distribution used for universal training. These counts describe different stages of the construction process.

A reader should not treat every reported generation count as the final population used by every experiment. The authors explicitly remove some inherited data before universal fine-tuning, and generator coverage varies across domains.

The domain-specific split is described clearly as 70%:15%:15%. The universal experiment is not documented with the same level of split detail. This limits how precisely an independent reader can reconstruct the relationship between the different reported populations.

The paper also does not state whether related originals and their revised versions are grouped together when assigning data splits. That omission does not establish that leakage occurred. It means the account does not let the reader verify how dependence between related passages was handled.

#### Careful-reader limit: uncertainty is not characterized

The results are presented as individual scores. The paper does not report repeated-run variation or confidence intervals for the main comparisons.

Accordingly, the evidence supports the reported ordering under the evaluated setup, but it does not quantify how stable small differences would be under another training run or another sample. This is particularly relevant to the limited commercial-service comparison.

The paper also does not provide an analysis of calibrated confidence. A returned category is not accompanied by evidence that a stated confidence level corresponds to a known frequency of correctness.

Aggregate accuracy and macro F1 answer useful evaluation questions, but they do not tell a user how much trust to place in a particular difficult passage. The demonstration’s practical value and the reliability of individual judgments therefore remain separate issues.

#### Careful-reader limit: robustness claims exceed no tested boundary

The universal and adversarial experiments are promising within their reported conditions. The external evaluations establish that those conditions do not cover the full range of practical writing.

Domain shift and generator shift occur together in parts of the evaluation. This prevents a clean attribution of the decline to either factor alone. It also leaves open how a detector would behave when only prompts, revision intensity, or formatting conventions changed.

The DANN experiment does not eliminate this uncertainty. It improves familiar-data category prediction while training against known domain identities. The paper does not show that this mechanism solves the external transfer problem.

The most defensible practical claim is therefore bounded: the authors demonstrate that their finer categories can be learned effectively from a substantial constructed collection. Reliable recognition across unfamiliar domains, generators, languages, and collaboration patterns remains an open requirement.

### What came after

#### Fine-grained detection remains a research direction

The later citing works place LLM-DetectAIve within continuing research on detection beyond a simple human-or-machine decision. Their titles identify several directions: richer training objectives, explanations of generalization, constructed narratives, segmentation, and signal transformations.

The citation relationships establish that these works engage with a literature that includes LLM-DetectAIve. They do not, on their own, establish that the later studies reuse its dataset, preserve its categories, or improve its reported results. Those stronger relationships require methodological and experimental evidence beyond the information available here.

The clearest topical continuation is [FAID: Fine-grained AI-generated Text Detection using Multi-task Auxiliary and Multi-level Contrastive Learning](https://md.research.elamur.ai/free/en/papers/ta-2026-faid-fine-grained-ai-generated/). Its title identifies fine-grained detection as the target and names auxiliary multitask learning and multilevel contrastive learning as the approach.

That direction connects closely to LLM-DetectAIve’s premise that binary labels are insufficient. The later title suggests attention to how training can support a richer distinction, whereas LLM-DetectAIve’s principal contribution includes defining and constructing such distinctions. It does not establish that FAID adopts precisely the same production histories, so the relationship should remain at that supported level.

#### Generalization becomes a question for linguistic analysis

[Explaining Generalization of AI-Generated Text Detectors Through Linguistic Analysis](https://md.research.elamur.ai/free/en/papers/xia-2026-explaining-generalization-ai-generated-text/) names an explanatory direction. Its focus is not merely whether a detector transfers, but how linguistic analysis can help account for that behavior.

This is directly relevant to the unresolved contrast in LLM-DetectAIve. Familiar-data results are strong, while external results are weaker. The original experiments reveal that contrast without identifying a detailed set of linguistic causes.

The later work’s title supports a connection to that explanatory problem. It does not support a claim that the authors verified LLM-DetectAIve’s suspected formatting effects, isolated its errors, or established a specific linguistic explanation for them. The continuity lies in the question being pursued: what makes learned detection behavior survive, or fail to survive, a change in material?

#### Constructed narratives broaden the surrounding evaluation questions

[Frankentext: Stitching random text fragments into long-form narratives](https://md.research.elamur.ai/free/en/papers/pham-2026-frankentext-stitching-random-text-fragments/) identifies a different construction process. Its title describes assembling long narratives from randomly selected fragments.

That process raises a useful point of comparison with passage-level origin classification. A document’s production history can be more complicated than a single draft followed by a single revision operation. LLM-DetectAIve already makes history central to the label, but its categories do not describe every possible method of assembling a finished document.

The title alone does not establish that Frankentext evaluates LLM-DetectAIve, combines human and generated fragments, or proposes a detection system. Those claims would go beyond the available evidence. Its supported place in this later-work discussion is as a citing study concerned with a distinct text-construction procedure.

#### Detection extends toward segmentation and another language

[DeSegMa-IT at EVALITA 2026: Overview of the “Detection and Segmentation of Machine Generated Texts in Italian”](https://md.research.elamur.ai/free/en/papers/puccetti-2026-desegma-it-evalita-2026-overview/) makes both detection and segmentation explicit in its title, and identifies Italian as the language setting.

Segmentation asks where relevant portions begin and end, adding a different dimension to the passage-level decision used by LLM-DetectAIve. A whole-passage label distinguishes production categories without locating each contributing span. The later task title therefore points toward a complementary form of resolution.

Its Italian setting also connects to a boundary the original authors acknowledge: their dataset covers English only. This establishes a thematic continuation towards language coverage, without implying that the later task transfers LLM-DetectAIve’s trained detector or adopts its exact label scheme.

#### Robustness motivates alternative representations

[WaveDetect: Robust Framework for Machine-Generated Text Detection via Wavelet Transform](https://md.research.elamur.ai/free/en/papers/liu-2026-wavedetect-robust-framework-machine-generated/) names robustness as its objective and wavelet transformation as its organizing method.

LLM-DetectAIve investigates robustness through domain-adversarial learning. WaveDetect’s title points to a different technical route toward the broader detection problem. The shared concern is how to obtain useful detection behavior despite variation in the material being classified.

No comparative result is available here that would justify saying the later framework resolves LLM-DetectAIve’s transfer weaknesses. The supported connection is a continuation of the robustness question through a differently described approach.

Together, these later works show several ways the research agenda can develop: retain fine-grained decisions, explain transfer through language, examine additional construction processes, locate generated portions, or change the representation used for detection. LLM-DetectAIve’s distinctive place in that agenda is its practical attempt to make the direction of automated revision part of the predicted label, coupled with experiments showing both the promise and the fragility of that decision.

## Cite

Cite as Mervat Abassy, Kareem Elozeiri, Alexander Aziz, Minh Ngoc Ta, Raj Vardhan Tomar, Bimarsha Adhikari, Saad El Dine Ahmed, Yuxia Wang, Osama Mohammed Afzal, Zhuohan Xie, Jonibek Mansurov, Ekaterina Artemova, Vladislav Mikhailov, Rui Xing, Jiahui Geng, Hasan Iqbal, Zain Muhammad Mujahid, Tarek Mahmoud, Akim Tsvigun, Alham Fikri Aji, Artem Shelmanov, Nizar Habash, Iryna Gurevych and Preslav Nakov. 2024. LLM-DetectAIve: a Tool for Fine-Grained Machine-Generated Text Detection. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: System Demonstrations.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.emnlp-demo.35](https://doi.org/10.18653/v1/2024.emnlp-demo.35)

```bibtex
@inproceedings{abassy2024llm,
  title = {{LLM-DetectAIve: a Tool for Fine-Grained Machine-Generated Text Detection}},
  author = {Mervat Abassy, Kareem Elozeiri, Alexander Aziz, Minh Ngoc Ta, Raj Vardhan Tomar, Bimarsha Adhikari, Saad {El Dine Ahmed}, Yuxia Wang, Osama Mohammed Afzal, Zhuohan Xie, Jonibek Mansurov, Ekaterina Artemova, Vladislav Mikhailov, Rui Xing, Jiahui Geng, Hasan Iqbal, Zain Muhammad Mujahid, Tarek Mahmoud, Akim Tsvigun, Alham Fikri Aji, Artem Shelmanov, Nizar Habash, Iryna Gurevych and Preslav Nakov},
  booktitle = {Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: System Demonstrations},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-demo.35},
  url = {https://doi.org/10.18653/v1/2024.emnlp-demo.35}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
