NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Query Generation as Result Aggregation for Knowledge Representation

Matthew Mitsui, Chirag Shah

Introduction

Traditional search engines often assist users through query recommendation systems, typically seen as "searches related to..." suggestions. However, these systems are fundamentally limited by their reliance on historical query logs. They suggest what others have typed before, which may not align with a user's unique, exploratory information need. This paper proposes a shift from recommending existing queries to a generative framework that synthesizes new queries by aggregating relevant information snippets. The authors describe this as moving from "giving a user a fish" (a result) to "teaching a user to fish" (helping them articulate their query).

A Generative Framework for Query Synthesis

The researchers propose a four-step pipeline to transform interaction data into actionable query recommendations:

  1. Transformation: Converting raw data into a system-readable format.
  2. Mapping: Projecting data into a conceptual space, such as a topic model.
  3. Determination: Identifying relevant but unexplored information "bits."
  4. Aggregation: Synthesizing these bits into a natural language query.
The conceptual framework for query generation within a semantic model.

The core innovation lies in the Aggregation step. Instead of retrieving a pre-written string, the system reverse-engineers a query from a collection of document snippets. This allows for the generation of recommendations for niche or emerging topics that lack historical log data.

Methodology: Algorithmic vs. Human Performance

To evaluate the feasibility of automated query generation, the authors compared two algorithmic approaches against a human baseline:

  • Cosine Similarity: Selecting words from snippets that maximize the cosine score relative to the document collection.
  • Skip-grams: Utilizing word-pair frequencies to handle the sparsity of short text snippets.

The evaluation involved two primary datasets. The TREC 2014 Session Track provided a standard set of complex search topics. To establish a human baseline, a Mechanical Turk (MTurk) study was conducted where 120 participants were asked to "reverse-engineer" queries from 10 search results (titles, URLs, and snippets). This setup allowed for a direct comparison of how well machines and humans can identify the specific keywords that drive search engine rankings.

Key Results and Scaling

The study revealed that algorithms are remarkably effective at identifying "query-worthy" terms within snippets. When the target query length was known, the Cosine algorithm achieved a Jaccard distance (word overlap) of 0.87, significantly outperforming the human baseline of 0.66.

Performance evaluation (Jaccard) of different algorithms as the number of input results increases.

As shown in the evaluation results, performance generally improves as the system is provided with more input snippets. For instance, the Cosine algorithm's accuracy increased from approximately 0.72 with 10 snippets to over 0.82 with 100 snippets. However, a "length bottleneck" was observed: while machines picked better keywords, they struggled to determine the optimal natural length of a query without prior knowledge, a task where humans still maintain an edge.

Conclusion and Future Directions

This research demonstrates that automated systems can effectively synthesize search queries from information fragments, often surpassing human intuition in selecting high-value keywords. By decoupling recommendations from query logs, search engines can become more proactive in guiding users through complex information spaces. Future work will focus on improving the structural naturalness of generated queries and integrating these techniques with Knowledge Graphs to aggregate entities and relationships rather than just text.

Summary updated

BibTeX
@inproceedings{mitsui2017query,
  author = {Matthew Mitsui and Chirag Shah},
  title = {{Query Generation as Result Aggregation for Knowledge Representation}},
  booktitle = {HICSS},
  year = {2017},
}
Figure