<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Wajahat Ali Shahani</title>
    <description>The latest articles on DEV Community by Wajahat Ali Shahani (@wajahatshahani).</description>
    <link>https://dev.to/wajahatshahani</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4190619%2F27ad514a-be47-4ef8-beeb-206480f971cc.jpg</url>
      <title>DEV Community: Wajahat Ali Shahani</title>
      <link>https://dev.to/wajahatshahani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wajahatshahani"/>
    <language>en</language>
    <item>
      <title>Perplexity, Burstiness, and AI Text Detection: An NLP Glossary</title>
      <dc:creator>Wajahat Ali Shahani</dc:creator>
      <pubDate>Sat, 17 Oct 2026 20:12:06 +0000</pubDate>
      <link>https://dev.to/wajahatshahani/perplexity-burstiness-and-ai-text-detection-an-nlp-glossary-3khp</link>
      <guid>https://dev.to/wajahatshahani/perplexity-burstiness-and-ai-text-detection-an-nlp-glossary-3khp</guid>
      <description>&lt;p&gt;What do "perplexity," "burstiness," and "watermarking" actually mean when people throw them around in AI-detection debates? We wrote a plain-English glossary of the core NLP vocabulary, grounded in the primary papers. Here is the short version of the terms that matter most, with why each one is in the conversation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Perplexity
&lt;/h2&gt;

&lt;p&gt;Perplexity measures how "surprised" a language model is by a text: the average probability it assigns to each next token, inverted. Low perplexity means the text reads as highly predictable to a model. Because model-generated text tends to be fluent and statistically bland, detectors and researchers often treat very low perplexity as a machine-likeness signal. The Google ML Glossary defines it as "a measurement of how well a probability model predicts a sample."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Caveat:&lt;/strong&gt; careful, edited human prose - legal writing, textbook prose, some Wikipedia intros - also scores low on perplexity. Low perplexity is a register signal, not proof of authorship. (We saw exactly this failure mode in &lt;a href="https://rewriteai.site/post/ai-detector-false-positive-test" rel="noopener noreferrer"&gt;our 8-text detector test&lt;/a&gt;: a human Wikipedia paragraph scored 99% AI.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Burstiness
&lt;/h2&gt;

&lt;p&gt;Burstiness describes variation in sentence length and structure across a text - the rhythm of a human draft: some terse sentences, some long winding ones. Classical work by Benedetto, Caglioti, and Loreto (Physical Review Letters, 2002) showed that compressed-length features of human language vary in characteristic ways that simple generated text does not. Modern detectors use stylistic features in this family; when people say detectors look for "human rhythm," burstiness is usually what they mean.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tokenization
&lt;/h2&gt;

&lt;p&gt;Models do not read words; they read subword units produced by tokenizers (BPE, WordPiece). Detectors that operate on token probabilities inherit everything about how the tokenizer splits text - which is partly why detector behavior shifts across languages and domains.&lt;/p&gt;

&lt;h2&gt;
  
  
  Watermarking
&lt;/h2&gt;

&lt;p&gt;Green et al. (2023) proposed embedding statistical "green lists" of plausible next tokens during generation, so watermarked text carries a detectable signature. Kirchenbauer et al. (arXiv:2301.10226, ICML 2023) extended this to bit-encoded payloads. Watermarking is a provenance technique, not a detector of human text - and its signals can be attacked: Sadasivan et al. showed paraphrasing (including recursive paraphrasing) can substantially reduce watermark detectability (arXiv:2303.11156, TMLR).&lt;/p&gt;

&lt;h2&gt;
  
  
  Membership inference &amp;amp; zero-shot detection
&lt;/h2&gt;

&lt;p&gt;Zero-shot detectors (Liang et al., arXiv:2304.02819, Patterns) estimate the likelihood a token sequence came from a model, without detector-specific training. The same paper found widely used detectors disproportionately mis-flagged non-native English writers - constrained prose reads as machine prose.&lt;/p&gt;

&lt;h2&gt;
  
  
  GLTR &amp;amp; the original detector toolkit
&lt;/h2&gt;

&lt;p&gt;GLTR (Gehrmann, Strobelt, Rush; ACL 2019 demo, arXiv:1906.04043) visualizes token-rank distributions to help humans spot machine text. It is a teaching tool as much as a detector, and its paper is a clean entry point into the whole feature family.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest takeaway
&lt;/h2&gt;

&lt;p&gt;Every term above describes a &lt;strong&gt;statistical property of text&lt;/strong&gt;, and every detector is a model built on such properties. Confidence percentages describe the model, not the writer's laptop. The practical workflow is review, not screening.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full glossary with all citations:&lt;/strong&gt; &lt;a href="https://rewriteai.site/post/ai-detection-glossary" rel="noopener noreferrer"&gt;Perplexity, Burstiness, and AI Text Detection: an NLP glossary&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The test data behind the caveats:&lt;/strong&gt; &lt;a href="https://rewriteai.site/post/ai-detector-false-positive-test" rel="noopener noreferrer"&gt;8 Texts, 1 Detector&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Cross-posted from &lt;a href="https://rewriteai.site" rel="noopener noreferrer"&gt;RewriteAI&lt;/a&gt; with a canonical link to the original.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>nlp</category>
    </item>
    <item>
      <title>We Ran 8 Texts Through an AI Detector, and a Human Paragraph Scored 99% AI</title>
      <dc:creator>Wajahat Ali Shahani</dc:creator>
      <pubDate>Sat, 17 Oct 2026 14:40:09 +0000</pubDate>
      <link>https://dev.to/wajahatshahani/we-ran-8-texts-through-an-ai-detector-and-a-human-paragraph-scored-99-ai-2ll2</link>
      <guid>https://dev.to/wajahatshahani/we-ran-8-texts-through-an-ai-detector-and-a-human-paragraph-scored-99-ai-2ll2</guid>
      <description>&lt;p&gt;Most detector marketing quotes an accuracy number. We wanted to feel the error bars, so we ran a small, fully disclosed test on the free Clever AI Detector embedded on our site: &lt;strong&gt;4 AI-generated texts vs. 4 human-written texts&lt;/strong&gt;, all 110-160 words, one run each, every score recorded (October 17, 2026).&lt;/p&gt;

&lt;h2&gt;
  
  
  The scores
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Text&lt;/th&gt;
&lt;th&gt;True origin&lt;/th&gt;
&lt;th&gt;Score&lt;/th&gt;
&lt;th&gt;Verdict&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Social-media marketing prose&lt;/td&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;99% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Product description&lt;/td&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;91% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Policy announcement email&lt;/td&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;90% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Essay intro (social media)&lt;/td&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;96% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Wikipedia: photosynthesis intro&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Human&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;99% AI&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;false positive&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;arXiv: "Attention Is All You Need" abstract&lt;/td&gt;
&lt;td&gt;Human&lt;/td&gt;
&lt;td&gt;12% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Austen: Pride and Prejudice opening&lt;/td&gt;
&lt;td&gt;Human&lt;/td&gt;
&lt;td&gt;12% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thoreau: Walden passage&lt;/td&gt;
&lt;td&gt;Human&lt;/td&gt;
&lt;td&gt;1% AI&lt;/td&gt;
&lt;td&gt;correct&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;All four AI texts were flagged (90-99%). Three of four human texts were identified correctly, from 1% to 12%. And one human text - the Wikipedia introduction to photosynthesis, CC BY-SA, human-edited - was called &lt;strong&gt;99% AI probability&lt;/strong&gt;, the same confidence the detector gave our most machine-flavored marketing sample.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the Wikipedia paragraph failed
&lt;/h2&gt;

&lt;p&gt;The vocabulary of detection explains it: encyclopedic prose is &lt;strong&gt;low-perplexity&lt;/strong&gt; and &lt;strong&gt;low-burstiness&lt;/strong&gt; - neutral register, standard constructions, content words distributed with unusual evenness. Those are exactly the statistical properties detectors learn to associate with machine output, because they are what model-generated text looks like by default. The detector was plausibly reading &lt;em&gt;textbook register&lt;/em&gt;, not authorship.&lt;/p&gt;

&lt;p&gt;This mirrors published research: Liang et al. (2023) found widely used detectors systematically mis-flagged non-native English writers - constrained, careful prose gets read as machine prose.&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A confidence percentage describes the detector's model, not the writer's laptop.&lt;/li&gt;
&lt;li&gt;Scores are one probabilistic signal. Watermarks can be spoofed, and recursive paraphrasing defeats neural detectors (Sadasivan et al., TMLR).&lt;/li&gt;
&lt;li&gt;The safe workflow is review, not screening: read the text, verify the claims, judge authorship from evidence beyond a probability.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest limitations
&lt;/h2&gt;

&lt;p&gt;Eight texts, one detector, one run, and the AI and human groups cover different topics and registers - a real confound, and likely exactly what tripped the detector on the encyclopedic text. And yes: this detector is embedded on our own site, which is why that disclosure sits at the top of the full article rather than in a footnote.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full methodology, every score, and sources:&lt;/strong&gt; &lt;a href="https://rewriteai.site/post/ai-detector-false-positive-test" rel="noopener noreferrer"&gt;rewriteai.site/post/ai-detector-false-positive-test&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The terminology behind all of it:&lt;/strong&gt; &lt;a href="https://rewriteai.site/post/ai-detection-glossary" rel="noopener noreferrer"&gt;AI detection glossary - perplexity, burstiness, watermarking&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;We are the team behind &lt;a href="https://rewriteai.site" rel="noopener noreferrer"&gt;RewriteAI&lt;/a&gt;, an AI writing and detection toolkit. This cross-post carries a canonical link to the original study.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
