Content Gap Analysis with Embeddings: Which Questions Can't Search or AI Answers Find You For?

The same 15 pages cover 96.0% or 70.2% of a 63,000-search demand list depending on one similarity threshold. Here is the Python, a way to set the threshold from questions you know you don't answer, the two errors no threshold fixes, and a self-audit of vector1.ai's 356 articles.

Content gap analysis chart: share of 63,000 monthly searches covered by the same 15 pages falls from 96% at a similarity threshold of 0.40 to 70% at 0.70 with one page required, and to 42% with two pages required

Content gap analysis by meaning, not keywords

A content gap analysis asks which questions your audience searches for that none of your pages answer. Keyword tools answer it by matching strings, so a page called "Structured Data and Rich Results Guide" does nothing for the query "schema markup for seo". Embedding models compare meaning instead. Each question and each page becomes a vector, and a question counts as covered when some page sits close enough to it.

Close enough is a number somebody picks. Take the sample in the Meaning-Flow coverage demo: a semantic SEO blog with 15 page titles and 20 target questions worth 63,000 monthly searches. At the demo's default threshold of 0.55, the blog covers 82.7% of its demand. At 0.40 it covers 96.0%. At 0.70 it covers 70.2%, and if you ask for two close pages per question instead of one, 42.0%. The content is identical in all four runs.

What follows runs the check in Python with the same model and scoring as the demo, shows where three kinds of question land so the threshold can come from evidence, names the two errors that no threshold fixes, and ends with a dated self-audit: the 356 articles on vector1.ai, a research site in Kansas City, scored against the 46 questions its own research hubs answer.

The reason to care is clicks. In a Pew Research Center panel of 900 US adults, tracked through March 2025, people clicked a traditional search result on 8% of visits to a Google results page that carried an AI summary and on 15% of visits to pages without one. They clicked a link inside the summary on 1% of those visits. About 18% of the searches in the study produced a summary. When an answer engine writes the answer, the pages it retrieves and cites are the ones that get seen.

How the coverage score works

Each question and each page title is embedded with all-MiniLM-L6-v2, a Sentence-BERT model that maps text to 384 numbers. The vectors are normalized, so a dot product is the cosine similarity. For question i, count the pages that clear the threshold τ, and call a question fully covered when at least k pages do:

m_i = p : cos(q_i, p) ≥ τ , c_i = min(m_i / k, 1)

A question's gap is its uncovered monthly volume v, and coverage is the volume-weighted share of demand:

gap_i = v_i (1 − c_i), coverage = (Σ_i v_i c_i) / (Σ_i v_i)

That is the scoring the demo runs in your browser, taken from my open-source Meaning-Flow library. In Python, with the demo's sample saved as pages.txt (one title per line) and queries.txt (question, volume):

import json
import numpy as np
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2", device="cpu")

def embed(texts):
    return model.encode(texts, normalize_embeddings=True)

def best_match(questions, pages):
    sim = embed(questions) @ embed(pages).T     # cosine similarity: the vectors are unit length
    return sim.max(axis=1), sim.argmax(axis=1), sim

def coverage(pages, questions, volumes, threshold=0.55, min_pages=1):
    """The Meaning-Flow demo's scoring: a question is fully covered when
    min_pages pages clear the threshold; its gap is volume x share uncovered."""
    _, best, sim = best_match(questions, pages)
    matches = (sim >= threshold).sum(axis=1)
    cov = np.minimum(matches / min_pages, 1.0)
    return {"share": (volumes * cov).sum() / volumes.sum(), "gap": volumes * (1 - cov),
            "matches": matches, "best": best, "best_sim": sim.max(axis=1)}

pages = open("pages.txt").read().splitlines()
rows = [line.rsplit(",", 1) for line in open("queries.txt").read().splitlines()]
questions = [q.strip() for q, _ in rows]
volumes = np.array([float(v) for _, v in rows])

