TL;DR
This paper introduces evently, an R package designed to make sophisticated modeling of online information cascades (like retweets) accessible to researchers without deep programming expertise. By leveraging Hawkes processes, evently allows for the analysis of temporal dynamics, prediction of cascade popularity, and crucially, the disentanglement of influential users from bots based on their reshare patterns.
What Problem Does This Paper Address?
The spread of information and opinions on social media is a critical area of study, impacting everything from public discourse to the spread of misinformation. While researchers in social sciences, political science, and communication often analyze these dynamics, they frequently lack accessible, user-friendly tools. Existing computational tools for modeling information cascades often require extensive programming skills, have complex setups, or make unrealistic assumptions. This creates a gap where valuable social media data remains underutilized. The authors aim to bridge this gap by providing a comprehensive, yet accessible, R package that simplifies the modeling of reshare cascades and the characterization of online users based on their diffusion behavior.
Methods
The core of evently is its implementation of Hawkes processes, a type of self-exciting point process. These processes are well-suited for modeling cascades because the occurrence of an event (like a retweet) increases the probability of future events. evently supports various parametric forms for the kernel functions that govern this "self-exciting" behavior, including exponential and power-law decays.
Key functionalities include:
- Data Preprocessing: Tools to parse raw data (e.g., from Twitter APIs) into cascade structures, extracting event times and user attributes.
- Cascade Modeling: Fitting Hawkes process models (including marked and finite-population variants like HawkesN and SEISMIC) to observed reshare cascades. This is done efficiently using optimization tools like AMPL.
- Cascade Simulation: Generating synthetic cascades from fitted models, allowing for exploration of potential future unfoldings.
- User Characterization: Jointly modeling cascades initiated by the same user to derive user-specific models. This enables the computation of dynamic user descriptors like the "viral score" (expected cascade size) and other temporal features.
- Popularity Prediction: Estimating the final size of a cascade.
The package emphasizes ease of use with extensive documentation and tutorials, targeting non-experts in modeling.
Datasets
The primary dataset used for demonstration is a collection of tweets related to the COVID-19 pandemic in 2020. This dataset was initially collected by Chen et al. [3] and was limited to tweets posted on January 31st. The authors note that they obtained approximately 68.8% of the original dataset due to tweet deletions. For user analysis, they also incorporate external metrics from a tool called BirdSpotter [15] to assess user "botness" and "influence."
Key Insights and Ideas
- Bridging the Expertise Gap: The most significant contribution is the creation of a tool that democratizes advanced cascade modeling for social scientists and other practitioners who may not be computational experts.
- User-Centric Analysis: By modeling cascades at the user level,
eventlycan reveal distinct patterns of information diffusion. - Disentangling Users: The paper demonstrates that characterizing users solely by their reshare cascade dynamics can effectively distinguish between influential users and automated accounts (bots). This is a crucial insight for understanding online discourse integrity.
- Accessibility Matters: The emphasis on R, comprehensive documentation, and tutorials is key to the tool's potential impact.
Key Results
The paper showcases evently's capabilities through an end-to-end analysis of COVID-19 discussions on Twitter.
- Model Fitting: The tool successfully fits Hawkes process models to cascades, allowing for the visualization of learned kernel functions (Figure 2a). For instance, they show that one user's tweets have a higher initial intensity but faster decay, while another's influence lasts longer.
- Simulation and Prediction:
eventlycan simulate cascades and predict their final popularity. For a specific cascade, predictions using a marked power-law Hawkes process and the SEISMIC model yielded final sizes of approximately 458 and 730, respectively, with the actual observed size being 472. - User Classification: A key qualitative result is the visualization (Figure 3) using t-SNE on temporal diffusion features. This visualization clearly separates users into clusters, and importantly, shows that users classified as bots tend to be less influential and group together, while highly influential users are less likely to be bots. The viral score for one user was found to be 7.40.
Limitations and Future Work
- Data Availability: The reliance on Twitter API data means that the analysis is subject to data access limitations and potential biases (e.g., deleted tweets).
- Model Assumptions: While Hawkes processes are powerful, they are still models with inherent assumptions about the nature of diffusion.
- Future Work: The authors suggest extending
eventlyto incorporate more complex models, explore different types of online cascades beyond retweets, and further refine user characterization techniques. They also highlight the potential foreventlyto be used in a wider range of applications for understanding online social dynamics.
Summary updated