Improving Retrievability in Search with Query Generation

Gustavo Penha, Enrico Palumbo, Maryam Aziz, Alice Wang, Hugues Bouchard1 May 2023

Problem

In a catalog search, a few popular entities appear for most queries, while many others are never shown. Retrievability is how reachable an entity is through the search system, weighted by how often each query is issued. When a retrieval model is trained on click logs, it learns the popularity skew. Query intent adds to the skew: most users have a narrow intent (find one known item), and few have a broad, exploratory one. Entities that fit many information needs may never surface, which limits discovery.

Example from the article: a bi-encoder trained on log queries and clicked entities returns the same four entities for most queries, and six entities are never the nearest result for any query.

Solution in brief

A model called CtrlQGen writes a synthetic query for an entity and a chosen intent, narrow or broad. Queries for every catalog entity train the retrieval model, and broad queries serve as suggestions next to the user's own query.

Questions this case answers
  • How to reduce popularity-driven exposure inequality in a learned retrieval model when interaction logs over-represent popular items and narrow intents
  • How to generate training queries for every catalog item at a chosen level of intent specificity without ground-truth labels
  • How to stop a search system from surfacing the same popular items for most queries?
  • How to train a dense retrieval model when click logs are dominated by popular items and narrow queries?

Tools and methods

  • CtrlQGen — query generator conditioned on entity metadata and intent (narrow or broad)
  • T5 (or any encoder-decoder language model) — implements the intent-aware generation component
  • Weak labeling — builds training data for the generator without ground-truth intent labels
  • Bi-encoder dense retrieval — retrieval model trained on the synthetic queries
Continue reading — it's free

Google or a one-time email code. No password.