arXiv:2608.25478cs.CLAug 2026

Manuscript Offprint

arXiv:2608.25478

VietAIDetector: An Open-Source Zero-Shot Detector for Vietnamese AI-Generated Text

Trieu Hai Nguyen, Van-Dung Hoang

Abstract

In recent years, distinguishing between AI-generated text and human-written text has remained a challenge. In this paper, we introduce VietAIDetector, an open-source tool designed specifically for detecting Vietnamese AI-generated text. It allows users to interact through a Gradio web interface with inputs ranging from raw Vietnamese text to common text file formats, including scanned documents and exceptionally long texts that exceed the context size of the employed Large Language Models (LLMs). The core component of the tool employs a Zero-Shot approach to detect AI-generated text without requiring domain-specific training data, building upon the previous VietBinoculars [1] and Binoculars [2] research. The tool is built upon a Vietnamese-specific language model and has been evaluated on out-of-domain datasets, demonstrating superior performance compared to existing methods primarily developed for English. Additionally, users can select optimal detection thresholds based on F1 score, accuracy, or TPR@0.05FPR requirements. The results are presented through the web interface, allowing users to easily review and verify suspicious texts or download them as a PDF report. The tool is publicly available at https://github.com/trieuntu/VietAIDetector.

Keywords: Vietnamese AI-generated text detection, VietBinoculars, Zero-shot detection, Long-document analysis, Open-source software.

1 Motivation and significance

The use of LLMs has become increasingly prevalent in various aspects of modern life. However, this widespread adoption also presents challenges in distinguishing between AI-generated and human-written text. This challenge is particularly important today, as verifying information and ensuring content authenticity have become increasingly urgent. For instance, in higher education, students may misuse AI tools to complete assignments and essays, potentially undermining their motivation to learn and their critical thinking skills. More concerningly, malicious actors may exploit AI tools on social media platforms to generate fake news or harmful content, thereby influencing public perception and behavior [3]. Therefore, developing a tool for detecting AI-generated text is essential to help ensure information authenticity and prevent the spread of unreliable content.

*Corresponding author.

Preprint submitted to Elsevier.

August 26, 2026

Considerable efforts have been devoted to detecting AI-generated text, leading to the development of numerous studies, methods, and both open-source and commercial tools, such as Binoculars [2], RadarTester [4], DetectGPT [5], Ghostbuster [6], GPTZero 1^{1}, Turnitin 2^{2}, and CNKI-AIGC 3^{3}. However, most of these efforts have focused on widely spoken languages such as English, Spanish, Chinese, and Japanese. In contrast, research on detecting AI-generated text in other languages, particularly Vietnamese, remains limited [1]. This highlights the need to develop dedicated tools for detecting Vietnamese AI-generated text to address the growing demand from Vietnamese users and help ensure content authenticity.

Motivated by these challenges, we developed VietAIDetector, a tool specifically designed for detecting Vietnamese AI-generated text. The tool features a user-friendly interface and scientific reporting capabilities to assist users in distinguishing between AI-generated and human-written text, thereby helping ensure information authenticity. The primary goal of the tool is to support higher education by offering educators an easily deployable system to detect student AI misuse, thereby enhancing educational quality and promoting academic integrity.

Unlike traditional methods, VietAIDetector employs a Zero-Shot approach based on the Binoculars and VietBinoculars research, eliminating the need for fine-tuning or retraining language models. This approach enables VietAIDetector to detect AI-generated text without requiring domain-specific training data, thereby reducing development time and cost. This advantage is particularly important given the rapid development of new LLMs and the frequent updates to existing ones, which make fine-tuning or retraining increasingly impractical. Furthermore, VietAIDetector is built upon a pair of Vietnamese-specific language models, PhoGPT-4B and PhoGPT-4B-Chat [7], improving its performance in detecting Vietnamese AI-generated text compared to existing methods primarily designed for English [1]. Table 1 summarizes the feature comparison between VietAIDetector and existing tools and methods, showing that VietAIDetector provides the most comprehensive set of features.

The main contributions of this work are summarized as follows:

• Introduction of VietAIDetector, an open-source tool for detecting Vietnamese AI-generated text.

● Adoption of a Zero-Shot approach based on the VietBinoculars algorithm, enabling effective detection without requiring domain-specific training data, thereby reducing development time and cost.

• Development of a user-friendly Gradio web interface that supports multiple input formats, including raw text, common text files, and scanned documents, while handling long texts that exceed the context size of the employed LLMs.

• Flexible threshold selection based on F1 score, accuracy, or TPR at 0.05 FPR, enabling users to optimize detection performance according to their specific require-

1^{1} https://gptzero.me 2^{2} https://www.turnitin.com 3^{3} https://cx.cnki.net/

Table 1: Feature comparison between VietAIDetector and existing tools and methods.

Method/ToolOpen SourceZero-ShotGUIOptimized for VietnameseHandles Long TextsAdversarial RobustnessInput Formats
VietAIDetector✓✓✓✓✓✓✓
Binoculars [2]✓✓✓✕✕✓✕
GLTR [3]✓✓✓✕✕✕✕
Rank/LogRank [3, 8]✓✓✕✕✕✕✕
RADAR [4]✓✕✓✕✕✕✕
DetectGPT [5]✓✓✕✕✕✕✕
Ghostbuster [6]✓✕✓✕✕✕✕
Likelihood [8]✓✓✕✕✕✕✕
OpenAI-RoBERTa [8]✓✕✕✕✕✕✕
GPTZero1^{1} [9]✕✕✓✓✓✓✓
Turnitin2^{2}✕✕✓✕✓✓✓
CNKI-AIGC3^{3}✕✕✓✕✓✓✓

ments. The thresholds can be easily updated and maintained in the config.py file as new LLM models are released or existing models are updated.