{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,28]],"date-time":"2026-02-28T17:52:41Z","timestamp":1772301161157,"version":"3.50.1"},"reference-count":48,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2020,2,26]],"date-time":"2020-02-26T00:00:00Z","timestamp":1582675200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>To design an algorithm for detecting outliers over streaming data has become an important task in many common applications, arising in areas such as fraud detections, network analysis, environment monitoring and so forth. Due to the fact that real-time data may arrive in the form of streams rather than batches, properties such as concept drift, temporal context, transiency, and uncertainty need to be considered. In addition, data processing needs to be incremental with limited memory resource, and scalable. These facts create big challenges for existing outlier detection algorithms in terms of their accuracies when they are implemented in an incremental fashion, especially in the streaming environment. To address these problems, we first propose C_KDE_WR, which uses sliding window and kernel function to process the streaming data online, and reports its results demonstrating high throughput on handling real-time streaming data, implemented in a CUDA framework on Graphics Processing Unit (GPU). We also present another algorithm, C_LOF, based on a very popular and effective outlier detection algorithm called Local Outlier Factor (LOF) which unfortunately works only on batched data. Using a novel incremental approach that compensates the drawback of high complexity in LOF, we show how to implement it in a streaming context and to obtain results in a timely manner. Like C_KDE_WR, C_LOF also employs sliding-window and statistical-summary to help making decision based on the data in the current window. It also addresses all those challenges of streaming data as addressed in C_KDE_WR. In addition, we report the comparative evaluation on the accuracy of C_KDE_WR with the state-of-the-art SOD_GPU using Precision, Recall and F-score metrics. Furthermore, a t-test is also performed to demonstrate the significance of the improvement. We further report the testing results of C_LOF on different parameter settings and drew ROC and PR curve with their area under the curve (AUC) and Average Precision (AP) values calculated respectively. Experimental results show that C_LOF can overcome the masquerading problem, which often exists in outlier detection on streaming data. We provide complexity analysis and report experiment results on the accuracy of both C_KDE_WR and C_LOF algorithms in order to evaluate their effectiveness as well as their efficiencies.<\/jats:p>","DOI":"10.3390\/s20051261","type":"journal-article","created":{"date-parts":[[2020,2,27]],"date-time":"2020-02-27T03:21:16Z","timestamp":1582773676000},"page":"1261","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":33,"title":["Designing a Streaming Algorithm for Outlier Detection in Data Mining\u2014An Incrementa Approach"],"prefix":"10.3390","volume":"20","author":[{"given":"Kangqing","family":"Yu","sequence":"first","affiliation":[{"name":"School of Computer Science, Carleton University, Ottawa, ON K1S 5B6, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3071-8350","authenticated-orcid":false,"given":"Wei","family":"Shi","sequence":"additional","affiliation":[{"name":"School of Information Technology, Carleton University, Ottawa, ON K1S 5B6, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Nicola","family":"Santoro","sequence":"additional","affiliation":[{"name":"School of Computer Science, Carleton University, Ottawa, ON K1S 5B6, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2020,2,26]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"HewaNadungodage, C., Xia, Y., and Lee, J. (2016, January 23\u201327). GPU-Accelerated Outlier Detection for Continuous Data Streams. Proceedings of the 30th IEEE International Parallel and Distributed Processing Symposium (IPDPS), Chicago, IL, USA.","DOI":"10.1109\/IPDPS.2016.101"},{"key":"ref_2","unstructured":"Pokrajac, D., Lazarevic, A., and Latecki, L. (April, January 1). Incremental Local Outlier Detection for Data Streams. Proceedings of the 1st IEEE Symposium on Computational Intelligence and Data Mining (CIDM), Honolulu, HI, USA."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"33","DOI":"10.1145\/2594473.2594479","article-title":"Research Issues in Outlier Detection for Data Streams","volume":"15","author":"Sadik","year":"2014","journal-title":"SIGKDD Explor. Newsl."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Tatbul, N. (2010, January 1\u20136). Streaming data integration: Challenges and opportunities. Proceedings of the 26th IEEE International Conference on Data Engineering Workshops (ICDEW), Long Beach, CA, USA.","DOI":"10.1109\/ICDEW.2010.5452751"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"14","DOI":"10.1145\/1121995.1121998","article-title":"Research Issues in Data Stream Association Rule Mining","volume":"35","author":"Jiang","year":"2006","journal-title":"SIGMOD Rec."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"117","DOI":"10.1080\/00401706.1995.10485900","article-title":"Outliers In Statistical Data","volume":"37","author":"Bremer","year":"1995","journal-title":"Technometrics"},{"key":"ref_7","unstructured":"Cao, L., Yang, D., Wang, Q., Yu, Y., Wang, J., and Rundensteiner, E. (April, January 31). Scalable distance-based outlier detection over high-volume data streams. Proceedings of the 30th IEEE International Conference on Data Engineering (ICDE), Chicago, IL, USA."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Georgiadis, D., Kontaki, M., Gounaris, A., Papadopoulos, A., Tsichlas, K., and Manolopoulos, Y. (2013, January 22\u201327). Continuous Outlier Detection in Data Streams: An Extensible Framework and State-of-the-art Algorithms. Proceedings of the 38 International Conference on Management of Data (SIGMOD), New York, NY, USA.","DOI":"10.1145\/2463676.2463691"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Kontaki, M., Gounaris, A., Papadopoulos, A., Tsichlas, K., and Manolopoulos, Y. (2011, January 11\u201316). Continuous monitoring of distance-based outliers over data streams. Proceedings of the 27 IEEE International Conference on Data Engineering (ICDE), Hannover, Germany.","DOI":"10.1109\/ICDE.2011.5767923"},{"key":"ref_10","unstructured":"Knox, E., and Ng, R. (1998, January 24\u201327). Algorithms for mining distance-based outliers in large datasets. Proceedings of the 24th International Conference on Very Large Databases (VLDB), New York City, NY, USA."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Yu, K., Shi, W., Santoro, N., and Ma, X. (2019, January 19\u201323). Real-time Outlier Detection over Streaming Data. Proceedings of the IEEE Smart World Congress (SWC 2019), Leicester, UK.","DOI":"10.1109\/SmartWorld-UIC-ATC-SCALCOM-IOP-SCI.2019.00063"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Breunig, M., Kriegel, H., Ng, R., and Sander, J. (2000, January 16\u201318). LOF: Identifying Density-based Local Outliers. Proceedings of the 25th International Conference on Management of Data (SIGMOD), Dallas, TX, USA.","DOI":"10.1145\/342009.335388"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"406","DOI":"10.1016\/j.patcog.2017.09.037","article-title":"A comparative evaluation of outlier detection algorithms: Experiments and analyses","volume":"74","author":"Domingues","year":"2018","journal-title":"Pattern Recognit."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"91","DOI":"10.1145\/376284.375673","article-title":"Mining Needle in a Haystack: Classifying Rare Classes via Two-phase Rule Induction","volume":"30","author":"Joshi","year":"2001","journal-title":"SIGMOD Rec."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Chawla, N., Lazarevic, A., Hall, L., and Bowyer, K. (2003, January 22\u201326). SMOTEBoost: Improving the Prediction of Minority Class in Boosting. Proceedings of the 7th Principles of Knowledge Discovery in Databases (PKDD), Cavtat-Dubrovnik, Croatia.","DOI":"10.1007\/978-3-540-39804-2_12"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Hawkins, S., He, H., Williams, G., and Baxter, R. (2002, January 4\u20136). Outlier Detection Using Replicator Neural Networks. Proceedings of the 4th International Conference on Big Data Analytics and Knowledge Discovery (DaWaK), Provence, France.","DOI":"10.1007\/3-540-46145-0_17"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"1827016","DOI":"10.1155\/2017\/1827016","article-title":"A novel ensemble method for imbalanced data learning: Bagging of extrapolation-SMOTE SVM","volume":"2017","author":"Wang","year":"2017","journal-title":"Comput. Intell. Neurosci."},{"key":"ref_18","first-page":"6857","article-title":"SMOTEBagging Algorithm for Imbalanced Dataset in Logistic Regression Analysis (Case: Credit of Bank X)","volume":"9","author":"Hanifah","year":"2015","journal-title":"Appl. Math. Sci."},{"key":"ref_19","unstructured":"Tantithamthavorn, C., Hassan, A., and Matsumoto, K. (2018). The impact of class rebalancing techniques on the performance and interpretation of defect prediction models. arXiv."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Yap, B., Rani, K., Rahman, H., Fong, S., Khairudin, Z., and Abdullah, N. (2013, January 16\u201318). An application of oversampling, undersampling, bagging and boosting in handling imbalanced datasets. Proceedings of the 1st International Conference on Advanced Data and Information Engineering (DaEng), Kuala Lumpur, Malaysia.","DOI":"10.1007\/978-981-4585-18-7_2"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Basu, S., Bilenko, M., and Mooney, R. (2004, January 22\u201325). A Probabilistic Framework for Semi-supervised Clustering. Proceedings of the 10th ACM International Conference on Knowledge Discovery and Data Mining (KDD), Seattle, WA, USA.","DOI":"10.1145\/1014052.1014062"},{"key":"ref_22","unstructured":"Wagstaff, K., Cardie, C., Rogers, S., and Schr\u00f6dl, S. (July, January 28). Constrained K-Means Clustering with Background Knowledge. Proceedings of the 18th International Conference on Machine Learning (ICML), Williamstown, MA, USA."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Yu, Y., Guo, S., Lan, S., and Ban, T. (2008, January 25\u201328). Anomaly intrusion detection for evolving data stream based on semi-supervised learning. Proceedings of the 15th International Conference on Neural Information Processing (ICONIP), Auckland, New Zealand.","DOI":"10.1007\/978-3-642-02490-0_70"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Gao, J., Cheng, H., and Tan, P. (2006, January 23\u201327). Semi-supervised Outlier Detection. Proceedings of the 21st ACM Symposium on Applied Computing (SAC), Dijon, France.","DOI":"10.1145\/1141277.1141421"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Ramaswamy, S., Rastogi, R., and Shim, K. (2000, January 16\u201318). Efficient Algorithms for Mining Outliers from Large Data Sets. Proceedings of the 19th International Conference on Management of Data (SIGMOD), Dallas, TX, USA.","DOI":"10.1145\/342009.335437"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"203","DOI":"10.1109\/TKDE.2005.31","article-title":"Outlier mining in large high-dimensional data sets","volume":"17","author":"Angiulli","year":"2005","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1089","DOI":"10.14778\/2994509.2994526","article-title":"Distance-based Outlier Detection in Data Streams","volume":"9","author":"Tran","year":"2016","journal-title":"Proc. VLDB Endow."},{"key":"ref_28","unstructured":"Sadik, S., and Gruenwald, L. (September, January 30). DBOD-DS: Distance based outlier detection for data streams. Proceedings of the 21st International Conference on Database and Expert Systems Applications (DEXA), Bilbao, Spain."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Sadik, S., and Gruenwald, L. (2011, January 21\u201323). Online Outlier Detection for Data Streams. Proceedings of the 15th Symposium on International Database Engineering & Applications Symposium (IDEAS), Lisboa, Portugal.","DOI":"10.1145\/2076623.2076635"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Sadik, S., Gruenwald, L., and Leal, E. (2016, January 5\u20138). In pursuit of outliers in multi-dimensional data streams. Proceedings of the 4th IEEE International Conference on Big Data (Big Data), Washington, DC, USA.","DOI":"10.1109\/BigData.2016.7840642"},{"key":"ref_31","unstructured":"Papadimitriou, S., Kitagawa, H., Gibbons, P., and Faloutsos, C. (2003, January 5\u20138). LOCI: Fast outlier detection using the local correlation integral. Proceedings of the 19th International Conference on Data Engineering (ICDE), Bangalore, India."},{"key":"ref_32","first-page":"8153","article-title":"A Survey on Outlier Detection Methods","volume":"5","author":"Sreevidya","year":"2014","journal-title":"Int. J. Comput. Sci. Inf. Technol. (IJCSIT)"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"275","DOI":"10.1023\/B:DAMI.0000023676.72185.7c","article-title":"On-line unsupervised outlier detection using finite mixtures with discounting learning algorithms","volume":"8","author":"Yamanishi","year":"2004","journal-title":"Data Min. Knowl. Discov."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1111\/j.2517-6161.1977.tb01600.x","article-title":"Maximum likelihood from incomplete data via the EM algorithm","volume":"39","author":"Dempster","year":"1977","journal-title":"J. R. Stat. Soc. Ser. B (Methodol.)"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"121","DOI":"10.1214\/06-BA104","article-title":"Variational inference for Dirichlet process mixtures","volume":"1","author":"Blei","year":"2006","journal-title":"Bayesian Anal."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"36","DOI":"10.1016\/j.patrec.2013.12.016","article-title":"A least-squares approach to anomaly detection in static and sequential data","volume":"40","author":"Quinn","year":"2014","journal-title":"Pattern Recognit. Lett."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Curiac, D., Banias, O., Dragan, F., Volosencu, C., and Dranga, O. (2007, January 19\u201325). Malicious Node Detection in Wireless Sensor Networks Using an Autoregression Technique. Proceedings of the 3rd International Conference on Networking and Services (ICNS), Athens, Greece.","DOI":"10.1109\/ICNS.2007.79"},{"key":"ref_38","unstructured":"Arning, A., Agrawal, R., and Raghavan, P. (1996, January 2\u20134). A Linear Method for Deviation Detection in Large Databases. Proceedings of the 2nd International Conference on Knowledge Discovery and Data Mining (KDD), Portland, OR, USA."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Aggarwal, C., and Yu, P. (2001, January 21\u201324). Outlier detection for high dimensional data. Proceedings of the 26th International Conference on Management of Data (SIGMOD), Santa Barbara, CA, USA.","DOI":"10.1145\/375663.375668"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Scott, D. (2015). Multivariate Density Estimation: Theory, Practice, and Visualization, John Wiley & Sons.","DOI":"10.1002\/9781118575574"},{"key":"ref_41","unstructured":"Subramaniam, S., Palpanas, T., Papadopoulos, D., Kalogeraki, V., and Gunopulos, D. (2006, January 12\u201315). Online Outlier Detection in Sensor Data Using Non-parametric Models. Proceedings of the 32nd International Conference on Very Large Databases (VLDB), Seoul, Korea."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Elahi, M., Li, K., Nisar, W., Lv, X., and Wang, H. (2008, January 18\u201320). Efficient Clustering-Based Outlier Detection Algorithm for Dynamic Data Stream. Proceedings of the 5th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD), Shandong, China.","DOI":"10.1109\/FSKD.2008.374"},{"key":"ref_43","unstructured":"Dhaliwal, P., Bhatia, M., and Bansal, P. (2010). A cluster-based approach for outlier detection in dynamic data streams (KORM: K-median OutlieR miner). arXiv."},{"key":"ref_44","unstructured":"Sch\u00f6lkopf, B., Williamson, R.C., Smola, A.J., Shawe-Taylor, J., and Platt, J.C. (2000). Support vector method for novelty detection. Advances in Neural Information Processing Systems, The MIT Press."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Liu, F.T., Ting, K.M., and Zhou, Z.H. (2008, January 15\u201319). Isolation forest. Proceedings of the 2008 Eighth IEEE International Conference on Data Mining, Pisa, Italy.","DOI":"10.1109\/ICDM.2008.17"},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"35","DOI":"10.1080\/10618600.1994.10474629","article-title":"Fast Implementations of Nonparametric Curve Estimators","volume":"3","author":"Fan","year":"1994","journal-title":"J. Comput. Graph. Stat."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"629","DOI":"10.1111\/1467-9892.00283","article-title":"Selecting the forgetting factor in subset autoregressive modelling","volume":"23","author":"Brailsford","year":"2002","journal-title":"J. Time Ser. Anal."},{"key":"ref_48","unstructured":"Ester, M., Kriegel, H., Sander, J., and Xu, X. (1996, January 2\u20134). A density-based algorithm for discovering clusters in large spatial databases with noise. Proceedings of the 2nd International Conference on Knowledge Discovery and Data Mining (KDD), Portland, OR, USA."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/5\/1261\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T09:01:47Z","timestamp":1760173307000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/5\/1261"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,2,26]]},"references-count":48,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2020,3]]}},"alternative-id":["s20051261"],"URL":"https:\/\/doi.org\/10.3390\/s20051261","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,2,26]]}}}