[Paper Review] Using Hadoop for Large Scale Analysis on Twitter: A Technical Report
This paper proposes MR-SAT, a scalable sentiment analysis framework built on Hadoop's MapReduce model that leverages hashtags and emoticons as automatic sentiment labels to classify tweet sentiment in a distributed, parallel manner. By integrating Bloom filters to compress feature vectors, the method achieves significant storage reduction (15–20%) and improved I/O efficiency, resulting in faster execution and linear scalability across large-scale Twitter datasets with high classification accuracy.
Sentiment analysis (or opinion mining) on Twitter data has attracted much attention recently. One of the system's key features, is the immediacy in communication with other users in an easy, user-friendly and fast way. Consequently, people tend to express their feelings freely, which makes Twitter an ideal source for accumulating a vast amount of opinions towards a wide diversity of topics. This amount of information offers huge potential and can be harnessed to receive the sentiment tendency towards these topics. However, since none can invest an infinite amount of time to read through these tweets, an automated decision making approach is necessary. Nevertheless, most existing solutions are limited in centralized environments only. Thus, they can only process at most a few thousand tweets. Such a sample, is not representative to define the sentiment polarity towards a topic due to the massive number of tweets published daily. In this paper, we go one step further and develop a novel method for sentiment learning in the MapReduce framework. Our algorithm exploits the hashtags and emoticons inside a tweet, as sentiment labels, and proceeds to a classification procedure of diverse sentiment types in a parallel and distributed manner. Moreover, we utilize Bloom filters to compact the storage size of intermediate data and boost the performance of our algorithm. Through an extensive experimental evaluation, we prove that our solution is efficient, robust and scalable and confirm the quality of our sentiment identification.
Motivation & Objective
- To address the scalability limitations of centralized sentiment analysis systems that can only process a few thousand tweets.
- To enable large-scale, distributed sentiment analysis on Twitter by leveraging the Hadoop MapReduce framework.
- To reduce storage and I/O overhead in feature vector representation using Bloom filters without sacrificing classification performance.
- To achieve high accuracy and scalability in both binary and multi-class sentiment classification on massive Twitter datasets.
- To provide a robust, efficient, and extensible framework for real-time sentiment analysis on big data.
Proposed method
- The framework uses hashtags and emoticons as automatic sentiment labels to eliminate manual annotation, enabling large-scale training data generation.
- It constructs high-dimensional feature vectors from tweet content, using term frequency and TF-IDF weighting to represent textual features.
- Bloom filters are employed to compactly represent feature sets, reducing storage and I/O costs during MapReduce processing.
- The algorithm applies binary and multi-class classification using machine learning models trained on labeled tweet data derived from hashtags and emoticons.
- The system is implemented in Hadoop, utilizing the MapReduce paradigm to distribute computation across clusters for horizontal scalability.
- The framework supports dynamic data partitioning and evaluates performance across varying data sizes and feature set dimensions.
Experimental results
Research questions
- RQ1Can a MapReduce-based system achieve linear scalability for sentiment analysis on large-scale Twitter data?
- RQ2How effective is the use of hashtags and emoticons as automatic sentiment labels in training a sentiment classifier?
- RQ3To what extent do Bloom filters reduce storage and improve performance in feature vector representation for sentiment analysis?
- RQ4How does the choice of k (number of hash functions) in Bloom filters affect classification accuracy in both binary and multi-class settings?
- RQ5What is the trade-off between preprocessing time and execution time when using Bloom filters in a distributed sentiment analysis pipeline?
Key findings
- The use of Bloom filters reduced feature vector storage size by 15–20% across all experimental configurations, significantly lowering I/O overhead.
- Despite introducing false positives, Bloom filters maintained high classification performance, with harmonic F-score remaining stable across varying k values in both binary and multi-class settings.
- In the absence of Bloom filters, increasing k improved performance—especially in binary classification—indicating that Bloom filters mitigate the need for high k values.
- The system demonstrated near-linear scalability: as data size increased by factors of 0.2 to 0.8 of the original dataset, execution time increased proportionally, confirming robust scalability.
- Bloom filters slightly improved execution time by reducing I/O, except in multi-class emoticon classification, where the benefit was minimal.
- The framework achieved high harmonic F-scores (up to 0.79 in binary emoticon classification and 0.60 in multi-class emoticon classification), confirming strong classification performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.