Abstract
Traditional search task extraction methods often fail to link related queries across different sessions, especially when they lack lexical overlap. This paper introduces a novel word embedding transformation technique that utilizes temporal and lexical context from query logs. By mapping standard word vectors into a task-specific space, the proposed method significantly improves cross-session task extraction, achieving a substantial increase in recall for related queries separated by time.
Introduction
In Information Retrieval, search task extraction aims to group queries belonging to the same underlying user goal. Most existing systems are session-bound, typically using a 30-minute window. However, users often engage in cross-session tasks—such as planning a multi-day trip—where related queries are separated by long time gaps and may share no common keywords. Standard embedding models like word2vec also struggle with the brevity of search queries. This paper addresses these challenges by using temporal patterns as a semantic signal to learn better query representations.
Methodology
The authors propose a "Tempo-Lexical Context" driven approach:
- Task-Oriented Transformation: Standard word2vec vectors are mapped via a transformation matrix ($\theta$) into a new space where words from the same task are closer.
- Temporal Relatedness: Words appearing within the same 26-minute session are treated as related, using time as a proxy for semantic context.
- Tempo-Lexical Refinement: To account for multi-tasking, queries within a session are sub-clustered first; only words within the same sub-cluster are considered related.
- Global Clustering: Transformed query vectors are averaged and then grouped across the entire dataset using the QC-WCC graph-based clustering algorithm, enabling the identification of tasks across session boundaries.
Experimental Setup
The approach was evaluated using a subset of the AOL Query Log. The authors created a cross-session benchmark by manually re-annotating 1,424 queries to link related searches across different sessions, providing a ground truth for "cross-session recall."
Key Results and Insights
The proposed method demonstrates that time is a powerful semantic signal in search logs. For instance, the model can link "Eric Harris" and "Reb Vodka" (both related to the Columbine massacre) because they frequently co-occur in temporal windows, despite having no lexical overlap.
As shown in the results, the tempo-lexical model achieved a Cross-Session Recall (CS-Recall) of 0.7395, a dramatic improvement over the 0.1930 achieved by the trigram-based baseline. The overall F-score also improved significantly to 0.538. Notably, the model performed best when relying on its own learned embeddings rather than external retrieval-based similarity from ClueWeb12B, indicating that the embeddings successfully captured task semantics.
Conclusion
This research highlights the effectiveness of using focused temporal windows to train embeddings for global task extraction. While currently evaluated on a manually annotated subset, the approach offers a scalable path toward identifying complex, multi-day search tasks. Future work will explore supervised versions of this task and scaling the methodology to larger production environments.
Summary updated