print("1. The demo sample at its defaults (threshold 0.55, one page)")
r = coverage(pages, questions, volumes)
print(f"   {len(pages)} pages, {len(questions)} questions, {volumes.sum():,.0f} monthly searches")
print(f"   covered {r['share']:.1%}, uncovered {r['gap'].sum():,.0f}, no match {(r['matches'] == 0).sum()}")
for i in np.argsort(-r["gap"])[:5]:
    print(f"   gap {r['gap'][i]:>5,.0f}  {questions[i]:<30} best {r['best_sim'][i]:.2f}  {pages[r['best'][i]]}")
1. The demo sample at its defaults (threshold 0.55, one page)
   15 pages, 20 questions, 63,000 monthly searches
   covered 82.7%, uncovered 10,900, no match 5
   gap 3,500  schema markup for seo          best 0.54  What is Semantic SEO? A Complete Introduction
   gap 2,500  google sge optimization        best 0.26  E-E-A-T Signals and How to Optimize Them
   gap 2,300  ai search optimization         best 0.44  Understanding Search Intent for SEO
   gap 1,400  knowledge panel optimization   best 0.43  How Knowledge Graphs Impact Search Rankings
   gap 1,200  llm seo optimization           best 0.50  Entity-Based SEO: A New Paradigm

Most of that gap list reads as a fair finding. Nothing on the blog comes near "google sge optimization" (best match 0.26), and "ai search optimization" and "knowledge panel optimization" sit in the low 0.40s. A semantic SEO blog with nothing on AI search has a real hole.

The largest gap is the odd one. "Schema markup for seo", 3,500 searches a month, finds its best match in the introduction page at 0.54, and the blog has a page on structured data that should answer it. I'll come back to that page.

Same pages, same questions, different threshold

print("\n2. Same pages, same questions, different threshold")
print("   thr   1 page  2 pages")
for th in np.arange(0.40, 0.701, 0.05):
    a = coverage(pages, questions, volumes, th, 1)["share"]
    b = coverage(pages, questions, volumes, th, 2)["share"]
    print(f"   {th:.2f}  {a:6.1%}  {b:6.1%}")
ThresholdCovered, one page requiredCovered, two pages required
0.4096.0%89.4%
0.4590.2%85.2%
0.5090.2%84.2%
0.5582.7%74.8%
0.6079.4%65.6%
0.6570.2%51.3%
0.7070.2%42.0%

The drop from 0.50 to 0.55 is 7.5 points, and two questions account for it: "schema markup for seo" at 0.54 and "llm seo optimization" at 0.50, worth 4,700 searches between them. Coverage moves in steps like this because a handful of questions sit near any threshold you pick. Requiring two pages is a stricter test of depth, and it falls faster, to 42.0% at 0.70.

So a coverage percentage describes your site and a threshold together. A report that gives one without the other can't be compared with next quarter's, or with a competitor's.

Setting the threshold from questions you know the answer to

A threshold can be checked against questions whose answer you already know. I scored three sets of 20 questions against the same 15 pages: the 20 the blog targets; 20 marketing questions from the same field that the blog plainly does not answer (conversion tracking, email open rates, 404 errors, starting a podcast); and 20 unrelated everyday questions, from boiling an egg to tuning a ukulele.

print("\n3. Where three kinds of question land (best-match similarity)")
sets = {"questions the blog targets": questions,
        "same-field questions it does not answer": open("adjacent_questions.txt").read().splitlines(),
        "unrelated questions": open("null_questions.txt").read().splitlines()}
for name, qs in sets.items():
    b, i, _ = best_match(qs, pages)
    print(f"   {name:<40} median {np.median(b):.2f}  95th pct {np.percentile(b, 95):.2f}  max {b.max():.2f}")
