Manuscript Offprint
arXiv:2610.41232TRIDENT and SHAKTI: A Framework and Benchmark for Hindi AI-Text Detection
TRIDENT AND SHAKTI: A ROUND-TRIP TRANSLATION-BASED FRAMEWORK AND LARGE-SCALE BENCHMARK DATASET FOR AI-GENERATED HINDI TEXT DETECTION
Shifali Agrahari
Department of CSE,
Indian Institute of Technology Guwahati
Assam, India
Sujit Kumar
Institute of Advanced Intelligence
and Computing (IAIC),
A*STAR
Singapore
Sanasam Ranbir Singh
Department of CSE,
Indian Institute of Technology Guwahati
Assam, India
ABSTRACT
As Large Language Models (LLMs) continue to advance and become increasingly multilingual, distinguishing between human-written and LLM-generated text is crucial for preserving trust and integrity in information dissemination, public discourse, and digital ecosystems. However, existing research on AI-generated text detection remains predominantly English-centric, with limited availability of comprehensive benchmark datasets for low-resource languages such as Hindi, particularly those encompassing diverse text genres, LLM generators, prompting strategies, and adversarial transformations. To address this gap, we introduce SHAKTI, a large-scale Hindi benchmark for AI-generated text detection, featuring (i) human-written content across four genres : essays, news, Wikipedia, and question answering; (ii) AI-generated texts produced by eight LLM families using multiple prompting strategies; and (iii) adversarially transformed samples to evaluate detection robustness under both conventional and adversarial settings. Next, we assess the quality and reliability of SHAKTI through human annotation and evaluation, and systematically investigate differences between human-written and LLM-generated Hindi texts using linguistic, grammatical, and sentiment-based features. Building on these insights, we propose TRIDENT and its three variants, TRIDENT-S (Static Threshold-Based Classification), TRIDENT-D (Dynamic Threshold-Based Classification), and TRIDENT-C (Logistic Regression-Based Classification with Multi-Distance RTT Features), a round-trip translation-based detection framework comprising three complementary classification variants. TRIDENT exploits differences in semantic consistency between original and round-trip translated texts to distinguish human-written from LLM-generated content. Extensive experiments demonstrate that TRIDENT outperforms conventional statistical, rewriting-based, and supervised detection baselines across the evaluated Hindi datasets, with the static-threshold variant (TRIDENT-S) achieving the strongest overall performance. Furthermore, evaluations across Hindi, Urdu, Arabic, Russian, Chinese, English and Korean demonstrate its multilingual applicability while revealing sensitivity to the choice of translation model. Adversarial perturbation and cross-LLM generalization evaluations further assess its robustness and ability to detect text from unseen LLMs¹.
¹The dataset is available upon reasonable request from the corresponding authors. The dataset and source code will be made publicly available upon publication of the peer-reviewed version of this work.

Figure 1: RTT (Round Trip Translations) consistency for Human-written and GPT-generated text. The left panel shows the distribution of BLEU scores, with the x-axis representing BLEU scores (0–100) and the y-axis representing the number of samples in each bin. The right panel shows the distribution of cosine similarity scores between the original and round-trip-translated texts (Hindi → English → Hindi), with the x-axis representing cosine similarity expressed as a percentage (0–100%) and the y-axis representing the number of samples in each bin. GPT-generated text generally exhibits higher lexical and semantic consistency after round-trip translation, whereas human-written text shows greater translation-induced variation. These distributional differences suggest that RTT consistency may provide a useful signal for distinguishing AI-generated from human-written text.
Keywords AI-Generated Text Detection · Large Language Models · Round-Trip Translation · Hindi Language · Benchmark Dataset
Despite its importance, research on the detection of LLM-generated text in Hindi remains extremely limited, and according to Wikipedia (2023)[8], Hindi is the fourth most spoken language in the world . To date, relatively few studies have investigated LLM-generated text detection involving Hindi. The dataset [9] focuses on Hindi news articles, whereas IndicDetect [10] extends the investigation to Hindi, Telugu, and Tamil across multiple domains, including news, journal articles, poetry, and entertainment content. Despite these contributions, existing datasets differ in scale, domain coverage, generator diversity, and support for adversarial evaluation. In particular, the availability of large-scale Hindi benchmarks incorporating diverse LLM generators, including models specifically developed for Indian languages, remains limited. Furthermore, although existing datasets incorporate various text perturbations, there remains a need for comprehensive evaluation of detection robustness across diverse adversarial transformations and generation settings. Furthermore, real-world scenarios often involve adversarial attacks [11], where malicious actors intentionally manipulate text such as rewrite, synonym substitution, or grammatical changes to evade LLM-generated text detectors. These attacks undermine detection robustness, necessitating their consideration in the dataset and evaluation of LLM generated text detector.
To address this gap, we introduce SHAKTI (Source-aware Hindi AI-Generated Text Identification), a large-scale Hindi benchmark comprising human-written, LLM-generated, and adversarially perturbed texts across four genres: news, question answering, Wikipedia, and essays. SHAKTI incorporates outputs from diverse LLMs, including GPT-3.5 [12], Meta-LLaMA-3.2-70B [13], Mistral-Nemo-Base-2407 [14], Gemma [15], ChatGPT (GPT-5) and Gemini , and Indian-
https://www.ethnologue.com/insights/most-spoken-language/
https://chatgpt.com/?model=auto
https://gemini.google.com/app language-focused models such as Aya 101 and Sarvam-1 AI⁵. By covering diverse generation settings and adversarial transformations, SHAKTI enables systematic evaluation of AI-generated text detection in Hindi.
Despite significant advances in LLM-generated text detection [16, 17, 18, 19], reliably distinguishing human-written from LLM-generated text across diverse domains and distributions remains an open challenge. In particular, supervised detectors [20, 16, 21, 22, 23] often achieve strong in-domain performance but experience substantial degradation under out-of-distribution (OOD) conditions, highlighting their limited generalizability across unseen domains and text distributions. Zero-shot methods [24, 17, 25, 21, 26] often rely on LLM logit outputs, which are unavailable for most black-box commercial models such as GPT-3.5 and GPT-4. Additionally, high-dimensional feature-based detectors may include redundant or spurious features, leading to overfitting. Recent approaches, including SimLLM [27], RAIDAR [28], and LLaMA-L2R [29], detect AI-generated text by rewriting the input and comparing the rewritten version with the original. However, rewriting is an unconstrained transformation that alters meaning and depends on the rewriting model, making similarity unstable.
Motivated by these limitations, we propose TRIDENT (Translation-based Round-trip Identification for Detecting Entities of Text), a novel framework that leverages translation-induced variations through round-trip translation (RTT) to distinguish human-written from LLM-generated text. The primary instinct behind our proposed TRIDENT methods is that LLM-generated text, when translated and back-translated via LLM only, naturally reinforces its own stylistic and structural tendencies, resulting in high similarity between the original LLM-generated text and its RTT version. A plausible explanation is that, during translation and back-translation, the LLM tends to reconstruct text according to its learned generative patterns, potentially preserving stylistic characteristics associated with LLM-generated content. In contrast, human-written text demonstrates greater stylistic richness and less predictable structure. During a round-trip translation using an LLM, the LLM tends to reshape the text toward its preferred writing style, reducing the similarity between the original human-written text and its corresponding RTT output. This difference in similarity patterns enables reliable discrimination between human-generated and LLM-generated text. TRIDENT preserves semantic meaning while perturbing surface form, producing a more robust signal for LLM-generated text detection.
Figure 1 illustrates the distribution of BLEU scores and similarity between the original text and its RTT. As shown in Figure 1, GPT-generated text exhibits substantially higher BLEU scores and cosine similarity following RTT compared to human-written text. The pronounced separation in BLEU distributions suggests that GPT-generated text undergoes fewer lexical changes, while the higher cosine similarity indicates stronger semantic preservation. Although some overlap exists, particularly in semantic similarity, these observations suggest that human-written and LLM-generated texts exhibit distinct responses to translation-induced transformations. Motivated by the above observation from Figure 1, we exploit RTT consistency as a discriminative signal for detecting LLM-generated text in our proposed TRIDENT framework.
We develop three complementary variants of TRIDENT that differ in their classification strategies. TRIDENT-S (Static Threshold) uses a fixed decision threshold selected using labelled validation data. TRIDENT-D (Dynamic Threshold) estimates an adaptive decision boundary using an unsupervised two-component Gaussian Mixture Model (GMM) fitted to unlabelled validation scores. TRIDENT-C (Logistic Regression) employs a supervised logistic regression classifier trained on multiple RTT-derived features, capturing complementary signals of lexical, semantic, and distributional variation. Together, these variants enable the investigation of fixed-threshold, adaptive-threshold, and supervised approaches to RTT-based detection.
We conduct extensive experiments on our proposed SHAKTI benchmark and publicly available datasets from literature, spanning eight languages. We compare the performance of TRIDENT against representative state-of-the-art methods from the literature, both in-domain and cross-domain evaluation settings. The key findings from our experiments demonstrate the effectiveness and generalizability of TRIDENT for detecting LLM-generated text. TRIDENT consistently outperforms conventional statistical, rewriting-based, and supervised detection baselines across the evaluated Hindi datasets and genres. Furthermore, TRIDENT demonstrates promising multilingual applicability, achieving strong detection performance across datasets in seven languages other than Hindi, although its effectiveness varies across languages and translation models. Our findings also reveal that the choice of translation model significantly influences detection performance, with LLM-based translators generally outperforming conventional machine translation models and GPT-3.5 exhibiting strong performance across multiple settings. Our key contributions can be summarized as follows:
- We curate SHAKTI, a large-scale Hindi benchmark to foster the development and evaluation of methods for LLM-generated text detection in Hindi, comprising human-written, LLM-generated, and adversarially transformed texts across diverse domains and genres, and from multiple LLM generators. Our proposed SHAKTI
⁵https://huggingface.co/sarvamai/sarvam-1
Table 1: Comparison of existing AI-generated text detection benchmarks in terms of dataset size, language coverage, domain diversity, generator diversity, adversarial robustness, and language-specific LLM coverage. Language-specific LLMs refer to models developed or adapted for regional languages, such as Sarvam models for Indian languages. General-purpose models include GPT, Llama, and Qwen, while Aya is treated as a multilingual model family. SHAKTI provides a large-scale Hindi benchmark with multiple domains, diverse generators, and five adversarial transformations.
| Name | Size | Langs | Multi-Domain | Multi-Generator | Adversarial | Language-Specific LLMs |
|---|---|---|---|---|---|---|
| TuringBench [30] | 200k | EN | ✕ | ✓ | ✕ | ✕ |
| RuATD [31] | 215k | RU | ✓ | ✓ | ✕ | ✕ |
| HC3 [32] | 26.9k | EN/ZH | ✓ | ✕ | ✕ | ✕ |
| MGTBench [33] | 2.8k | EN | ✓ | ✓ | ✓ | ✕ |
| MULTITuDE [34] | 74.1k | Multi | ✓ | ✓ | ✕ | ✕ |
| M4 [35] | 122k | Multi | ✓ | ✓ | ✕ | ✕ |
| CCD [36] | 467k | EN | ✕ | ✓ | ✓ | ✕ |
| IMDGSP [37] | 29k | EN | ✕ | ✓ | ✕ | ✕ |
| HC-Var [38] | 145k | EN | ✓ | ✕ | ✕ | ✕ |
| HC3 Plus [39] | 210k | EN/ZH | ✓ | ✕ | ✕ | ✕ |
| MAGE [40] | 447k | EN | ✓ | ✓ | ✕ | ✕ |
| HC3-French [41] | 54k | FR | ✕ | ✕ | ✓ | ✕ |
| DetectRL [42] | 1.4M | EN | ✓ | ✓ | ✓ | ✕ |
| RAID [43] | 6.2M | EN | ✓ | ✓ | ✓ | ✕ |
| BUST [44] | 25k | EN | ✓ | ✓ | ✕ | ✕ |
| DetectRL-X [45] | 3.46M | Multi | ✓ | ✓ | ✓ | ✕ |
| MultiSocial [46] | 414k | Multi | ✓ | ✓ | ✕ | ✕ |
| AGhi [9] | 36.7k | HI | ✕ | ✓ | ✕ | ✕ |
| IndicDetect [10] | 84k | HI/TE/TA | ✓ | ✓ | ✓ | ✕ |
| HLU [47] | 1,014 | UR | ✓ | ✕ | ✕ | ✕ |
| KatFishNet [48] | 2,094 | Korean | ✓ | ✓ | ✕ | ✕ |
| Arabic [49] | 3,500 | Arabic | ✓ | ✓ | ✕ | ✕ |
| SHAKTI (Ours) | 1.01M | HI | ✓ | ✓ | ✓ | ✓ |
Notes: EN = English; ZH = Chinese; RU = Russian; FR = French; HI = Hindi; TE = Telugu; TA = Tamil; UR = Urdu; Multi = multiple languages. A checkmark indicates that the capability is supported in this comparison, while a cross indicates that it is not indicated as supported. SHAKTI contains 1,006,800 samples across human-written, LLM-generated, and adversarial categories. Its five adversarial transformations are rewriting, homoglyph substitution, synonym replacement, misspelling, and whitespace manipulation. Benchmark statistics and capability indicators should be verified against the original publications before submission.
dataset facilitates systematic evaluation of detection methods under diverse generation and perturbation settings.
-
We propose TRIDENT, a round-trip translation (RTT)-based framework for detecting LLM-generated text across multiple languages. TRIDENT comprises three complementary variants: TRIDENT-S, which employs static threshold-based classification; TRIDENT-D, which uses dynamic threshold estimation based on an unsupervised Gaussian Mixture Model (GMM); and TRIDENT-C, which employs supervised logistic regression on RTT-derived features.
-
We conduct extensive experiments on SHAKTI and existing benchmark datasets across multiple languages, evaluating the effectiveness and multilingual applicability of TRIDENT against representative statistical, rewriting-based, and supervised detection methods.
-
We provide a comprehensive empirical analysis of RTT-induced consistency, examining the influence of translation models, text genres, and classification strategies on detection performance. We further investigate linguistic characteristics and misclassification patterns to identify the strengths and limitations of RTT-based detection.
2 Related Work
In literature studies [50, 51, 52, 53, 54, 5] have briefly reviewed works related to AI-generated content in the English language. In contrast, this section provides a focused review of existing datasets and methodological approaches for detecting AI-generated text in Hindi, highlighting the progress and research gaps in this relatively underexplored language.
2.1 AI-Generated Text Dataset
The rapid advancement of large language models (LLMs) has motivated the development of datasets and benchmarks for distinguishing human-written text from machine-generated content. Existing benchmarks differ in their language coverage, domain diversity, generator composition, and evaluation protocols, making direct comparisons across detection methods challenging [53, 51, 50]. Although several datasets have enabled systematic evaluation of AI-generated text detectors, limitations in linguistic diversity, distributional coverage, and robustness evaluation remain important challenges. One of the early contributions to AI-generated text detection, the TuringBench dataset [30], provides large collections of human-written and machine-generated news articles produced by multiple language models. The MAGE dataset [40] extends this line of research by incorporating diverse text sources and generation settings to investigate the generalisation capabilities of AI-generated text detectors. However, both benchmarks primarily focus on English, limiting their ability to characterise detection performance across languages with different linguistic structures and writing conventions [53, 34].
Subsequent studies, RAID [43] and DetectRL [42] mainly emphasise evaluating detector robustness under realistic distribution shifts. RAID [43] provides a large-scale benchmark dataset incorporating samples generated by multiple generators (LLMs) over a corpus from diverse domains and decoding strategies, with different perturbation techniques, including paraphrasing and other text transformations. RAID [43] provides a large-scale benchmark dataset incorporating samples generated by multiple generators (LLMs) over a corpus from diverse domains and decoding strategies, with different perturbation techniques, including paraphrasing and other text transformations. While DetectRL [42] further investigates detection under challenging generation and text-transformation settings. These resources facilitate training and evaluation of models beyond conventional in-distribution evaluation for AI-generated text detection. Nevertheless, their predominantly English-language focus limits their applicability to multilingual settings, where linguistic variation and language-specific transformations may introduce additional challenges [53, 34].
To address the limitations of predominantly English-centric datasets, subsequent studies have introduced multilingual benchmarks that extend AI-generated text detection research to a broader range of languages. The M4 dataset [35] extends machine-generated text detection to multilingual, multi-domain, and multi-generator settings, enabling the evaluation of detector robustness and generalisation across heterogeneous data distributions. However M4 dataset [35], imbalances in sample sizes, domain distributions, and generator coverage across languages introduce distributional confounders, limiting the reliability of cross-lingual performance comparisons. HC3 [32] introduces a human–ChatGPT comparison corpus spanning English and Chinese across multiple question-answering domains, facilitating the evaluation of human-versus-machine text detection. Extending multilingual evaluation, MULTITuDE [34] comprises human-written and machine-generated news texts across eleven languages and eight LLMs, enabling systematic investigation of cross-lingual and cross-generator generalisation. However, these benchmarks provide limited systematic evaluation of adversarial text transformations and cross-domain distribution shifts, leaving detector robustness under realistic out-of-distribution conditions insufficiently explored.
Furthermore, SemEval-2024 Task 8 [55] established evaluation tracks for machine-generated text detection and related attribution tasks, including multilingual settings. The multilingual GenAI content detection task [56] further advances the evaluation of machine-generated content across languages. However, the availability of dedicated, sufficiently diverse datasets remains important for evaluating robustness beyond the specific languages, domains, and generators represented in shared-task test sets. Beyond multilingual benchmarks, language-specific studies have investigated AI-generated text detection across diverse linguistic settings. HLU [47] introduces multi-granularity detection benchmarks for Urdu, while KatFishNet [48] exploits language-specific morphological and syntactic features for Korean text detection. Similarly, AuTexTification [57] investigates machine-generated text detection and generator attribution across multiple domains in Spanish and English, whereas RuATD [31] establishes a benchmark for AI-generated text detection in Russian. Studies [47, 48, 57, 31, 9] underscore the importance of language-specific evaluation, particularly in capturing morphological, syntactic, and sociolinguistic variations that influence AI-generated text detection. However, heterogeneity in dataset size, domain distributions, generator diversity, and adversarial perturbation coverage introduces evaluation biases, limiting systematic assessment of detector robustness and cross-lingual generalization.
In the context of Hindi, the Counter Turing Test (CT ) study [9] introduces AG , a language-specific benchmark for training and evaluation of models for AI-generated text detection in Hindi language. The AG [9] dataset comprises human-written news articles sourced from BBC Hindi and NDTV, alongside corresponding AI-generated news articles generated by five LLMs. Nevertheless, is limited to news articles sourced from BBC Hindi and NDTV, alongside machine-generated texts produced by five LLMs using headline-conditioned generation. This restricts its diversity in terms of text domains, writing styles, source distributions, and generation strategies. Furthermore, imbalances in generator-specific samples, limited variation in decoding configurations, and the absence of systematic adversarial transformations, such as paraphrasing, human post-editing, and mixed human-AI authorship, limit its ability to comprehensively evaluate detector robustness and generalization across diverse text conditions and real-world distribution shifts.
To address these limitations, we introduce SHAKTI, a large-scale Hindi AI-generated text detection benchmark covering four domains: essays, news, Wikipedia, and question answering. It includes human-written and AI-generated texts from diverse LLMs, including GPT-3.5, LLaMA-3.2, Mistral, Gemma-3, GPT-5, Gemini-2.5 Flash, Aya, and Sarvam. The dataset incorporates adversarial transformations, including rewriting, homoglyph substitution, synonym replacement, misspelling, and whitespace manipulation, alongside diverse text lengths, prompts, and prompting strategies. SHAKTI enables systematic evaluation of cross-domain and cross-generator generalization and detector robustness against text modifications. Table 1 compares SHAKTI with existing datasets in terms of scale, domain and generator diversity, LLM operations, language coverage, and adversarial evaluation.
2.2 Detection Methods
Existing AI-generated text detection methods can be broadly classified into three major categories: (i) statistical and zero-shot detection methods, (ii) supervised learning-based detection methods, and (iii) rewriting-based detection methods.
Statistical and zero-shot methods: These approaches exploit statistical properties of text to detect AI-generated content, often without requiring task-specific labelled training data. White-box-based methods leverage language-model probability distributions to estimate statistical signals, including perplexity [58], likelihood [20], and token ranks [17]. DetectGPT [25] exploits changes in log-probability under text perturbations, while Fast-DetectGPT [24] improves computational efficiency through conditional probability curvature estimation. DetectLLM [21] employs log-rank-based statistics, whereas Binoculars [59] leverages the relationship between perplexity and cross-perplexity computed using two language models. The DNA-GPT [1] study examines consistency between human-authored text and AI-generated text, while Biscope [60] investigates the role of preceding-token information in AI-generated content detection.
Supervised learning-based methods: These methods use labeled human-written and AI-generated texts to learn discriminative linguistic, stylistic, and semantic representations. Early approaches fine-tune pretrained language models for binary classification [20], while Rivera et al. [61] leverage human writing-style representations to improve cross-generator generalization. RADAR [62] employs adversarial detector-paraphraser training, and OUTFOX [63] uses adversarial examples with iterative in-context learning. Ghostbuster [64] combines probability estimates from weaker language models to construct discriminative features, whereas EAGLE [65] uses contrastive learning and domain-adversarial training to improve generalization to unseen generators. DeTeCtive [66] integrates multi-level contrastive learning and dense retrieval to capture author-specific writing styles. Beyond conventional in-domain evaluation, Wang et al. [56] introduced a shared-task benchmark for multilingual machine-generated text detection. Liyanage et al. [22] investigated LLM-generated hotel review detection using traditional machine-learning and fine-tuned transformer models, highlighting the effects of training-data availability and paraphrasing. ArguGPT [23] provides a benchmark of human-written and GPT-generated argumentative essays, demonstrating effective detection using fine-tuned RoBERTa at essay and sentence levels. In educational applications, Xiao et al. [67] proposed a dual-process-inspired LLM framework for automated essay scoring that integrates AI-generated evaluations, explanatory feedback, and confidence estimates to support human-AI collaborative grading.
Rewriting-based methods: These approaches exploit differences in the rewriting behavior of human-written and AI-generated texts, leveraging changes in linguistic structure, semantic consistency, or model likelihood to distinguish their origins. SimLLM [27] exploits similarity between input sentences and their regenerated counterparts, while DART [68] leverages Abstract Meaning Representation (AMR) of rephrased texts to capture semantic differences for detection. Building on the observation that LLMs tend to modify human-written text more extensively than machine-generated content, RAIDAR [28] employs edit distance between original and rewritten texts as a detection signal. Extending this principle, LLaMA-L2R [29] trains a rewriting model to amplify these differences, improving generalization across domains and generation settings. Nevertheless, the effectiveness of rewriting-based approaches may depend on the rewriting model, transformation strategy, and characteristics of the input text. Despite promising results, existing AI-generated text detection methods face several challenges. First, generalization to unseen generators and domains remains difficult: evaluations on the M4 benchmark show that detectors can misclassify machine-generated text from previously unseen LLMs and domains [35]. Second, rewriting-based methods depend on the behaviour of the rewriting
SHAKTI Dataset Construction

