SESSION-AWARE PRODUCT FILTER RANKING IN E- COMMERCE SEARCH

Hanqing Lu, Xianfeng Tang, Chen Luo, Limeng Cui, Zhenwei Dai, Rahul Goutam, Haiyang Zhang, Monica Xiao ChengICLR 2024

Abstract: Product filters are commonly used by e-commerce websites to refine search results based on attribute values such as price, brand, size, etc. However, existing filter recommendation approaches typically generate filters independently of the user's search query or browsing history. This can lead to suboptimal recommendations that do not account for what the user has already viewed or selected in their current browsing session. In this paper, we propose a session-aware product filter recommendation framework that leverages user's past actions to provide filter recommendations. An offline evaluation demonstrates that our model achieved significant improvement over non-contextual baseline models.

Introduction

Most e-commerce sites show you the same product filters regardless of what you’ve been doing for the last ten minutes. This paper introduces a session-aware ranking framework that looks at your recent searches, clicks, and filter selections to predict which filters (like "Brand: Nike" or "Price: Under $50") you actually need right now, resulting in a significant boost in recommendation accuracy.

The Problem with "Session-Blind" Filtering

When you search for "shoes" on a major retail site, you are often overwhelmed by dozens of filters: size, color, brand, material, price, and more. Traditionally, these filters are ranked using static lists or simple category-to-attribute maps. If you search for "running shoes," the site might show you "Brand" and "Size" because those are generally popular for that category.

However, these systems are "session-blind." If you just spent five minutes clicking on blue Nike sneakers and filtering for "Size 10," a session-blind system might still suggest "Adidas" or "Size 12" filters for your next query. The authors argue that a user's immediate history—their "session"—contains vital clues about their current intent that traditional models ignore.

A Context-Aware Methodology

The authors propose a three-stage pipeline to make filter ranking context-aware:

  1. Data Retrieval: Not everything in a session is relevant (e.g., you might look at a toaster and then search for shoes). The system uses a BERT-based query-to-category model to identify which parts of your recent history belong to the same category as your current search.
  2. Candidate Generation: The system pulls potential filters from four sources:
  3. Named Entity Recognition (NER): Extracting attributes directly from your past queries (e.g., "waterproof" from "waterproof boots").
  4. Product Attributes: Looking at the attributes of products you recently clicked.
  5. Past Filters: Re-proposing filters you’ve already used in the session.
  6. Non-contextual Baselines: Using standard, category-wide popular filters as a safety net.
  7. Candidate Ranking: A Gradient-Boosting Decision Tree (GBDT) ranks these candidates. It uses features like the "time gap" (how long ago a click occurred), the source of the filter, and a "non-contextual score." It is trained using a pair-wise ranking loss to ensure the filter you are most likely to click next appears at the top.

Key Insights

  • The Power of Recency: One of the most important features in their ranking model is the "time gap." Users' interests shift rapidly; a click from 30 seconds ago is a much stronger signal than a click from 10 minutes ago.
  • Implicit Filtering: Interestingly, even the version of their model without the "Data Retrieval" stage (which filters for category relevance) outperformed the baseline. This suggests that the ranking model learned to "demote" irrelevant history naturally because those items happened longer ago or had lower base scores.
  • Context is King: By combining "global" popularity (what everyone likes) with "local" session data (what you just did), the model bridges the gap between general trends and specific user intent.

Results

The researchers used an e-commerce search dataset and evaluated the model against a "non-contextual" baseline—the industry standard that ranks filters based on category popularity without looking at session history. Using Recall@10 (whether the filter the user actually clicked was in the top 10 suggested) as their primary metric, the proposed framework demonstrated significant gains.

Model Performance Improvements
  • Our Model (Full): Achieved a +2.41% relative improvement over the non-contextual baseline.
  • Our Model (w/o Data Retrieval): Still achieved a +1.82% improvement, proving that even "noisy" session data is better than no session data at all.

Limitations and Future Work

The authors identify a few key areas for improvement:

  • Cascading Errors: Because this is a three-stage pipeline, an error in the first stage (like miscategorizing a query) ruins the downstream ranking.
  • Ambiguity: Current models struggle with "hard" mappings. For example, a search for "Harry Potter" could be a book or a movie; a rigid category-based retrieval might pick the wrong one and filter out relevant data.
  • End-to-End Ambition: The authors suggest that future work should move toward an end-to-end model. Instead of three separate stages, a single joint model could learn "soft" representations of queries and attributes, allowing for better error recovery and more complex feature interactions.

Summary updated

BibTeX
@inproceedings{lu2024session,
  author = {Hanqing Lu and Xianfeng Tang and Chen Luo and Limeng Cui and Zhenwei DAI and Rahul Goutam and Haiyang Zhang and Monica Xiao Cheng},
  title = {{SESSION-AWARE PRODUCT FILTER RANKING IN E- COMMERCE SEARCH}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=r4LMF2IJ6R},
}
Figure