Abstract
Online communities play a critical role in shaping societal discourse and influencing collective behavior. The tendency for people to connect with others who share similar characteristics, known as homophily, often leads to the formation of echo chambers and increased polarization. Traditional methods for measuring homophily rely on content analysis or explicit interaction networks, which are difficult to construct on pseudonymous platforms like Reddit. This work introduces a novel approach using an Inverse Reinforcement Learning (IRL) framework to infer users' behavioral "policies." By applying this method to 5.9 million interactions over six years, we demonstrate that behavioral homophily uncovers distinct user roles and patterns that topical analysis misses. We find that users can exhibit high behavioral similarity even when discussing unrelated topics, and we identify a specific class of users whose primary role is to engage in disagreement.
Introduction: The Challenge of Measuring Similarity
In social media research, "similarity" is typically defined by network adjacency (who you follow) or content (what you say). However, these metrics are often inadequate for platforms like Reddit, which lacks an explicit follower graph and is organized by topic. On Reddit, every user in a specific community might appear similar simply because they use the same keywords, masking deeper differences in how they actually interact with others.
This study addresses this gap by focusing on behavioral homophily. Instead of asking what users talk about, we ask how they engage. Does a user primarily start new threads, or do they only appear to argue in the comments? By mapping these interaction styles, we can identify "kindred spirits" across seemingly unrelated subreddits.
Methodology: Reddit as a Markov Decision Process
To quantify behavior, we treat Reddit users as agents operating within a Markov Decision Process (MDP). The environment is defined by the hierarchical structure of the platform, where users navigate through subreddits, posts, and nested comment trees.
Policy Learning via IRL
We utilize Maximum Entropy Deep Inverse Reinforcement Learning (IRL) to infer a user's internal "reward function." While standard Reinforcement Learning seeks the best actions to maximize a known reward, IRL observes a user's actions and works backward to determine the logic that makes those actions appear optimal.
- State Space: 12 states representing the interaction context (e.g., starting a thread vs. receiving a disagreeing reply).
- Action Space: 6 actions, including posting root comments or replying with specific stances (Agree, Neutral, Disagree).
- Comparison Metric: We use Symmetric Weighted Kullback-Leibler Divergence (SWKL) to measure the difference between two users' inferred policies, weighting the states they visit most frequently.
Data and Labeling
The study analyzed 1.3 TB of data from the Pushshift Reddit API (2015–2022), focusing on 5.9 million interactions across 15 diverse subreddits. To classify the "stance" of comments, we fine-tuned a DeBERTaV3 model to automatically label millions of interactions as Agree, Neutral, or Disagree.
Key Insights: Behavioral Personas
Our IRL model naturally clustered users into five distinct behavioral roles:
- Thread Creators: High volume of new posts, low comment engagement.
- Root Only: Users who answer a post's prompt but do not engage in follow-up discussions.
- Root Favored: Occasional deeper engagement beyond the initial comment.
- Balanced Users: "Social butterflies" who engage across all levels of a thread.
- Disagreers: A class of users whose primary reward appears to be engaging in conflict.
The Topical vs. Behavioral Divide
A major finding is that topical similarity does not guarantee behavioral similarity. For example, users in r/soccer and r/leagueoflegends show almost no topical overlap but possess nearly identical behavioral policies. Both communities act as "performance" spaces with similar commentary styles. Conversely, political subreddits like r/politics show a high concentration of "Disagreers," whereas communities like r/Minecraft have almost none.
Conclusion
By shifting the focus from content to behavior, this IRL-based approach provides a more nuanced understanding of social media dynamics. It reveals that behavioral patterns are often more stable than topical interests, offering a powerful tool for identifying user roles and understanding the underlying mechanics of online polarization and community formation.
Summary updated