Figure 2: Overview of the SHAKTI dataset construction pipeline. Human-written Hindi texts are collected from four genres—news, Wikipedia, question answering (QA), and essays—and used to guide text generation with eight LLMs and multiple genre-specific prompts. Five adversarial transformations are subsequently applied to LLM-generated texts to construct a benchmark comprising human-written, unperturbed LLM-generated, and adversarially transformed samples.
model and the transformation applied. Methods such as RAIDAR use the edit distance between original and rewritten texts, while SimLLM compares texts with their regenerated counterparts [28, 27]. Consequently, the discriminative value of these signals may vary with the rewriting or regeneration model and the characteristics of the input text. Third, some approaches require additional training or model-specific resources. For example, Learning2Rewrite trains a rewriting model to amplify the differences between human-written and LLM-generated text, introducing additional training requirements [29]. Fourth, robustness across languages, domains, and evolving generation strategies remains challenging. Although rewriting-based methods have demonstrated promising generalization, their effectiveness should be assessed under shifts in language, domain, and generator rather than assumed to transfer universally [35, 34]. These limitations motivate the development of detection approaches that exploit complementary signals and reduce dependence on task-specific detector training. Despite their strong performance in controlled evaluation settings, supervised detection methods often exhibit limited generalization to out-of-distribution scenarios, particularly when encountering unseen language models, domains, and languages [35]. Their effectiveness largely depends on the diversity and representativeness of labeled training data, making them vulnerable to distribution shifts arising from evolving language models and text-generation strategies. Furthermore, although statistical and zero-shot approaches reduce reliance on task-specific labeled data, their effectiveness can be constrained by access to language-model probability distributions and sensitivity to text characteristics and transformations. Consequently, developing robust detection methods that generalize across generators, domains, and linguistic settings remains an important research challenge. Rewriting-based methods face three key limitations: (i) poor out-of-domain generalisation, (ii) dependence on labelled training data, and (iii) sensitivity to evolving LLM behaviours.
Motivated by these challenges, we propose TRIDENT, a round-trip translation-based detection framework with three variants that exploit translation-induced textual changes to distinguish human-written from LLM-generated content. We also introduce SHAKTI, a Hindi benchmark encompassing multiple domains, diverse LLM generators, and adversarially transformed texts. Together, TRIDENT and SHAKTI provide a complementary framework for developing and systematically evaluating AI-generated text detectors under diverse linguistic, distributional, and adversarial conditions.
3 Proposed Dataset
3.1 Human-Written Text Collection
We construct SHAKTI using human-written Hindi texts collected from publicly available sources across four genres: (i) news [69], (ii) Wikipedia [70], (iii) question answering (QA) [71], and (iv) essays [72]. These genres represent different writing styles, text lengths, and levels of linguistic complexity, enabling a more comprehensive evaluation of AI-generated text detection. Appendix Figure 9 illustrates sample instances from the proposed dataset across four genres. The dataset exhibits substantial variation in sentence length, style, and textual complexity.
-
News: We use the raw Hindi news corpus from a curated fake news detection dataset [69], without using its fake news labels. The corpus comprises human-written articles collected from multiple media outlets and covers topics such as politics, sports, finance, current affairs, and daily news. Study [69] considers news articles collected from mainstream media outlets as True news articles and generated fake news articles using data augmentation techniques. In our study, we use True news articles from the study corpus [69] as human-authored news samples.
-
Wikipedia: We collected human-written Hindi encyclopedic articles from the Hindi Wikipedia dump (hiwiki) provided by Wikimedia Dumps⁶. These articles cover diverse topics and provide informative, knowledge-oriented text, complementing other genres in our dataset.
-
Question Answering (QA): This genre comprises concise, explanatory, and conversational question-answer pairs. We sourced the Hindi (hi) subset from the AI4Bharat IndicQA dataset⁷, which contains four fields: ID, Context, Question, and Answers. We exclusively extracted the question and answer fields to construct the QA genre.
-
Essay: We utilize the naturally collected Hindi essay corpus introduced in H-AES [72]. The corpus comprises 126 essays authored by students aged 18–20 as part of an online essay-writing competition. The essays address a common travel-related topic, providing authentic Hindi writing samples that reflect human linguistic choices and natural variations in writing style. We use the original Hindi essays and exclude the ASAP-Hindi subset, which comprises English essays translated into Hindi.
The inclusion of news articles, Wikipedia content, question-answer texts, and essays introduces diversity in vocabulary, syntactic structures, discourse organisation, and text length.
3.2 LLM-Generated Text Curation
To curate the LLMs generated portion of SHAKTI, we use multiple LLMs representing different model families and generation capabilities. We consider six open-source models which include GPT-3.5 [12], Meta-LLaMA-3.2-70B [13], Mistral-Nemo-Base-2407 [14], and Gemma-3-27B-IT [15], ChatGPT (GPT-5) and Gemini-2.5 Flash and two Hindi LLMs including Aya-101 [73] and Sarvam-1⁸. We provide genre-specific instructions to generate Hindi text corresponding to the four genres described above. For each model-genre combination, we employ prompt variants to introduce diversity in tone, format, and response complexity. These variants include formal and conversational instructions, short and detailed responses, and different levels of explanatory depth. The prompts are designed to elicit varied outputs while maintaining consistency with the intended genre.
3.3 Adversarial Text Generation
In addition to unperturbed LLM-generated text, SHAKTI incorporates five types of adversarial transformations: rewriting [74], homoglyph substitution [75], synonym replacement [76], misspelling, and whitespace manipulation. These transformations are motivated by the need to evaluate whether detectors remain effective when machine-generated text is modified to obscure its original characteristics. The broader use of text perturbations in detection benchmarks is also explored in RAID [43]. The transformations are defined and applied as follows:
-
Rewrite Attack: Rewrites the original text using different sentence structures or expressions while preserving its intended semantic meaning.
-
Homoglyph Attack: Replaces selected characters with visually similar characters from the same or different character sets, introducing character-level perturbations while maintaining visual similarity.
-
Synonym Replacement Attack: Replaces selected words with their synonyms to alter the lexical representation of the text while attempting to preserve its original meaning.
-
Misspelling Attack: Introduces spelling errors, character insertions, deletions, substitutions, or transpositions to perturb the original text.
-
Whitespace Addition Attack: Inserts additional or irregular whitespace within or between words to modify the textual representation without necessarily changing its intended meaning.
⁶https://dumps.wikimedia.org/hiwiki/
⁷AI4Bharat IndicQA dataset
⁸https://huggingface.co/sarvamai/sarvam-1
Appendix Figure 10 presents five types of adversarial text transformations in Hindi, including rewrite, homoglyph, and synonym replacement, misspelling, and whitespace addition attacks. The transformations are generated using language-model-based prompts or scripted perturbation operations, depending on the attack type. For rewriting, the original passage is provided to a language model instructed to rephrase it while preserving its central meaning. For synonym replacement, selected words are replaced with contextually appropriate alternatives, leaving the surrounding text unchanged wherever possible. Homoglyph substitution replaces eligible characters using a predefined mapping of visually similar characters. Misspelling generation applies the character-edit operations supported by the dataset construction pipeline to selected words. Whitespace manipulation inserts additional spaces at selected positions between or, where applicable, within words, while preserving the order of non-whitespace characters. The resulting perturbed samples are used to evaluate detector robustness against linguistic, character-level, and formatting modifications.
3.4 Prompt Diversity and Reproducibility
We use genre-specific prompt templates to generate Hindi text corresponding to four genres: news, Wikipedia-style encyclopedic text, question answering (QA), and essays. For each model–genre combination, we employ variants to introduce diversity in tone, format, and response complexity while maintaining consistency with the target genre. The corresponding templates specify the task, input, generation instructions, and expected output format. To evaluate the robustness of AI-generated text detection, we further incorporate five adversarial transformations: rewrite, homoglyph substitution, synonym replacement, misspelling, and whitespace manipulation. We provide the corresponding attack prompts and transformation instructions to clarify how each perturbation is applied. While rewrite and synonym replacement modify lexical or syntactic expression, misspelling and whitespace manipulation introduce surface-level changes, and homoglyph substitution replaces selected characters with visually similar alternatives. These transformations are intended to preserve the original semantic content as much as possible while introducing different forms of textual variation. The prompt templates and adversarial transformation instructions are presented in the following subsections. Together, they document the text-generation and perturbation procedures used to construct SHAKTI and facilitate reproducibility. Appendix Section 10 provides representative examples of the prompt instructions used for curating the SHAKTI dataset. In summary, SHAKTI provides a comprehensive and diverse Hindi benchmark that integrates human-authored and LLM-generated texts across multiple genres, incorporates text authored by diverse families of LLMs, and systematically includes five widely used adversarial transformation strategies. With its coverage of diversity in linguistic characteristics, writing styles, text lengths, generation sources, and adversarial perturbations, SHAKTI enables rigorous, systematic training and evaluation of AI-generated text detection methods across diverse textual conditions, including both conventional and adversarial settings.
4 Human Annotation and Quality Evaluation of the Proposed Dataset
4.1 Data Cleaning and Quality Control
To mitigate potential biases arising from superficial textual cues that could bias AI-generated text detection, we apply consistent preprocessing to both human-written and LLM-generated Hindi texts. This includes removing repeated punctuation, bullet points, extraneous line breaks, HTML tags, and references, applying Unicode normalization, and removing sentences in languages other than Hindi. These operations aim to eliminate dataset-specific noise and formatting-related artifacts while preserving the original lexical content, word order, sentence structure, and semantics of the samples. The same preprocessing procedures are applied identically to both human-written and LLM-generated texts to avoid introducing or removing class-specific information. Consequently, the stylistic and semantic characteristics relevant to distinguishing AI-generated from human-written text remain intact. Formatting normalization is intended solely to improve textual consistency rather than alter authorship-related characteristics. These steps aim to reduce formatting-related artifacts while preserving the linguistic content of the samples.
Since sample provenance determines the original authorship labels, our quality-control procedure primarily assesses the linguistic quality and contextual appropriateness of LLM-generated texts. Specifically, we manually inspect 10–20 randomly selected generations per model and domain to evaluate fluency, coherence, plausibility, and relevance, and to identify systematic generation failures such as irrelevant responses, unintended language switching, excessive repetition, and malformed outputs. To minimise selection bias, we avoid filtering individual samples solely on the basis of their perceived human-likeness or detectability. Instead, we evaluate generation configurations for recurring quality issues and exclude configurations exhibiting systematic failures from subsequent text generation. To ensure consistent quality control across authorship categories, we apply common validation criteria to both human-written and LLM-generated Hindi texts, including language verification, duplicate detection, text-length validation, and the identification of empty or malformed samples. Additionally, we conduct source-specific quality assessments to account for differences in data provenance. For human-written texts, we examine source integrity and textual completeness; for LLM-generated texts,
Table 2: Comparison of Hindi AI-generated text detection datasets in terms of domain coverage, data scale, LLM diversity, and adversarial robustness.
| Dimension | [9] | IndicDetect [10] | SHAKTI (Ours) |
|---|---|---|---|
| Language coverage | Hindi (BBC/NDTV) | Hindi/Telugu/Tamil | Hindi |
| Domain coverage | News | Google News, JJHR Journal, Poetry, Bollywood Hungama | Essay, news, Wikipedia, QA |
| LLM diversity | 26 LLM, GPT versions, Bloom, BARD, mGPT, Mistral, Gemma, mT5 versions | GPT-4.1, Qwen-Plus, DeepSeek-v3.2 | GPT3.5, Llama 3.2, Mistral, Gemma 3, GPT-5, Gemini, Aya, Sarvam |
| Attack coverage | — | Perturbation, Whitespace, Insert-Paragraph, Alternative Spelling, Misspelling, Syn-onym Swap | Rewrite, Homoglyph, Synonym, Misspelling, Whitespace |
| Prompt for generation | Simple text generation method | research-style, open-ended narrative, opinion-oriented prompts | Instruction-based, Task-oriented prompt |
| Human-written samples | 7,043 | 4,000 | 83,900 |
| LLM-generated samples | 29,627 | 12,000 | 503,400 |
| Adversarial samples | — | 12,000 | 419,500 |
| Total samples | 36,670 | 28,000* | 1,006,800 |
| Primary focus | Hindi news detection | Multilingual detection and robustness under distribution shifts | Large-scale Hindi AI-text detection with coverage of Hindi-specific LLMs and adversarial robustness |
we manually inspect randomly selected samples to assess fluency, coherence, plausibility, and prompt relevance, and to identify systematic generation failures. This combined quality-control procedure aims to maintain dataset consistency without introducing unnecessary selection bias toward either authorship category. To avoid trivially short generated samples, we impose a minimum length threshold of approximately 1,000 characters on LLM-generated texts. This constraint encourages sufficiently developed outputs for meaningful evaluation. Overall, our quality-control procedure aims to preserve linguistic diversity while minimizing artifacts arising from inadequate prompting or generation failures.
4.2 Human Annotations
To further evaluate the quality and reliability of SHAKTI, we conduct a human annotation study on a randomly selected subset of eight hundred samples. Four annotators independently evaluate each sample using four criteria: Fluency, Origin, Coherence, and Factuality. All annotators are native Hindi speakers with strong linguistic competence. Two are graduate students in Computer Science with prior experience in Hindi NLP research, while the other two specialise in Hindi linguistics. Fluency assesses grammatical correctness and readability, while Coherence measures the logical consistency and flow of ideas. Origin captures whether a text is perceived as human-written or LLM-generated, and Factuality evaluates the accuracy and relevance of its content. Fluency is rated on a three-point scale, Factuality on a five-point scale, and Origin and Coherence using binary labels. Appendix Table 14 presents an annotation scheme for human evaluation metrics, including score labels and descriptions.
4.3 Inter-Annotator Agreement
We assess annotation consistency using Krippendorff's alpha [77] and Fleiss' kappa [78]. Table 3 presents the agreement scores across the four annotation dimensions. The agreement for Origin, with a reported Fleiss' kappa of 0.54, highlights the difficulty of distinguishing human-written text from LLM-generated text based solely on textual characteristics. As LLMs increasingly produce fluent and coherent text, their outputs may closely resemble human writing, leading to differences in annotator judgments. Subjective interpretations of fluency, coherence, and factual accuracy may also contribute to disagreements. The relatively high agreement for Fluency, with a Fleiss' Kappa of 0.719, indicates substantial consistency among annotators in assessing the grammatical correctness and readability of the texts. This suggests that linguistic fluency is a comparatively well-defined evaluation dimension, allowing annotators to distinguish between fluent and grammatically deficient samples with relatively little disagreement. Similarly, the relatively high agreement for Factuality, with a Krippendorff's Alpha of 0.776, indicates considerable consistency among annotators.
Table 3: Krippendorff's Alpha and Fleiss' Kappa scores for reviews by metric, as mentioned in Appendix Table 14.
| Agreement Metric | Fluency | Origin | Coherence | Factuality |
|---|---|---|---|---|
| Krippendorff's Alpha () | 0.769 | 0.671 | 0.535 | 0.776 |
| Fleiss' Kappa () | 0.719 | 0.543 | 0.456 | 0.543 |
Table 4: Analysis of structural features in human-written and LLM-generated Hindi texts. # Characters denotes the number of characters, # Words the number of word tokens, # Sentences and # Paragraphs the number of sentences and paragraphs, respectively, and Special Char the number of special characters.
| Feature | Human | Gemma QA | GPT | LLaMA | Mistral | ChatGPT | Gemini | Aya | Sarvam |
|---|---|---|---|---|---|---|---|---|---|
| # Characters | 170.73 | 825.08 | 740.44 | 4236.07 | 4572.91 | 895.42 | 1028.65 | 768.31 | 692.84 |
| # Words | 29.19 | 135.91 | 127.18 | 709.69 | 772.70 | 148.26 | 169.83 | 126.74 | 114.52 |
| # Sentences | 1.15 | 12.70 | 8.27 | 53.29 | 57.71 | 11.84 | 13.62 | 10.17 | 9.46 |
| # Paragraphs | 1.00 | 22.56 | 6.74 | 42.05 | 47.24 | 7.31 | 8.26 | 6.12 | 5.48 |
| Special Char | 138.77 | 646.58 | 588.56 | 2857.06 | 3087.26 | 704.18 | 810.36 | 601.72 | 542.63 |
| Punctuation | 3.51 | 14.49 | 14.85 | 93.57 | 99.61 | 15.82 | 17.64 | 13.27 | 12.18 |
in evaluating the perceived factual accuracy of textual content. This suggests that annotators generally share similar judgments regarding the plausibility and correctness of factual statements, although differences may arise when evaluating ambiguous claims, incomplete information, or subtle factual inconsistencies.
In summary, the inter-annotator agreement scores reported in Table 3 provide complementary evidence regarding the consistency of human assessments of textual quality and perceived authorship beyond provenance-based labels. The results further highlight the challenges associated with human evaluation, particularly the variability in judgments when distinguishing human-written from LLM-generated Hindi texts.
5 Linguistic Feature-Based Comparison of Human vs. LLM-Generated Hindi Text
In this study, we also investigate the differences between LLM-generated and human-written text using various linguistic features, aiming to understand how they differ in the context of Hindi language writing. We consider the following linguistic features to study differences between LLM-generated and human-written Hindi text. (i) Structural Feature, (ii) Lexical Diversity, (iii) Readability and Sentence Complexity, (iv) Indic Script and Semantic Distance and (v) Model Divergence between Human-Written and LLM-Generated Texts for Each LLM as noted in study[79, 80].
5.1 Structural Comparison of LLM vs. Human Text
Structural features capture measurable characteristics of a text, including its length, organisation, segmentation, and formatting, reflecting how the content is structured and presented. We analyse six structural features to quantify differences between human-written and LLM-generated Hindi texts: character count, word count, sentence count, paragraph count, special character count, and punctuation count. The mathematical formulations and estimation procedures for these features are provided in Appendix Subsection 11.1.
Table 4 presents a comparison between human-written text and text generated by various LLMs in terms of structural features. It is evident that the average character count for texts generated by Gemma, GPT, LLaMA, and Mistral is significantly higher than that of human-written text, indicating a tendency toward longer outputs. Similarly, the number of words, sentences, and paragraphs in LLM-generated text far exceeds that in human text, reflecting a more verbose and structured style. Additionally, the higher counts of special characters and punctuation in LLM-generated text suggest a more formal or technical tone, possibly influenced by the inclusion of structured content or coded information. LLMs generated Hindi text tends to be longer, more verbose, and structurally denser than human-written text, with higher counts of characters, words, sentences, and punctuation marks.
Table 5: Comparative analysis of lexical diversity features in human-written and LLM-generated Hindi texts across different language models. # Unique Words denotes the number of distinct word tokens, TTR (Type-Token Ratio) measures lexical diversity as the ratio of unique words to total words, and Avg. Word Len. represents the average number of characters per word. Vowel Ratio captures the proportion of vowels in the text, Punctuation Var. measures variation in punctuation usage, and Repetition quantifies repetitive patterns in the text. The reported values represent the average feature values for each text category or language model.
| Feature | Human | Gemma QA | GPT | LLaMA | Mistral | ChatGPT | Gemini | Aya | Sarvam |
|---|---|---|---|---|---|---|---|---|---|
| # Unique Words | 23.20 | 58.66 | 64.47 | 131.52 | 133.27 | 102.34 | 96.18 | 75.42 | 47.68 |
| TTR | 0.84 | 0.40 | 0.60 | 0.49 | 0.48 | 0.52 | 0.55 | 0.58 | 0.55 |
| Avg. Word Len. | 4.26 | 3.38 | 4.11 | 3.88 | 3.85 | 4.02 | 3.95 | 3.72 | 1.52 |
| Vowel Ratio | 0.00051 | 0.00089 | 0.00117 | 0.01105 | 0.01100 | 0.01012 | 0.00985 | 0.00872 | 0.06 |
| Punctuation Var. | 11.80 | 15.75 | 15.85 | 17.70 | 17.61 | 16.45 | 16.12 | 14.80 | 12.45 |
| Repetition | 0.11 | 0.14 | 0.16 | 0.15 | 0.15 | 0.13 | 0.14 | 0.12 | 0.23 |
Table 6: Comparative analysis of readability and sentence complexity features in human-written and LLM-generated Hindi texts across different language models. Avg. Word per Sent. denotes the average number of words per sentence, while Avg. Syll. per Word represents the average number of syllables per word. Flesch Reading refers to the Flesch Reading Ease score, which estimates text readability, whereas the Fog Index and SMOG Index estimate textual complexity based on sentence length and word complexity. Sentence Len. Var. indicates the variability in sentence length. The reported values represent the average scores for each text category or language model.
| Feature | Human | Gemma QA | GPT | LLaMA | Mistral | ChatGPT | Gemini | Aya | Sarvam |
|---|---|---|---|---|---|---|---|---|---|
| Avg. Word per Sent. | 26.64 | 18.94 | 23.31 | 19.59 | 40.08 | 27.85 | 25.12 | 21.34 | 26.45 |
| Avg. Syll. per Word | 1.50 | 1.42 | 1.43 | 1.46 | 1.02 | 1.38 | 1.36 | 1.41 | 1.12 |
| Flesch Reading | 53.15 | 67.27 | 62.02 | 63.78 | 79.63 | 58.40 | 61.12 | 65.35 | 80.34 |
| Fog Index | 12.06 | 8.75 | 10.46 | 9.09 | 16.72 | 11.25 | 10.85 | 9.72 | 11.14 |
| SMOG Index | 7.38 | 5.90 | 6.64 | 6.27 | 6.22 | 6.91 | 6.58 | 6.12 | 4.55 |
| Sentence Len. Var. | 4.18 | 8.54 | 5.81 | 9.23 | 7.91 | 6.42 | 5.97 | 7.10 | 6.35 |
5.2 Lexical Diversity in Human-Written and LLM-Generated Hindi Text
Lexical diversity features capture measurable variations in vocabulary richness, word usage, lexical repetition, and character-level patterns, reflecting the diversity and distribution of linguistic elements within a text. We analyse six lexical and character-level features to investigate differences in vocabulary richness, word length, character usage, punctuation diversity, and repetition between human-written and LLM-generated Hindi texts. The mathematical formulations and estimation procedures for these features are provided in Appendix Subsection 11.2.
Table 5 compares human-written and LLM-generated Hindi texts in terms of lexical diversity and stylistic features. Overall, most LLMs produce more unique words than human authors, although their lower type-token ratios (TTRs) suggest a higher proportion of repeated words relative to their vocabulary size. LLM-generated texts generally exhibit shorter average word lengths and higher vowel ratios than human-written text, although the extent of these differences varies across models. Furthermore, LLM-generated texts show greater punctuation variety and slightly higher repetition rates in most cases, indicating differences in lexical choices and writing patterns. These findings highlight stylistic and linguistic distinctions between human-authored and LLM-generated Hindi texts, while also revealing substantial variation across language models.
5.3 Evaluating Readability and Sentence Complexity
Readability and sentence complexity features capture measurable characteristics of a text's linguistic accessibility and syntactic structure, reflecting the ease with which its content can be understood and the complexity of its sentence construction. Readability measures the ease with which a text can be understood, whereas sentence complexity captures the structural characteristics and variability of its sentences. We analyse six features to compare human-written and LLM-generated Hindi texts: average words per sentence, average syllables per word, Flesch Reading Ease, Gunning
Table 7: Comparative analysis of Indic script and semantic distance features in human-written and LLM-generated Hindi texts across different language models. Stopword Count denotes the number of stopwords, while Stopword Density represents the proportion of stopwords relative to the total number of words. Matra Count measures the occurrence of Devanagari vowel signs in the text, and BERT Dist. denotes the BERT-based semantic distance, capturing semantic differences between text representations. The reported values represent the average feature values for each text category or language model.
| Feature | Human | Gemma QA | GPT | LLaMA | Mistral | ChatGPT | Gemini | Aya | Sarvam |
|---|---|---|---|---|---|---|---|---|---|
| Stopword Count | 6.60 | 31.29 | 23.44 | 128.68 | 136.94 | 88.52 | 75.63 | 52.74 | 18.35 |
| Stopword Density | 0.20 | 0.15 | 0.16 | 0.15 | 0.15 | 0.14 | 0.14 | 0.17 | 0.09 |
| Matra Count | 44.35 | 185.87 | 179.34 | 835.04 | 912.75 | 522.18 | 480.64 | 265.41 | 198.22 |
| BERT Dist. | 0.87 | 0.86 | 0.86 | 0.86 | 0.85 | 0.86 | 0.85 | 0.87 | 0.88 |
Table 8: Comparative analysis of information-theoretic divergence between human-written and LLM-generated Hindi texts across different language models. KL() measures the Kullback–Leibler divergence from the human lexical distribution to the model-generated distribution , while KL() measures the divergence in the reverse direction. Jensen–Shannon (JS) divergence provides a symmetric measure of distributional dissimilarity. Lower divergence values indicate greater similarity between human and model-generated lexical distributions.
| Divergence Metric | Gemma QA | GPT | LLaMA | Mistral | ChatGPT | Gemini | Aya | Sarvam |
|---|---|---|---|---|---|---|---|---|
| KL() | 3.0207 | 2.1466 | 1.0611 | 3.2102 | 2.3846 | 2.6173 | 2.7935 | 2.4581 |
| KL() | 2.3997 | 3.0345 | 2.4147 | 3.0036 | 2.7684 | 2.5831 | 2.9417 | 2.6259 |
| JS Divergence | 0.3640 | 0.3729 | 0.3151 | 0.5567 | 0.3918 | 0.4086 | 0.4362 | 0.3785 |
Fog Index, SMOG Index, and sentence length variance. The mathematical formulations and estimation procedures for these features are provided in Appendix Subsection 11.3.
Table 6 compares human-written and LLM-generated Hindi texts in terms of readability and sentence complexity. Most LLMs exhibit higher Flesch Reading Ease scores and lower Fog and SMOG indices than human-written text, suggesting comparatively simpler linguistic structures, although this trend is not consistent across all models. Human-written text has the highest average syllables per word (1.50), indicating greater syllabic complexity. Sentence-length variability is also higher for all LLMs than for human-written text, with LLaMA and Gemma QA exhibiting the greatest variation, suggesting differences in sentence-length patterns. Mistral produces the longest sentences on average (40.08 words), whereas Sarvam achieves the highest Flesch Reading Ease score (80.34) and the lowest SMOG index (4.55). These differences highlight substantial variation in readability and sentence construction across models. Overall, the results demonstrate distinct linguistic and stylistic patterns in LLM-generated Hindi text compared with human-authored text.
5.4 Indic Script and Semantic Distance-Based Evaluation
We investigate four features to characterise differences between human-written and LLM-generated Hindi texts: stopword count, stopword density, Devanagari matra count, and BERT-based semantic distance. These features capture functional-word usage, script-specific characteristics, and semantic relationships between texts. The mathematical formulations and estimation procedures for these features are provided in Appendix Subsection 11.4.
Table 7 compares human-written and LLM-generated Hindi texts in terms of stopword usage, Devanagari script characteristics, and semantic distance. All LLMs exhibit higher stopword counts than human-written text, with LLaMA and Mistral showing the highest values. However, stopword density is generally lower for LLM-generated texts, indicating that their higher stopword counts may primarily reflect differences in text length rather than a greater proportion of functional words. The matra count is also substantially higher for all LLMs, particularly LLaMA and Mistral, suggesting differences in the volume and composition of Devanagari text [33]. The BERT distance values remain relatively close across human-written and LLM-generated texts, ranging from 0.85 to 0.88. However, the interpretation of these values depends on the definition of the distance metric: lower values indicate greater semantic similarity if the measure represents distance, whereas higher values indicate greater similarity if it represents a similarity score. Overall, these findings highlight differences in textual length and script characteristics between human-written and LLM-generated Hindi texts, while motivating further investigation into their semantic relationships.
5.5 Model Divergence between Human-Written and LLM-Generated Texts for Each LLM
KL() quantifies the divergence of the model-generated distribution from the human-written distribution, with discrepancies weighted according to the human-written distribution. Conversely, KL() measures the reverse divergence, with discrepancies weighted according to the model-generated distribution. The mathematical formulations and estimation procedures for these features are provided in Appendix Subsection 11.5.
Table 8 presents information-theoretic divergence between human-written and LLM-generated texts. Specifically, we compute the KL divergence in both directions and Jensen–Shannon (JS) divergence to quantify differences in their estimated lexical probability distributions. Lower divergence (KL and JS) values indicate greater distributional similarity between human-written and model-generated texts. Among the LLMs, LLaMA exhibits the lowest KL() and JS divergence, suggesting that its generated texts are lexically closer to human-written content. In contrast, Mistral records the highest KL() and JS divergence, indicating greater lexical distributional differences. Notably, GPT and Gemma fall between these extremes, showing moderate divergence. From such observation, we can conclude that certain LLMs generate texts whose lexical distributions closely resemble those of human-written content. In particular, LLaMA exhibits the strongest alignment under forward KL and JS divergence, indicating relatively smaller lexical distributional differences. Such similarities may reduce the effectiveness of detection approaches relying primarily on lexical distributional cues, although they do not necessarily imply that the generated texts are indistinguishable from human-written content.
Overall, the linguistic feature-based analysis reveals both similarities and differences between human-written and LLM-generated Hindi texts across structural, lexical, readability, and language-specific characteristics. The information-theoretic analysis further indicates that certain LLMs produce texts with lexical distributions closely aligned with human-written content, although the degree of alignment varies across generators. These findings highlight the limitations of relying solely on individual linguistic or lexical features to distinguish human-written from LLM-generated Hindi texts and motivate the investigation of complementary detection approaches that capture differences beyond surface-level linguistic patterns.
6 Proposed Method
We propose TRIDENT, a round-trip translation (RTT)-based framework for detecting large language model (LLM)-generated text. The primary motivation of our work is inspired by the hypothesis underlying RAIDAR [28] and SimLLM [27], which posits that text generated by autoregressive language models retains structural patterns that another generative model is likely to recognize as high-quality text, resulting in less extensive rewriting. These studies demonstrate the potential of transformation-based signals for distinguishing human-written from LLM-generated content. However, rewriting differ from round-trip translation, which introduces cross-lingual transformations before reconstructing the text in its original language.
Motivated by this observation, we empirically examine the transformation-induced representation shifts of human-written and LLM-generated texts. As illustrated in Figure 4, the PCA visualization suggests that human-written samples generally exhibit larger residual displacements than LLM-generated samples. This preliminary observation motivates our hypothesis that LLM-generated text may exhibit greater representational stability under RTT, whereas human-written text may undergo greater transformation-induced variation. We therefore investigate whether these differences can be quantified using semantic similarity, lexical overlap, and structural variation between the original and round-trip translated texts, and whether they provide useful signals for distinguishing human-written from LLM-generated content.
Appendix Figure 8 further illustrates the round-trip translation (RTT) process for human-written and LLM-generated texts in Hindi, Arabic, and Chinese, along with their corresponding cosine similarity scores. The LLM-generated samples exhibit higher cosine similarity than the human-written samples across all three languages, indicating greater semantic preservation after RTT in these examples. The observed differences motivate our hypothesis that human-written text may undergo greater transformation-induced changes than LLM-generated text. However, these examples are illustrative, and further quantitative evaluation is required to establish the generalizability of this observation across languages and domains.
Table 8 results further support our RTT-based detection hypothesis. Models whose lexical distributions closely resemble human text tend to maintain stronger semantic consistency after round-trip translation, making them comparatively harder to distinguish. Conversely, models with higher divergence introduce larger semantic variations during translation, which increases detectable drift and facilitates more reliable separation from human-written text.
Based on these observations, we hypothesize that LLM-generated text exhibits greater semantic invariance under round-trip translation (RTT) than human-written text. Specifically, LLM-generated text may preserve its semantic content and linguistic structure more consistently under cross-lingual transformations, whereas human-written text

