latent-lint
by rozwer · Tool · Text & code
A command-line checker that scores how AI-sounding a text is by reading a local language model's hidden states, with a tiny probe file.
Latest · Nov 28Released on GitHub: a CLI that scores AI-sounding text from Qwen3.5-9B Layer 19 hidden states only, with no regex rules, plus a 166 KB probe.
Evidence
- Nov 28Probe is a difference of mean hidden vectors between human and AI sentences. It needs no fine-tuning; ten 4,096-dimension vectors total 166 KB.Maker's claim
ロズ (Roz) - Nov 28Checking takes one forward pass and a dot product, about 0.1 seconds per paragraph; scanning the author's whole article (68 sentences) took 5.00 s.Hands-on test
ロズ (Roz) - Nov 28A 15-item banned-word patch scored worse than a plain 'remove AI-ness' self-edit (+3.76σ vs +3.60σ); the Layer 19 hybrid improved all 6 articles to +2.35σ average.Hands-on test
ロズ (Roz) - Nov 28Perplexity and Base-vs-Instruct differences scored 0.91–0.96 accuracy but ranked clipped slogan-like text as most human (Goodhart). The 6-axis Layer 19 probe matched human ranking 5/5.Hands-on test
ロズ (Roz) - Nov 28Six probe axes built from 24 example pairs agreed 21/22 (95.5%) with blind sentence-level judgments by Gemini 4 Neon, where the author's regexes caught only 3/22.Hands-on test
ロズ (Roz)
Show all 7
- Nov 28A cognitive-load axis built from only 4 pairs overlapped the human/AI axis at +0.425 cosine; over-polishing that removed colloquial softness worsened it by +0.75 to +1.37σ on 3 articles.Hands-on test
ロズ (Roz) - Nov 28Author suggests the 166 KB probe could run as a resident editor checker using a quantized small model on ONNX Runtime and local Windows GPU/NPU; not built.Maker's claim
ロズ (Roz)
Cost to run
Alternatives
Works with