Measuring Human Involvement in AI-Generated Text: A Case Study on Academic Writing

Yuchen Guo, Zhicheng Dou, Huy H. Nguyen, Ching-Chun Chang, Saku Sugawara, Isao Echizen

Abstract

As Large Language Models (LLMs) become integrated into academic workflows, the traditional binary distinction between "human-written" and "AI-generated" text is increasingly insufficient. This paper addresses the challenge of collaborative authorship—termed "participation detection obfuscation"—where human ideas and AI generation are inextricably linked. We present a novel dual-head RoBERTa-based model designed to quantify human involvement on a continuous scale and identify specific human-contributed tokens. Our results demonstrate that this approach significantly outperforms traditional binary detectors in accuracy, interpretability, and robustness across various LLMs and prompting strategies.

Introduction

The rapid adoption of LLMs like ChatGPT has transformed academic writing from a solitary human endeavor into a collaborative process. Current AI detection tools typically treat authorship as a binary classification problem: a text is either 100% human or 100% AI. However, real-world usage often involves a spectrum of collaboration, such as a student providing a detailed outline for an LLM to expand or using an AI to polish a complete draft.

Existing detectors, trained on polarized datasets, struggle to evaluate these mixed-authorship texts. They often fail to give authors credit for original ideas embedded within AI outputs or misclassify heavily prompted AI text as entirely human. To address this, we propose a shift from binary detection to a regression-based approach that measures the specific percentage of human involvement.

Methodology

To move beyond the limitations of binary classification, we developed a framework to measure human involvement on a continuous scale (0 to 1).

Continuous Ground Truth Labeling

During the training phase, we established a ground truth for "human involvement" using BERTScore. Specifically, we utilized the normalized Recall metric to compare a user's input prompt with the resulting LLM output. This metric captures how much of the human's original semantic information is preserved in the final text, providing a more nuanced label than a simple binary flag.

Dual-Head RoBERTa Model

We utilized a shared RoBERTa encoder equipped with two specialized heads to analyze the final generated text:

  1. Regression Head: This head estimates the overall percentage of human involvement in the text.
  2. Token Classification Head: This head identifies which specific words or phrases in the final output originated from the human prompt.

Crucially, while the prompt is required to generate labels during training, the final model requires only the generated text as input during inference to estimate involvement and highlight human contributions.

Datasets

We developed several new datasets to simulate collaborative writing environments, primarily focused on the Computer Science (CS) domain:

  • Continuous CAS-CS: A dataset of 55,000 ChatGPT-generated abstracts created using a sampling method designed to ensure a continuous spectrum of human involvement (0% to 100%). We also created smaller sets using Claude, Gemini, GPT-4, and Falcon to test cross-model generalization.
  • Polarized PAS-CS: 4,000 abstracts (50% human, 50% AI) used for baseline comparisons.
  • Existing Benchmarks: We validated our model against established datasets including CHEAT, GPABench2, and the Sa Benchmark.

Key Results

Accuracy and Performance

The dual-head model achieved high precision across both tasks. On the regression task (predicting the percentage of human involvement), the model reached a Mean Squared Error (MSE) of 0.004. On the token classification task, it achieved an F1 score of 0.9423.

Comparison with Binary Detectors

When evaluated against the continuous CAS-CS dataset, traditional binary detectors (such as the OpenAI detector and DetectGPT) showed poor and volatile performance. Their accuracy fluctuated wildly depending on the arbitrary threshold set for "human vs. AI," highlighting the fundamental flaw in applying binary logic to a continuous spectrum of collaboration.

Generalization and Robustness

Although primarily trained on ChatGPT data, the model generalized effectively to other LLMs. It maintained low MSE scores for GPT-4 (0.009), Gemini (0.025), and Claude-3 (0.034). Furthermore, the model remained robust against varying prompting strategies, such as asking the AI to adopt a specific persona or summarize existing text, maintaining an MSE below 0.013 across these variations.

Discussion and Interpretability

A key finding of this research is that multi-task learning improves both accuracy and interpretability. An ablation study revealed that the token classification task helps the regression head better estimate overall involvement. For educators and editors, this provides a "heat map" of human contribution, offering a transparent view of which parts of a document are original versus AI-generated, rather than providing a non-descriptive black-box score.

Limitations

Despite its performance, the model currently faces two primary limitations. First, it is domain-specific, having been trained and validated largely on Computer Science abstracts. Second, the RoBERTa architecture imposes a maximum token limit, preventing the analysis of full-length academic papers in a single pass.

Conclusion

As AI-human collaboration becomes the standard in academic writing, detection tools must evolve to reflect this reality. By treating AI detection as a regression and token classification problem, we provide a more accurate and robust method for maintaining academic integrity. Future work will focus on expanding the model's context window and testing its efficacy across diverse academic disciplines.

Summary updated

BibTeX
@inproceedings{guo2025measuring,
  author = {Yuchen Guo and Zhicheng Dou and Huy H. Nguyen and Ching-Chun Chang and Saku Sugawara and Isao Echizen},
  title = {{Measuring Human Involvement in AI-Generated Text: A Case Study on Academic Writing}},
  booktitle = {IJCNN},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228666},
}
Figure