adj = sets["same-field questions it does not answer"]
b, i, _ = best_match(adj, pages)
k = int(b.argmax())
print(f"   false cover: {adj[k]!r} -> {pages[i[k]]!r} at {b[k]:.2f}")
s = embed(["schema markup for seo"]) @ embed(["Structured Data and Rich Results Guide"]).T
print(f"   false gap:   'schema markup for seo' -> 'Structured Data and Rich Results Guide' at {s[0, 0]:.2f}")
n_above = int((b >= 0.55).sum())
print(f"   same-field questions at or above 0.55: {n_above} of {len(adj)}")
3. Where three kinds of question land (best-match similarity)
   questions the blog targets               median 0.72  95th pct 0.92  max 0.93
   same-field questions it does not answer  median 0.24  95th pct 0.43  max 0.64
   unrelated questions                      median 0.08  95th pct 0.19  max 0.21
   false cover: 'how to do keyword research for youtube' -> 'Semantic Keyword Research Methods' at 0.64
   false gap:   'schema markup for seo' -> 'Structured Data and Rich Results Guide' at 0.45
   same-field questions at or above 0.55: 1 of 20

Unrelated questions never get past 0.21, so shared vocabulary alone doesn't produce a score in the 0.30s. The same-field questions are the real competition for a threshold. Their median best match is 0.24, their 95th percentile is 0.43, and one reaches 0.64. The questions the blog targets have a median best match of 0.72.

A defensible threshold sits above the same-field 95th percentile and well below the targeted median, which here means somewhere from about 0.45 to 0.60. The demo's 0.55 passes, and at 0.55 one of the 20 same-field questions slips through as covered. Your own site may differ, especially if your titles are long or your field shares jargon with its neighbors, so run the same test on your own pages before trusting the default.

Two errors no threshold fixes

The output above names both. "How to do keyword research for youtube" scores 0.64 against "Semantic Keyword Research Methods", a page with nothing about YouTube; the words "keyword research" carry the match. That is a false cover. "Schema markup for seo" scores 0.45 against "Structured Data and Rich Results Guide", the page that answers it, because to a small general-purpose model reading five-word titles, schema markup and structured data are further apart than any SEO would place them. That is a false gap.

Keeping the false cover out takes a threshold above 0.64. Letting the false gap in takes one below 0.45. No single setting does both, so the scores between those two values should go to a person.

print("\n4. The review band: best match from 0.45 up to 0.65")
band = [(s, q) for q, s in zip(questions, r["best_sim"]) if 0.45 <= s < 0.65]
print(f"   {len(band)} of {len(questions)} questions")
for s, q in sorted(band):
    print(f"     {s:.2f} {q}")
4. The review band: best match from 0.45 up to 0.65
   5 of 20 questions
     0.50 llm seo optimization
     0.54 schema markup for seo
     0.55 passage indexing seo
     0.61 semantic search optimization
     0.62 semantic content strategy

Reading five question and page pairs takes a few minutes and settles what the score can't. Here it would move "schema markup for seo" into the covered column and leave "llm seo optimization" as a gap.

A self-audit of vector1.ai

vector1.ai has 14 research hubs, and each ends with FAQ questions drawn from keyword research, including the follow-up questions that search and AI engines generate around a topic. If the articles are doing their job, each of those questions should have at least one article close to it. One generic question, "Can I run these methods myself?", appears on 11 hubs and is counted once, which leaves 46 distinct questions. The articles are the 356 published before this one, as of November 16, 2026.

print("\n5. Self-audit: vector1.ai articles vs the questions its research hubs answer")
arts = json.load(open("site_articles.json"))
faqs = json.load(open("hub_faqs.json"))
seen, hub_q = set(), []
for hub, q in faqs:
    if q not in seen:                 # one generic question repeats on 11 hubs; keep it once
        seen.add(q); hub_q.append((hub, q))
fq = [q for _, q in hub_q]
ones = np.ones(len(fq))
titles = [a["title"] for a in arts]
both = [f"{a['title']}. {a['subtitle']}" for a in arts]
print(f"   {len(arts)} articles, {len(fq)} distinct hub questions")
for label, docs in (("titles only", titles), ("title + subtitle", both)):
    c = coverage(docs, fq, ones, 0.55)
    print(f"   {label:<17} {int((c['matches'] > 0).sum())} of {len(fq)} questions have an article at 0.55")
