Skip to content

Synthetic vs User-generated Queries Classifier

Free browser tool: sort a keyword list into human-typed and AI-generated fan-out queries with four methods, test them against your labels and find templates.

MLforSEO Academy · Semantic AI-powered SEO Keyword Research

Sort a keyword list into the queries people type and the ones AI search generates with the four methods from the course notebooks, test them against your own labels, and find the templates and fan-out batches that give generated queries away.

What you need
Nothing: it runs in your browser. The optional embeddings method downloads the all-MiniLM-L6-v2 model once (about 23 MB, plus about 4 MB for the runtime), and only when you switch it on.
Cost
Free
Feed it
One query, a pasted list, or a CSV or TSV export with a keyword or query column (up to 20,000 rows). Add a label column such as User / Synthetic to evaluate the methods and train your own model.
You get back
A score, label and the signals behind it from each method for every query, metrics against your labels, repeated templates and fan-out batches, and a CSV export of each

How to use it

  1. Inspect one query to see every method's score and the signals behind it.
  2. In Classify a list, paste your queries or upload a keyword export, or press Try a sample.
  3. Switch on embeddings to add the embeddings method, seven embedding features for the ensemble and fan-out batches. The model downloads once.
  4. If your file has a label column, open Evaluate & train: compare each method with the word-count baseline, set thresholds and train a model on your labels.
  5. Open Batch patterns for repeated templates and fan-out batches, export the CSVs and check a sample of each label by eye.

Worth knowing. The scores come from hand-set heuristics and a model trained on generated queries plus labelled searches from one niche, so use them to sort a list, not as proof of where a query came from. On the course's test set, word count alone separates most queries, so compare every method with that baseline and read a sample of each label before you act on it.

MLforSEO · Semantic AI-powered SEO Keyword Research

Synthetic vs User-generated Queries Classifier

Score queries with the four methods from the course notebooks: rule-based heuristics, entity and linguistic features, embeddings and an ensemble model. Check them against your own labels, train your own model, and find the templates and fan-out batches that give synthetic queries away. Everything runs in your browser.

Methods shown
Embeddings NB3
Off. Switching on downloads the all-MiniLM-L6-v2 model once (about 23 MB, plus about 4 MB for the runtime) and runs it in this tab. It adds the embeddings method, embedding features for the ensemble and fan-out batches.
Threshold
One cut-off for every method. Evaluate & train can set one per method.
Notebook 3 reference queries
The embeddings method scores a query by how close it sits to these examples. The defaults are Notebook 3’s domain-agnostic set; examples from your own niche usually work better. The ensemble always uses the defaults, because its weights were trained on them.
Using Notebook 3’s defaults.

Inspect one query

Every method’s score for one query, and the signals behind each.

How the four methods work

Notebook 1

Rule-based heuristics

Five weighted signals: length (20%), grammatical structure (20%), patent query-type patterns (25%), the absence of human messiness such as typos and fragments (20%) and formal vocabulary (15%). No training data, fully readable, and quick to fool.

Notebook 2

Entity & linguistic features

Entity density and types (20%), part-of-speech balance (25%), readability and word length (25%) and fan-out n-grams (30%). The notebook uses spaCy and textstat; here compromise tags the words and the readability formula is rebuilt, so scores differ a little.

Notebook 3

Embeddings

all-MiniLM-L6-v2 places each query in meaning space and compares it with synthetic and user reference queries: distance to each group’s centre (25%), the five nearest of each (35%), the single nearest (25%) and closeness to the reference corpus’s centre (15%).

Notebook 4

Ensemble model

Notebook 4’s 45 features in a logistic regression instead of LightGBM, so every prediction splits exactly into one push per feature. Trained offline on generated queries from the notebook’s method plus a share of real labelled searches; 38 features without embeddings, 45 with.

What to do with the split

User queries are demand

They are what people actually type. Treat them as direct traffic targets and answer them plainly.

Synthetic queries are expansion

They show how AI search breaks one question into many. Covering them makes your page a source an answer can cite.

Each needs different content

Short, direct pages suit user queries. Synthetic ones reward depth, definitions and clearly named entities.

Check before you act

Every score here is a probability-like ranking, not proof of origin. Sort by it, then read a sample of each side by eye.

Runs in your browser. Your queries never leave this tab; the only downloads are the libraries and, if you switch embeddings on, the model files. MLforSEO Academy

← All academy tools