Command Palette
Search for a command to run...
역강화학습을 통한 소셜 미디어 내 행동적 동질성: Reddit 사례 연구
역강화학습을 통한 소셜 미디어 내 행동적 동질성: Reddit 사례 연구
Lanqin Yuan Philipp J. Schneider Marian-Andrei Rizoiu
초록
온라인 커뮤니티는 사회 담론을 형성하고 현실 세계의 집단적 행동에 영향을 미치는 데 중요한 역할을 한다. 사람들이 유사한 특성이나 관점을 가진 이들과 연결되는 경향, 즉 동질성(homophily)은 에코 챔버 형성에 핵심적인 역할을 하며, 이는 양극화와 분열을 더욱 심화시킨다. 온라인 커뮤니티의 동질성을 다루는 기존 연구들은 일반적으로 콘텐츠 기반 또는 인접성 기반 방법, 즉 명시적 상호작용 네트워크 구축이나 토픽 분석 등을 통해 동질성을 추론해 왔다. 이러한 방법은 상호작용 네트워크를 쉽게 구축할 수 없는 플랫폼에서는 한계가 있으며, 플랫폼 전반에 걸친 사용자 상호작용의 복잡한 특성을 포착하지 못한다. 본 연구는 사용자 동질성을 정량화하는 새로운 접근법을 제시한다. 먼저 역강화학습(Inverse Reinforcement Learning, IRL) 프레임워크를 사용하여 사용자들의 정책(policy)을 추론하고, 이를 행동적 동질성의 척도로 활용한다. 본 방법을 Reddit에 적용하여 6년간 590만 건의 상호작용에 대한 사례 연구를 수행하였으며, 이를 통해 서로 다른 커뮤니티 간에 상이한 행동 패턴과 사용자 역할이 존재함을 밝혔다. 또한 전통적인 콘텐츠 기반 동질성과 우리의 행동적 동질성 척도를 비교 검증함으로써, 소셜 미디어 역학 및 그보다 넓은 사회적 함의를 분석하는 데 강력한 도구를 제공한다. 그 중에서도, 축구와 e스포츠처럼 전혀 다른 주제를 논할 때(낮은 토픽 동질성)에도 사용자들이 매우 유사하게 행동할 수 있다는 것(높은 행동적 동질성), 그리고 Reddit에는 다른 사람과 반론을 제기하는 것이 목적처럼 보이는 사용자 계층이 전체적으로 존재한다는 것을 발견하였다.
One-sentence Summary
Researchers at the University of Technology Sydney and EPFL propose using Inverse Reinforcement Learning to infer user policies as a measure of behavioral homophily, applied to 5.9 million Reddit interactions over six years, revealing that users can exhibit high behavioral homophily across unrelated topics and identifying a class of users whose primary behavior is disagreement.
Key Contributions
- A method based on inverse reinforcement learning infers user policies from hierarchical Reddit discussions and uses them as a measure of behavioral homophily, capturing behavior when explicit interaction networks are unavailable.
- The method is applied to a six-year case study of 5.9 million Reddit interactions across diverse subreddits, revealing distinct behavioral patterns and user roles, including high behavioral similarity across unrelated topics and participation centered on disagreement.
- The behavioral homophily measure is compared with traditional topic-based homophily, showing alignment while identifying behavioral similarities across distinct topics and consensus mechanisms that shape engagement.
Introduction
Social media platforms shape public discourse, information flow, and even financial markets, yet their online communities often involve granular individual behaviors that macro-level network analysis misses. On platforms such as Reddit, users interact in hierarchical, anonymous subreddits without explicit follower ties, making traditional homophily measures based on social connections, hashtags, or topical similarity less informative. The authors leverage inverse reinforcement learning to infer hidden reward policies from user actions such as posting, replying, and reaching agreement within nested discussions. They use the learned policies to define a behavioral homophily measure and study Reddit communities, offering a way to examine engagement patterns, polarization, and community dynamics when conventional social tie data is unavailable.
Dataset
-
The authors use Reddit as the primary source, collecting data with the Pushshift Reddit API. The raw corpus consists of 1.3 TB of compressed text covering all of Reddit from January 1, 2015 to January 1, 2022.
-
They begin from Reddit’s hierarchical structure, which contains subreddits, posts, root comments, and nested replies. This structure is used to define both direct user activity and indirect interaction structure.
-
The authors construct a seed set of subreddits that spans general interest communities and controversial or niche communities. They do not use publicly unavailable subreddit subscriptions. Instead, they define a user’s home subreddit as the subreddit where the user is most active based on comments across Reddit.
-
For user sampling, the authors rank users by activity in each seed subreddit for each year, where activity means posts or comments. They add the top 50 most active users per subreddit per year and randomly sample 50 users from each quartile of the yearly ranking, producing 250 users per subreddit per year.
-
To reduce the cost of identifying home subreddits, they randomly sample one third of the initial user set, creating an intermediate subset of 6,000 users. From this subset, they identify 1,331 unique home subreddits. They select the 15 home subreddits with the most home users and sample 45 users from each, matching the size of the smallest selected subreddit.
-
The final user dataset contains 662 users after removing banned users and users with deleted accounts.
-
For each selected user, the authors extract direct activity, including created threads, root comments, and replies. They also extract indirect activity, restricted to first descendant replies or responses directly connected to the user’s action in Reddit’s nested comment graph.
-
Content from deleted accounts or suspended posts is marked unavailable. During preprocessing, users affected by such missing data are omitted to avoid noise in downstream analysis.
-
The authors add stance labels to comment reply interactions using three categories: agree, neutral, and disagree. For this labeling step, they use the DEBAGREEMENT dataset, which contains labeled parent comment and reply pairs from five subreddits: r/BlackLivesMatter, r/Brexit, r/climate, r/democrats, and r/Republican. The parent and reply text are concatenated for classification.
-
They also build a topic based dataset component using BERTopic. From the sampled posts, they derive 484 distinct topics and represent each user with a vector of topic usage frequencies over the observation period.
-
The resulting dataset combines Reddit activity logs, selected user identifiers, home subreddit assignments, direct and indirect interaction records, stance labels, and topic frequency vectors. The authors use it to measure behavioral homophily and to construct a topic based homophily baseline.
Method
The authors construct a behavioral homophily inference framework that combines community selection, activity labeling, inverse reinforcement learning, and similarity scoring. The system begins with identifying meaningful subreddit communities, continues with selecting diverse users and collecting their conversational activity, then labels each interaction with stance and topic features, learns individualized user policies through inverse reinforcement learning, and finally measures behavioral and topical similarity. As shown in the framework diagram below:
The pipeline first handles community construction by defining each user’s home subreddit as the subreddit in which the user is most active across all of Reddit. Because Reddit subscriptions are not publicly observable, this activity-based definition provides a practical proxy for genuine community membership. The method then selects users by ranking activity within seed subreddits and sampling across activity quartiles, ensuring that the analysis is not restricted only to highly active accounts.
For data collection, the method models Reddit activity as a hierarchical conversational environment. Direct activity includes user-initiated actions such as creating threads, posting root comments, and posting replies. Indirect activity captures the first-order responses triggered by those actions. This hierarchical structure is treated as a directed acyclic graph, where each action may have descendants, and only the immediate child response is used for modeling interaction dynamics. The Reddit hierarchy diagram below illustrates this structure:
The labeling stage introduces two feature streams used later in similarity analysis. The first is argumentation classification, where each comment is assigned to one of three stance categories: agree, neutral, or disagree. This is implemented by fine-tuning a transformer-based language model on labeled parent-reply comment pairs. The second is topic classification, where a topic modeling approach assigns each activity item to one of a finite set of latent discussion topics. Each user is then represented by a topic frequency vector, which later supports topic-based homophily measurement.
The core inference module uses maximum entropy deep inverse reinforcement learning to recover latent user rewards from observed behavior. Instead of assuming a known reward function and learning optimal actions, the method observes user trajectories and infers the reward structure that best explains those trajectories. Each user is treated as an independent agent operating within the Reddit environment. The agent’s trajectory consists of events involving the user across the platform, mapped into state-action feature pairs. The environment state includes categories such as creating an initial thread, posting an initial root comment, replying with agreement, neutrality, or disagreement, receiving replies, and engaging with already active discussions. The agent chooses among actions such as waiting for a reply, creating a new thread, posting a root comment, or posting a reply with a given stance.
The state space contains 12 states, while the action space contains 6 actions. The reward function is parameterized by a neural network:
R(s)=w⊤φl(s),with layerwise transformations
φ1(s)=σ(W1s),and for j∈{2,…,l},
φj(s)=σ(Wjφj−1(s)).Here, w is a weight vector, σ is a nonlinear activation function, and the network parameters are
θ={W1,…,Wl}.The reward model is trained by maximizing the likelihood of observed trajectories under a maximum entropy framework. This encourages a reward interpretation that explains the user’s behavior without committing to unnecessarily deterministic assumptions about unobserved preferences. Policy learning proceeds through soft value iteration, producing a user-specific policy πu that represents the action distribution in each state. For each user, the resulting policy can be viewed as a 12×6 matrix, where each row gives the probability distribution over the six possible actions conditioned on a given state.
Homophily is then inferred by comparing these learned policies. Two users are considered behaviorally similar when their policy distributions are similar across states that each user frequently visits. To formalize this, the method introduces a state visitation weight for user u and state s:
wus=∣τu∣∑k=1∣τu∣1{sk=s},where τu={(s1,a1),…,(s∣τu∣,a∣τu∣)} is the observed trajectory and 1{sk=s} is an indicator function. The proposed divergence between two users’ policies is the symmetric weighted Kullback-Leibler divergence:
SWKL(πu,πu′)=21s∈S∑(wusDKL(πus∥πu′s)+wu′sDKL(πu′s∥πus)).This measure emphasizes states that are behaviorally representative for each user and reduces the influence of rare or noisy state visits. For topic-based comparison, the method constructs a user-topic vector vu from topic frequencies and computes cosine distance between users:
cos(vu,vu′)=1−∥vu∥∥vu′∥vu⊤vu′.Together, the inverse reinforcement learning module learns individualized action-selection patterns from observed Reddit trajectories, while the homophily inference module converts those learned policies into a quantitative measure of behavioral similarity and combines it with topical alignment for community-level analysis.
Experiment
The experiments use Reddit home subreddits to evaluate homophily along both topical and behavioral dimensions. They find that topical alignment is generally strong within subreddits, while behavioral alignment is weaker and can diverge from shared interests, as shown by distinct behavioral personas and community-specific engagement patterns. Further analysis shows that topics and behaviors are mostly correlated, though temporal dynamics vary by user role and highlight the value of combining topical and behavioral signals.
The case study examines Reddit communities spanning open question asking, identity support, politics, gaming, and humor. It samples users across different activity levels and compares topic alignment with behavioral convergence across communities. The surrounding analysis suggests that similar user behavior can cross topic boundaries, while topic interests and engagement patterns show different stability over time. The examined subreddits cover political, social identity, question answering, gaming, and humor topics. The sampling design includes users from different activity quartiles rather than only the most active accounts. Users whose behavior is closer to their home subreddit also appear closer to users from another community despite different topics. Overall homophily variability appears stable over time, but different user roles show distinct topic and behavior patterns.
The study evaluates Reddit communities covering open question asking, identity support, politics, gaming, and humor, sampling users across activity levels to compare topic alignment and behavioral convergence. It finds that similar user behavior can appear across topic boundaries, while topic interests and engagement patterns show different stability over time. Overall homophily variability remains stable, but user roles exhibit distinct topic and behavior patterns.