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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
Support Vector Classifier, which is the name given in scikit-learn to Support Vector Machines (SVM).
- 3.
In the previous dataset used in the experiments in [12] this number was 13.
- 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.
Note that we split this dataset to fix the test set when we vary the number of influencers used to make the prediction.
References
Azcorra, A., et al.: Unsupervised scalable statistical method for identifying influential users in online social networks. Sci. Rep. 8 (2018). Article number: 6955
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
Csardi, G., Nepusz, T.: The igraph software package for complex network research. InterJ. Complex Syst. 1695 (2006). http://igraph.org/python/
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/
Hochreiter, R., Waldhauser, C.: A genetic algorithm to optimize a tweet for retweetability. In: MENDEL, pp. 13–18 (2013)
Katz, L.: A new status index derived from sociometric analysis. Psychometrika 18(1), 39–43 (1953). https://doi.org/10.1007/BF02289026
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
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)
Pedregosa, F., et al.: Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011). http://scikit-learn.org/
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)
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)
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
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
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
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
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
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)