An Anomaly Detection Framework for Twitter Data
Open Access
- 1 November 2022
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 12 (21) , 11059
Abstract
An anomaly indicates something unusual, related to detecting a sudden behavior change, and is also helpful in detecting irregular and malicious behavior. Anomaly detection identifies unusual events, suspicious objects, or observations that differ significantly from normal behavior or patterns. Discrepancies in data can be observed in different ways, such as outliers, standard deviation, and noise. Anomaly detection helps us understand the emergence of specific diseases based on health-related tweets. This paper aims to analyze tweets to detect the unusual emergence of healthcare-related tweets, especially pre-COVID-19 and during COVID-19. After pre-processing, this work collected more than 44 thousand tweets and performed topic modeling. Non-negative matrix factorization (NMF) and latent Dirichlet allocation (LDA) were deployed for topic modeling, and a query set was designed based on resultant topics. This query set was used for anomaly detection using a sentence transformer. K-means was also employed for clustering outlier tweets from the cleaned tweets based on similarity. Finally, an unusual cluster was selected to identify pandemic-like healthcare emergencies. Experimental results show that the proposed framework can detect a sudden rise of unusual tweets unrelated to regular tweets. The new framework was employed in two case studies for anomaly detection and performed with 78.57% and 70.19% accuracy.Keywords
Funding Information
- Deputyship for Research & Innovation, Ministry of Education in Saudi Arabia (959)
This publication has 26 references indexed in Scilit:
- Exploring Public Response to COVID-19 on Weibo with LDA Topic Modeling and Sentiment AnalysisData and Information Management, 2022
- Analyzing Large Collections of Open-Ended Feedback From MOOC Learners Using LDA Topic Modeling and Qualitative AnalysisIEEE Transactions on Learning Technologies, 2021
- Latent Dirichlet allocation (LDA) for topic modeling of the CFPB consumer complaintsExpert Systems with Applications, 2019
- From anomaly detection to rumour detection using data streams of social platformsProceedings of the VLDB Endowment, 2019
- A Novel Probabilistic Hybrid Model to Detect Anomaly in Smart HomesComputer Modeling in Engineering & Sciences, 2019
- A framework for intelligent Twitter data analysis with non-negative matrix factorizationInternational Journal of Web Information Systems, 2018
- A survey of network anomaly detection techniquesJournal of Network and Computer Applications, 2016
- Anomaly detection in online social networksSocial Networks, 2014
- An overview of anomaly detection techniques: Existing solutions and latest technological trendsComputer Networks, 2007
- Identification of Outliers1980