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."
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.
Multi-granularity Interest Retrieval Module (MIRM)
Unlike standard models that use a single query, MIRM employs three distinct queries to retrieve relevant historical behaviors:
- Target Query: Represents the specific item being predicted (e.g., black sneakers).
- Local Query: Summarizes recent behavior using a Gated Recurrent Unit (GRU) to capture immediate trends (e.g., a recent interest in sports).
- 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