INQUIRING LINE

Can an AI learn to rewrite search queries just by watching how past users rephrased theirs — even for questions nobody's asked before?

How much can log-based reformulation patterns generalize to genuinely novel queries?

This explores whether query rewriting learned from search logs (watching how past users rephrased their searches) can help with queries nobody has typed before, and what the collection says about why it breaks down.


This explores whether learning from search logs, meaning how past users rephrased their searches, can help with queries no one has asked before. The short answer from the corpus: not much. The collection treats this as a built-in limit, not a gap that more data will close. In the corpus's account of how pre-LLM query expansion fails, log-based reformulation has its own failure mode: it works when a new query resembles something already in the log and stalls when it doesn't Why do traditional query expansion methods fail so differently?. The same note says this failure shares a root with the others. Context-blind thesaurus methods and relevance feedback that drifts toward generic topics also rely on surface word statistics, not on understanding how the parts of a query combine to make meaning. A log can record that people who typed X often retyped it as Y. It can't work out what a new combination of ideas means.

The pattern shows up outside search, and that's the part you might not expect. Recommendation systems hit a mirror-image version of it. Systems built on usage frequency put their resources where traffic is heaviest, and new IDs keep arriving that the system wasn't built around Why do hash collisions hurt recommendation models so much?. Any method that learns from records of past behavior inherits the shape of that past. The common cases get covered well and the long tail stays thin. Novel queries live in that long tail.

Don't assume LLMs simply fix this. The corpus has evidence that LLMs can fail in a similar way at a deeper level. Faced with optimization problems, they recognize something template-like and produce a remembered-looking answer; they don't actually run the procedure Do large language models actually perform iterative optimization?. Their grasp of grammar also gets worse as sentence structure gets more deeply nested Why do large language models fail at complex linguistic tasks?. So an LLM query rewriter isn't working from a log, but it can still lean on familiar patterns, and that matters most for unusual or structurally complex queries.

The more promising direction in the collection is to stop asking one rewriting method to handle everything. One option is to decide first what kind of question a query is and then route it. StructRAG sends each query to the knowledge format that suits it, such as tables, graphs, or plain text chunks Can routing queries to task-matched structures improve RAG reasoning?. Another sends queries to specialist models based on what they mean Can routing beat building one better model?. A third option is to plan a query in a separate step before retrieving anything, so a new multi-part question gets broken into pieces the system can handle Do hierarchical retrieval architectures outperform flat ones on complex queries?. All three generalize by breaking a query into its parts rather than matching it against past queries. That fits the wider claim that retrieval failures come from system design and tuning won't remove them Where do retrieval systems fail and why?.

The collection has no study that measures how far log-based methods carry over to new queries, so there's no clean number to give. What it offers is the reason they fall short and a consistent alternative.


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

Why do hash collisions hurt recommendation models so much?

Monolith's empirical work shows that real recommendation systems have power-law distributed frequencies, causing collisions to accumulate precisely on the entities models need most accurate. Fixed-size hashed tables worsen this over time as new IDs arrive.

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.

Can routing queries to task-matched structures improve RAG reasoning?

StructRAG demonstrates that selecting knowledge structure type based on query demands—via DPO-trained router choosing among tables, graphs, algorithms, catalogues, and chunks—improves knowledge-intensive reasoning over standard retrieval. The approach grounds this in cognitive load and cognitive fit theory from cognitive science.

Show all 8 sources
Can routing beat building one better model?

Avengers-Pro achieves 7% higher accuracy than GPT-5-medium by routing queries to optimal models per semantic cluster, or matches its performance at 27% lower cost. Ten 7B models with routing previously surpassed GPT-4.1 and 4.5, suggesting selection is a stronger lever than scaling.

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.

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.

Papers this line draws on 8

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