S
Structural AI Detector
Open Sourceπ Alt to GPTZeroIdentify AI-generated web content from structure alone
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 76/100β
66 Stars
# Open web application directly in browser:
open "https://arxiv.org/abs/2609.15369"This research project trains machine learning models to detect AI-generated web content purely by analyzing structural patterns rather than textual semantics. It provides a novel approach to bypassing traditional prompt-evasion and paraphrasing tricks used to mask synthetic writing.
Evaluates raw structural markers and syntax patterns to flag synthetic content.
Bypasses standard text-flipping and semantic paraphrasing countermeasures.
Built on experimental datasets mapping distinct AI generation signatures.
Auditing large batches of newly published web articles for AI spam
Researching structural footprints left by different large language models
Enhancing search engine algorithms to downrank low-effort synthetic content
Unlike commercial SaaS detectors that rely on surface-level perplexity and burstiness, this approach targets underlying structural footprints.
AI researchers, trust and safety engineers, and search platform developers studying synthetic media detection.
Structural AI Detector is engineered to eliminate critical operational friction in ai & machine learning. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
The Structural AI Detector (grounded in the SlopShape research under arXiv:2609.15369 by Sitefire) represents a fundamental paradigm shift away from classical token-level perplexity classifiers and n-gram burstiness models. Traditional detectors evaluate semantic vocabulary distributions, rendering them exceptionally vulnerable to adversarial paraphrasing, prompt-based stylistic rewriting, or basic thesaurus substitutions. In contrast, SlopShape analyzes the macroscopic document geometry, HTML DOM tree structure, and structural rhetoric of web pages. The ingestion pipeline strips raw textual tokens, projecting the document into an abstracted 214-dimensional feature instrument. This grammar measures layout typologies: heading nesting ratios, list item density, bullet-to-paragraph cadence, empirical evidence backing, blockquote placement, and structural thesis announcements. The underlying classification engine utilizes supervised gradient-boosted decision trees (XGBoost/LightGBM) trained on a curated corpus of 2,250 pre-ChatGPT human-authored commercial articles spanning 268 domains, evaluated against 11,250 synthetic mirror documents generated across five commercial frontier LLMs. Because synthetic text exhibits an unnaturally tidy, self-announcing structural shapeβwhereas human composition occupies idiosyncratic, high-entropy structural topologiesβthe classifier attains an extraordinary 98.0 macro-F1 score that remains virtually invariant (98.1 F1) even when documents undergo aggressive lexical paraphrasing by upstream LLMs, maintaining deterministic model attribution accuracy well above random chance baselines across production datasets.
The developer experience revolves around an extensible Python data pipeline and headless command-line interface designed for high-throughput batch auditing. Engineers interact with the system via the `slopshape` Python package, exposing clean, strongly typed class contracts. The core `DocumentExtractor` interface ingests raw HTML strings, URL endpoints, or pre-parsed lxml/BeautifulSoup DOM objects, returning a normalized 214-element floating-point feature vector. The companion CLI tool enables batch processing across local web archives: executing `slopshape audit --input ./crawl-data/ --format json --workers 8` generates structured JSON classification manifests containing synthetic probability scores, feature attribution weights, and detected layout anomalies. Configuration ergonomics are handled through a declarative TOML file (`slopshape.toml`), where engineers define DOM selector ignore rules (such as discarding universal boilerplate headers, navigation footers, or affiliate disclosures) and tune decision boundary thresholds. Diagnostic telemetry provides granular insight into structural classifications: running with `--explain` outputs visual ASCII radar charts illustrating which layout metricsβsuch as excessive heading cadence or synthetic list item clusteringβpushed a page past the synthetic classification threshold, streamlining error analysis. Integrated logging hooks seamlessly pipe classification metrics into Prometheus or OpenTelemetry collectors for continuous crawler observability.
The underlying research and algorithmic instruments of SlopShape are published under open academic research guidelines, with reference implementations released under the permissive Apache 2.0 open-source license. This grants enterprise engineering teams total freedom to adapt, retrain, and self-host the classification models without proprietary licensing fees, usage tiers, or per-token API charges. From a compute infrastructure and total cost of ownership perspective, SlopShape provides an overwhelming economic advantage over deep transformer-based classifiers (such as RoBERTa or DeBERTa). While neural language models require dedicated GPU accelerators and consume tens of milliseconds per text sample, SlopShapeβs feature extraction and gradient-boosted tree inference execute entirely on commodity CPU architectures. Feature extraction and scoring take under 2.5 milliseconds per document on a single vCPU core, with a baseline memory footprint of less than 150MB RAM. For an organization processing ten million crawled web documents monthly, operating SlopShape on a standard $40/month four-core cloud instance costs less than $500 annually in compute, compared to over $25,000 in cloud GPU billing or commercial SaaS detection API subscription costs, delivering unmatched cost efficiency at massive internet crawl scales.
SlopShape is production-ready for deployment inside web search crawlers, programmatic content moderation pipelines, SEO quality intelligence platforms, and automated content aggregators seeking to detect programmatic AI spam at web scale. Conversely, it is not recommended as an academic dishonesty classifier for unformatted student essays, nor should it be deployed on bare raw text documents lacking structural HTML styling. Key failure modes occur on minimalist single-paragraph articles, technical documentation that naturally adheres to strict structural documentation templates, or websites where human authors follow hyper-templated commercial SEO recipes. For production deployment, encapsulate the feature extraction pipeline inside a containerized microservice using FastAPI or gRPC, backed by a pool of multiprocessing worker processes. In high-volume scraping architectures, pair SlopShape with a fast Rust-based HTML tokenizer (such as `lol-html` or `tl`) to strip script tags and normalise DOM nodes before Python feature extraction. Deploy behind an internal API gateway with Redis caching to avoid re-evaluating unchanged canonical URLs across periodic crawler sweeps, ensuring horizontal Kubernetes pod autoscaling triggers smoothly based on CPU utilization. Implement automated fallback thresholds that quarantine borderline scores for secondary semantic evaluation, preventing false positives on high-authority human long-form journalism.
Structural AI Detector is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike commercial SaaS detectors that rely on surface-level perplexity and burstiness, this approach targets underlying structural footprints.
Yes. Structural AI Detector is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Structural AI Detector. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Structural AI Detector quickly using the following command: # Open web application directly in browser: open "https://arxiv.org/abs/2609.15369" Visit the official portal at https://arxiv.org/abs/2609.15369 for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Structural AI Detector was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Structural AI Detector and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/training-a-model-to-identify-ai-web-content-from-structure-a)<a href="https://lordorange.top/tool/training-a-model-to-identify-ai-web-content-from-structure-a" target="_blank"><img src="https://lordorange.top/badge/training-a-model-to-identify-ai-web-content-from-structure-a.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Structural AI Detector.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Navigate the shifting legal landscape of modern open-source licensing, cloud relicensing controversies, and commercial risk.