Introduction
Interactive Recommender Systems (IRS) are designed to adapt to evolving user preferences through continuous feedback loops. While Reinforcement Learning (RL) provides a robust mathematical framework for such long-term planning, it faces a significant "curse of dimensionality" when applied to large-scale catalogs. In a system with tens of thousands of items, standard RL agents like Deep Q-Networks (DQN) must evaluate every possible action (item) to make a single recommendation. This $O(N)$ complexity is computationally prohibitive for real-time applications. Furthermore, attempts to map discrete items into continuous spaces often suffer from a "continuity gap," where the agent's selected point in space does not align perfectly with a real item, leading to suboptimal performance.
To address these challenges, this paper introduces Tree-structured Policy Gradient Recommendation (TPGR). By organizing items into a balanced hierarchical tree, TPGR transforms a massive search problem into a series of efficient, localized decisions, significantly improving both recommendation speed and accuracy.
The TPGR Framework
The core innovation of TPGR is the decomposition of the massive action space into a hierarchical structure. Instead of selecting one item from the entire catalog at once, the agent navigates a balanced tree from the root to a leaf node.
At each node in the tree, a dedicated "policy network"—a lightweight neural network—determines which child node to visit next. This path-based decision process reduces the computational complexity from $O(|A|)$ to $O(d \cdot |A|^{1/d})$, where $d$ is the depth of the tree. For a large-scale catalog, this represents the difference between a linear scan and a logarithmic search, enabling real-time performance even with tens of thousands of items.
State Representation and Clustering Strategy
To capture the temporal dynamics of user behavior, TPGR utilizes a Simple Recurrent Unit (SRU). The SRU processes the sequence of a user's past interactions (items and rewards) to generate a latent state representation $s_t$. This is augmented with statistical features, such as the count of recent positive and negative interactions, to provide the policy networks with a comprehensive view of the user's current status.
A critical component of the framework is the initial construction of the hierarchical tree. The authors explored various clustering approaches and item representations, including Variational Autoencoders (VAE) and Matrix Factorization (MF).
Empirical results demonstrated that PCA-based clustering on raw ratings consistently outperformed other methods. PCA proved more robust to the high-dimensional and sparse nature of recommendation data, ensuring that the tree structure effectively captures item similarities. This "structural prior" allows the RL agent to learn more efficiently by grouping related items within the same branches.
Experimental Evaluation
The TPGR framework was evaluated using two large-scale datasets: MovieLens (10M) and Netflix (100M). Given the offline nature of these datasets, the authors developed an environment simulator to model user reactions to sequences of recommendations.
Key Results
- Performance: TPGR consistently outperformed state-of-the-art RL methods (e.g., DQN, DDPG) and traditional baselines (e.g., LinearUCB) across metrics such as Precision@32 and Recall@32.
- Efficiency: The speedup was dramatic. On the Netflix dataset, TPGR made 1 million recommendations in approximately 3.9 seconds, compared to over 3,000 seconds for a standard DDPG approach.
- Scalability: The efficiency gap between TPGR and monolithic RL models widens as the number of items increases, highlighting its suitability for production-scale systems.
Conclusion
TPGR offers a scalable solution for interactive recommendation by leveraging tree structures to tame large action spaces. By combining hierarchical clustering with policy gradients, the framework achieves logarithmic complexity without sacrificing the discrete nature of the recommendation task. Future work will focus on dynamic tree updates to accommodate new items and validating the system in live online environments.
Summary updated