Figure 3: Overview of TRIDENT, a round-trip translation-based framework for AI-generated text detection. The input text is translated from the source language to an intermediate language and then back to the source language. The original and reconstructed texts are compared using lexical, semantic, geometric, distributional, and language-model-based features. These features support three detection variants: static-threshold classification (TRIDENT-S), dynamic-threshold classification (TRIDENT-D), and supervised classification (TRIDENT-C).
may undergo greater semantic, lexical, and stylistic drift during translation and reconstruction. This difference in transformation-induced variation provides the motivation for using RTT-derived signals to distinguish human-written from LLM-generated text. Similar observations regarding semantic drift are noted in a study [28]: neural language models tend to generate generic and self-consistent outputs due to the dominance of high-likelihood token sequences during decoding. Consequently, LLM-generated text often behaves as a near fixed point under repeated generative transformations such as translation or paraphrasing.
6.1 Round-Trip Translation Operator
Let denote an input sentence or paragraph drawn from a distribution over a source language . We define the round-trip translation operator as a composition of two translation mappings performed using a translation model or large language model (LLM) parameterised by .
Forward Translation (): As shown in Figure 2, the original text in language is translated into an intermediate language using the translation function such as , where denotes the translated representation in the intermediate language.
Backward Translation (): The intermediate text is then translated back to the source language : , where represents the reconstructed text obtained after round-trip translation (Figure 2). The complete round-trip transformation can therefore be written as the composition described in Equation 1 below.
This transformation acts as a controlled perturbation operator that approximately preserves the semantic content of the original text while introducing lexical, syntactic, and stylistic variations induced by the translation process. Such

