Abstract
In sequential recommendation (SR), system exposure refers to items that are exposed to the user. Typically, only a few of the exposed items would be interacted with by the user. Although SR has achieved great success in predicting future user interests, existing SR methods still fail to fully exploit system exposure data. Most methods only model items that have been interacted with, while the large volume of exposed but non-interacted items is overlooked. Even methods that consider the whole system exposure typically train the recommender using only the logged historical system exposure, without exploring unseen user interests. In this paper, we propose counterfactual augmentation over system exposure for sequential recommendation (CaseRec). To better model historical system exposure, CaseRec introduces reinforcement learning to account for different exposure rewards. CaseRec uses a decision transformer-based sequential model to take an exposure sequence as input and assigns different rewards according to the user feedback. To further explore unseen user interests, CaseRec proposes to perform counterfactual augmentation, where exposed original items are replaced with counterfactual items. Then, a transformer-based user simulator is proposed to predict the user feedback reward for the augmented items. Augmentation, together with the user simulator, constructs counterfactual exposure sequences to uncover new user interests. Finally, CaseRec jointly uses the logged exposure sequences with the counterfactual exposure sequences to train a decision transformer-based sequential model for generating recommendation. Experiments on three real-world benchmarks show the effectiveness of CaseRec.
The Problem: Recommender "Tunnel Vision"
Most sequential recommendation (SR) models suffer from a significant limitation: they typically train only on items a user has actually interacted with, such as clicks or purchases. This approach ignores system exposure—the vast majority of items that were shown to the user but not clicked.
Existing methods face two major flaws:
- Overlooking Non-Interactions: A lack of a click doesn't necessarily imply a lack of interest; users may be distracted or time-constrained. Ignoring these items wastes valuable contextual data.
- Exposure Bias: Models trained only on historical logs become trapped in a feedback loop, recommending only what previous (and potentially biased) algorithms already showed.
The CaseRec Framework
The authors introduce CaseRec, which treats recommendation as an offline Reinforcement Learning (RL) task to better utilize exposure data.
Decision Transformer (DT) Architecture
Unlike standard transformers that predict the next item based solely on previous interactions, CaseRec uses a Decision Transformer. It processes a "trajectory" consisting of Returns-to-Go (RTG) (desired future rewards), States (past exposure and feedback), and Actions (the items recommended). This allows the model to explicitly learn which exposure patterns lead to high-reward outcomes (clicks).
Counterfactual Augmentation
To explore unseen interests and break the "filter bubble," CaseRec generates "what-if" scenarios. This counterfactual augmentation replaces items in the original log with new candidates to see how a user might have reacted.
One primary strategy is Self-Improving Augmentation, which perturbs item embeddings and uses the current model to generate challenging new exposure sequences. To validate these "fake" sequences, the authors train a separate transformer-based User Simulator to predict likely user feedback (rewards) for the augmented data.
Experimental Results
The model was evaluated on three large-scale real-world benchmarks: ZhihuRec (Q&A), Tenrec (Video), and KuaiRand-Pure (Short-video with unbiased random exposure data).
- Performance Gains: CaseRec significantly outperformed state-of-the-art baselines like SASRec and BERT4Rec. On ZhihuRec, the self-improving variant (CaseRec-S) improved Recall@5 by a massive margin (0.0704 vs. 0.0138 for the best baseline).
- Effective Debiasing: In the KuaiRand "unbiased" test, CaseRec demonstrated superior performance, proving it learned genuine user interests rather than just mimicking the original recommendation policy.
- Increased Diversity: By simulating exploration through counterfactuals, the model achieved higher coverage, recommending a wider variety of items and reducing the popularity bias common in traditional systems.
Conclusion
CaseRec demonstrates that non-clicks are highly informative. By casting recommendation as a reward-conditioned sequence modeling problem and using counterfactual augmentation, the framework effectively uncovers hidden user interests and mitigates the inherent biases of logged historical data.
Summary updated