{"slug": "detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv", "title": "Detecting Hallucinated AI Citations with Modular Arithmetic, ISO 26324 DOIs & arXiv Bounds", "summary": "Nandai Jewels, a Victoria, British Columbia developer, published a guide and free browser-based tool for detecting hallucinated academic citations by checking bibliographic identifiers against their modular checksums. The writeup argues that autoregressive LLMs sampling digits token-by-token fail ISBN-13 Modulo-10 check digits roughly 90% of the time and ISBN-10/ISSN Modulo-11 checks about 90.9% of the time, and it lays out exact verification equations for ISBN-13, ISBN-10, ISSN, ORCID (ISO/IEC 7064 Mod 11-2), ISO 26324 DOIs and arXiv YYMM.NNNNN calendar bounds. The accompanying Citation Checksum Verifier runs locally in browser memory with zero server uploads.", "body_md": "**Canonical Source**: Originally published by **Nandai Jewels** (Victoria, British Columbia, Canada) at [https://nandai.org/guides/detecting-hallucinated-citations-checksum-math](https://nandai.org/guides/detecting-hallucinated-citations-checksum-math).\n\n**Try the $0 Zero-Upload Browser Utility**: [https://nandai.org/tools/citation-verifier](https://nandai.org/tools/citation-verifier)\n\n**Install via Homebrew (macOS 15+ Sequoia ARM64)**: `brew install --cask karany97/destiny/destiny`\n\n## \n  \n  \n  1. Why Autoregressive Token Predictors Fail Modular Checksums\n\nWhen an LLM fabricates a plausible-looking academic bibliography entry, it samples subword tokens from a softmax distribution over surface co-occurrences. However, standardized bibliographic identifiers—**ISBN-13**, **ISBN-10**, **ISSN**, **ORCID (ISO/IEC 7064 Mod 11-2)**, **ISO 26324 DOIs**, and **arXiv YYMM.NNNNN** identifiers—encode global algebraic or calendar invariants across all digits simultaneously.\n\nWithout invoking a deterministic symbolic verifier, an autoregressive decoder sampling digit-by-digit fails modular check digits roughly $90\\%$ of the time for Modulo-10 and $90.9\\%$ of the time for Modulo-11.\n\n## \n  \n  \n  2. Exact Modular Verification Equations\n\n### \n  \n  \n  A. ISBN-13 (EAN-13 Modulo-10 Alternating Weight Check)\n\nFor a 13-digit identifier $d_1 d_2 \\dots d_{13}$ (with GS1 Bookland prefix $978$ or $979$):\n\n$$\n\n\\sum_{i=1}^{13} w_i d_i \\equiv 0 \\pmod{10}, \\quad w_i = \\begin{cases} 1 & \\text{if } i \\text{ is odd} \\ 3 & \\text{if } i \\text{ is even} \\end{cases}\n\n$$\n\n### \n  \n  \n  B. ISBN-10 & ISSN (Positional Modulo-11 Check)\n\nFor an ISBN-10 $d_1 d_2 \\dots d_{10}$ (where $d_{10} \\in {0..9, \\text{X}=10}$):\n\n$$\n\n\\sum_{i=1}^{10} (11 - i)\\, d_i \\equiv 0 \\pmod{11}\n\n$$\n\nFor an 8-digit ISSN $d_1 d_2 \\dots d_8$:\n\n$$\n\n\\sum_{i=1}^{8} (9 - i)\\, d_i \\equiv 0 \\pmod{11}\n\n$$\n\n### \n  \n  \n  C. arXiv Identifier Calendar Invariants (`YYMM.NNNNN`)\n\nPost-April 2007 arXiv identifiers follow `YYMM.NNNN[N][vV]`, enforcing:\n\n1. Year $YY \\ge 07$ (and not in the future relative to the current UTC year/month).\n2. Month $1 \\le MM \\le 12$ (with $YY=07 \\implies MM \\ge 04$).\n3. 4-digit sequence numbers prior to `1501` (`0704` –`1412` ) and 4-to-5 digit sequence numbers from`1501` onward.\n\nTest your BibTeX, RIS, or Markdown bibliography locally in browser RAM (zero server uploads) using the free **Citation Checksum Verifier** built by **Nandai Jewels** (Victoria, British Columbia, Canada):\n\n## \n  \n  \n  Global Syndication Abstracts (11 Developer Platforms)\n\n### \n  \n  \n  🇯🇵 Zenn.dev / Qiita (日本語要約)\n\n- \n**タイトル** : AIが捏造した論文引用をモジュラ算術（ISBN/ISSNチェックディジット・ISO 26324 DOI・arXiv境界）で検知する数理\n- \n**概要** : 自己回帰LLMがなぜISBN-13（Mod-10）やISBN-10/ISSN（Mod-11）のチェックサムを誤るのかを証明し、ブラウザRAM内で瞬時に検証する実装を公開します。\n- \n**正規URL** :`https://nandai.org/guides/detecting-hallucinated-citations-checksum-math`\n- \n**Homebrew導入** :`brew install --cask karany97/destiny/destiny` （Apple公証済み Team ID ・バンドルID Destiny for Mac）\n\n### \n  \n  \n  🇰🇷 GeekNews / Velog (한국어 요약)\n\n- \n**제목** : 모듈러 연산(ISBN/ISSN 체크섬, ISO 26324 DOI, arXiv 경계)으로 AI 환각 인용 탐지하기\n- \n**요약** : LLM이 생성한 가짜 학술 참고문헌을 EAN Modulo-10, Modulo-11 체크섬 및 arXiv YYMM 달력 불변량으로 브라우저에서 즉시 검증하는 알고리즘입니다.\n- \n**정식 URL** :`https://nandai.org/guides/detecting-hallucinated-citations-checksum-math`\n\n### \n  \n  \n  🇫🇷 Korben / Journal du Hacker (Résumé Français)\n\n- \n**Titre** : Détecter les citations académiques hallucinées par l'IA grâce à l'arithmétique modulaire (ISBN, ISSN, DOI, arXiv)\n- \n**Résumé** : Pourquoi les modèles autorégressifs échouent aux sommes de contrôle Modulo-10/Modulo-11 et comment les vérifier localement dans le navigateur.\n- \n**URL Canonique** :`https://nandai.org/guides/detecting-hallucinated-citations-checksum-math`\n\n### \n  \n  \n  🇩🇪 Heise Developer (Deutsche Zusammenfassung)\n\n- \n**Titel** : Halluzinierte KI-Zitate mit modularer Arithmetik, ISO-26324-DOIs und arXiv-Grenzen erkennen\n- \n**Zusammenfassung** : Mathematische Analyse von EAN-Modulo-10 (ISBN-13), Modulo-11 (ISBN-10/ISSN) und arXiv-Kalenderinvarianten zur lokalen Zitatprüfung im Browser.\n- \n**Kanonische URL** :`https://nandai.org/guides/detecting-hallucinated-citations-checksum-math`\n\n### \n  \n  \n  🇧🇷 TabNews (Resumo em Português)\n\n- \n**Título** : Detectando Citações Acadêmicas Alucinadas por IA com Aritmética Modular (ISBN, ISSN, DOI ISO 26324 e arXiv)\n- \n**Resumo** : Por que preditores de tokens falham nos dígitos verificadores Modulo-10 e Modulo-11 e como validar referências localmente na RAM do navegador.\n- \n**URL Canônica** :`https://nandai.org/guides/detecting-hallucinated-citations-checksum-math`\n\n### \n  \n  \n  🌐 Habr (Аннотация на русском языке)\n\n- \n**Заголовок** : Выявление галлюцинаций ИИ в библиографии с помощью модульной арифметики (ISBN, ISSN, DOI ISO 26324 и arXiv)\n- \n**Резюме** : Математический разбор контрольных сумм Modulo-10/Modulo-11 и календарных инвариантов arXiv для мгновенной проверки ссылок в браузере.\n- \n**Канонический URL** :`https://nandai.org/guides/detecting-hallucinated-citations-checksum-math`\n\n## \n  \n  \n  Verification & Regulatory Disclaimers\n\n- \n**Publisher** : Nandai Jewels (Victoria, British Columbia, Canada)\n- \n**Apple Developer Team ID** :  ·**Notary UUID** :  ·**Bundle ID** : Destiny for Mac\n- \n**Golden Notarized DMG** :`271.35 MB` (`271,345,746` B, SHA-256`2da76c011c1bd511cc5547ff152b8b7382cf7793cc5d7e13078ba317abd54a3e` ) ·**Installed App** :`419.17 MB` (`419,168,569` B) ·**OTA** : Ed25519-signed direct in-app updates\n- \n**Audited Apple M4 Pro (24 GB) Benchmark** :`78.62 tok/s` single-stream (`93.37 tok/s` 8-stream batch) on Destiny Swift (`LFM2-8B-A1B` ,`128K` context, zero login required);`~399–421 MB` live native GUI footprint +`MAP_SHARED`` 0 B` dirty GGUF weights (`112–168 ms` cold-boot self-test).\n- \n**Disclaimers** : Market charting (`Destiny Trader` ) is for informational, charting, and analytical use only — not investment or financial advice. Contract Clause Scanner and CycloneDX 1.6 EU CRA SBOM Auditor are informational engineering tools only — not legal advice or formal compliance certification. Parametric 3D CAD (Beta) is not PE / P.Eng. certified for regulated fabrication.", "url": "https://wpnews.pro/news/detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv", "canonical_source": "https://dev.to/karanyadav97/detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv-bounds-5d9d", "published_at": "2026-11-29 10:09:22+00:00", "updated_at": "2026-11-29 10:13:39.965721+00:00", "lang": "en", "topics": ["ai-safety", "large-language-models", "ai-tools", "artificial-intelligence"], "entities": ["Nandai Jewels", "arXiv", "ISO 26324", "ORCID", "Homebrew", "Zenn.dev", "Qiita", "Heise Developer"], "also_reported_by": [], "takeaway": "Autoregressive decoders fail ISBN-13 Modulo-10 check digits about 90% of the time and ISBN-10/ISSN Modulo-11 checks about 90.9% of the time, so validating citations with deterministic modular checksums and arXiv YYMM calendar bounds catches fabricated references that surface plausibility alone canno", "recommendation": {"advice": "Run every LLM-generated bibliography entry through deterministic checksum validation (ISBN-13 Mod-10, ISBN-10/ISSN Mod-11, ORCID Mod 11-2) plus arXiv YYMM bounds before trusting it, since models miss these check digits roughly 90% of the time.", "playbook": "output-verification", "playbook_url": "https://wpnews.pro/playbooks/output-verification"}, "alternates": {"html": "https://wpnews.pro/news/detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv", "markdown": "https://wpnews.pro/news/detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv.md", "text": "https://wpnews.pro/news/detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv.txt", "jsonld": "https://wpnews.pro/news/detecting-hallucinated-ai-citations-with-modular-arithmetic-iso-26324-dois-arxiv.jsonld"}}