mlsanityData to 14 Oct 2026

Efficient and Effective Query Context-Aware Learning-to-Rank Model for Sequential Recommendation

arXiv 2507.03789 ↗First posted 4 Jul 2025cs.IR cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Modern sequential recommender systems commonly use transformer-based models for next-item prediction. While these models demonstrate a strong balance between efficiency and quality, integrating interleaving features - such as the query context (e.g., browse category) under which next-item interactions occur - poses challenges. Effectively capturing query context is crucial for refining ranking relevance and enhancing user engagement, as it provides valuable signals about user intent within a session. Unlike item features, historical query context is typically not aligned with item sequences and may be unavailable at inference due to privacy constraints or feature store limitations - making its integration into transformers both challenging and error-prone. This paper analyzes different strategies for incorporating query context into transformers trained with a causal language modeling procedure as a case study. We propose a new method that effectively fuses the item sequence with query context within the attention mechanism. Through extensive offline and online experiments on a large-scale online platform and open datasets, we present evidence that our proposed method is an effective approach for integrating query context to improve model ranking quality in terms of relevance and diversity.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 12 of its 29 references that are in the map. First posted on arXiv 4 Jul 2025.

Builds on

12 of 29 references.

References · 12

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Layer Normalizationcited by 5,669
  3. 2018Self-Attentive Sequential Recommendationcited by 1,184
  4. 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
  5. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
  6. 2018Sequence-Aware Recommender Systemscited by 58
  7. 2023TransAct: Transformer-based Realtime User Action Model for Recommendation at Pinterestcited by 35
  8. 2022Decoupled Side Information Fusion for Sequential Recommendationcited by 30
  9. 2016Context-aware Sequential Recommendationcited by 25
  10. 2022Quality Metrics in Recommender Systems: Do We Calculate Metrics Consistently?cited by 17
  11. 2024Building a Scalable, Effective, and Steerable Search and Ranking Platformcited by 3
  12. 2024A Theoretical Analysis of Recommendation Loss Functions under Negative Samplingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.