ct = coverage(titles, fq, ones, 0.55)
cb = coverage(both, fq, ones, 0.55)
print("   lost by adding the subtitle:")
for (hub, q), m0, m1, b0, b1 in zip(hub_q, ct["matches"], cb["matches"], ct["best_sim"], cb["best_sim"]):
    if m0 > 0 and m1 == 0:
        print(f"     {b0:.2f} -> {b1:.2f}  {q}")
5. Self-audit: vector1.ai articles vs the questions its research hubs answer
   356 articles, 46 distinct hub questions
   titles only       31 of 46 questions have an article at 0.55
   title + subtitle  29 of 46 questions have an article at 0.55
   lost by adding the subtitle:
     0.62 -> 0.39  What are adstock and saturation?
     0.68 -> 0.51  What is a large-load tariff?

On titles alone, 31 of the 46 questions have an article at 0.55, which leaves 15 apparent gaps. I read each of the 15 against its two best-matching titles.

Three are false gaps, where an article answers the question in other words: "How do you prove a pilot or program worked?" (0.53 against Did the AI Pilot Work?), "What is nowcasting?" (0.40 against an article that reverse-engineers the GDPNow nowcast) and "Why do clinical alerts produce so many false alarms?" (0.40 against an article on the shared math of sepsis and deterioration alerts). Three are questions about the site that no article should answer: whether Vector 1 is based in Kansas City, where to find data science research and tools in Kansas City, and whether readers can run the methods themselves. The other nine are real or partial gaps: lift tests and incrementality in a marketing mix model (0.29), GraphRAG against vector RAG (0.35), what a guardrail should decide before an agent acts (0.38), how to check an analytics agent's answer (0.46), whether an SEO change worked (0.49), econometrics against machine learning, what Monte Carlo simulation is used for, whether machine learning can beat the futures curve, and why Kansas City is a center for agricultural economics.

Adding each article's subtitle to its title made the audit worse, 29 covered instead of 31. "What is a large-load tariff?" scores 0.68 against the large-load tariff calculator title and 0.51 once its 57-word subtitle is attached. The model averages over every token, so a long description pulls the vector toward everything else it mentions. Its model card describes it as a sentence and short paragraph encoder and says input beyond 256 word pieces is truncated. More text helps only when it is the right text: one sentence stating the question the page answers, in the words a reader would use.

What a coverage map can't tell you about AI answers

Google's guidance for site owners says there are no additional requirements or special optimizations needed to appear in AI Overviews or AI Mode, and that those features may use "query fan-out", issuing several related searches across subtopics to build a response. That is the case for mapping the questions around a topic rather than one head term: the fan-out searches are those questions. A coverage map tells you whether you have a page near each one. It does not tell you whether the page is good, crawlable, trusted or current, and on titles alone it never sees the body text. Answer engines use their own retrieval models and rankers, not MiniLM, so a score here is a proxy for being findable, not a measurement of it.

The sample's volumes are illustrative values from the Meaning-Flow repository, not measured search volumes. The model weights I used are a 16-bit copy of all-MiniLM-L6-v2; they reproduce the Sentence Transformers documentation example to within 0.0001 (0.6659 against the published 0.6660), but the browser demo runs the model through a different runtime, so scores near a threshold can differ slightly between the two.

Running a content gap analysis on your own site

  1. Export your page titles, or better, each title with one sentence stating the question the page answers.
  2. Collect the questions people ask, with monthly volumes where you have them: Search Console queries, the questions your hub or FAQ pages target, and the follow-up questions search results suggest.
  3. Write 20 questions from your own field that you are sure you have not answered, score them, and set the threshold just above their 95th percentile.
  4. Read by hand every question whose best match falls in the band where the errors live, from your lowest false gap to just above your highest false cover. Here that was 0.45 to 0.65.
  5. Rank what is left by uncovered volume and write the top of the list.

The content coverage demo runs the same model and scoring in your browser with your own lists, and nothing you paste leaves the page. More of this work is in the SEO, AEO and GEO research hub, and the embedding and retrieval side is in the knowledge graphs and production AI hub.

Sources

Related research