INQUIRING LINE

Can one AI trick — writing a fake 'ideal answer' first, then searching with that — fix search's oldest blind spots?

Can pseudo-document generation actually close all three legacy query expansion gaps?

This explores whether having an LLM write a hypothetical answer document, then searching with that document instead of the raw query, fixes the three ways older query expansion methods broke down.


This explores whether having an LLM write a hypothetical answer document, then searching with that document instead of the raw query, fixes the three classic failures of older query expansion. The collection names those failures clearly in Why do traditional query expansion methods fail so differently?. Thesaurus and statistics-based methods add the same synonyms whatever the query is about. Relevance feedback pads the query with words from the top results and slides toward generic topics. Methods that mine past search logs can't help with a query nobody has asked before. The note traces all three to one root: these methods counted surface words rather than understanding how a query's words combine into meaning. A caveat up front: the collection has no note that directly tests pseudo-document generation against all three, so what follows is pieced together from nearby work rather than taken from a head-to-head result.

On two of the three gaps, the logic works in its favor. A model writing a pseudo-document reads the whole query in context, so 'Java' next to 'coffee' and 'Java' next to 'compiler' produce different expansions. That goes straight at the context-blindness problem. It also needs no search logs, so new queries get the same treatment as common ones. The closest evidence in the corpus is Can a model's partial response guide what to retrieve next?, where feeding the model's own draft answers back in as search queries improves multi-step question answering. Generated text can state what the reader actually needs to know in ways the original query couldn't.

The drift gap is where the claim of 'closing all three' gets shaky. Pseudo-documents don't drift toward whatever the top search results happen to say. Instead they can drift toward what the model already believes, and a confident but wrong hypothetical answer pulls retrieval toward documents that agree with the mistake. The old failure is replaced by a new one, not removed. That is why the collection's defenses sit at the generation end. Can RAG systems refuse to answer without reliable evidence? pairs aggressive retrieval expansion with a strict rule against answering beyond the evidence. Expansion is allowed to be noisy because the final answer is not.

A deeper limit applies too. Pseudo-documents are usually turned into embeddings, and Where do retrieval systems fail and why? argues that embeddings measure how related two texts are, not whether one answers the other. A richer query doesn't fix that. Can direct corpus search beat embedding-based retrieval? shows the effect: when queries depend on exact names and entities, an agent running literal text searches beats dense retrieval, because embeddings blur similar entities together. A fluent pseudo-document can blur them further. Some of the most promising alternatives move away from expansion altogether, toward planning the query: breaking it into steps at search time, as in Can query-time graph construction replace pre-built knowledge graphs?, or separating planning from answering, as in Do hierarchical retrieval architectures outperform flat ones on complex queries?.

The takeaway: pseudo-document generation largely fixes the context-blindness and novel-query gaps. It turns topic drift into a different risk, drift toward the model's own assumptions, and that risk has to be caught later in the pipeline. And it leaves untouched a ceiling the old methods never reached: the gap between 'related to' and 'answers'.


Sources 7 notes

Why do traditional query expansion methods fail so differently?

Global statistical and knowledge-based methods are context-agnostic, local relevance feedback drifts toward generic topics, and log-based reformulation methods cannot generalize to novel queries. All three failures stem from relying on surface-level lexical statistics rather than compositional semantics.

Can a model's partial response guide what to retrieve next?

ITER-RETGEN shows that iteratively using generated responses as retrieval queries substantially improves performance on multi-hop reasoning and fact verification. Generation acts as both answer producer and information-need clarifier, surfacing implicit gaps that the original query missed.

Can RAG systems refuse to answer without reliable evidence?

A multilingual RAG system for noisy historical newspapers succeeds by aggressively expanding retrieval while constraining generation to only grounded answers. The grounded-refusal prompt prevents hallucination when OCR errors and language drift degrade source quality, trading coverage for integrity.

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 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.

Show all 7 sources
Can query-time graph construction replace pre-built knowledge graphs?

LogicRAG constructs directed acyclic graphs from queries at inference time rather than pre-building corpus-wide graphs, eliminating construction overhead, avoiding staleness, and enabling query-specific retrieval logic without sacrificing multi-hop reasoning capability.

Do hierarchical retrieval architectures outperform flat ones on complex queries?

Separating query planning from answer synthesis into distinct components reduces interference and improves multi-hop query performance. This architectural principle mirrors documented benefits of separating planning from execution in agent design.

Papers this line draws on 8

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