Figure 4: Two-dimensional PCA visualization of representation drift between original and round-trip-translated texts. Each point represents a text sample, and the corresponding arrow indicates the displacement induced by round-trip translation. Blue and red distinguish human-written and LLM-generated samples, respectively. The relative displacement patterns illustrate differences in transformation-induced variation between the two authorship classes. Residual drift between human-written and LLM-generated text in the two-dimensional PCA space. Each circle represents an original text sample, and the corresponding arrow indicates its displacement after the transformation. Blue and red denote human-written and LLM-generated samples, respectively. Human-written samples generally exhibit larger displacements, whereas LLM-generated samples tend to exhibit smaller displacements. This pattern suggests that the transformation affects the two text categories differently.
perturbations allow us to analyse the stability of textual representations under generative transformations, which form the basis of our TRIDENT framework.
6.2 Embedding Representation of Original and RTT Text
To systematically quantify the drift induced by the round-trip translation (RTT) process, we encode both the original text and its RTT reconstruction into continuous vector representations using a sentence encoder. Let , denote the embedding representations of the original and RTT-transformed texts, respectively, where represents a embedding model that maps a sentence into a -dimensional semantic vector space. These embeddings capture semantic and contextual information across languages in a shared representation space, enabling direct comparison between the original and reconstructed texts. Intuitively, larger divergence between and indicates stronger transformation induced by RTT. To quantify this divergence, we compute several complementary metrics between and its RTT-transformed counterpart :
-
Lexical divergence (): Edit distance between the token sequences of and .
-
Semantic similarity (): Cosine similarity between the embeddings and .
-
Angular distance (): Angle between and computed as .
-
Geometric distance (): Euclidean distance in the embedding space.
-
Distributional divergence (): KL divergence and Jensen–Shannon distance between token probability distributions.
-
Language model uncertainty (): Perplexity difference .
These metrics collectively provide a multi-dimensional characterization of RTT-induced drift, capturing lexical changes, semantic shifts, and probabilistic differences between the original and reconstructed texts. The resulting feature set forms the basis of our detection framework for distinguishing human-authored text from LLM-generated text.
6.3 Classification Model
We concatenate all RTT-induced drift features into a unified feature representation. Let
f denote the feature vector capturing lexical, semantic, geometric, and distributional divergence between the original text and its RTT-transformed counterpart . Building on these representations, we introduce three complementary detection approaches that characterize translation-induced semantic drift by comparing the embeddings of the original text and its RTT-transformed counterpart, denoted by .
6.3.1 TRIDENT-S (Static Threshold-based Classification):
The first variant adopts a simple zero-shot formulation based on cosine similarity between the embeddings of the original text and its round-trip counterpart. The motivation behind this approach is twofold: (i) it offers a fully model-agnostic and training-free solution, and (ii) it enables direct deployment in real-world settings where labelled Hindi data or access to model internals is unavailable. By identifying a decision threshold on RTT similarity, this method leverages semantic stability as a direct indicator of machine-generated text. We quantify semantic preservation using cosine similarity between and . In TRIDENT-S, if , the text is classified as human-written; otherwise, it is considered LLM-generated. The decision threshold for LLM-generated text classification is determined using Receiver Operating Characteristic (ROC) analysis, as detailed in Figure 6. To determine an effective decision threshold value for distinguishing between human-written and LLM-generated Hindi text, we simulated a dataset consisting of 200 samples, 100 human-written and 100 LLM-generated texts. Cosine similarity scores were computed for each sample, with human-written texts exhibiting higher average similarity compared to LLM-generated texts. We then evaluated the performance of different thresholds using a Receiver Operating Characteristic (ROC) curve and calculated the corresponding True Positive Rate (TPR) and False Positive Rate (FPR). Rather than selecting the threshold that maximises Youden's J statistic. The selected threshold was highlighted on the ROC curve and used in subsequent evaluation in Figure 6. The key steps involved in the TRIDENT-S classification procedure are as follows.
- Compute Similarity Scores: Compute the cosine similarity score between the original text embedding and its round-trip translated counterpart for each sample in the validation dataset.
- Evaluate Candidate Thresholds: Vary the decision threshold over the observed similarity range. For each threshold, classify a sample as LLM-generated if its similarity score is greater than or equal to ; otherwise, classify it as human-written.
- Construct the ROC Curve: For each threshold, compute the True Positive Rate (TPR) and False Positive Rate (FPR). Construct the ROC curve by plotting FPR on the horizontal axis and TPR on the vertical axis.
- Select the Optimal Threshold: Determine the optimal threshold by maximizing Youden's statistic, .
- Perform Final Classification: Apply the threshold selected for TRIDENT-S to the held-out test dataset without further adjustment to evaluate detection performance.
6.3.2 TRIDENT-D (Dynamic Threshold-Based Classification):
While TRIDENT-S (static threshold) classification relies on a globally tuned decision boundary , it may not generalise well across datasets or encoder variants. To address this limitation, we adopt a TRIDENT-D, dynamic threshold adaptation strategy based on unsupervised Gaussian Mixture Modelling (GMM). The motivation for TRIDENT-D is to allow the decision boundary to automatically adapt to the intrinsic similarity distribution of a given dataset. By modelling RTT similarity scores as a mixture of human-written and LLM-generated text distributions, this approach eliminates the need for manual threshold tuning and enhances robustness under domain shifts and unseen model conditions.
Given an input text and its round-trip-translated counterpart , a pretrained sentence encoder generates their representations, which are used to compute the cosine similarity score . These scores are collected from an unlabeled development set and modeled using a two-component Gaussian mixture model:
Table 9: Dataset statistics, train, development, test splits, and decision thresholds used in the TRIDENT-S experiments.
| Metric | SHAKTI | AGhi | Urdu | Arabic | Korean | Chinese | Russian | Bulgarian | English |
|---|---|---|---|---|---|---|---|---|---|
| Train | 352k | 22k | 600 | 4.8k | 1.2k | 3.6k | 3.6k | 3.6k | 16k |
| Dev | 117k | 7k | 200 | 1.6k | 400 | 1.2k | 1.2k | 1.2k | 4k |
| Test | 117k | 7k | 200 | 1.6k | 400 | 1.2k | 1.2k | 1.2k | 4k |
| Threshold | 0.875 | 0.861 | 0.758 | 0.856 | 0.802 | 0.831 | 0.689 | 0.806 | 0.816 |
where denotes a univariate Gaussian distribution with mean and variance , and is the mixing coefficient of the -th component, satisfying and . The mixture parameters are estimated using the Expectation-Maximization (EM) algorithm.
After fitting the GMM, the component means are ordered such that . Following the assumption that LLM-generated texts tend to exhibit lower RTT similarity scores than human-written texts, we define the adaptive threshold as the midpoint between the two component means:
For a test instance with similarity score , the predicted label is determined as
In TRIDENT-D, The estimated threshold is held fixed during test evaluation. Consequently, the method does not require ROC-based threshold optimization or labeled test data. By adapting the decision boundary to the similarity-score distribution observed in the development set, TRIDENT-D provides a simple, training-free alternative to static thresholding.
6.3.3 TRIDENT-C (Logistic Regression with Multi-Distance RTT Features):
While cosine similarity captures coarse semantic stability, it may not fully reflect finer lexical and distributional differences introduced by RTT. To address this limitation, We construct a richer feature representation f from the RTT-induced drift features estimated in Section 6.2 and concatenate them into a single feature vector, as defined in Equation 2. TRIDENT-C uses this feature vector to train a logistic regression classifier that estimates the probability of a text being LLM-generated, as defined in Equation 6.
where denotes the sigmoid function. The model is optimised using binary cross-entropy loss, with gradients backpropagated jointly through both the encoder and classifier parameters. This formulation enables the model to capture complementary RTT-induced divergence signals, resulting in a more expressive and discriminative detection framework.
7 Experimental Setup
This section describes the baseline methods, experimental datasets, evaluation metrics, and evaluation protocol used to assess the effectiveness of the proposed TRIDENT framework. We compare TRIDENT against representative AI-generated text detection methods spanning statistical, perturbation-based, rewriting-based, regeneration-based, and supervised classification approaches. This selection enables us to investigate the relative effectiveness of different detection strategies across multiple text genres and datasets.
7.1 Baseline Methods
We compare the proposed TRIDENT framework against representative methods for detecting LLM-generated text. The baselines cover statistical, perturbation-based, rewriting-based, and supervised multilingual detection approaches. This selection allows us to evaluate TRIDENT against methods that exploit different signals, including language-model probabilities, text transformations, and contextual representations.
Statistical and perturbation-based methods. We consider Log-Likelihood, Rank, Log-Rank, and Entropy [17] ⁹, which exploit token-level probabilities and predictive uncertainty. We also include DetectGPT [25] ¹⁰, Fast-DetectGPT [24] ¹¹, and DetectLLM-NPR [21] (NPR) ¹², which use probability curvature or perturbation-based statistics for zero-shot detection.
Rewriting-based and additional detection methods. We include RAIDAR [28] ¹³ and LLaMA-L2R [29], which exploits language-model rewriting behavior, and SimLLM [27] ¹⁴, which uses similarity between original and regenerated text. We also consider J-Guard [81] ¹⁵, a journalism-guided framework for adversarially robust detection of AI-generated news, and BiScope [60] ¹⁶, which exploits token-level prediction statistics to identify memorization patterns.
Supervised multilingual baselines. We use XLM-RoBERTa [82] as a supervised multilingual baseline. We additionally evaluate a feature-augmented variant that combines contextual embeddings with the 22 textual features described in Section 7. Let denote the classification-token representation of input text , and let denote its extracted feature vector. The combined representation is obtained by concatenation:
The combined representation is passed to a feedforward classifier to distinguish human-written text from LLM-generated text. This variant allows us to investigate whether incorporating explicit textual features improves detection performance over contextual representations alone.
Proposed TRIDENT variants. We evaluate three variants of the proposed TRIDENT framework: TRIDENT-S, which employs static-threshold classification; TRIDENT-D, which uses dynamic-threshold classification; and TRIDENT-C, which applies logistic regression to multi-distance round-trip translation (RTT) features. These variants enable us to compare fixed and adaptive threshold-based decision rules with a learned classification boundary based on RTT-induced textual variations.
7.2 Evaluation Datasets
We evaluate the proposed framework and Baselines method across datasets covering five languages: Hindi, Urdu, Arabic, Korean, and English. The primary evaluation uses our proposed SHAKTI dataset, which contains Hindi text from four genres: QA, News, Wiki, and Essay. We additionally use the existing Hindi dataset [9], focusing on its News subset.
To investigate multilingual applicability, we evaluate our framework on the Urdu dataset [47], Arabic dataset [49], and Korean dataset [83]. We also report results on the Bulgarian and Chinese subsets of M4 and the English RAID dataset. These evaluations provide complementary evidence of performance across languages and datasets with different linguistic and domain characteristics. Table 9 summarizes the key characteristics of the datasets used in this study.
7.3 Evaluation Metrics
We evaluate detection performance using accuracy (Acc) and class-wise F1 scores for human-written (H) and LLM-generated (AI) texts. Accuracy measures the proportion of correctly classified samples among all evaluated samples. The class-wise F1 score is the harmonic mean of precision and recall calculated separately for each class.
We denote the F1 scores for the human-written and AI-generated classes as F1-H and F1-AI, respectively. Reporting these scores alongside accuracy provides a more detailed assessment of classification performance by showing how effectively each method identifies the two classes. The same metric definitions and class-label conventions are applied across the evaluated methods.
⁹https://github.com/HendrikStrobelt/detecting-fake-text ¹⁰https://github.com/eric-mitchell/detect-gpt ¹¹https://github.com/baoguangsheng/fast-detect-gpt ¹²https://github.com/mbzuai-nlp/DetectLLM ¹³https://github.com/cvlab-columbia/raidarllmdetect ¹⁴https://github.com/quocnsh/SimLLM ¹⁵https://github.com/TSKumarage/J-Guard ¹⁶https://github.com/MarkGHX/BiScope
Table 10: Comparative analysis of accuracy and class-wise F1 scores for detecting human-written (H) and LLM-generated (AI) Hindi texts across different genres of the SHAKTI dataset and the existing dataset [9]. Results are reported for statistical, zero-shot, and supervised detection methods, including three TRIDENT variants: TRIDENT-S, TRIDENT-D, and TRIDENT-C. Bold values indicate the best performance among the TRIDENT variants for each dataset genre and metric, while blue values highlight the best performance among all evaluated methods.
| ModelGenre | SHAKTI | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| QA | News | Wiki | Essay | |||||||||||||
| Acc | F1-H | F1-AI | Acc | F1-H | F1-AI | Acc | F1-H | F1-AI | Acc | F1-H | F1-AI | Acc | F1-H | F1-AI | ||
| Log-Likelihood [17] | 0.29 | 0.28 | 0.31 | 0.29 | 0.26 | 0.32 | 0.32 | 0.30 | 0.34 | 0.27 | 0.25 | 0.29 | 0.30 | 0.28 | 0.31 | |
| Rank [17] | 0.43 | 0.41 | 0.44 | 0.45 | 0.44 | 0.46 | 0.44 | 0.43 | 0.45 | 0.42 | 0.41 | 0.43 | 0.45 | 0.44 | 0.47 | |
| Log-Rank [17] | 0.45 | 0.44 | 0.47 | 0.47 | 0.46 | 0.49 | 0.47 | 0.46 | 0.48 | 0.45 | 0.44 | 0.47 | 0.47 | 0.45 | 0.50 | |
| Entropy [17] | 0.49 | 0.48 | 0.50 | 0.50 | 0.49 | 0.52 | 0.51 | 0.50 | 0.51 | 0.48 | 0.47 | 0.49 | 0.51 | 0.50 | 0.53 | |
| DetectLLM-NPR [21] | 0.64 | 0.65 | 0.64 | 0.60 | 0.59 | 0.61 | 0.63 | 0.70 | 0.52 | 0.59 | 0.57 | 0.61 | 0.61 | 0.59 | 0.64 | |
| DetectGPT [25] | 0.60 | 0.59 | 0.61 | 0.63 | 0.62 | 0.64 | 0.61 | 0.60 | 0.62 | 0.63 | 0.61 | 0.66 | 0.64 | 0.62 | 0.66 | |
| Fast-DetectGPT [24] | 0.78 | 0.80 | 0.77 | 0.77 | 0.74 | 0.80 | 0.79 | 0.77 | 0.81 | 0.77 | 0.75 | 0.80 | 0.82 | 0.81 | 0.84 | |
| J-Guard [81] | 0.79 | 0.81 | 0.77 | 0.82 | 0.83 | 0.81 | 0.78 | 0.77 | 0.79 | 0.81 | 0.80 | 0.83 | 0.80 | 0.81 | 0.78 | |
| Biscope [60] | 0.84 | 0.86 | 0.83 | 0.81 | 0.79 | 0.82 | 0.80 | 0.78 | 0.81 | 0.77 | 0.75 | 0.78 | 0.82 | 0.80 | 0.83 | |
| RAIDAR [28] | 0.76 | 0.75 | 0.77 | 0.78 | 0.77 | 0.80 | 0.77 | 0.76 | 0.78 | 0.75 | 0.74 | 0.76 | 0.76 | 0.76 | 0.77 | |
| SimLLM [27] | 0.81 | 0.82 | 0.79 | 0.82 | 0.80 | 0.83 | 0.81 | 0.79 | 0.82 | 0.79 | 0.77 | 0.80 | 0.83 | 0.81 | 0.84 | |
| LLaMA-L2R [29] | 0.79 | 0.77 | 0.80 | 0.79 | 0.75 | 0.82 | 0.79 | 0.80 | 0.79 | 0.73 | 0.75 | 0.71 | 0.81 | 0.79 | 0.82 | |
| XLM-RoBERTa [82] | 0.76 | 0.64 | 0.82 | 0.78 | 0.67 | 0.83 | 0.80 | 0.75 | 0.83 | 0.78 | 0.66 | 0.84 | 0.79 | 0.70 | 0.84 | |
| XLM-RoBERTa + feature | 0.80 | 0.71 | 0.85 | 0.82 | 0.77 | 0.85 | 0.83 | 0.74 | 0.87 | 0.83 | 0.71 | 0.88 | 0.85 | 0.74 | 0.89 | |
| TRIDENT-S (Static Threshold) | 0.89 | 0.83 | 0.92 | 0.89 | 0.85 | 0.91 | 0.84 | 0.80 | 0.87 | 0.88 | 0.79 | 0.92 | 0.90 | 0.86 | 0.91 | |
| TRIDENT-D (Dynamic Threshold) | 0.85 | 0.84 | 0.86 | 0.87 | 0.83 | 0.89 | 0.85 | 0.77 | 0.89 | 0.87 | 0.83 | 0.89 | 0.90 | 0.85 | 0.92 | |
| TRIDENT-C (Logistic Regression) | 0.88 | 0.83 | 0.91 | 0.90 | 0.84 | 0.93 | 0.84 | 0.78 | 0.88 | 0.88 | 0.77 | 0.92 | 0.88 | 0.86 | 0.90 | |
7.4 Implementation Details and Experimental Protocol
Appendix Table 15 summarizes the hyperparameters used for RTT-based detection, threshold estimation, and the associated classification components. The similarity threshold for static stylistic-drift detection is selected using the validation set, with the search range beginning at 0.875. The final threshold is then applied to the test data without using test labels for threshold selection.
TRIDENT comprises three variants: (i) TRIDENT-S, which selects an optimal static decision threshold using labelled validation data and keeps it fixed during test data; (ii) TRIDENT-D estimates a threshold using a two-component Gaussian Mixture Model (GMM) on unlabeled validation scores and applies it unchanged to the test set; and (iii) TRIDENT-C trains a logistic regression classifier on labeled RTT-derived features using the training set and evaluates it on the test set. TRIDENT-S and TRIDENT-D independently estimate language-specific thresholds using their respective validation partitions, whereas TRIDENT-C is trained independently using the corresponding language-specific training partitions. The detailed statistics of the training, validation, test sets and threshold of TRIDENT-S are presented in Table 9. The language-specific training partitions are used to train TRIDENT-C, while the corresponding validation partitions are used to estimate thresholds for TRIDENT-S and TRIDENT-D. The resulting thresholds and trained classifiers remain fixed, with the test partitions reserved exclusively for the final evaluation of all three variants.
All experiments are conducted on NVIDIA A100 GPUs with 40 GB of memory. Fixed random seeds are used to improve reproducibility. For supervised methods, training, validation, and test partitions are kept separate, and model selection is performed without access to test labels. For zero-shot methods, the scoring procedure and underlying language-model configuration are specified according to the original method. Any adaptations needed to support the evaluated languages, datasets, or input formats are documented with the corresponding implementation.
8 Results and Discussion
Table 10 presents a comparison between the proposed and baseline models on our proposed dataset, SHAKTI, and the dataset from the literature, AGhi, across various genres. The conventional statistical detection methods, including Log-Likelihood, Rank, Log-Rank, and Entropy, exhibit limited effectiveness in distinguishing human-written from LLM-generated text across different genres and datasets. In comparison, DetectGPT demonstrates improved detection capability by exploiting perturbation-based characteristics of generated text, while RAIDAR achieves further

