Publications

CONFERENCE (INTERNATIONAL) Search Query Embeddings via User-behavior-driven Contrastive Learning

Sosuke Nishikawa, Jun Hirako, Nobuhiro Kaji, Hiroki Asano, Souta Yamashiro, Shumpei Sano

2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics (NAACL 2025)

April 28, 2025

Universal query embeddings that accurately capture the semantic meaning of search queries are crucial for supporting a range of query understanding (QU) tasks within enterprises. However, current embedding approaches often struggle to effectively represent queries due to the shortness of search queries and their tendency for surface-level variations. We propose a user-behavior-driven contrastive learning approach which directly aligns embeddings according to user intent. This approach uses intent-aligned query pairs as positive examples, derived from two types of real-world user interactions: (1) clickthrough data, in which queries leading to clicks on the same URLs are assumed to share the same intent, and (2) session data, in which queries within the same user session are considered to share intent. By incorporating these query pairs into a robust contrastive learning framework, we can construct query embedding models that align with user intent while minimizing reliance on surface-level lexical similarities. Evaluations on real-world QU tasks demonstrated that these models substantially outperformed state-of-the-art text embedding models such as mE5 and SimCSE. Our models have been deployed in our search engine to support QU technologies.

Paper : Search Query Embeddings via User-behavior-driven Contrastive Learningopen into new tab or window (external link)