Proceedings

Analysis of Sampling Algorithms for Twitter

Download BibTeX Cite

Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 967-972.

Abstract

The daily volume of Tweets in Twitter is around 500 million, and the impact of this data on applications ranging from public safety, opinion mining, news broadcast, etc., is increasing day by day. Analyzing large volumes of Tweets for various applications would require techniques that scale well with the number of Tweets. In this work we come up with a theoretical formulation for sampling Twitter data. We introduce novel statistical metrics to quantify the statistical representativeness of the Tweet sample, and derive sufficient conditions on the number of samples needed for obtaining highly representative Tweet samples. These new statistical metrics quantify the representativeness or goodness of the sample in terms of frequent keyword identification and in terms of restoring public sentiments associated with these keywords. We use uniform random sampling with replacement as our algorithm, and sampling could serve as a first step before using other sophisticated summarization methods to generate summaries for human use. We show that experiments conducted on real Twitter data agree with our bounds. In these experiments, we also compare different kinds of random sampling algorithms. Our bounds are attractive since they do not depend on the total number of Tweets in the universe. Although our ideas and techniques are specific to Twitter, they could find applications in other areas as well.

  1. [Bird et al., 2009] Steven Bird, Ewan Klein, and Edward Loper. Natural Language Processing with Python.
  2. O'Reilly Media, Inc., 1st edition, 2009.
  3. [Chakaravarthy et al., 2009] Venkatesan T Chakaravarthy, Vinayaka Pandit, and Yogish Sabharwal. Analysis of sam- pling techniques for association rule mining. In Proceed- ings of the 12th international conference on database the- ory, pages 276-283. ACM, 2009.
  4. [Chakrabarti and Punera., 2011] D. Chakrabarti and K. Punera. Event summarization using tweets. In ICWSM, 2011.
  5. [Chernoff, 1952] Herman Chernoff. A measure of asymp- totic efficiency for tests of a hypothesis based on the sum of observations. The Annals of Mathematical Statistics, 23(4):493-507, 12 1952.
  6. [Ghosh et al., 2013] Saptarshi Ghosh, Muhammad Bilal Za- far, Parantapa Bhattacharya, Naveen Sharma, Niloy Gan- guly, and Krishna Gummadi. On sampling the wisdom of crowds: Random vs. expert sampling of the twitter stream. In Proceedings of the 22nd ACM international conference on Conference on information & knowledge management, pages 1739-1744. ACM, 2013.
  7. [Hong and Davison, 2010] Liangjie Hong and Brian D Davi- son. Empirical study of topic modeling in twitter. In Pro- ceedings of the First Workshop on Social Media Analytics, pages 80-88. ACM, 2010.
  8. [Inouye and Kalita, 2011] David Inouye and Jugal K Kalita. Comparing twitter summarization algorithms for multiple post summaries. In Privacy, security, risk and trust (pas- sat), 2011 ieee third international conference on and 2011 ieee third international conference on social computing (socialcom), pages 298-306. IEEE, 2011.
  9. [Joseph et al., 2014] Kenneth Joseph, Peter M Landwehr, and Kathleen M Carley. Two 1% s dont make a whole: Comparing simultaneous samples from twitters streaming api. In Social Computing, Behavioral-Cultural Modeling and Prediction, pages 75-83. Springer, 2014.
  10. [Liu et al., 2012] Xiaohua Liu, Yitong Li, Furu Wei, and Ming Zhou. Graph-based multi-tweet summarization us- ing social signals. In COLING'12, pages 1699-1714, 2012.
  11. [Mejova et al., 2013] Yelena Mejova, Padmini Srinivasan, and Bob Boynton. Gop primary season on twitter: "pop- ular" political sentiment in social media. In Proceedings of the Sixth ACM International Conference on Web Search and Data Mining, WSDM '13, pages 517-526, New York, NY, USA, 2013. ACM.
  12. [Morstatter et al., 2013] Fred Morstatter, Jürgen Pfeffer, Huan Liu, and Kathleen M. Carley. Is the sample good enough? comparing data from Twitter's streaming API with Twitter's Firehose. Proceedings of ICWSM, 2013.
  13. [Morstatter et al., 2014] Fred Morstatter, Jürgen Pfeffer, and Huan Liu. When is it biased?: Assessing the represen- tativeness of twitter's streaming api. In Proceedings of the Companion Publication of the 23rd International Con- ference on World Wide Web Companion, pages 555-556, 2014.
  14. [Nenkova and McKeown, 2012] Ani Nenkova and Kathleen McKeown. A survey of text summarization techniques. In Mining Text Data, pages 43-76. Springer US, 2012.
  15. [Papoulis and Pillai, 2002] A. Papoulis and S.U. Pillai. Probability, random variables, and stochastic processes. McGraw-Hill electrical and electronic engineering series. McGraw-Hill, 2002.
  16. [Riondato and Upfal, 2012] Matteo Riondato and Eli Upfal. Efficient discovery of association rules and frequent item- sets through sampling with tight performance guaran- tees. In Machine Learning and Knowledge Discovery in Databases, pages 25-41. 2012.
  17. [Sharifi et al., 2010] Beaux Sharifi, Mark-Anthony Hutton, and Jugal K. Kalita. Experiments in microblog summa- rization. In Proceedings of the 2010 IEEE Second Inter- national Conference on Social Computing, SOCIALCOM '10, pages 49-56, Washington, DC, USA, 2010. IEEE Computer Society.
  18. [Yang et al., 2012] Xintian Yang, Amol Ghoting, Yiye Ruan, and Srinivasan Parthasarathy. A framework for summa- rizing and analyzing twitter feeds. In Proceedings of the 18th ACM SIGKDD International Conference on Knowl- edge Discovery and Data Mining, KDD '12, pages 370- 378, New York, NY, USA, 2012. ACM.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards