<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Coda One Notes]]></title><description><![CDATA[Coda One Notes]]></description><link>https://codaone-ai.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 29 Oct 2026 17:41:11 GMT</lastBuildDate><atom:link href="https://codaone-ai.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[A Detector Score Is a Classifier Output, Not a Verdict: Reading AI Detection Like an Engineer]]></title><description><![CDATA[Imagine a teacher sees a hypothetical "87% AI" on a student's essay. It reads like a measurement. It is not. It is the output of a classifier built on…]]></description><link>https://codaone-ai.hashnode.dev/a-detector-score-is-a-classifier-output-not-a-verdict-reading-ai-detection-like-an-engineer</link><guid isPermaLink="true">https://codaone-ai.hashnode.dev/a-detector-score-is-a-classifier-output-not-a-verdict-reading-ai-detection-like-an-engineer</guid><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[nlp]]></category><category><![CDATA[Machine Learning]]></category><category><![CDATA[Data Science]]></category><category><![CDATA[edtech]]></category><dc:creator><![CDATA[Coda One]]></dc:creator><pubDate>Wed, 28 Oct 2026 11:30:38 GMT</pubDate><content:encoded><![CDATA[<p>Imagine a teacher sees a hypothetical "87% AI" on a student's essay. It reads like a measurement. It is not. It is the output of a classifier built on proxy features, with a threshold someone chose, evaluated on data that may look nothing like the essay in front of them.</p>
<p>This article approaches AI text detection the way you would approach any binary classifier in production: what are the features, what is the decision boundary, where are the errors, and who absorbs them. The running example is one of the best-documented failure cases: non-native English writers.</p>
<h2>The problem framing</h2>
<p>Formally, a detector maps a document <code>d</code> to a score <code>s(d)</code> and flags it when <code>s(d) &gt; Ï„</code>. The true label, whether a human or a model produced the words, is never observed by the detector. It only sees the surface text.</p>
<p>That makes every detector a <em>proxy</em> classifier. It does not test for authorship; it tests for properties that happened to differ between human and machine text in whatever data it was tuned on.</p>
<h2>The proxy features</h2>
<p>Statistical detectors typically draw on three families of features.</p>
<p><strong>Token predictability.</strong> Score the document with a reference language model. If each next token is assigned high probability, the text has low perplexity. Model-generated text, decoded toward likely continuations, tends to land here.</p>
<p><strong>Distributional uniformity.</strong> Compute something per sentence (length, or per-sentence predictability) and look at its spread. Human text tends to be "bursty"; generated text is often more even.</p>
<p><strong>Lexical markers.</strong> Counts of stock transitions ("Moreover", "In conclusion"), formulaic list structures and generic phrasing.</p>
<p>Each of these is a reasonable feature. The engineering question is what <em>else</em> correlates with them.</p>
<h2>The confound: proficiency</h2>
<p>In ML terms, second-language writing is a confounder. A learner's prose shifts all three features toward the "machine" side for reasons that have nothing to do with machines:</p>
<table>
<thead>
<tr>
<th>Feature</th>
<th>Typical generated text</th>
<th>Careful L2 writing</th>
<th>Direction</th>
</tr>
</thead>
<tbody><tr>
<td>Token predictability</td>
<td>High (common continuations)</td>
<td>High (safe, frequent vocabulary)</td>
<td>Same</td>
</tr>
<tr>
<td>Sentence uniformity</td>
<td>High</td>
<td>High (trusted templates)</td>
<td>Same</td>
</tr>
<tr>
<td>Stock connectors</td>
<td>Frequent</td>
<td>Frequent (taught explicitly)</td>
<td>Same</td>
</tr>
</tbody></table>
<p>A classifier trained to separate fluent native writing from model output has learned a boundary that L2 writing sits on the wrong side of. Two honest sentences make the point:</p>
<blockquote>
<p>"Social media is important for young people. It has many advantages and disadvantages."</p>
</blockquote>
<blockquote>
<p>"My cousin runs her whole bakery from Instagram, which still surprises our grandmother."</p>
</blockquote>
<p>The first is common words in a textbook pattern; it is easy to predict. The second is specific and personal. A predictability-based detector may well score the first as more "AI-like", though both are perfectly human.</p>
<h2>Evidence of the distribution shift</h2>
<p>Liang et al. (2023, <em>Patterns</em>) effectively ran the out-of-distribution test. Seven widely used AI-text detectors were applied to 91 human-written TOEFL essays and 88 US eighth-grade essays:</p>
<ul>
<li>US essays: classified accurately.</li>
<li>TOEFL essays: an average false-positive rate of about 61%.</li>
<li>TOEFL essays flagged by all seven detectors had significantly lower perplexity than the rest.</li>
</ul>
<p>The neat part is the intervention. Simplifying the vocabulary of the native essays, pushing them toward the L2 distribution, substantially increased misclassification. Manipulate the confounder, and the label moves.</p>
<p>The authors flag the limits honestly: a pilot study, small samples, and detectors (early 2023) mostly using an older, smaller language model as their backbone. Newer systems differ in detail; whether they still lean on the same family of signals is worth checking for any tool you use.</p>
<h2>Ensemble disagreement as an uncertainty signal</h2>
<p>If you treat the seven detectors as an ensemble, their disagreement is informative. In the Stanford data, 97.8% of TOEFL essays were flagged by at least one detector, but only 19.8% by all seven. When independent models disagree that much, the inputs are near or across their decision boundaries: high uncertainty, presented to users as confident percentages.</p>
<h2>Error costs are asymmetric</h2>
<p>In most product classifiers you tune <code>Ï„</code> against the relative cost of false positives and false negatives. In education, a false positive can mean a misconduct accusation against an honest student. Base rates make this worse at scale. In August 2023 Vanderbilt University disabled the AI-detection feature of its commercial plagiarism checker, noting that even the vendor's own claimed 1% false-positive rate could have meant around 750 wrongly labelled papers out of the 75,000 it submitted in 2022.</p>
<h2>What responsible output looks like</h2>
<p>If a detector's job is to inform a human decision, the interface should expose the evidence and the uncertainty:</p>
<ul>
<li><strong>Localised signals.</strong> Highlight which sentences drove the score so a reader can see whether it is a formulaic intro or definition, a known false-positive zone.</li>
<li><strong>Human-in-the-loop by design.</strong> Pair the score with process evidence: drafts, version history, a conversation with the writer.</li>
</ul>
<p>This is how we try to build the <a href="https://www.codaone.ai/ai-detector/?utm_source=hashnode-com&amp;utm_medium=blog&amp;utm_campaign=content">Coda One AI Detector</a>. It is free with no daily limit and no signup. It highlights the specific sentences that read as machine-written instead of giving only a score. Our own framing is the one we would apply to any detector: detection is evidence, not proof.</p>
<h2>Summary</h2>
<p>Treat a detector score like any classifier output: a function of proxy features, a chosen threshold, and a training distribution. Second-language writing is a known confounder that shifts those features toward "AI". Build and read detectors accordingly, and keep the final decision with a person who has looked at more than one number.</p>
<hr />
<p><strong>Sources</strong></p>
<ul>
<li>Liang, W., Yuksekgonul, M., Mao, Y., Wu, E. &amp; Zou, J. (2023). <em>Patterns</em>, 4(7), 100779. <a href="https://doi.org/10.1016/j.patter.2023.100779">https://doi.org/10.1016/j.patter.2023.100779</a> (preprint: arXiv:2304.02819). The detectors tested are not named in this article.</li>
<li>Vanderbilt University, blog post announcing that the university was disabling AI detection, August 2023. As reported in: Tom Carter, "Universities ditch AI detectors over fears students could be falsely accused of cheating", <em>Business Insider</em>, 22 September 2023. <a href="https://www.businessinsider.com/universities-ditch-ai-detectors-over-fears-students-falsely-accused-cheating-2023-9">https://www.businessinsider.com/universities-ditch-ai-detectors-over-fears-students-falsely-accused-cheating-2023-9</a></li>
</ul>
]]></content:encoded></item></channel></rss>