Figure 5: F1-score comparison of TRIDENT-S(Static Threshold) performance using mBART versus LLM-based round-trip translation models.
Table 11: Comparative analysis of multilingual TRIDENT performance using different round-trip translation models across Urdu, Arabic, Korean, Russian, Bulgarian, Chinese, and English (RAID) evaluation datasets. Accuracy (Acc) and F1 scores are reported for the TRIDENT-S, TRIDENT-D, and TRIDENT-C variants. The results compare the influence of translation-model selection and classification strategy on detection performance across languages. Bold values indicate the best performance within each classification strategy, while blue values highlight the best performance across RTT models for each classification strategy and dataset.
| Model Type | Model | Urdu | Arabic | Korean | Russian | Bulgarian | Chinese | RAID (English) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | ||
| GPT-3.5 | 0.90 | 0.88 | 0.91 | 0.85 | 0.89 | 0.81 | 0.77 | 0.76 | 0.90 | 0.89 | 0.87 | 0.86 | 0.82 | 0.81 | |
| TRIDENT-S | LLaMA 3.3 | 0.86 | 0.83 | 0.88 | 0.81 | 0.89 | 0.84 | 0.75 | 0.71 | 0.72 | 0.74 | 0.84 | 0.86 | 0.86 | 0.87 |
| Static Threshold | Gemma 3 | 0.85 | 0.82 | 0.77 | 0.73 | 0.81 | 0.72 | 0.70 | 0.69 | 0.87 | 0.88 | 0.83 | 0.82 | 0.71 | 0.72 |
| Phi-4 | 0.84 | 0.81 | 0.79 | 0.79 | 0.82 | 0.78 | 0.71 | 0.68 | 0.81 | 0.81 | 0.81 | 0.79 | 0.76 | 0.75 | |
| GPT-3.5 | 0.86 | 0.81 | 0.87 | 0.83 | 0.86 | 0.81 | 0.76 | 0.75 | 0.88 | 0.88 | 0.84 | 0.83 | 0.82 | 0.79 | |
| TRIDENT-D | LLaMA 3.3 Dynamic Threshold | 0.84 | 0.81 | 0.86 | 0.82 | 0.87 | 0.84 | 0.75 | 0.76 | 0.81 | 0.80 | 0.81 | 0.81 | 0.78 | 0.79 |
| Gemma 3 | 0.81 | 0.79 | 0.76 | 0.73 | 0.81 | 0.75 | 0.77 | 0.77 | 0.85 | 0.84 | 0.82 | 0.81 | 0.79 | 0.79 | |
| Phi-4 | 0.83 | 0.80 | 0.80 | 0.78 | 0.83 | 0.79 | 0.69 | 0.69 | 0.77 | 0.79 | 0.74 | 0.74 | 0.75 | 0.76 | |
| GPT-3.5 | 0.89 | 0.87 | 0.88 | 0.85 | 0.86 | 0.79 | 0.76 | 0.76 | 0.88 | 0.87 | 0.84 | 0.83 | 0.90 | 0.88 | |
| TRIDENT-C | LLaMA 3.3 | 0.86 | 0.83 | 0.85 | 0.79 | 0.87 | 0.83 | 0.77 | 0.76 | 0.85 | 0.85 | 0.83 | 0.82 | 0.86 | 0.86 |
| Logistic Regression | Gemma 3 | 0.82 | 0.79 | 0.75 | 0.71 | 0.79 | 0.70 | 0.73 | 0.75 | 0.81 | 0.84 | 0.84 | 0.81 | 0.86 | 0.88 |
| Phi-4 | 0.83 | 0.81 | 0.79 | 0.78 | 0.82 | 0.77 | 0.69 | 0.70 | 0.77 | 0.78 | 0.75 | 0.76 | 0.81 | 0.83 | |
improvements through rewriting-based detection. This progression suggests that methods leveraging transformations of the input text provide more discriminative signals than those relying solely on token-level statistical properties. Nevertheless, the performance of these approaches remains limited, highlighting the challenges of reliably detecting LLM-generated Hindi text using conventional statistical and rewriting-based methods. In contrast to conventional statistical and rewriting-based detection methods, XLM-RoBERTa demonstrates substantially stronger detection performance across different genres and datasets, highlighting the effectiveness of contextual representations for distinguishing human-written from LLM-generated text. Incorporating additional linguistic features generally improves its performance, suggesting that handcrafted linguistic characteristics provide complementary information beyond pretrained contextual embeddings. However, these improvements are not consistent across all genres, indicating that the contribution of linguistic features may vary depending on the characteristics of the underlying text. This variability highlights the challenges of developing robust detection models that generalize consistently across diverse linguistic contexts and genres.

