Skip to main content

Twitter Early Prediction of Preferences and Tendencies Based in Neighborhood Behavior

  • Conference paper
  • First Online:
Information Management and Big Data (SIMBig 2020)

Abstract

In recent years, social networks have become increasingly massive. Consequently, they are a fundamental source of information and a powerful tool to spread ideas and opinions. Based on Twitter, this paper studies the problem of predicting the retweet preference of a user for a given tweet, considering how the tweet has been shared by that user’s environment. It also addresses the more global problem of predicting whether a tweet will be popular, based on the retweet behavior of central users. For both problems, we explore the evolution of prediction quality depending on the amount of information available over the time since a tweet is created, and derive insights about the trade-off between elapsed time and prediction performance.

For the user retweet preference problem, this social prediction model achieves, for example, around \(63.76\%\) on \(F_1\) score by using the first 15 min information, \(75.2\%\) by 4 h, and \(86.08\%\) without considering any time window. In the case of popularity prediction, the model achieve scores of \(65.67\%\) with 60 min of information, \(74.4\%\) with 4 h, and \(80.73\%\) with no time window restriction, using the behaviour 15% of users considered as influencers. All these results are obtained without considering the content of the tweets. Next, we incorporate features based on FastText word embeddings to represent the content of tweets. While such models alone attain an \(F_1\) of around barely \(50\%\) for preferences and popularity prediction, combined with social models, they improve the popularity prediction, generally, more than \(4\%\). For preference prediction, the FastText model is more useful in small time spans.

We conclude that it is possible to reasonably predict the preference of a user retweet or how massive a publication will be, using only the information available during the first 30–60 min.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://FastText.cc/docs/en/crawl-vectors.html.

  2. 2.

    Support Vector Classifier, which is the name given in scikit-learn to Support Vector Machines (SVM).

  3. 3.

    In the previous dataset used in the experiments in [12] this number was 13.

  4. 4.

    To compare the performance of these options a subset of 500 random tweets from \(\mathbf{T}\) was set aside, as a tuning set. This sample called \(T_{SI}\) is removed from \(\mathbf{T}\) to avoid considering them as part of the test set, where trending prediction models will be evaluated later.

  5. 5.

    Note that we split this dataset to fix the test set when we vary the number of influencers used to make the prediction.

References

  1. Azcorra, A., et al.: Unsupervised scalable statistical method for identifying influential users in online social networks. Sci. Rep. 8 (2018). Article number: 6955

    Google Scholar 

  2. Celayes, P.G., Domínguez, M.A.: Prediction of user retweets based on social neighborhood information and topic modelling. In: Castro, F., Miranda-Jiménez, S., González-Mendoza, M. (eds.) MICAI 2017. LNCS (LNAI), vol. 10633, pp. 146–157. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-02840-4_12

    Chapter  Google Scholar 

  3. Csardi, G., Nepusz, T.: The igraph software package for complex network research. InterJ. Complex Syst. 1695 (2006). http://igraph.org/python/

  4. Grave, E., Mikolov, T., Joulin, A., Bojanowski, P.: Bag of tricks for efficient text classification. In: Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2017, Spain, pp. 427–431 (2017). https://fasttext.cc/

  5. Hochreiter, R., Waldhauser, C.: A genetic algorithm to optimize a tweet for retweetability. In: MENDEL, pp. 13–18 (2013)

    Google Scholar 

  6. Katz, L.: A new status index derived from sociometric analysis. Psychometrika 18(1), 39–43 (1953). https://doi.org/10.1007/BF02289026

    Article  MATH  Google Scholar 

  7. Morone, F., Min, B., Bo, L., Mari, R., Makse, H.A.: Collective influence algorithm to find influencers via optimal percolation in massively large social media. Sci. Rep. 6 (2016). Article number: 30062

    Google Scholar 

  8. Nasir, N., Gottron, T., Kunegis, J., Alhadi, A.C.: Bad news travel fast: a content-based analysis of interestingness on Twitter. In: WebSci 2011: Proceedings of the 3rd International Conference on Web Science (2011)

    Google Scholar 

  9. Pedregosa, F., et al.: Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011). http://scikit-learn.org/

  10. Pennacchiotti, M., Popescu, A.M.: A machine learning approach to Twitter user classification. In: Proceedings of the Fifth International Conference on Weblogs and Social Media, Barcelona, Catalonia, Spain, vol. 11 (2011)

    Google Scholar 

  11. Arora, S., Liang, Y., Ma, T.: A simple but tough-to-beat baseline for sentence embeddings. In: Proceeding of International Conference on Learning Representations, ICLR 2017, Toulon, France, 24–26 April 2017 (2017)

    Google Scholar 

  12. Silva, M.G., Domínguez, M.A., Celayes, P.G.: Analyzing the retweeting behavior of influencers to predict popular tweets, with and without considering their content. In: Lossio-Ventura, J.A., Muñante, D., Alatrista-Salas, H. (eds.) SIMBig 2018. CCIS, vol. 898, pp. 75–90. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-11680-4_9. ISBN 978-3-030-11679-8

    Chapter  Google Scholar 

  13. Varol, O., Ferrara, E., Menczer, F., Flammini, A.: Early detection of promoted campaigns on social media. EPJ Data Sci. 6(1), 1–19 (2017). https://doi.org/10.1140/epjds/s13688-017-0111-y

    Article  Google Scholar 

  14. Vougioukas, M., Androutsopoulos, I., Paliouras, G.: Identifying retweetable tweets with a personalized global classifier. In: Proceedings of the 10th Hellenic Conference on Artificial Intelligence, SETN 2018, Patras, Greece, 09–12 July 2018, pp. 8:1–8:8 (2018). https://doi.org/10.1145/3200947.3201019

  15. Zaman, T., Fox, E.B., Bradlow, E.T.: A Bayesian approach for predicting the popularity of tweets. CoRR abs/1304.6777 (2013). http://arxiv.org/abs/1304.6777

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Emanuel Meriles , Martín Ariel Domínguez or Pablo Gabriel Celayes .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Meriles, E., Domínguez, M.A., Celayes, P.G. (2021). Twitter Early Prediction of Preferences and Tendencies Based in Neighborhood Behavior. In: Lossio-Ventura, J.A., Valverde-Rebaza, J.C., Díaz, E., Alatrista-Salas, H. (eds) Information Management and Big Data. SIMBig 2020. Communications in Computer and Information Science, vol 1410. Springer, Cham. https://doi.org/10.1007/978-3-030-76228-5_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-76228-5_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-76227-8

  • Online ISBN: 978-3-030-76228-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics