Skip to main content
QUICK REVIEW

[Paper Review] Personalized Language Model for Query Auto-Completion

Aaron Jaech, Mari Ostendorf|arXiv (Cornell University)|Apr 25, 2018
Topic ModelingComputer Science14 references8 citations
TL;DR

This paper proposes a personalized language model for query auto-completion using a FactorCell-based recurrent neural network that adapts to individual users via online user embedding updates. The model significantly outperforms non-personalized and concatenation-based adaptation methods, especially for unseen users, by enabling dynamic, context-aware personalization with improved semantic coherence in suggestions.

ABSTRACT

Query auto-completion is a search engine feature whereby the system suggests completed queries as the user types. Recently, the use of a recurrent neural network language model was suggested as a method of generating query completions. We show how an adaptable language model can be used to generate personalized completions and how the model can use online updating to make predictions for users not seen during training. The personalized predictions are significantly better than a baseline that uses no user information.

Motivation & Objective

  • To improve query auto-completion by personalizing language models using user-specific embeddings.
  • To enable effective personalization for users not seen during training through online user embedding updates.
  • To demonstrate that adaptive weight modification via low-rank matrices (FactorCell) outperforms traditional concatenation-based adaptation in RNNs.
  • To show that personalization gains increase with more user interaction data, even for rare or unseen prefixes.
  • To validate that the model maintains efficiency and scalability while achieving higher-quality, semantically coherent query completions.

Proposed method

  • The model uses a character-level LSTM with a FactorCell mechanism that additively transforms the recurrent layer’s weights using a low-rank matrix derived from a user embedding.
  • User embeddings are learned during training and updated online via back-propagation for new users, initialized to a default embedding $u_1$.
  • The adaptation process freezes all model parameters except the user embedding matrix $\mathbf{U}$, allowing incremental personalization without retraining.
  • The model computes the adapted weight matrix $\mathbf{W}' = \mathbf{W} + \mathbf{A}$ once per query, reusing it during beam search to maintain inference efficiency.
  • Personalization is achieved by using the user embedding to modulate the recurrent layer’s weights, enabling context-specific language generation.
  • The system supports real-time inference and can be extended to include time or other contextual factors as conditioning signals.

Experimental results

Research questions

  • RQ1Can a neural language model be effectively personalized for query auto-completion using online user adaptation?
  • RQ2How does FactorCell-based weight adaptation compare to concatenation-based adaptation in terms of completion quality and semantic coherence?
  • RQ3To what extent does personalization improve performance for users not seen during training?
  • RQ4Does increased user interaction data lead to measurable improvements in prediction quality and relevance?
  • RQ5Can the model generate semantically coherent completions for rare or unseen prefixes while maintaining low computational cost?

Key findings

  • The FactorCell model achieved significantly better personalized query completions than the baseline unadapted model and the ConcatCell model, especially for users with limited training data.
  • For unseen users, the model achieved immediate personalization benefits through online user embedding updates, with performance improving over time as more queries were processed.
  • The FactorCell model produced more semantically coherent completions, such as suggesting 'high school musical' and 'funbrain.com' for a high school student, compared to orthographically similar but semantically unrelated suggestions from the ConcatCell model.
  • In the 'prada handbags' and 'versace eyewear' examples, the FactorCell model correctly suggested retailers like Neiman Marcus and Pottery Barn, while the ConcatCell model generated unrelated or low-relevance results like 'craigslist nyc' and 'webster dictionary'.
  • The model demonstrated that richer adaptation frameworks, such as FactorCell, yield greater gains with more data, confirming the scalability of the approach.
  • The cost of updating user embeddings is comparable to a forward pass and can be amortized over time, making the method practical for real-time deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.