Deep Reinforcement Learning with a Combinatorial Action Space for Predicting Popular Reddit Threads

Ji He, Mari Ostendorf, Xiaodong He, Jianshu Chen, Jianfeng Gao, Lihong Li

Introduction

Predicting which social media content will "go viral" is a classic challenge. Traditional supervised learning approaches often treat this as a static classification task, ignoring the sequential and temporal dynamics of how discussions evolve. Researchers from the University of Washington and Microsoft Research have introduced a reinforcement learning (RL) framework that treats popularity tracking as a sequential decision-making problem.

A typical Reddit discussion thread where the 'points' or karma serve as the reward signal for the RL agent.

The study identifies two primary hurdles in this domain. First, the Time Lag: community interest peaks over time, meaning an agent must look beyond immediate feedback to estimate long-term potential. Second, the Combinatorial Action Space: real-world recommendation systems often select a set of items rather than a single one. If a system selects multiple redundant comments, it wastes bandwidth; thus, the model must account for the interdependent utility of a group of actions.

Methodology

The authors frame the task as an RL problem where the state is the history of tracked comments and the action is selecting $K$ new comments from $N$ available candidates. They compared several deep Q-learning architectures to find the most effective way to model these sets:

  • PA-DQN & DRRN (Baselines): Standard architectures that concatenate state/action text or use separate encoders. These struggle to capture the "set" nature of the action.
  • DRRN-Sum: A simpler approach that sums Q-values for individual comments, assuming they are independent.
  • DRRN-BiLSTM (The Innovation): This model generates embeddings for each candidate comment and feeds them into a Bi-directional Long Short-Term Memory (Bi-LSTM) network. The Bi-LSTM captures the relationships between selected comments, allowing the model to account for redundancy or complementary information before producing a final Q-value for the entire set.
Comparison of deep Q-learning architectures evaluated in the study, ranging from standard per-action models to the proposed Bi-LSTM approach.

To handle the massive computational cost of evaluating every possible combination of $K$ items (an "N-choose-K" problem), the authors utilized random sub-sampling during training.

Experimental Results

The study utilized data from five diverse subreddits, including r/askscience and r/worldnews, focusing on discussion trees with at least 100 comments.

Key Insights

  1. RL vs. Myopic Policies: The researchers found that "myopic" (greedy) policies—which only prioritize immediate karma—performed significantly worse than RL. This confirms that predicting popularity requires estimating future rewards that are not immediately visible.
  2. The Power of the Bi-LSTM: The DRRN-BiLSTM was the most effective at characterizing "combined utility." Because it is non-linear, it can recognize when two comments are saying the same thing and penalize the total Q-value, effectively encouraging diversity in the selected set.
  3. Zero-Shot Generalization: Impressively, the DRRN-BiLSTM model generalized well to different set sizes ($K$) at test time, even when trained on a fixed $K$. This flexibility is crucial for real-world deployment.

On r/askscience, the DRRN-BiLSTM achieved a mean reward (accumulated karma) of 711.1, outperforming the standard DRRN (694.9) and linear baselines (656.2).

Limitations and Future Work

While successful, the current model relies on a Bag-of-Words (BoW) approach for initial text embeddings. The authors suggest that integrating more sophisticated word encoders or explicit temporal features (such as exact posting times) could further refine performance. Additionally, finding more principled ways to handle the combinatorial explosion of the action space remains a key area for future research.

Summary updated

BibTeX
@inproceedings{he2016deep,
  author = {Ji He and Mari Ostendorf and Xiaodong He and Jianshu Chen and Jianfeng Gao and Lihong Li and Li Deng},
  title = {{Deep Reinforcement Learning with a Combinatorial Action Space for Predicting Popular Reddit Threads}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1189},
}
Figure