Denoising Long- and Short-term Interests for Sequential Recommendation

Xinyu Zhang, Beibei Li, Beihong JinSociety 2024 · OpenAlex

Abstract

User interests can be viewed over different time scales, mainly including stable long-term preferences and changing short-term intentions, and their combination facilitates the comprehensive sequential recommendation. However, existing work that focuses on different time scales of user modeling has ignored the negative effects of different time-scale noise, which hinders capturing actual user interests and cannot be resolved by conventional sequential denoising methods. In this paper, we propose a Long- and Short-term Interest Denoising Network (LSIDN), which employs different encoders and tailored denoising strategies to extract long- and short-term interests, respectively, achieving both comprehensive and robust user modeling. Specifically, we employ a session-level interest extraction and evolution strategy to avoid introducing inter-session behavioral noise into long-term interest modeling; we also adopt contrastive learning equipped with a homogeneous exchanging augmentation to alleviate the impact of unintentional behavioral noise on short-term interest modeling. Results of experiments on two public datasets show that LSIDN consistently outperforms state-of-the-art models and achieves significant robustness.

Introduction

Sequential Recommendation (SR) systems aim to predict a user's next interaction by analyzing their historical behavior. However, real-world user data is inherently noisy. This paper identifies two distinct types of noise that degrade recommendation quality: inter-session behavioral noise and unintentional behavioral noise.

Inter-session noise occurs when a user's entire history is treated as a single sequence, forcing unrelated activities (e.g., shopping for electronics in one month and groceries in the next) to interact during model training. This obscures stable, long-term preferences. Unintentional noise refers to accidental clicks or mislabeled items in the short term. Because short-term sequences are typically very brief, a single "noisy" click can carry disproportionate weight, leading to poor immediate recommendations. Existing denoising methods often rely on simple item deletion, which can inadvertently discard valuable signals. The proposed Long- and Short-term Interest Denoising Network (LSIDN) addresses these issues by employing specialized encoders and tailored denoising strategies for each time scale.

The LSIDN Framework

The LSIDN architecture bifurcates the recommendation task into two specialized pipelines: one for long-term interest and another for short-term intent, followed by an adaptive fusion layer.

The overall architecture of the LSIDN framework, featuring specialized encoders for long-term and short-term interests.

Long-term Interest Denoising

To mitigate inter-session noise, LSIDN adopts a hierarchical session-level approach. Instead of processing the entire history as a flat sequence, it divides the user's history into discrete sessions based on temporal gaps (defined by a threshold $\omega$).

Illustration of session division (a) and statistical analysis (b) showing how merged sessions increase entropy and Gini index, indicating higher noise levels.

As illustrated in Figure 2, merging unrelated sessions significantly increases the entropy and Gini index of the interest distribution, confirming that flat sequences introduce substantial noise. LSIDN uses a Transformer to capture intra-session interests and a Gated Recurrent Unit (GRU) to model the inter-session evolution of these interests. This "fencing" strategy prevents irrelevant historical behaviors from polluting the long-term interest representation.

Short-term Interest Denoising

For short-term modeling, the challenge is the sparsity of data in the current session. Traditional denoising methods like random masking can destroy the fragile logic of short sequences. LSIDN introduces Homogeneous Exchanging Augmentation within a Contrastive Learning (CL) framework. By swapping items within a session that are likely to be homogeneous (similar in intent), the model learns robust representations that are less sensitive to individual accidental clicks. This allows the model to capture the underlying "intent" without being tied to a specific, potentially noisy, interaction.

Adaptive Fusion

The final recommendation is generated by fusing the long-term and short-term interest vectors using an attention-based gating mechanism. This allows the model to dynamically weigh the importance of stable preferences versus immediate intentions based on the specific item being predicted. Analysis revealed that "expensive" behaviors (like purchases) are more driven by long-term interests, while "cheaper" behaviors (like clicks) are more influenced by volatile short-term intentions.

Experimental Evaluation

The model was evaluated on two large-scale public datasets: Taobao (general e-commerce) and Fliggy (travel). LSIDN consistently outperformed state-of-the-art baselines (such as SLi-Rec, CLSR, and FEARec) across all metrics, including GAUC and NDCG@10.

Beyond accuracy, the model demonstrated superior robustness. In tests where researchers intentionally introduced adversarial interactions (up to 30% noise), LSIDN's performance remained significantly more stable than its competitors. Ablation studies further confirmed that both the session-level long-term modeling and the contrastive short-term modeling are critical components of the system.

Conclusion

LSIDN provides a robust framework for sequential recommendation by explicitly addressing noise at different time scales. By leveraging the natural temporal structure of user behavior and innovative contrastive augmentation, it captures a more accurate and resilient picture of user interests. Future work will focus on optimizing inference constraints and exploring the model's performance across diverse industrial domains.

Summary updated

BibTeX
@inproceedings{zhang2024denoising,
  author = {Xinyu Zhang and Beibei Li and Beihong Jin},
  title = {{Denoising Long- and Short-term Interests for Sequential Recommendation}},
  booktitle = {Society},
  year = {2024},
  doi = {10.1137/1.9781611978032.63},
}

Loading related content...

Figure