TL;DR
Standard recommendation algorithms often trap users in "filter bubbles," only showing them items similar to what they’ve already seen. While Contextual Bandit (CB) algorithms can break these loops through exploration, they are computationally too expensive to use on millions of items. This paper introduces HCB and pHCB, two hierarchical bandit algorithms that use a tree-based item structure to reduce exploration complexity from linear to logarithmic, enabling efficient exploration across the entire item space.
What Problem Does This Paper Address?
Most recommender systems suffer from closed-loop effects: the system recommends items based on past behavior, the user interacts with those items, and the system becomes even more biased toward those specific interests. This creates "information cocoons."
To solve this, researchers use Contextual Bandits (CB), which balance exploitation (showing what you like) with exploration (trying new things). However, classic CB algorithms like LinUCB require calculating a score for every single item in the catalog. In modern systems with millions or billions of items, this is impossible to do in real-time. Consequently, exploration is usually relegated to a tiny "post-ranking" stage, which defeats the purpose of discovering truly new interests from the "whole world" of items.
Methods
The authors propose moving exploration to the recall stage (the beginning of the recommendation pipeline) by organizing items into a hierarchy.
- Tree Construction: Instead of using a manual category taxonomy (which can be imbalanced), they use a bottom-up clustering approach. They generate item embeddings based on content and user co-click behavior, then use K-Means to group similar items into nodes, repeating this until they reach a single root.
- HCB (Hierarchical Contextual Bandit): This treats the tree as a series of decisions. Starting at the root, the agent uses a bandit algorithm to pick the best child node, moves down to that node, and repeats until it reaches a leaf (an item). Feedback from the user is then back-propagated up the entire path.
- pHCB (progressive Hierarchical Contextual Bandit): The authors noted that HCB suffers from "error propagation"—if you make a wrong choice at the top of the tree, the rest of the path is doomed. pHCB solves this by maintaining a receptive field of "visible nodes." It starts at the top and only "expands" a node into its children once the system has gathered enough confident positive feedback about that specific branch. This allows the system to explore multiple branches of interest simultaneously.
Datasets
The researchers evaluated their methods on two large-scale public datasets:
- MIND: A news recommendation dataset from Microsoft News click logs (161k items, 24M interactions).
- Taobao: An e-commerce dataset (4.1M items, 100M interactions). They used Sentence-BERT for news embeddings and GRU models to learn user/item embeddings from behavior logs.
Key Insights and Ideas
- Logarithmic Efficiency: By using a tree, the computational cost drops from $O(N)$ to $O(\log N)$. This is the difference between checking 1,000,000 items and making ~20 binary decisions.
- The "Error Propagation" Trap: In a deep tree, a single greedy mistake at the root level can hide entire categories of items forever.
- Adaptive Receptive Fields: pHCB’s most novel contribution is the idea that the "resolution" of exploration should increase as we learn more about a user. We start with broad categories (coarse interests) and only dive into specific sub-categories (fine interests) once a user shows a clear preference.
- Breaking the Loop: The authors proved that by exploring the "whole world" at the recall stage, the system learns a much more accurate and diverse user profile than standard exploitation-heavy models.
Key Results
The proposed models were tested against several baselines, including standard LinUCB and other hierarchical models like HMAB.
- Performance Gains: On the Taobao dataset at 2000 rounds, pHCB improved cumulative rewards by 280% compared to standard LinUCB.
- Flexibility: The hierarchical framework is "base-model agnostic." The authors showed it works effectively whether the underlying bandit logic is LinUCB, Thompson Sampling, or $\epsilon$-greedy.
- Alleviating Bias: In a simulation designed to measure "closed-loop effects," HCB and pHCB achieved significantly lower LogLoss and higher AUC than popular exploitation models like Transformers and GRUs, proving they are better at capturing diverse user interests over time.
Limitations and Future Work
- Static Tree Structure: Currently, the item tree is built once at the beginning. In real-world scenarios, new items arrive constantly. The authors note that extending this to a non-static/dynamic tree is a necessary next step.
- Reward Estimation: The current model uses linear reward estimation. The authors suggest that integrating state-of-the-art deep learning for reward estimation within the tree structure could further improve accuracy.
- Clustering Quality: The performance is heavily dependent on the quality of the initial item embeddings used for clustering. If the initial "map" of the world is bad, the exploration will be less effective.
Summary updated