Synthetic Prefixes to Mitigate Bias in Real-Time Neural Query Autocomplete

Adithya Rajan, Xiaoyu Liu, Prateek Verma, Vibhu Arora
10/2/2025
cs.IRcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

We introduce a data-centric approach for mitigating presentation bias in real-time neural query autocomplete systems through the use of synthetic prefixes. These prefixes are generated from complete user queries collected during regular search sessions where autocomplete was not active. This allows us to enrich the training data for learning to rank models with more diverse and less biased examples. This method addresses the inherent bias in engagement signals collected from live query autocomplete interactions, where model suggestions influence user behavior. Our neural ranker is optimized for real-time deployment under strict latency constraints and incorporates a rich set of features, including query popularity, seasonality, fuzzy match scores, and contextual signals such as department affinity, device type, and vertical alignment with previous user queries. To support efficient training, we introduce a task-specific simplification of the listwise loss, reducing computational complexity from $O(n^2)$ to $O(n)$ by leveraging the query autocomplete structure of having only one ground-truth selection per prefix. Deployed in a large-scale e-commerce setting, our system demonstrates statistically significant improvements in user engagement, as measured by mean reciprocal rank and related metrics. Our findings show that synthetic prefixes not only improve generalization but also provide a scalable path toward bias mitigation in other low-latency ranking tasks, including related searches and query recommendations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{rajan2025synthetic,
  title  = {Synthetic Prefixes to Mitigate Bias in Real-Time Neural Query Autocomplete},
  author = {Adithya Rajan and Xiaoyu Liu and Prateek Verma and Vibhu Arora},
  year   = {2025},
  eprint = {2510.01574},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.01574v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.01574.svg)](https://codeofpaper.com/paper/2510.01574)

Discussion