INQUIRING LINE

Could two AI-written stories share almost no words but still be built from the exact same underlying template?

Can lexical similarity metrics miss the structural patterns that QUDsim detects?

This explores whether word-overlap measures of text similarity can miss the deeper sameness that QUDsim picks up: two texts that use different words but are built the same way underneath.


This explores whether counting shared words, or measuring how close two texts sit in embedding space, can miss texts that are built the same way. The short answer is yes, and QUDsim was designed for exactly that gap. QUDsim compares texts by the implicit questions each passage answers as it unfolds (linguists call these 'questions under discussion'). Two stories can share almost no vocabulary and still move through the same questions: who is this person, what went wrong, how did they recover, what did they learn. With that lens, researchers found that LLM-written texts reuse the same discourse templates far more than human writing does, and that different LLMs resemble each other structurally more than they resemble people Do large language models reuse the same story templates?. A word-overlap metric would see those texts as diverse, because the surface really does vary. The sameness lives one level down.

The same lesson shows up in retrieval research. Embeddings tend to measure association rather than relevance Where do retrieval systems fail and why?. Squeezing a passage into one vector also throws away the information that would tell two structurally different passages apart. One study found that a small verifier working on the full grid of word-to-word similarities could reject 'structural near-misses' that compressed-vector matching let through Can verification separate structural near-misses from topical matches?. The failure also runs the other way. When the task depends on exact names, plain grep over raw text beats embeddings, because embeddings blur distinct entities together Can direct corpus search beat embedding-based retrieval?. Each similarity measure captures one layer of a text, and nothing tells you which layer it skipped.

Hallucination detection offers a close parallel. Token-level uncertainty misses confabulations because a model can say the same wrong thing in many different wordings. Semantic entropy groups answers by meaning first and then measures how much those groups disagree, which catches what token-level checks miss Can we detect when language models confabulate?. QUDsim makes the same move one level higher: it groups text by discourse function rather than by meaning or wording.

The part you might not expect to care about is why LLMs would reuse templates in the first place. Elsewhere in the corpus, models behave like pattern-matchers. They spot that a problem looks like a familiar template and produce a plausible-looking answer instead of actually working it out Do large language models actually perform iterative optimization?. They also capture surface patterns better than deep grammatical structure Why do large language models fail at complex linguistic tasks?. If generation works that way, then reusing structure under fresh wording is what you'd predict. It is also exactly the kind of sameness that lexical diversity scores cannot see.

The gap: the corpus doesn't include a direct head-to-head benchmark scoring lexical metrics against QUDsim on the same texts. The case rests on how QUDsim is designed and on parallel findings from retrieval and hallucination research, not on a measured miss rate.


Sources 7 notes

Do large language models reuse the same story templates?

Using QUDsim, a metric based on implicit questions in text, researchers found that LLM-generated texts share narrative templates far more consistently than human writing, and LLMs align structurally with each other more than with humans.

Where do retrieval systems fail and why?

RAG systems fail at three structural levels: adaptive triggering (fixed intervals waste context), semantic-task mismatch (embeddings measure association, not relevance), and mathematical limits (embedding dimension constrains representable document sets). These require fundamentally different retrieval approaches, not tuning.

Can verification separate structural near-misses from topical matches?

A two-stage pipeline—pooled-cosine recall followed by a small Transformer verifier operating on token-token similarity maps—reliably rejects structural near-misses that MaxSim-style late interaction cannot. The verifier succeeds because it operates on full token interaction patterns rather than compressed vectors.

Can direct corpus search beat embedding-based retrieval?

GrepSeek trains agents to retrieve via executable shell commands over raw text, achieving better multi-hop performance on entity-constrained queries than dense embeddings. The approach scaffolds unstable search mechanics with supervised trajectories, then refines task-oriented behavior through reinforcement learning.

Can we detect when language models confabulate?

Clustering sampled answers by bidirectional entailment and computing entropy over semantic clusters catches confabulations invisible at token level. This self-referential approach works across tasks without task-specific training data.

Show all 7 sources
Do large language models actually perform iterative optimization?

Research shows LLMs cannot perform iterative procedures in latent space. They recognize optimization problems as template-similar and emit plausible-looking but incorrect values, a failure mode that persists across model scale and training approaches.

Why do large language models fail at complex linguistic tasks?

Top-tier LLMs like Llama3-70b consistently misidentify embedded clauses, verb phrases, and complex nominals. Performance degrades predictably as syntactic depth increases, revealing that statistical learning captures surface patterns but not deep grammatical rules.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.