Figure 6: Receiver operating characteristic (ROC) curve of TRIDENT on the SHAKTI dataset, showing the trade-off between the true positive rate (TPR) and false positive rate (FPR). The model achieves an area under the curve (AUC) of 0.882, with a selected decision threshold of 0.875.
From Table 10, it is evident that the proposed TRIDENT framework consistently outperforms conventional statistical, rewriting-based, and supervised detection baseline models from literature across all evaluated genres and datasets, demonstrating the effectiveness of RTT-induced semantic variations as discriminative signals for detecting LLM-generated text. Among the variants of TRIDENT, TRIDENT-S (Static Threshold-Based Classification) achieves the strongest overall performance, followed by TRIDENT-C (Logistic Regression with Multi-Distance RTT Features) and TRIDENT-D (Dynamic Threshold-Based Classification). Interestingly, the superior performance of static thresholding (TRIDENT-S) suggests that RTT-based similarity captures meaningful differences between human-written and LLM-generated text without requiring complex decision boundaries. Although dynamic thresholding (TRIDENT-D) provides a data-dependent alternative to fixed threshold selection, its comparatively lower performance suggests that adaptive threshold estimation does not necessarily improve the performance of TRIDENT. Furthermore, TRIDENT maintains competitive performance across different genres and the independently sourced Hindi dataset, suggesting the potential of RTT-based detection beyond a single dataset. From these observations, we conclude that translation-induced representational changes (TRIDENT) are highly proficient in detecting AI-generated content. The superior performance of TRIDENT stems from several factors: (i) round-trip translation via English leverages the rich semantic and stylistic representations learned by LLMs predominantly trained on English corpora; (ii) the zero-shot formulation enables strong generalisation across domains without task-specific fine-tuning. In contrast, TRIDENT-S (Static Threshold) uses round-trip translation captures deeper semantic shifts and stylistic instability, making it resilient to attacks where simple rewriting fails to fool the system.
Table 12: Comparative analysis of the robustness of the three TRIDENT variants—static threshold (TRIDENT-S), dynamic threshold (TRIDENT-D), and logistic regression (TRIDENT-C)—under five adversarial attacks on the SHAKTI dataset. Accuracy (Acc) and Macro-F1 are reported for rewriting, homoglyph substitution, synonym replacement, misspelling, and whitespace perturbations.
| Attack | TRIDENT-S | TRIDENT-D | TRIDENT-C | |||
|---|---|---|---|---|---|---|
| Acc | Macro-F1 | Acc | Macro-F1 | Acc | Macro-F1 | |
| Rewrite | 0.88 | 0.815 | 0.71 | 0.755 | 0.75 | 0.795 |
| Homoglyph | 0.80 | 0.745 | 0.73 | 0.675 | 0.77 | 0.715 |
| Synonym Replacement | 0.72 | 0.665 | 0.66 | 0.605 | 0.70 | 0.645 |
| Misspelling | 0.52 | 0.475 | 0.45 | 0.405 | 0.49 | 0.445 |
| Whitespace | 0.76 | 0.705 | 0.70 | 0.645 | 0.74 | 0.685 |
8.1 Sensitivity to Translation Models and Multilingual Adaptability
To study the sensitivity and impact of the translation model used for round-trip translation and its adaptability to TRIDENT across diverse languages, we conducted an empirical study evaluating TRIDENT's performance by varying the text translation model across multiple languages. Table 11 presents the performance of TRIDENT across three language datasets Urdu[47], Arabic [49], and Korean [48] using four LLM-based translation models: GPT-3.5, LLaMA-3.3, Gemma-3, and Phi-4.
Table 11 reveals noticeable variations in detection performance across translation models, indicating that the effectiveness of RTT-based detection is influenced by the underlying translator. GPT-3.5-based translation generally yields the strongest performance, particularly with the static-threshold variant, while LLaMA demonstrates competitive and relatively consistent results across languages. In contrast, Gemma and Phi exhibit comparatively weaker performance in several settings, suggesting that different translation models may introduce distinct degrees of semantic and stylistic variation while round-trip translations. Interestingly, static thresholding generally outperforms the other classification strategies, although dynamic thresholding remains competitive in certain configurations. From such observations, we can conclude that the selection of the translation model plays an important role in determining the discriminative utility of RTT-induced representations.
From Table 11, it is apparent that across Urdu, Arabic, and Korean, the TRIDENT dataset demonstrates promising detection performance, suggesting that translation-induced representational changes provide useful signals beyond Hindi. However, performance varies across languages and translation models, indicating that the effectiveness of RTT-based detection is not entirely language-independent. In particular, certain translation models perform consistently across languages, whereas others exhibit greater variability, potentially reflecting differences in their multilingual translation capabilities and the linguistic characteristics of the evaluated datasets. The results also suggest that the relative effectiveness of the classification variants depends on the language—translator combination, highlighting the importance of evaluating multilingual detection under diverse translation configurations rather than relying on a single translator.
Furthermore, Figure 5 examines the sensitivity of TRIDENT (Static Threshold) to the choice of round-trip translation model, comparing the conventional machine translation model mBART with LLM-based translators, including GPT-3.5, LLaMA-3.3, Gemma-3, and Phi-4, across the four genres of the proposed SHAKTI dataset. The results demonstrate that LLM-based translators consistently outperform mBART, suggesting that the linguistic transformations introduced by different translation architectures have a substantial influence on the discriminative effectiveness of RTT-based detection. Among the evaluated translators, GPT-3.5 exhibits the most balanced performance across genres, whereas Phi-4 achieves particularly strong performance on Wiki and QA but shows greater variability on News and Essay. Similarly, LLaMA-3.3 and Gemma-3 perform more effectively on Wiki than on QA and News, indicating that translation-model effectiveness is influenced by genre-specific linguistic characteristics. These observations are consistent with our hypothesis that differences in RTT-induced representational stability between human-written and LLM-generated texts provide useful detection signals. However, the variation across translators suggests that these signals depend on the nature of the translation transformations rather than being uniformly preserved across models. Complementing this analysis, the lexical divergence results in Table 8 (Section 5.5) reveal differences in the similarity between human-written and LLM-generated lexical distributions across generators, providing an additional perspective on their linguistic characteristics. Overall, these findings highlight the importance of translation-model selection and genre-specific evaluation when assessing the effectiveness and generalizability of TRIDENT.
Table 13: Comparative analysis of cross-LLM generalization performance of TRIDENT-C on the SHAKTI dataset. Each experiment excludes one LLM generator from training and evaluates detection performance on the unseen generator. GPT-3.5 is used as the fixed round-trip translation (RTT) model across all experiments. Accuracy, human-class F1 (F1-H), and AI-generated-class F1 (F1-AI) are reported to assess the model's ability to generalize across different text generators.
| RTT Model | Training Generators | Test Generator | Accuracy | F1-H | F1-AI |
|---|---|---|---|---|---|
| GPT-3.5 | GPT-3.5, Mistral, Gemma-3 | LLaMA-3.2 | 0.87 | 0.83 | 0.89 |
| GPT-3.5 | GPT-3.5, LLaMA-3.2, Gemma-3 | Mistral | 0.84 | 0.80 | 0.89 |
| GPT-3.5 | GPT-3.5, LLaMA-3.2, Mistral | Gemma-3 | 0.86 | 0.82 | 0.88 |
| GPT-3.5 | LLaMA-3.2, Mistral, Gemma-3 | GPT-3.5 | 0.82 | 0.78 | 0.87 |
In summary, these findings demonstrate the potential of TRIDENT for multilingual LLM-generated text detection while highlighting its sensitivity to translation model selection. Although the framework remains applicable across the evaluated languages, its effectiveness depends on the interaction among the underlying translation model, the target language, and the classification strategy.
8.2 Performance Under Different Adversarial Perturbations
To investigate the robustness of TRIDENT under adversarial conditions, we evaluate its three variants against five perturbation types in the SHAKTI dataset: rewriting, homoglyph substitution, synonym replacement, misspelling, and whitespace perturbation. These experiments examine how different lexical, semantic, and character-level modifications affect the RTT-derived features used to distinguish human-written from LLM-generated text. For each attack type, adversarial examples are constructed by applying the corresponding perturbation to the original test samples while preserving their authorship labels. The models are trained on clean data and evaluated independently on the test sets corresponding to each perturbation, allowing us to assess robustness under distribution shifts introduced by individual attacks without incorporating adversarial examples into training.
As shown in Table 12, TRIDENT-S consistently outperforms TRIDENT-D and TRIDENT-C across all evaluated adversarial attacks in terms of accuracy and class-wise F1 scores. Among these attacks, homoglyph substitution has the least impact on detection performance, whereas misspelling poses the greatest challenge across all three variants. This vulnerability suggests that character-level perturbations, particularly typographical errors, can disrupt the lexical and statistical patterns underlying the detection process. As further illustrated in Figure 7, misspellings and typographical errors contribute to misclassification, highlighting the sensitivity of the proposed framework to such perturbations. Rewriting and synonym replacement also adversely affect detection performance, while homoglyph substitution and whitespace perturbations are comparatively less challenging. In summary, TRIDENT-S demonstrates the strongest robustness among the three variants, although the observed performance degradation under certain attacks highlights opportunities to improve adversarial resilience.
8.3 Cross-LLM Generalization Evaluation
To evaluate the generalization capability of TRIDENT-C across unseen text generators, we conduct a cross-LLM evaluation on the SHAKTI dataset using a leave-one-generator-out protocol. In each experiment, one LLM generator is excluded from training and reserved exclusively for testing, while texts from the remaining generators are used to train the logistic regression classifier. GPT-3.5 is employed as the fixed RTT model across all experiments to isolate the effect of variations in the text generators. Table 13 presents the TRIDENT performance across the evaluated held-out generators. TRIDENT-C demonstrates promising cross-generator generalization, maintaining consistent performance on AI-generated texts from previously unseen generators. The strongest performance is observed on LLaMA-3.2-generated texts, whereas GPT-3.5-generated texts pose the greatest challenge. These findings suggest that RTT-derived features capture transferable detection signals beyond generator-specific characteristics, although performance variations indicate some sensitivity to the underlying text generator. Nevertheless, the variation in performance across held-out generators indicates that detection effectiveness remains influenced by generator-specific characteristics. In summary, the results provide evidence that TRIDENT-C can generalise to previously unseen text generators without requiring generator-specific retraining.
| Cause | Effect on Model | Example |
| Spelling mistakes or typos | Low semantic similarity after translation | The sentence “सरकार ने नई नीतियां जारी की है।” contains a spelling mistake (“की” instead of “की”), which leads to mistranslation in the round trip and reduces the similarity score. |
| Complex sentence structure or idioms | Meaning/style changed during translation | The idiomatic expression “समय किसी का इंतजार नहीं करता।” may lose its figurative meaning when translated back and forth, causing semantic drift and misclassification. |
| More than two attacks | Stable semantic similarity mimics humans | LLM-generated text paraphrased to “भारत लोकतंत्र के मामले में सबसे बड़ा देश है।” remains semantically close to the original, confusing the detector into classifying it as human text. |
| Repetitive or formulaic text patterns | Mimics natural human writing | AI-generated news with repeated structures such as “यह योजना देश के विकास में सहायक होगी। यह योजना देश के विकास में सहायक होगी।” appears natural but misleads the model. |
Figure 7: Representative misclassification cases produced by TRIDENT on the SHAKTI dataset. The examples illustrate how repetitive or formulaic LLM-generated text and linguistic or translation-related variations can lead to incorrect authorship predictions.
8.4 Error Analysis
To better understand the limitations of TRIDENT-S, we conduct a qualitative error analysis of samples misclassified by TRIDENT, examining how linguistic complexity, translation-induced artifacts, and adversarial perturbations contribute to incorrect predictions, as illustrated in Figure 7.
Figure 7 presents examples of misclassifications by TRIDENT-S, where linguistic variations and translation artifacts lead to incorrect classification by TRIDENT, and attacks might also be misclassified. Our error analysis reveals that misclassifications frequently arise from linguistic irregularities and translation-induced variations. In particular, human-written texts containing spelling errors or typographical inconsistencies tend to undergo greater changes during round-trip translation, potentially altering their semantic representations and leading to incorrect classification as LLM-generated text. Similarly, informal expressions, dialectal variations, and region-specific phrases introduce additional ambiguity during translation, making it difficult to preserve the original meaning. These observations suggest that TRIDENT-S is sensitive to linguistic phenomena that are not consistently preserved across translation stages, highlighting a potential limitation when processing informal or linguistically diverse human-written content. Further analysis reveals that texts containing complex grammatical constructions, idiomatic expressions, and multiple negations are particularly susceptible to translation-induced semantic shifts, contributing to both false-positive and false-negative predictions. Interestingly, heavily paraphrased LLM-generated texts may retain their underlying semantic representations despite substantial surface-level modifications, making them difficult to distinguish from human-written content. Similarly, repetitive or formulaic structures in LLM-generated texts can exhibit linguistic characteristics resembling those of human-written texts, further reducing their discriminability. These observations highlight the limitations of relying solely on RTT-induced semantic variations, particularly when linguistic complexity and adversarial paraphrasing affect the relationship between semantic stability and text authorship.
9 Conclusion and Future Work
In this study, we introduce SHAKTI, a large-scale Hindi benchmark for LLM-generated text detection, comprising human-written content across diverse genres and corresponding LLM-generated texts from different LLM families. Additionally, the SHAKTI dataset is curated using diverse prompting strategies and adversarial transformations, enabling systematic evaluation of detection methods and fostering the development of models for AI-generated content detection in both conventional and adversarial settings. Next, we conduct a comprehensive linguistic analysis of human-written and LLM-generated Hindi texts across structural, lexical, readability, and language-specific features. Our findings reveal both similarities and differences in their linguistic characteristics, with certain LLMs producing texts that closely resemble human-written content in terms of lexical distributions. These observations highlight the limitations of relying solely on surface-level linguistic features for reliable detection and motivate the investigation of complementary detection signals.
Furthermore, this study proposes TRIDENT, a round-trip translation-based framework and its variants for detecting LLM-generated text. Extensive experiments on SHAKTI, an existing Hindi benchmark, and datasets in Urdu, Arabic, and Korean demonstrated the effectiveness and multilingual applicability of the proposed approach. TRIDENT consistently outperformed conventional statistical, rewriting-based, and supervised detection baselines across the evaluated Hindi datasets. Among its three variants, TRIDENT-S (Static Threshold-Based Classification), TRIDENT-D (Dynamic Threshold-Based Classification), and TRIDENT-C (Logistic Regression-Based Classification with Multi-Distance RTT Features), static thresholding (TRIDENT-S) achieved the strongest overall performance, suggesting that RTT-induced semantic similarity provides a discriminative signal without requiring complex classification boundaries.
Further analysis revealed that detection performance depends on the choice of translation model, with LLM-based translators generally outperforming the conventional machine translation model mBART. The results also highlighted genre-dependent variations and performance differences across languages, emphasising the importance of selecting a translation model when applying RTT-based detection in multilingual settings. Nevertheless, qualitative error analysis identified challenges involving linguistic complexity, translation artefacts, and adversarial paraphrasing. Overall, our findings establish round-trip translation-induced representational changes as a promising signal for LLM-generated text detection and motivate future research toward more efficient, linguistically adaptive, and robust multilingual detection frameworks.
Limitations
While SHAKTI and TRIDENT advance LLM-generated text detection for low-resource languages, several limitations remain. First, the dataset and primary analysis focus on Hindi, and although additional languages are evaluated, out-of-domain and cross-lingual generalization is limited. Detection performance may also depend on the LLMs and domains represented in the data, reducing robustness to unseen domains and future models. Second, large language models exhibit behavior drift over time. Although TRIDENT mitigates reliance on model-specific artifacts through round-trip translation and prompt-agnostic similarity modeling, it does not fully eliminate the impact of substantial shifts in LLM generation behavior. Third, our similarity modeling primarily relies on cosine similarity between sentence embeddings, leaving room for alternative semantic comparison measures. Finally, human-written texts were not generated using the same prompts as LLM-generated content. While topical and stylistic alignment was maintained, this mismatch may introduce distributional differences unrelated to authorship.
Ethics and Privacy Statement
The SHAKTI is curated without collecting any personal information for LLM-generated text detection in the Hindi language. SHAKTI is curated based on publicly available news article corpus [69], Wikipedia articles[70], Question answering, essays and LLM-generated content produced via controlled prompting of large language models. The dataset is released under the Creative Commons Attribution 4.0 International license, and the accompanying code is released under the MIT license.
Declaration of Generative AI Use
Generative AI tools were used to assist with language refinement, grammatical corrections, manuscript readability, and the preparation and formatting of figures and tables. All AI-assisted content was reviewed and verified by the authors, who retain full responsibility for the accuracy, originality, scientific integrity, experimental results, interpretations, and conclusions presented in the manuscript.
References
[1] Yuta Yanagi, Ryohei Orihara, Yuichi Sei, Yasuyuki Tahara, and Akihiko Ohsuga. Fake news detection with generated comments for news articles. In 2020 IEEE 24th International Conference on Intelligent Engineering Systems (INES), pages 85–90. IEEE, 2020.
[2] Ann Yuan, Andy Coenen, Emily Reif, and Daphne Ippolito. Wordcraft: story writing with large language models. In Proceedings of the 27th International Conference on Intelligent User Interfaces, pages 841–852, 2022.
[3] Joni Salminen, Chandrashekhar Kandpal, Ahmed Mohamed Kamel, Soon-gyo Jung, and Bernard J Jansen. Creating and detecting fake reviews of online products. Journal of Retailing and Consumer Services, 64:102771, 2022.
[4] Ning Wang, Jun Yang, Xuefeng Kong, and Ying Gao. A fake review identification framework considering the suspicion degree of reviews with time burst characteristics. Expert Systems with Applications, 190:116207, 2022.
[5] Yisroel Mirsky and Wenke Lee. The creation and detection of deepfakes: A survey. ACM computing surveys (CSUR), 54(1):1–41, 2021.
[6] Rowan Zellers, Ari Holtzman, Hannah Rashkin, Yonatan Bisk, Ali Farhadi, Franziska Roesner, and Yejin Choi. Defending against neural fake news. Advances in neural information processing systems, 32, 2019.
[7] Mike Perkins. Academic integrity considerations of ai large language models in the post-pandemic era: Chatgpt and beyond. Journal of University Teaching and Learning Practice, 20(2):1–24, 2023.
[8] Wikipedia contributors. List of languages by number of native speakers — hindi. https://en.wikipedia.org/w/index.php?title=List%20of%20languages%20by%20number%20of%20native%20speakers&oldid=1187628042, 2023. Accessed: 2025-05-20.
[9] Ishan Kavathekar, Anku Rani, Ashmit Chamoli, Ponnurangam Kumaraguru, Amit Sheth, and Amitava Das. Counter turing test (ct2): Investigating ai-generated text detection for hindi-ranking llms based on hindi ai detectability index (adi_hi). In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 4902–4926, 2024.
[10] Bhaskar Ganesh Devalla, Junchao Wu, Nilesh Dokuparthi, Greeshma Yaluru, Tatiana Muniz Rodriguez, Lidia S Chao, and Derek F Wong. Indicdetect: Evaluating cross-lingual llm-generated text detection for hindi, telugu, and tamil. arXiv preprint arXiv:2608.29919, 2026.
[11] Ahmed K Kadhim, Lei Jiao, Rishad Shafik, and Ole-Christoffer Granmo. Adversarial attacks on ai-generated text detection models: A token probability-based approach using embeddings. arXiv preprint arXiv:2501.18998, 2025.
[12] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
[13] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
[14] Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023.
[15] Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, et al. Gemma: Open models based on gemini research and technology. arXiv preprint arXiv:2403.08295, 2024.
[16] Tiziano Fagni, Fabrizio Falchi, Margherita Gambini, Antonio Martella, and Maurizio Tesconi. Tweepfake: About detecting deepfake tweets. Plos one, 16(5):e0251415, 2021.
[17] Sebastian Gehrmann, Hendrik Strobelt, and Alexander M Rush. Gltr: Statistical detection and visualization of generated text. arXiv preprint arXiv:1906.04043, 2019.
[18] Daphne Ippolito, Daniel Duckworth, Chris Callison-Burch, and Douglas Eck. Automatic detection of generated text is easiest when humans are fooled. arXiv preprint arXiv:1911.00650, 2019.
[19] Xiaomin Yu, Yezhaohui Wang, Yanfang Chen, Zhen Tao, Dinghao Xi, Shichao Song, and Simin Niu. Perceived authenticity mediates the relationships between online review source (human vs chatgpt) and online review trust and online review usefulness. arXiv preprint arXiv:2405.00711, 2024.
[20] Irene Solaiman, Miles Brundage, Jack Clark, Amanda Askell, Ariel Herbert-Voss, Jeff Wu, Alec Radford, Gretchen Krueger, Jong Wook Kim, Sarah Kreps, et al. Release strategies and the social impacts of language models. arXiv preprint arXiv:1908.09203, 2019.
[21] Jinyan Su, Terry Yue Zhuo, Di Wang, and Preslav Nakov. Detectllm: Leveraging log rank information for zero-shot detection of machine-generated text. arXiv preprint arXiv:2306.05540, 2023.
[22] Vijini Liyanage, Davide Buscaldi, and Pénelope Forcioli. Detecting ai-enhanced opinion spambots: a study on llm-generated hotel reviews. LREC-COLING 2024, page 74, 2024.
[23] Yikang Liu, Ziyin Zhang, Wanyang Zhang, Shisen Yue, Xiaojing Zhao, Xinyuan Cheng, Yiwen Zhang, and Hai Hu. Argugpt: evaluating, understanding and identifying argumentative essays generated by gpt models. arXiv preprint arXiv:2304.07666, 2023.
[24] Guangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang, and Yue Zhang. Fast-detectgpt: Efficient zero-shot detection of machine-generated text via conditional probability curvature. In International Conference on Learning Representations, volume 2024, pages 24814–24836, 2024.
[25] Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D Manning, and Chelsea Finn. Detectgpt: Zero-shot machine-generated text detection using probability curvature. In International Conference on Machine Learning, pages 24950–24962. PMLR, 2023.
[26] Shixuan Ma and Quan Wang. Zero-shot detection of llm-generated text using token cohesiveness. arXiv preprint arXiv:2409.16914, 2024.
[27] Hoang-Quoc Nguyen-Son, Minh-Son Dao, and Koji Zettsu. Simllm: Detecting sentences generated by large language models using similarity between the generation and its re-generation. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 22340–22352, 2024.
[28] Chengzhi Mao, Carl Vondrick, Hao Wang, and Junfeng Yang. Raidar: generative ai detection via rewriting. arXiv preprint arXiv:2401.12970, 2024.
[29] Wei Hao, Ran Li, Weiliang Zhao, Junfeng Yang, and Chengzhi Mao. Learning to rewrite: Generalized LLM-generated text detection. In Wanxiang Che, Joyce Nabende, Ekaterina Shutova, and Mohammad Taher Pilehvar, editors, Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6421–6434, Vienna, Austria, July 2025. Association for Computational Linguistics.
[30] Adaku Uchendu, Zeyu Ma, Thai Le, Rui Zhang, and Dongwon Lee. Turingbench: A benchmark environment for turing test in the age of neural text generation. arXiv preprint arXiv:2109.13296, 2021.
[31] Tatiana Shamardina, Vladislav Mikhailov, Daniil Chernianskii, Alena Fenogenova, Marat Saidov, Anastasiya Valeeva, Tatiana Shavrina, Ivan Smurov, Elena Tutubalina, and Ekaterina Artemova. Findings of the ruatd shared task 2022 on artificial text detection in russian. arXiv preprint arXiv:2206.01583, 2022.
[32] Biyang Guo, Xin Zhang, Ziyuan Wang, Minqi Jiang, Jinran Nie, Yuxuan Ding, Jianwei Yue, and Yupeng Wu. How close is chatgpt to human experts? comparison corpus, evaluation, and detection. arXiv preprint arXiv:2301.07597, 2023.
[33] Xinlei He, Xinyue Shen, Zeyuan Chen, Michael Backes, and Yang Zhang. Mgtbench: Benchmarking machine-generated text detection. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, pages 2251–2265, 2024.
[34] Dominik Macko, Robert Moro, Adaku Uchendu, Jason Samuel Lucas, Michiharu Yamashita, Matús Pikuliak, Ivan Srba, Thai Le, Dongwon Lee, Jakub Simko, et al. Multitude: Large-scale multilingual machine-generated text detection benchmark. arXiv preprint arXiv:2310.13606, 2023.
[35] Yuxia Wang, Jonibek Mansurov, Petar Ivanov, Jinyan Su, Artem Shelmanov, Akim Tsvigun, Chenxi Whitehouse, Osama Mohammed Afzal, Tarek Mahmoud, Toru Sasaki, et al. M4: Multi-generator, multi-domain, and multilingual black-box machine-generated text detection. arXiv preprint arXiv:2305.14902, 2023.
[36] Jian Wang, Shangqing Liu, Xiaofei Xie, and Yi Li. Evaluating aigc detectors on code content. arXiv preprint arXiv:2304.05193, 2023.
[37] Edoardo Mosca, Mohamed Hesham Ibrahim Abdalla, Paolo Basso, Margherita Musumeci, and Georg Groh. Distinguishing fact from fiction: A benchmark dataset for identifying machine-generated scientific papers in the llm era. In Proceedings of the 3rd Workshop on Trustworthy Natural Language Processing (TrustNLP 2023), pages 190–207, 2023.
[38] Han Xu, Jie Ren, Pengfei He, Shenglai Zeng, Yingqian Cui, Amy Liu, Hui Liu, and Jiliang Tang. On the generalization of training-based chatgpt detection methods. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 7223–7243, 2024.
[39] Zhenpeng Su, Xing Wu, Wei Zhou, Guangyuan Ma, and Songlin Hu. Hc3 plus: A semantic-invariant human chatgpt comparison corpus. arXiv preprint arXiv:2309.02731, 2023.
[40] Yafu Li, Qintong Li, Leyang Cui, Wei Bi, Zhilin Wang, Longyue Wang, Linyi Yang, Shuming Shi, and Yue Zhang. Mage: Machine-generated text detection in the wild. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 36–53, 2024.
[41] Wissam Antoun, Virginie Mouilleron, Benoît Sagot, and Djamé Seddah. Towards a robust detection of language model-generated text: Is chatgpt that easy to detect? In Actes de CORIA-TALN 2023. Actes de la 30e Conférence sur le Traitement Automatique des Langues Naturelles (TALN), volume 1: travaux de recherche originaux–articles longs, pages 14–27, 2023.
[42] Junchao Wu, Runzhe Zhan, Derek F Wong, Shu Yang, Xinyi Yang, Yulin Yuan, and Lidia S Chao. Detectrl: Benchmarking llm-generated text detection in real-world scenarios. Advances in Neural Information Processing Systems, 37:100369–100401, 2024.
[43] Liam Dugan, Alyssa Hwang, Filip Trhlik, Josh Magnus Ludan, Andrew Zhu, Hainiu Xu, Daphne Ippolito, and Chris Callison-Burch. Raid: A shared benchmark for robust evaluation of machine-generated text detectors. arXiv preprint arXiv:2405.07940, 2024.
[44] Joseph Cornelius, Oscar Lithgow-Serrano, Sandra Mitrović, Ljiljana Dolamic, and Fabio Rinaldi. Bust: Benchmark for the evaluation of detectors of llm-generated text. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 8029–8057, 2024.
[45] Junchao Wu, Yefeng Liu, Chenyu Zhu, Hao Zhang, Zeyu Wu, Tianqi Shi, Yichao Du, Longyue Wang, Weihua Luo, Jinsong Su, et al. Detectrl-x: Towards reliable multilingual and real-world llm-generated text detection. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 38247–38294, 2026.
[46] Dominik Macko, Jakub Kopal, Robert Moro, and Ivan Srba. Multisocial: Multilingual benchmark of machine-generated text detection of social-media texts. arXiv preprint arXiv:2406.12549, 2024.
[47] Iqra Ali, Jesse Atuhurra, Hidetaka Kamigaito, and Taro Watanabe. Hlu: Human vs llm generated text detection dataset for urdu at multiple granularities. In Proceedings of the 31st International Conference on Computational Linguistics, pages 3495–3510, 2025.
[48] Shinwoo Park, Shubin Kim, Do-Kyung Kim, and Yo-Sub Han. Katfishnet: Detecting llm-generated korean text through linguistic feature analysis. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 21189–21222, 2025.
[49] Maged S Al-Shaibani and Moataz Ahmed. The arabic ai fingerprint: Stylometric analysis and detection of large language models text. arXiv preprint arXiv:2505.23276, 2025.
[50] Zainab Ahmad, Miguel Torres-Ruiz, Ahmad Mahmood, Rolando Quintero, Iqra Ameer, and Necva Bölücü. Human or machine? a survey on machine-generated text detection. IEEE Access, 2026.
[51] Batyr Sharimbayev, Cemil Turan, and Aiken Kazin. Ai-generated text detection methods: A review. In 2026 18th International Conference on Electronics, Computer, and Computation (ICECCO), pages 1–6. IEEE, 2026.
[52] Yassir El Attar, Esra Dönmez, Maximilian Maurer, and Agnieszka Falenska. A systematic analysis of linguistic features in ai-generated text detection across domains and models. arXiv preprint arXiv:2606.04177, 2026.
[53] Junchao Wu, Shu Yang, Runzhe Zhan, Yulin Yuan, Lidia Sam Chao, and Derek Fai Wong. A survey on llm-generated text detection: Necessity, methods, and future directions. Computational Linguistics, pages 1–66, 2025.
[54] Kathleen C Fraser, Hillary Dawkins, and Svetlana Kiritchenko. Detecting ai-generated text: Factors influencing detectability with current methods. Journal of Artificial Intelligence Research, 82:2233–2278, 2025.
[55] Yuxia Wang, Jonibek Mansurov, Petar Ivanov, Jinyan Su, Artem Shelmanov, Akim Tsvigun, Osama Mohammed Afzal, Tarek Mahmoud, Giovanni Puccetti, Thomas Arnold, et al. Semeval-2024 task 8: Multidomain, multimodel and multilingual machine-generated text detection. arXiv preprint arXiv:2404.14183, 2024.
[56] Yuxia Wang, Artem Shelmanov, Jonibek Mansurov, Akim Tsvigun, Vladislav Mikhailov, Rui Xing, Zhuohan Xie, Jiahui Geng, Giovanni Puccetti, Ekaterina Artemova, et al. Genai content detection task 1: English and multilingual machine-generated text detection: Ai vs. human. In Proceedings of the 1st Workshop on GenAI content detection (GenAIDetect), pages 244–261, 2025.
[57] Areg Mikael Sarvazyan, José Ángel González, Marc Franco-Salvador, Francisco Rangel, Berta Chulvi, and Paolo Rosso. Overview of autextification at iberlef 2023: Detection and attribution of machine-generated text in multiple domains. arXiv preprint arXiv:2309.11285, 2023.
[58] Daria Beresneva. Computer-generated text detection using machine learning: A systematic review. In International Conference on Applications of Natural Language to Information Systems, pages 421–426. Springer, 2016.
[59] A Hans, A Schwarzschild, V Cherepanova, H Kazemi, A Saha, M Goldblum, J Geiping, and T Goldstein. Spotting Iims with binoculars: Zero-shot detection of machine-generated text, 2024. URL: https://arxiv.org/abs/2401.12070.
[60] Hanxi Guo, Siyuan Cheng, Xiaolong Jin, Zhuo Zhang, Kaiyuan Zhang, Guanhong Tao, Guangyu Shen, and Xiangyu Zhang. Biscope: Ai-generated text detection by checking memorization of preceding tokens. Advances in Neural Information Processing Systems, 37:104065–104090, 2024.
[61] Rafael Rivera Soto, Kailin Koch, Aleem Khan, Barry Chen, Marcus Bishop, and Nicholas Andrews. Few-shot detection of machine-generated text using style representations. In International Conference on Learning Representations, volume 2024, pages 29392–29412, 2024.
[62] Xiaomeng Hu, Pin-Yu Chen, and Tsung-Yi Ho. Radar: Robust ai-text detection via adversarial learning. Advances in neural information processing systems, 36:15077–15095, 2023.
[63] Ryuto Koike, Masahiro Kaneko, and Naoaki Okazaki. Outfox: Llm-generated essay detection through in-context learning with adversarially generated examples. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 21258–21266, 2024.
[64] Vivek Verma, Eve Fleisig, Nicholas Tomlin, and Dan Klein. Ghostbuster: Detecting text ghostwritten by large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 1702–1717, 2024.
[65] Amrita Bhattacharjee, Raha Moraffah, Joshua Garland, and Huan Liu. Eagle: A domain generalization framework for ai-generated text detection. arXiv preprint arXiv:2403.15690, 2024.
[66] Xun Guo, Shan Zhang, Yongxin He, Ting Zhang, Wanquan Feng, Haibin Huang, and Chongyang Ma. Detective: Detecting ai-generated text via multi-level contrastive learning. Advances in Neural Information Processing Systems, 37:88320–88347, 2024.
[67] Changrong Xiao, Wenxing Ma, Qingping Song, Sean Xin Xu, Kunpeng Zhang, Yufang Wang, and Qi Fu. Human-ai collaborative essay scoring: A dual-process framework with Iims. In Proceedings of the 15th International Learning Analytics and Knowledge Conference, pages 293–305, 2025.
[68] Hyeonchu Park, Byungjun Kim, and Bugeun Kim. Dart: An aigt detector using amr of rephrased text. arXiv preprint arXiv:2412.11517, 2024.
[69] Sujit Kumar, Anant Shankhdhar, Divyam Singal, Bhuvan Aggarwal, Ahaan Sameer Malhotra, and Sanasam Ranbir Singh. Fake news article detection datasets for hindi language. Language Resources and Evaluation, pages 1–36, 2024.
[70] Hindi Wikipedia. Hindi wikipedia. https://hi.wikipedia.org/wiki, 2025. Accessed: May 19, 2025.
[71] Mohd Kaif. Discussions on indian history hindi qa dataset. https://huggingface.co/datasets/kaifahmad/indian-history-hindi-QA-3.4k/discussions, 2024. Accessed: 2025-05-19.
[72] Shubhankar Singh, Anirudh Pupneja, Shivaansh Mital, Cheril Shah, Manish Bawkar, Lakshman Prasad Gupta, Ajit Kumar, Yaman Kumar, Rushali Gupta, and Rajiv Ratn Shah. H-aes: towards automated essay scoring for hindi. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 15955–15963, 2023.
[73] Ahmet Üstün, Viraat Aryabumi, Zheng Yong, Wei-Yin Ko, Daniel D'souza, Gbemileke Onilude, Neel Bhandari, Shivalika Singh, Hui-Lee Ooi, Amr Kayid, et al. Aya model: An instruction finetuned open-access multilingual language model. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15894–15939, 2024.
[74] Kalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting, and Mohit Iyyer. Paraphrasing evades detectors of ai-generated text, but retrieval is an effective defense. Advances in Neural Information Processing Systems, 36:27469–27500, 2023.
[75] Rinaldo Gagiano, Maria Myung-Hee Kim, Xiuzhen Jenny Zhang, and Jennifer Biggs. Robustness analysis of grover for machine-generated news detection. In Proceedings of the 19th Annual Workshop of the Australasian Language Technology Association, pages 119–127, 2021.
[76] Jiameng Pu, Zain Sarwar, Sifat Muhammad Abdullah, Abdullah Rehman, Yoonjin Kim, Parantapa Bhattacharya, Mobin Javed, and Bimal Viswanath. Deepfake text detection: Limitations and opportunities. In 2023 IEEE symposium on security and privacy (SP), pages 1613–1630. IEEE, 2023.
[77] Klaus Krippendorff. Computing krippendorff's alpha-reliability, 2011.
[78] Joseph L Fleiss. Measuring nominal scale agreement among many raters. Psychological bulletin, 76(5):378, 1971.
[79] Tharindu Kumarage, Joshua Garland, Amrita Bhattacharjee, Kirill Trapeznikov, Scott Ruston, and Huan Liu. Stylometric detection of ai-generated text in twitter timelines. arXiv preprint arXiv:2303.03697, 2023.
[80] Julien Fontanarava, Gabriella Pasi, and Marco Viviani. Feature analysis for fake review detection through supervised classification. In 2017 IEEE international conference on data science and advanced Analytics (DSAA), pages 658–666. IEEE, 2017.
[81] Tharindu Kumarage, Amrita Bhattacharjee, Djordje Padejski, Kristy Roschke, Dan Gillmor, Scott Ruston, Huan Liu, and Joshua Garland. J-guard: Journalism guided adversarially robust detection of ai-generated news. In Proceedings of the 13th International Joint Conference on Natural Language Processing and the 3rd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 484–497, 2023.
[82] Alexis Conneau and Guillaume Lample. Cross-lingual language model pretraining. Advances in neural information processing systems, 32, 2019.
[83] Shinwoo Park, Shubin Kim, Do-Kyung Kim, and Yo-Sub Han. Detecting llm-generated korean text through linguistic feature analysis. arXiv preprint arXiv:2503.00032, 2025.
[84] Manjira Sinha, Sakshi Sharma, Tirthankar Dasgupta, and Anupam Basu. New readability measures for bangla and hindi texts. In Proceedings of COLING 2012: Posters, pages 1141–1150, 2012.
Appendix
10 Prompt used to generate Dataset
| Wikipedia Generation Prompt |
|---|
| Role: You are a Hindi encyclopedic content writer.Task: Generate an informative Hindi passage about the specified topic in an encyclopedic style.Input:Title: [TITLE]Instructions:Use a neutral, factual, and informative tone.Organize the content logically.Include relevant background, key facts, and explanations.Use formal and grammatically correct Hindi.Avoid personal opinions, conversational expressions, and repetitive statements.Do not invent specific facts or references.Output: Return only the generated Hindi passage. |
| Question Answering (QA) Prompt |
| Role: You are a Hindi question-answering assistant specializing in Indian history.Task: Answer the given question in Hindi.Input:Question: [QUESTION]Requirements:Provide a direct, relevant, and informative answer.Include appropriate historical facts and explanations.Use natural and grammatically correct Hindi.Keep the answer concise while including essential information.Avoid unrelated details and unsupported claims.Do not repeat the question in the answer.Output: Return only the Hindi answer. |
| News Generation Prompt | |
|---|---|
| Role: | You are a Hindi news article writer. |
| Task: | Generate a Hindi news article based on the provided topic or source information. |
| Input: | Topic or source text: [HEADLINES] |
| Requirements: | |
| Use a formal, journalistic writing style.Present information coherently and objectively.Include relevant details and maintain consistency throughout the article.Use natural and grammatically correct Hindi.Avoid unsupported claims and unnecessary repetition.Do not copy the source text verbatim. | |
| Output: Return only the generated Hindi news article. | |
| Essay Generation Prompt | |
|---|---|
| Role: | You are a Hindi essay writer. |
| Task: | Write a coherent Hindi essay on the given topic. |
| Input: | Essay topic: [TOPIC] |
| Requirements: | |
| Introduce the topic and develop the discussion in a logical sequence.Present relevant arguments, examples, and explanations.Use natural Hindi with varied vocabulary and sentence structures.Maintain coherence and consistency throughout the essay.Include a concluding paragraph summarizing the main ideas.Avoid unnecessary repetition and unrelated content. | |
| Output: Return only the complete Hindi essay. | |
Adversarial attacks prompt
| Rewrite Attack Prompt | |
|---|---|
| Role: | You are a Hindi text transformation assistant. |
| Task: | Rewrite the given Hindi text while preserving its original meaning. |
| Input: | Original Text: [ORIGINAL TEXT] |
| Instructions: | |
| Express the same information using different words and sentence structures.Preserve the original meaning, facts, entities, and intent.Maintain fluent and grammatically correct Hindi.Do not add new information or remove important details.Avoid copying the original wording wherever possible.Do not translate the text into another language.Keep the output approximately the same length as the input. | |
| Output: Return only the rewritten Hindi text. | |
| Homoglyph Substitution Attack Prompt | |
|---|---|
| Role: | You are a character-level Hindi text transformation assistant. |
| Task: | Apply homoglyph substitutions to the given Hindi text. |
| Input: | Original Text: [ORIGINAL TEXT] |
| Instructions: |
|---|
| Replace eligible characters with visually similar characters from the specified mapping.Preserve the original word order, spacing, punctuation, and sentence structure.Do not rewrite, paraphrase, translate, or correct the text.Do not substitute characters outside the permitted mapping.If no eligible character is present, return the original text unchanged. |
| Output: Return only the transformed text. |
| Synonym Replacement Attack Prompt | |||
|---|---|---|---|
Role: You are a Hindi lexical substitution assistant.Task: Replace selected words in the given Hindi text with appropriate synonyms while preserving the original meaning.
|
| Misspelling Attack Prompt | |||
|---|---|---|---|
Role: You are a Hindi text perturbation assistant.Task: Introduce controlled spelling errors into the given Hindi text.
|
| Whitespace Manipulation Attack Prompt | |||
|---|---|---|---|
Role: You are a character-level text perturbation assistant.Task: Modify whitespace in the given Hindi text without changing its words.
|
11 Mathematical Formulation and Estimation of Linguistic Features
11.1 Computation of Structural Linguistic Features
Let denote the collection of texts generated by source , where and is the number of texts in that collection. For each text , we extract the following features.
Character Count. The character count measures the total number of characters in a text sample, which may consist of one or more sentences. Let denote the character sequence of the i-th text sample, where is the total number of characters in the sample. The character count is defined as
where whitespace and punctuation marks are included in the count. This convention is applied consistently across all text collections.
Word Count. The word count measures the total number of word tokens in a text sample. Let denote the sequence of word tokens obtained by applying a consistent tokenization procedure to the i-th text sample . The word count is defined as
where denotes the total number of word tokens across all sentences and paragraphs in the text sample. Word tokens are identified using whitespace-based segmentation, with the same tokenization procedure applied consistently across all text collections.
Sentence Count. The sentence count measures the total number of sentences in a text sample. Let denote the sequence of sentence segments obtained by applying Hindi-specific sentence-boundary detection rules to the i-th text sample . These rules identify sentence boundaries using punctuation marks such as the Hindi danda, question mark, and exclamation mark. The sentence count is defined as
where denotes the total number of sentences across the entire text sample. The same sentence-segmentation rules are applied consistently across all text collections.
Paragraph Count. The paragraph count measures the total number of non-empty paragraphs in a text sample. Let denote the sequence of paragraphs obtained by splitting the i-th text sample at paragraph boundaries and excluding empty segments. The paragraph count is defined as
where denotes the total number of non-empty paragraphs in the text sample. The same paragraph segmentation rules are applied consistently across all text collections. Thus, each newline character is treated as a paragraph boundary, and the count is one greater than the number of newline characters.
Special Character Count. The special character count measures the number of non-alphanumeric symbols, excluding whitespace and punctuation, in a text sample. Let denote the set of Unicode letters, combining marks, digits, and whitespace characters, and let denote the set of recognized punctuation symbols. The special character count is defined as
where is the indicator function, which equals 1 when the condition is satisfied and 0 otherwise. This definition excludes Devanagari letters and combining marks, whitespace, digits, and punctuation from the special character count.
Punctuation Count. The punctuation count measures the total number of punctuation symbols in a text sample. Let Q denote the set of Unicode punctuation characters, including Hindi-specific punctuation such as the danda (l), as well as commonly used punctuation marks such as periods, commas, question marks, and exclamation marks. The punctuation count is defined as
(13) where denotes the indicator function. The same Unicode character-classification rules are applied consistently across all text collections.
Average Feature Values. After extracting the structural features from individual text samples, we compute the arithmetic mean of each feature separately for every source . For a given structural feature , the source-specific average is defined as
where denotes the total number of text samples originating from source , and represents the corresponding feature value extracted from the -th text sample. The resulting average values are reported in Table 4, enabling a comparative analysis of structural characteristics across human-written and LLM-generated Hindi texts.
11.2 Quantifying Lexical Diversity in Human-Written and LLM-Generated Hindi Text
Let denote the -th text, and let denote its sequence of word tokens, where is the total number of tokens. The following features are extracted from each text.
Number of Unique Words. The number of unique words measures the vocabulary size of an individual text sample. Let denote the sequence of word tokens in the i-th text sample , where represents the total number of word tokens. Let denote the set of distinct word types occurring in . The number of unique words is defined as
where denotes the cardinality of the vocabulary set. A higher value indicates a greater number of distinct word types, although this measure is sensitive to the overall text length.
Type-Token Ratio (TTR). The type-token ratio measures lexical diversity as the proportion of distinct word types relative to the total number of word tokens in a text sample. Let denote the number of unique word types and denote the total number of word tokens in the i-th text sample. TTR is defined as
where . TTR ranges from greater than 0 to 1, with higher values indicating a greater proportion of distinct word types. However, TTR is sensitive to text length, which should be considered when comparing samples of substantially different lengths.
Average Word Length. Average word length measures the mean number of characters per word token in a text sample. Let denote the sequence of word tokens in the i-th text sample, and let denote the number of characters in word token . The average word length is defined as
where . Word length is calculated using the same character-counting convention across all text collections. This feature captures variations in word-form length but does not independently establish lexical complexity or formality.
Vowel Ratio. The vowel ratio measures the relative frequency of vowel characters in a text sample. Let denote the predefined set of Hindi vowel characters, including independent Devanagari vowels and dependent vowel signs (matras). Let denote the number of characters belonging to , and let denote the total number of Unicode code points in the i-th text sample. The vowel ratio is defined as
where . The same vowel inventory and Unicode character-counting convention are applied consistently across all text collections. The denominator includes whitespace and punctuation characters when present.
Punctuation Variety. Punctuation variety measures the diversity and distribution of punctuation symbols in a text sample. Let Q denote the predefined set of punctuation symbols, including Hindi-specific and standard punctuation marks. Let denote the number of distinct punctuation types observed in the -th text sample, and let denote the relative frequency of punctuation type among all punctuation occurrences. Punctuation variety is quantified using Shannon entropy:
where the natural logarithm is used. For samples containing no punctuation, the entropy is defined as zero. Higher entropy indicates a more diverse and evenly distributed use of punctuation types, whereas lower entropy indicates that punctuation usage is concentrated in fewer types.
Repetition Score. The repetition score measures the proportion of word-token occurrences belonging to word types that appear more than once in a text sample. Let denote the frequency of word type in the -th text sample, and let denote the set of distinct word types. The set of repeated word types is defined as . The repetition score is calculated as
where denotes the total number of word tokens. The score ranges from 0 to 1, with higher values indicating a greater proportion of tokens associated with repeated word types. Unlike measures that count only duplicate occurrences beyond the first occurrence, this formulation includes all occurrences of each repeated word type.
11.3 Computation of Readability and Sentence Complexity Measures
Let denote the -th text sample containing word tokens and sentences, where and . Let denote the -th word token in , and let denote its estimated number of syllables, obtained using a consistent Hindi-specific syllable-counting procedure.
Average Words per Sentence. Average words per sentence measures the mean number of word tokens across sentences in a text sample. It is defined as
where and represent the total numbers of word tokens and sentences, respectively. Higher values indicate longer sentences on average, although sentence length alone does not establish syntactic or semantic complexity.
Average Syllables per Word. Average syllables per word measures the mean number of syllables across all word tokens in a text sample. It is defined as
where denotes the estimated syllable count of word token . For Hindi text, syllable counts are estimated using a consistent language-appropriate procedure that accounts for the characteristics of Devanagari orthography.
Flesch Reading Ease. Flesch Reading Ease (FRE) estimates textual readability using average sentence length and average syllables per word. The conventional English-language formula is defined as
where denotes the number of words in text , denotes the number of sentences, denotes the -th word, and represents the estimated number of syllables in that word. Higher FRE scores conventionally indicate easier-to-read English text. However, the original formula relies on English-specific linguistic characteristics and is not directly calibrated for Hindi. Prior work on readability measures for Bangla and Hindi texts [84] motivates the need for language-specific readability assessment. Accordingly, we use FRE as an exploratory readability proxy for Hindi rather than interpreting its scores as a validated measure of Hindi reading difficulty.
Gunning Fog Index. The Gunning Fog Index estimates textual difficulty based on average sentence length and the proportion of complex words. Let denote the number of complex words in text sample , identified according to a predefined syllable-based criterion. The index is calculated as
Higher values conventionally indicate greater reading difficulty in English. For Hindi text, the resulting scores are interpreted as comparative indicators rather than validated estimates of reading-grade levels.
SMOG Index. The Simple Measure of Gobbledygook (SMOG) Index estimates readability using the frequency of polysyllabic words. Let denote the number of word tokens containing at least three syllables in text sample , according to the adopted syllable-counting procedure. The SMOG Index is defined as
where represents the total number of sentences. As the original SMOG formula was developed for English and is conventionally applied to longer texts, its application to Hindi is considered exploratory, particularly for shorter samples.
Sentence Length Variance. Sentence length variance measures the dispersion of word counts across sentences within a text sample. Let denote the number of word tokens in the -th sentence of text , and let denote the average sentence length. The population variance is defined as
where . Higher values indicate greater variability in sentence lengths, whereas lower values indicate more uniform sentence structures. This feature characterizes sentence-length distribution but does not independently establish textual coherence or naturalness.
11.4 Computation of Indic Script and Semantic Distance Measures
Let denote the -th text sample containing word tokens, represented by the token sequence .
Stopword Count. Stopwords are frequently occurring function words, such as postpositions, pronouns, and conjunctions, that typically contribute less domain-specific semantic information than content words. Let S denote a predefined Hindi stopword lexicon. The stopword count is defined as
where is the indicator function, equal to one when the condition is satisfied and zero otherwise. A consistent stopword lexicon and tokenization procedure are applied across all text collections.
Stopword Density. Stopword density measures the proportion of word tokens identified as stopwords in a text sample. It is defined as
where . The resulting value ranges from 0 to 1, with higher values indicating a greater proportion of stopwords. Unlike the absolute stopword count, stopword density normalizes stopword usage by text length.
Matra Count. Matras are dependent vowel signs in Devanagari script that represent vowel sounds associated with consonants. Let denote the sequence of Unicode code points in text sample , where represents the total number of code points. Let denote the predefined set of Devanagari vowel-sign code points. The matra count is defined as
where is the indicator function. This feature measures the frequency of dependent vowel signs rather than independent vowel letters. The same Unicode character inventory is used consistently across all text collections.
BERT-Based Semantic Distance. BERT-based semantic distance measures the difference between the contextual representations of a text sample and a reference text. Let denote the embedding of text sample obtained using a specified pretrained BERT-based encoder and pooling strategy, and let denote its corresponding reference text. Their cosine similarity is defined as
where both embeddings are assumed to be nonzero. The corresponding cosine distance is calculated as
Lower distance values indicate greater similarity between the contextual embeddings, whereas higher values indicate greater embedding dissimilarity. The encoder, embedding extraction procedure, and reference-text selection strategy must be specified to ensure reproducibility.
11.5 Quantifying Distributional Divergence Between Human-Written and LLM-Generated Texts
Since KL divergence is asymmetric, we compute both directions to provide complementary aspects of the distributional differences between human-written and LLM-generated texts. To quantify the distributional differences between the original text and its round-trip-translated counterpart , we compute the Kullback-Leibler (KL) and Jensen-Shannon (JS) divergences over their sentence representations. Let and denote the sentence embeddings of the original and round-trip-translated texts, respectively. We first transform these representations into normalized probability distributions using the softmax function:
The forward KL divergence quantifies the discrepancy between the probability distributions induced by the original and round-trip-translated sentence embeddings, with contributions weighted according to p. Conversely, the reverse KL divergence measures the discrepancy in the opposite direction, with contributions weighted according to q. Since KL divergence is asymmetric, we consider both directions:
where d denotes the dimensionality of the sentence embeddings.
We additionally compute the Jensen–Shannon (JS) divergence, which provides a symmetric measure of the discrepancy between the two probability distributions. Let denote their element-wise average. The JS divergence is defined as
These divergence measures characterize the differences between the probability distributions derived from the original and round-trip-translated sentence embeddings, providing complementary indicators of representational changes introduced by the RTT process.
Table 14: Annotation scheme for human evaluation metrics, including score labels and descriptions.
| Metric | Score Labels and Descriptions |
|---|---|
| Fluency | 3 – Excellent: No grammatical errors; text is clear and easy to understand.2 – Moderate: Some grammatical errors or awkward phrasing, but the meaning remains understandable.1 – Poor: Frequent grammatical errors; text is difficult to understand. |
| Origin | 1 – Human-like: Text appears natural and resembles human-written content.0 – LLM-like: Text appears formulaic or resembles LLM-generated content. |
| Coherence | 1 – Coherent: Ideas are logically connected, consistent, and flow smoothly.0 – Incoherent: Ideas are disconnected, inconsistent, or difficult to follow. |
| Factuality | 5 – Completely accurate: All relevant factual claims are correct and truthful.4 – Mostly accurate: Main claims are correct, with minor omissions or inaccuracies.3 – Partially accurate: Some claims are correct, but others are vague or imprecise.2 – Substantially inaccurate: Noticeable factual errors or misleading statements are present.1 – Mostly incorrect: Most claims are incorrect, irrelevant, or substantially misleading. |
Table 15: Configuration of the three TRIDENT classification variants, detailing the shared round-trip translation (RTT) and semantic similarity components, threshold-selection procedures, and classifier-specific hyperparameters. The static variant uses a validation-selected threshold, the dynamic variant estimates a decision boundary using a Gaussian Mixture Model (GMM), and the supervised variant employs logistic regression trained on labeled RTT-derived features.
| Variant | Component | Configuration |
|---|---|---|
| Shared Configuration | ||
| All variants | RTT transformation | |
| All variants | Sentence encoder | XLM-RoBERTa (pretrained) |
| All variants | Similarity measure | Cosine similarity |
| Variant 1: TRIDENT-S (Static Threshold Classification) | ||
| Static | Threshold selection | ROC-based validation |
| Static | Decision threshold | Dataset-specific validation threshold |
| Variant 2: TRIDENT-D (Dynamic GMM Threshold Classification) | ||
| GMM | Number of components | 2 |
| GMM | Parameter estimation | Expectation–Maximization (EM) |
| GMM | Threshold selection | Midpoint of component means |
| GMM | Fitting data | Unlabeled development-set scores |
| Variant 3: TRIDENT-C (Supervised Logistic Regression) | ||
| Logistic regression | Input features | Multi-distance RTT features |
| Logistic regression | Output function | Sigmoid |
| Logistic regression | Loss function | Binary cross-entropy |
| Logistic regression | Training data | Labeled training set |
| Logistic regression | Optimizer | AdamW |
| Logistic regression | Learning rate | |
| Logistic regression | Batch size | 8 |
| Logistic regression | Training epochs | 80 |
| Logistic regression | L2 regularization | |
Prompt: "Refine this for me please:"
changed in input
changed after round trip
| Input text | English translation | Back-translation | Cosine sim. | |
|---|---|---|---|---|
| Hindi (hi → en → hi) | ||||
| Human | माँ शब्द बहुत ही छोटा है, लेकिन इसकी गहराई को कोई नहीं माप सकता। माँ को कुछ शब्दों में व्यक्त करना संभव नहीं है। हर व्यक्ति के लिए माँ की अपनी एक विशेष परिभाषा होती है। | The word 'mother' is very small, but no one can measure its depth. It is impossible to express a mother in just a few words. Every person has their own unique definition of a mother. | शब्द “माँ” बहुत छोटा है, लेकिन इसकी गहराई को कोई माप नहीं सकता। माँ को कुछ शब्दों में बयां करना असंभव है। हर व्यक्ति के लिए माँ की अपनी एक अनोखी परिभाषा होती है। | 0.8196 |
| LLM | माँ वह शक्ति है जो हमें जीवन देती है, हमें सही और गलत का फर्क सिखाती है, और हर मोड़ पर हमारे साथ एक अदृश्य ढाल बनकर खड़ी रहती है। जब दुनिया हमें गिरते देखती है, माँ हमें थामकर उठाती है। | A mother is the power that gives us life, teaches us the difference between right and wrong, and stands by us like an invisible shield at every turn. When the world watches us fall, it is the mother who lifts us up. | माँ वह शक्ति है जो हमें जीवन देती है, सही और गलत का अंतर सिखाती है, और हर मोड़ पर हमारे साथ एक अदृश्य ढाल बनकर खड़ी रहती है। जब पूरी दुनिया हमें गिरते देखती है, माँ ही हमें उठाती है। | 0.9277 |
| Chinese (zh → en → zh) | ||||
| Human | 结构体是C语言中一种重要的数据类型,该数据类型由一组称为成员(或称为域,或称为元素)的不同数据组成,其中每个成员可以具有不同的类型。结构体通常用来表示类型不同但是又相关的若干数据。 | A structure is an important data type in the C language. This data type is composed of a group of different data elements called members (also called fields or elements), and each member can have a different type. Structures are usually used to represent several pieces of data that are related but have different types. | 结构体是 C 语言中一种重要的数据类型。这种数据类型由一组不同的数据元素组成,这些元素称为成员(也称为字段或元素),并且每个成员都可以具有不同的类型。结构体通常用于表示若干相互关联但类型不同的数据。 | 0.7632 |
| LLM | HTML(超文本标记语言)是一种用于构建网页结构的标准语言。它使用各种标签来定义文本、图像、链接和多媒体内容。通过HTML,浏览器能够正确显示网页的布局和信息。 | HTML (HyperText Markup Language) is a standard language used to construct the structure of web pages. It uses various tags to define text, images, links, and multimedia content. Through HTML, browsers can correctly display the layout and information of a webpage. | HTML(超文本标记语言)是一种用于构建网页结构的标准语言。它使用各种标签来定义文本、图片、链接和多媒体内容。通过 HTML,浏览器能够正确显示网页的布局和信息。 | 0.9450 |
| Chinese (zh → en → zh) | ||||
|---|---|---|---|---|
| Human | 结构体是C语言中一种重要的数据类型,该数据类型由一组称为成员(或称为域,或称为元素)的不同数据组成,其中每个成员可以具有不同的类型。结构体通常用来表示类型不同但是又相关的若干数据。 | A structure is an important data type in the C language. This data type is composed of a group of different data elements called members (also called fields or elements), and each member can have a different type. Structures are usually used to represent several pieces of data that are related but have different types. | 结构体是C语言中一种重要的数据类型。这种数据类型由一组不同的数据元素组成,这些元素称为成员(也称为字段或元素),并且每个成员都可以具有不同的类型。结构体通常用于表示若干相互关联但类型不同的数据。 | 0.7632 |
| LLM | HTML(超文本标记语言)是一种用于构建网页结构的标准语言。它使用各种标签来定义文本、图像、链接和多媒体内容。通过HTML,浏览器能够正确显示网页的布局和信息。 | HTML (HyperText Markup Language) is a standard language used to construct the structure of web pages. It uses various tags to define text, images, links, and multimedia content. Through HTML, browsers can correctly display the layout and information of a webpage. | HTML(超文本标记语言)是一种用于构建网页结构的标准语言。它使用各种标签来定义文本、图片、链接和多媒体内容。通过HTML,浏览器能够正确显示网页的布局和信息。 | 0.9450 |
Figure 8: Example of a round-trip translation detection framework from 3 different languages. Proposed method, Deleted characters are marked in red, added characters are marked in blue, and unmodified characters are in black. We exploit the difference in rewriting distance between human and AI texts for classification. While the off-the-shelf GPT 3.5 model gives a different amount of rewrite for human and LLM texts (above), round-trip translation from GPT 3.5 are much more separable (below). Close similarity using IF-IDF embedding.
| Prompt | Human-Written Text | LLM-Generated Text | |
| Essay | 'ऑनलाइन शिक्षा का महत्व' पर एक निबंध लिखें।(Write an essay on "The importance of online education".) | चालुक्य एक्सप्रेस 1018 चालुक्य एक्सप्रेस 1018 भारतीय रेल द्वारा संचालित एक मेल एक्सप्रेस ट्रेन हैं। यह ट्रेन यशवंतपुर जंकशन रेलवे स्टेशन (स्टेशन कोड: YPR) से 06:30AM बजे छूटती है और दादर सेंट्रल रेलवे स्टेशन (स्टेशन कोड: DR) पर 05:50AM बजे पहुंचती है।(Chalukya Express 1018 is a mail express train operated by Indian Railways. This train departs from Yesvantpur Junction railway station (station code: YPR) at 06:30 AM and reaches Dadar Central railway station (station code: DR) at 05:50 AM.) | ऑनलाइन शिक्षा ने पारंपरिक शिक्षा प्रणाली को एक नया रूप दिया है। यह लचीलापन, विविध पाठ्यसामग्री और व्यक्तिगत गति से सीखने का अवसर प्रदान करती है। महामारी के दोरान इसका महत्व और भी बढ़ गया। हालांकि, डिजिटल डिवाइड और व्यक्तिगत संपर्क की कमी इसके कुछ प्रमुख मुद्दे हैं।(Online education has given a new form to the traditional education system. It provides flexibility, diverse learning materials, and the opportunity to learn at one's own pace. Its importance increased further during the pandemic. However, the digital divide and lack of personal interaction are some major issues.) |
| News | "अब रेडियो श्रोताओं को लखपति बनाएंगे अमिताभ" पर एक समाचार लिखें।(Write a news article on the title "Now Amitabh will make radio listeners millionaires".) | मुंबई (वार्ता): टीवी दर्शकों को करोड़पति बनाने के बाद अब अमिताभबच्चन रेडियो श्रोताओं को लखपति बनाएंगे। रेडियोसिटी 91 एफएम चैनल 7 अक्टूबर से यह प्रतियोगिता शुरू कर रहा है जिसके तहत अमिताभ बच्चन सात सप्ताह तक प्रतिदिन प्रति घंटे श्रोताओं से एक सवाल पुछेंगे।(Mumbai (News): After making TV viewers millionaires, now Amitabh Bachchan will make radio listeners millionaires. Radio City 91 FM is starting this competition from 7 October. For this, Amitabh Bachchan will ask one question to listeners every hour for seven weeks.) | अमिताभ रेडियो श्रोताओं को लखपति बनाए जाएगी नई दिल्ली। रेडियो श्रोताओं को वित्तीय सुरक्षा और अवसरों का लाभमिलने वाला है। अमिताभ ने अपने रेडियों विजेनेस को लॉन्ड किया है, जो रेडियो श्रोताओं को लखपति बनाने का लक्ष्य रखता है।अमिताभरेडियो एक ऑनलाइन रेडियो स्टेशन है जो विभीन प्रकार के रेडियो कार्यक्रमों का प्रस्तुत करता है।(Amitabh will make radio listeners millionaires. New Delhi. Radio listeners will get financial security and opportunities. Amitabh has launched his radio business, which aims to make radio listeners millionaires. Amitabh Radio is an online radio station that presents various types of radio programs.) |
| Prompt | Human-Written Text | LLM-Generated Text | |
| QA | पथरीय उपकरणों के विकास के साथ, प्राचीन मानवों की सामाजिक संगठना में कैसे परिवर्तन हुआ?(With the development of stone tools, how did the social organization of ancient humans change?) | पथरीय उपकरणों के विकास के साथ, प्राचीन मानव समुदायों की भोजन प्रणाली, समाजिक संगठन, और आर्थिक विकास में सुधार हुआ।(With the development of stone tools, the food system, social organization, and economic development of ancient human communities improved.) | सुनहरा हस्तक्षेप और वस्सोद्वार उपकरणों के विकास ने प्राचीन मानवों के सामाजिक संगठनों को बदल दिया।इन उपकरणों ने आधुनिक प्रौद्योगिकी का इस्तेमाल करते हुए वस्सोद्वार एवं शिल्पकला बढ़ाई।(The emergence of advanced tools and their development transformed the social organizations of ancient humans. These tools enabled greater use of modern technology, increasing efficiency and craftsmanship.) |
| Wiki | “चालुक्य एक्सप्रेस 1018” शीर्षक पर, एक लेख लिखें।(Write an article on the topic “Chalukya Express 1018”.) | चालुक्य एक्सप्रेस 1018 चालुक्य एक्सप्रेस 1018 भारतीय रेल द्वारा संचालित एक मेल एक्सप्रेस ट्रेन हैं। यह ट्रेन यशवंतपुर जंकशन रेलवे स्टेशन (स्टेशन कोड: YPR) से 06:30AM बजे छूटती है और दादर सेंट्रल रेलवे स्टेशन (स्टेशन कोड: DR) पर 05:50AM बजे पहुंचती है।(Chalukya Express 1018 is a mail express train operated by Indian Railways. This train departs from Yesvantpur Junction railway station (station code: YPR) at 06:30 AM and reaches Dadar Central railway station (station code: DR) at 05:50 AM.) | इस चालुक्य अभिमत प्रसारण 1018 शीर्षक पर, उद्योग और बैज्ञानिक विकि लेख के अंतर्गत, वर्तमान सहायक विशेषता लेख लिखें।1. पद्धति: छालुक्य अभिमत प्रसारण 1018 शीर्षक वर्तमान सहायक विशेषता के रूप में, विकि लेख अंतर्गत एक पद्धति होगी।(For the topic “Chalukya Express 1018”, under the industry and scientific wiki article category, write a current auxiliary feature article.1. Method: A method will be developed as a current auxiliary feature for the topic “Chalukya Express 1018” in the wiki article category.) |
Figure 9: Representative example of a human-written Hindi passage and its corresponding LLM-generated counterpart in SHAKTI. The examples illustrate differences in content organisation, phrasing, and textual structure for the same topic.
| Attack Type | Definition | Original Text (Hindi) | Text After Attack (Hindi) | Analysis |
| Rewrite Attack | Rephrases the entire sentence by changing its structure or wording while preserving the main meaning. | शिक्षा व्यक्ति के जीवन में महत्वपूर्ण भूमिका निभाती है। | व्यक्ति के जीवन को बेहतर बनाने में शिक्षा की अहम भूमिका होती है। | The sentence is rewritten with a different structure and phrasing while retaining the same meaning. |
| Homoglyph Substitution Attack | Replaces one or more characters with visually similar characters from another script (e.g., Latin) while keeping the text visually similar. | भारत एक लोकतांत्रिक देश है। | भारत एक लोकतांत्रिक देश है। | The Devanagari character ‘र’ (U+0930) is replaced with the visually similar Latin character ‘r’ (U+0072), changing the underlying Unicode sequence. |
| Synonym Replacement Attack | Replaces selected words with contextually appropriate synonyms while keeping the sentence structure largely unchanged. | स्वच्छता अच्छे स्वास्थ्य के लिए आवश्यक है। | सफाई अच्छे स्वास्थ्य के लिए जरूरी है। | The words “स्वच्छता” → “सफाई” and “आवश्यक” → “जरूरी” are replaced with their synonyms while retaining the sentence structure and meaning. |
| Misspelling Attack | Introduces spelling errors through character insertion, deletion, substitution, or transposition. | पर्यावरण की रक्षा करना हम सभी की जिम्मेदारी है। | पर्यावरण की रक्षा करना हम सभी की जिम्मेदारी है। | A spelling error is introduced by deleting one occurrence of ‘म’ in “जिम्मेदारी”, changing it to “जिम्मेदारी”. |
| Whitespace Addition Attack | Inserts additional or irregular white-space between or within words, modifying the surface representation of the text. | प्रौद्योगिकी शिक्षा को अधिक सुलभ बनाती है। | प्रौद्योगिकी शिक्षा को अधिक सुलभ बनाती है। | An additional space is inserted between “अधिक” and “सुलभ”, modifying the white-space pattern without changing the sentence meaning. |
Figure 10: Examples of five adversarial transformations applied to Hindi LLM-generated texts: rewriting, homoglyph substitution, synonym replacement, misspelling, and whitespace manipulation. For each transformation, the figure presents the original text, the perturbed text, and an explanation of the modification, illustrating how linguistic, character-level, and formatting changes can alter the textual representation while attempting to preserve meaning.