OSoMe: The IUNI observatory on social media

Clayton A. Davis, Giovanni Luca Ciampaglia, Luca Maria Aiello, Keychul Chung, Michael D. Conover, Emilio Ferrara, Alessandro Flammini, Geoffrey Charles Fox, Xiaoming Gao, Bruno Gonçalves, Przemyslaw A. Grabowicz, Kibeom Hong, Pik-Mai Hui, Scott McCaulay, Karissa McKelvey, Mark R. Meiss, Snehal Patil, Chathuri Peli Kankanamalage, Valentin Pentchev, Judy Qiu, Jacob Ratkiewicz, Alex Rudnick, Benjamin Serrette, Prashant Shiralkar, Onur Varol, Lilian Weng, Tak-Lon Wu, Andrew J. Younge, Filippo Menczer

Introduction

Social media platforms have become essential "sensors" for observing human behavior at scale. However, a significant "technical wall" often prevents researchers in the social and behavioral sciences from utilizing this data. Accessing, storing, and processing "Big Data" from platforms like Twitter requires specialized expertise in distributed systems and API management that many researchers lack. Furthermore, commercial APIs frequently offer only limited real-time views, making historical analysis difficult and prone to statistical biases.

The IUNI Observatory on Social Media (OSoMe) addresses these challenges by providing an open-source analytics platform that democratizes access to massive social media datasets. By offering a suite of interactive tools to analyze over 70 billion tweets, OSoMe allows researchers to study information diffusion and online discourse without requiring advanced software engineering skills.

System Architecture and Methods

OSoMe is built upon the Apache Big Data Stack (ABDS), specifically engineered for scalability and high-performance processing. The system architecture is designed to bridge the gap between heavy-duty backend storage and lightweight, user-friendly frontend applications.

The OSoMe system architecture, illustrating the flow from data collection to interactive visualization tools.

Key technical components include:

  • Data Collection: A continuous ingestion system that captures a random 10% stream of public tweets from the Twitter Streaming API.
  • Storage: A NoSQL distributed database (HBase) utilizing a custom IndexedHBase module. This allows for flexible text indexing that supports efficient queries based on temporal or network context.
  • Analytics Engine: Large-scale data tasks, such as constructing retweet networks or calculating global trends, are processed using Hadoop and YARN.
  • Middleware: A distributed task queue using Celery and RabbitMQ connects the backend infrastructure to the web frontend, ensuring responsive user interactions.

Data and Analytics Capabilities

The primary dataset consists of approximately 70 billion public tweets collected since mid-2010. This 10% random stream typically yields between $10^6$ and $10^8$ tweets per day, including rich metadata such as timestamps, geolocations, and interpersonal ties (mentions and retweets).

OSoMe emphasizes that simply counting hashtags is insufficient for understanding social phenomena. Instead, the platform focuses on network topology and diffusion networks. By visualizing how information cascades through a social graph, researchers can identify influential users, detect "tight-knit communities," and uncover patterns of information spread.

A diffusion network visualization generated by OSoMe, showing the complex structure of information flow between users.

Beyond network analysis, the platform provides tools for:

  • Temporal Trends: Processing multi-terabyte archive queries in approximately 5 seconds.
  • Geographic Signatures: Aggregating geolocated tweets into heatmaps to reveal the spatial distribution of attention during major events.
  • Manipulation Detection: Identifying "astroturf" campaigns and social bots designed to mislead public opinion.

Results and Performance

The platform's performance enables "interactive exploration" rather than traditional batch processing. While trend analysis is nearly instantaneous, more computationally intensive tasks like geographic visualizations typically complete within 30 to 90 seconds. OSoMe has been successfully used to map major social phenomena, such as the "Ice Bucket Challenge" network and global sporting events like the Super Bowl.

For advanced users, OSoMe provides a programmatic API (via Mashape) to retrieve tweet IDs, counts, and time-series data, extending the platform's utility beyond the web interface.

Limitations and Future Directions

Despite its scale, OSoMe faces certain constraints. System failures have occasionally caused gaps in the historical record. Additionally, due to Twitter's Terms of Service, the platform cannot provide raw tweet text; it provides numeric tweet IDs that researchers must "rehydrate" via official APIs. The declining percentage of geolocated tweets (from 3% to 0.3%) also limits the granularity of spatial analysis.

Future work involves integrating more advanced tools like BotOrNot for automated bot detection and experimenting with edge-bundling techniques to overlay diffusion networks directly onto geographic maps.

Summary updated

BibTeX
@article{davis2016osome,
  author = {Clayton A. Davis and Giovanni Luca Ciampaglia and Luca Maria Aiello and Keychul Chung and Michael D. Conover and Emilio Ferrara and Alessandro Flammini and Geoffrey Charles Fox and Xiaoming Gao and Bruno Gonçalves and Przemyslaw A. Grabowicz and Kibeom Hong and Pik-Mai Hui and Scott McCaulay and Karissa McKelvey and Mark R. Meiss and Snehal Patil and Chathuri Peli Kankanamalage and Valentin Pentchev and Judy Qiu and Jacob Ratkiewicz and Alex Rudnick and Benjamin Serrette and Prashant Shiralkar and Onur Varol and Lilian Weng and Tak-Lon Wu and Andrew J. Younge and Filippo Menczer},
  title = {{OSoMe: The IUNI observatory on social media}},
  journal = {PeerJ Prepr.},
  year = {2016},
  doi = {10.7287/peerj.preprints.2008v1},
}
Figure