Multi-granularity Interest Retrieval and Refinement Network for Long-Term User Behavior Modeling in CTR Prediction

Xiang Xu, Hao Wang, Wei Guo, Luankang Zhang, Wanshan Yang, Runlong Yu, Yong Liu, Defu Lian, Enhong Chen

Introduction

In modern recommendation systems, predicting Click-Through Rate (CTR) relies heavily on understanding user behavior. While short-term behavior is easily modeled, "long-term" behavior—encompassing thousands of historical actions—presents significant computational and modeling challenges. Current state-of-the-art approaches often utilize a two-stage "cascading" framework: retrieving a subset of relevant items and then modeling their relationship to a target item.

However, these methods typically suffer from two major flaws. First, they rely on narrow retrieval, focusing solely on items similar to the current target item while ignoring broader contextual or stable interests. Second, they often neglect the internal sequential relationships within the retrieved history, treating the subset as a simple "bag of items."

Illustration of multi-granularity user interests: global-aware, target-aware, and local-aware.

The Multi-granularity Interest Retrieval and Refinement Network (MIRRN) addresses these flaws by capturing user interests across three distinct scales: target-specific, local-contextual, and global-stable.

Methodology

MIRRN is composed of three primary modules designed for efficient and comprehensive interest modeling, moving beyond simple target-based retrieval to a more holistic view of the user.

The overall architecture of the Multi-granularity Interest Retrieval and Refinement Network (MIRRN).

Multi-granularity Interest Retrieval Module (MIRM)

Unlike standard models that use a single query, MIRM employs three distinct queries to retrieve relevant historical behaviors:

  1. Target Query: Represents the specific item being predicted (e.g., black sneakers).
  2. Local Query: Summarizes recent behavior using a Gated Recurrent Unit (GRU) to capture immediate trends (e.g., a recent interest in sports).
  3. Global Query: Identifies long-term "anchor" interests through clustering (e.g., a lifelong preference for black clothing).

To maintain industrial-level speed, MIRM uses SimHash to generate binary signatures, enabling rapid retrieval via Hamming distance across massive behavioral logs.

Behavior Sequence Refinement Module (BSRM)

To move beyond a "bag of items" approach, BSRM refines the retrieved sequences to understand item interactions. The authors propose Target-Aware Position Encoding (TAPE), which encodes item positions relative to the target rather than just chronological order.

The core innovation is the Multi-Head Fourier Transformer (MHFT). By utilizing the Fast Fourier Transform (FFT), MHFT performs global convolutions in the frequency domain. This achieves a global receptive field similar to standard self-attention but reduces computational complexity from $O(N^2)$ to $O(N \log N)$, making long-sequence modeling feasible for real-time production.

Multi-granularity Interest Activation Module (MIAM)

Finally, a multi-head target attention mechanism adaptively weighs the retrieved interests from different granularities. This allows the model to determine which scale (target, local, or global) is most predictive for the current user context.

Experimental Results

MIRRN was evaluated against 14 baseline models (including SIM, DIEN, and TWIN) on three large-scale e-commerce datasets: Taobao, Alipay, and Tmall.

Performance and Efficiency

The model achieved state-of-the-art performance, with AUC improvements of up to 1.35%. In the CTR domain, such gains are highly significant and can lead to massive revenue increases. Crucially, MIRRN maintains high efficiency; despite its sophisticated modeling, it only increases inference latency by approximately 10-12% compared to the fastest baselines.

Industrial Impact

A week-long A/B test on the Huawei Music App demonstrated the model's real-world efficacy. MIRRN led to a 1.32% increase in the average number of songs listened to and a 0.55% increase in total listening time, proving its value in a live industrial environment.

Conclusion

MIRRN demonstrates that user interests are hierarchical and that modeling them at multiple granularities provides a more holistic view of behavior. By leveraging the frequency domain for efficient sequence refinement, MIRRN bridges the gap between complex modeling and the real-time requirements of industrial recommendation systems. Future research will focus on even more nuanced scales of interest and dynamic updates for global preference clusters.

Summary updated

BibTeX
@inproceedings{xu2024multi,
  author = {Xiang Xu and Hao Wang and Wei Guo and Luankang Zhang and Wanshan Yang and Runlong Yu and Yong Liu and Defu Lian and Enhong Chen},
  title = {{Multi-granularity Interest Retrieval and Refinement Network for Long-Term User Behavior Modeling in CTR Prediction}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  url = {https://openreview.net/forum?id=oNDrChY5DZ},
}
Figure