Debiasing Sequential Recommenders through Distributionally Robust Optimization over System Exposure

Jiyuan Yang, Yue Ding, Yidan Wang, Pengjie Ren, Zhumin Chen, Fei Cai, Jun Ma, Rui Zhang, Zhaochun Ren, Xin Xin · DOI

Abstract

Sequential recommendation (SR) models are typically trained on user-item interactions which are affected by the system exposure bias, leading to the user preference learned from the biased SR model not being fully consistent with the true user preference. Exposure bias refers to the fact that user interactions are dependent upon the partial items exposed to the user. Existing debiasing methods do not make full use of the system exposure data and suffer from sub-optimal recommendation performance and high variance. In this paper, we propose to debias sequential recommenders through Distributionally Robust Optimization (DRO) over system exposure data. The key idea is to utilize DRO to optimize the worst-case error over an uncertainty set to safeguard the model against distributional discrepancy caused by the exposure bias. The main challenge to apply DRO for exposure debiasing in SR lies in how to construct the uncertainty set and avoid the overestimation of user preference on biased samples. Moreover, how to evaluate the debiasing effect on biased test set is also an open question. To this end, we first introduce an exposure simulator trained upon the system exposure data to calculate the exposure distribution, which is then regarded as the nominal distribution to construct the uncertainty set of DRO. Then, we introduce a penalty to items with high exposure probability to avoid the overestimation of user preference for biased samples. Finally, we design a debiased self-normalized inverse propensity score (SNIPS) evaluator for evaluating the debiasing effect on the biased offline test set. We conduct extensive experiments on two real-world datasets to verify the effectiveness of the proposed methods. Experimental results demonstrate the superior exposure debiasing performance of proposed methods.

Introduction: The Feedback Loop Problem

Sequential Recommendation (SR) models are the engines behind modern digital feeds, predicting future user interactions based on historical behavior. However, these systems often fall victim to a "chicken and egg" problem known as exposure bias. Because a user can only interact with items the system chooses to show them, their interaction history is inherently limited by the system's previous decisions.

If a model is trained solely on this biased data, it mistakenly learns that a user's limited history represents their entire preference spectrum, ignoring latent interests. This creates a narrow feedback loop where the system progressively restricts a user's horizon. While existing solutions like Inverse Propensity Scoring (IPS) attempt to weight rare events more heavily, they often suffer from high variance and fail to leverage the vast amount of "exposure data"—items shown to users but not clicked—that platforms collect.

Conceptualizing Robustness with DRO

To address these limitations, this research shifts the focus from simple error minimization to Distributionally Robust Optimization (DRO). The core idea is to move away from a single biased distribution and instead optimize for the "worst-case" scenario within a defined uncertainty set.

Conceptual illustration of (a) exposure bias and (b) the proposed DRO uncertainty set centered around the nominal distribution.

As illustrated in Figure 3, the biased preference distribution derived from interaction data often diverges from the true preference distribution. By utilizing system exposure data as a "nominal distribution," the researchers can construct an uncertainty set that is more likely to encompass the user's true preferences. This approach treats debiasing as a distribution-shift problem, providing a more stable training signal than traditional IPS methods.

Methodology: The DRO Framework

The proposed framework is model-agnostic and consists of several key components designed to leverage system behavior for better recommendation accuracy.

Overview of the proposed framework, including the exposure simulator, sequential recommender, and the DRO-based debiasing process.

1. The Exposure Simulator

To define the boundaries of the uncertainty set, the authors developed an exposure simulator trained on system impressions. This simulator uses a mixture of models—including a Transformer (SASRec), a GRU-based model, and a popularity-based recommender—to predict the probability that any given item was shown to a user.

2. Preference Penalty

To prevent the model from over-relying on biased samples, a penalty is introduced for items with high exposure probability. If the system frequently presented an item to a user, the model is taught to be more skeptical of a resulting interaction, ensuring it doesn't "double down" on items that were clicked simply due to high visibility.

3. Debiased Evaluator (SNIPS)

Recognizing that offline test sets are also biased, the researchers designed a Self-Normalized Inverse Propensity Score (SNIPS) evaluator. This allows for a fair measurement of performance without leaking training bias into the evaluation phase.

Experimental Evaluation

The framework was tested on two large-scale datasets containing both clicks and impressions:

  • ZhihuRec: ~771k impressions and ~214k clicks from the Chinese Q&A platform Zhihu.
  • Tenrec: ~1.7M impressions and ~912k clicks, focused on video recommendations.

Using SASRec and GRU4Rec as backbones, the DRO-enhanced models showed significant improvements across the board. On the Tenrec dataset, the DRO-enhanced SASRec achieved a Recall@20 of 0.1439, a substantial jump from the vanilla model's 0.1044. Beyond accuracy, the method significantly improved item Coverage, effectively mitigating popularity bias and surfacing niche, relevant content that was previously drowned out by "hot" items.

Conclusion

By reframing debiasing as a distributionally robust optimization problem over system exposure, this research provides a stable and effective way to break the feedback loop in sequential recommenders. While future work may explore more complex page-wise exposure slates and the intersection of different bias types, the current DRO framework offers a powerful tool for building more diverse and accurate recommendation systems.

Summary updated

BibTeX
@inproceedings{yang2023debiasing,
  author = {Jiyuan Yang and Yue Ding and Yidan Wang and Pengjie Ren and Zhumin Chen and Fei Cai and Jun Ma and Rui Zhang and Zhaochun Ren and Xin Xin},
  title = {{Debiasing Sequential Recommenders through Distributionally Robust Optimization over System Exposure}},
  booktitle = {WSDM},
  year = {2023},
  doi = {10.1145/3616855.3635848},
}
Figure