Abstract
This study proposes a process for detecting anomalies in the manufacturing industry, where data imbalance is a frequent problem. The labeling of anomalies can be challenging owing to the different types of anomalies. To address this issue, we used clustering based on the distribution of acquired normal data. We extracted latent vector values from normal image data as features using the Style-GAN method, after conversion of the time-series data. Subsequently, we performed dimensionality reduction through Locally Linear Embedding (LLE) using the extracted latent vector values and selected the Hierarchical Density-Based Spatial Clustering of Applications with Noise (HDBSCAN) for anomaly detection. We verified the proposed process using a milling dataset that included measurements of vibration, force, and noise. The evaluation of the process included dimensionality reduction methods such as Locally Linear Embedding (LLE), Principal Component Analysis (PCA), Kernel PCA, Singular Value Decomposition (SVD), and ISOmetric map** (ISO) produced an F-1 score of 0.86.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig6_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs12541-023-00908-2/MediaObjects/12541_2023_908_Fig7_HTML.png)
Similar content being viewed by others
Availability of data and materials
“Not applicable”
Code availability
Not applicable
References
Selvaraj, V., & Min, S. (2023). Real-time fault identification system for a retrofitted ultra-precision CNC machine from equipment’s power consumption data: A case study of an implementation. International Journal of Precision Engineering and Manufacturing-Green Technology. https://doi.org/10.1007/s40684-022-00497-x
Nam, J. S., & Kwon, W. T. (2022). A study on tool breakage detection during milling process using LSTM-autoencoder and gaussian mixture model. International Journal of Precision Engineering and Manufacturing, 23(6), 667–675.
Svinth, C. N., Wallace, S., Kim, T. G., et al. (2022). Identifying abnormal CFRP holes using both unsupervised and supervised learning techniques on in-process force, current, and vibration signals. International Journal of Precision Engineering and Manufacturing, 23(6), 609–625.
Kim, H. S., Han, Y., & Kim, J. (2023). 3D measurement using a single image for smart manufacturing of microscopic products in a ceramic powder pressing process. International Journal of Precision Engineering and Manufacturing-Green Technology, 10(1), 233–243.
Ferdousi, Z., & Maeda, A. (2006). Unsupervised outlier detection in time series data. In 22nd international conference on data engineering workshops (ICDEW’06) (pp. x121–x121), IEEE.
Kamat, P., & Sugandhi, R. (2020). Anomaly detection for predictive maintenance in industry 4.0-A survey. In E3S web of conferences (Vol. 170, p. 02007). EDP Sciences. variousfactors.
Kim, S. W., Kong, J. H., Lee, S. W., & Lee, S. (2022). Recent advances of artificial intelligence in manufacturing industrial sectors: A review. International Journal of Precision Engineering and Manufacturing. https://doi.org/10.1007/s12541-021-00600-3
Kim, J, et al. (2020). GAN-based anomaly detection in imbalance problems. Computer Vision-ECCV 2020 Workshops: Glasgow, UK, August 23-28, 2020, Proceedings, Part VI 16. Springer International Publishing.
**a, Xuan, et al. (2022). GAN-based anomaly detection: A review. Neurocomputing, 493, 497–535.
Son, J., Kim, C., & Jeong, M. (2022). Unsupervised learning for anomaly detection of electric motors. International Journal of Precision Engineering and Manufacturing, 23(4), 421–427.
Kwon, Y. W., & Kang, D. J. (2023). Anomaly detecting geometric transformation network with outlier exposure defect inspection of real industrial data. International Journal of Precision Engineering and Manufacturing, 24(1), 73–81.
Agrawal, S., & Agrawal, J. (2015). Survey on anomaly detection using data mining techniques. Procedia Computer Science, 60, 708–713.
Pang, G., et al. (2021). Deep learning for anomaly detection: A review. ACM Computing Surveys (CSUR), 54(2), 1–38.
Pang, G., Cao, L., & Aggarwal, C. (2021). Deep learning for anomaly detection: Challenges, methods, and opportunities. In Proceedings of the 14th ACM international conference on web search and data mining.
Chandola, V., Banerjee, A., & Kumar, V. (2009). Anomaly detection: A survey. ACM Computing Surveys (CSUR), 41(3), 1–58.
Chalapathy, R., & Chawla, S. (2019). Deep learning for anomaly detection: A survey. ar**v preprint ar**v:1901.03407.
Omar, S., Ngadi, A., & Jebur, H. H. (2013). Machine learning techniques for anomaly detection: An overview. International Journal of Computer Applications, 79(2).
Wang, Z., & Oates, T. (2015). Encoding time series as images for visual inspection and classification using tiled convolutional neural networks. In Workshops at the twenty-ninth AAAI conference on artificial intelligence (Vol. 1). Menlo Park: AAAI.
LeCun, Y., Boser, B., Denker, J. S., Henderson, D., Howard, R. E., Hubbard, W., & Jackel, L. D. (1989). Backpropagation applied to handwritten zip code recognition. Neural Computation, 1(4), 541–551.
Girshick, R. (2015). Fast r-cnn. In Proceedings of the IEEE international conference on computer vision (pp. 1440–1448).
Faouzi, J., & Janati, H. (2020). pyts: A python package for time series classification. The Journal of Machine Learning Research, 21(1), 1720–1725.
Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., & Bengio, Y. (2020). Generative adversarial networks. Communications of the ACM, 63(11), 139–144.
**a, X., Pan, X., Li, N., He, X., Ma, L., Zhang, X., & Ding, N. (2022). GAN-based anomaly detection: A review. Neurocomputing, 493, 497–535.
Karras, T., Laine, S., & Aila, T. (2019). A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition.
Fodor, I. K. (2002). A survey of dimension reduction techniques (No. UCRL-ID-148494). Lawrence Livermore National Lab.
Dunteman, G. H. (1989). Principal components analysis (No. 69). Sage.
Schölkopf, B., Smola, A., & Müller, K.-R. (1997). Kernel principal component analysis. International conference on artificial neural networks. Springer.
Roweis, S. T. (2000). Nonlinear dimensionality reduction by locally linear embedding. Science, 290(5500), 2323–2326.
Balasubramanian, M., & Schwartz, E. L. (2002). The isomap algorithm and topological stability. Science, 295(5552), 7–7.
Xu, R., & Wunsch, D. (2005). Survey of clustering algorithms. IEEE Transactions on Neural Networks, 16(3), 645–678.
Xu, D., & Tian, Y. (2015). A comprehensive survey of clustering algorithms. Annals of Data Science, 2, 165–193.
Hartigan, J. A., & Wong, M. A. (1979). Algorithm AS 136: A k-means clustering algorithm. Journal of the Royal Statistical Society. Series C (Applied Statistics), 28(1), 100–108.
Comaniciu, D., & Meer, P. (2002). Mean shift: A robust approach toward feature space analysis. IEEE Transactions on Pattern Analysis and Machine Intelligence, 24(5), 603–619.
Rasmussen, C. (1999). The infinite Gaussian mixture model. Advances in Neural Information Processing Systems, 12.
Reynolds, D. A. (2009). Gaussian mixture models. Encyclopedia of Biometrics, 741, 659–663.
Ester, M., Kriegel, H. P., Sander, J., & Xu, X. (1996, August). A density-based algorithm for discovering clusters in large spatial databases with noise. In kdd (Vol. 96, No. 34, pp. 226-231).
Campello, R. J., Moulavi, D., & Sander, J. (2013). Density-based clustering based on hierarchical density estimates. In Advances in knowledge discovery and data mining: 17th pacific-asia conference, PAKDD 2013, Gold Coast, Australia, April 14–17, 2013, Proceedings, Part II 17 (pp. 160-172). Springer Berlin Heidelberg.
McInnes, L., Healy, J., & Astels, S. (2017). hdbscan: Hierarchical density based clustering. Journal of Open Source Software, 2(11), 205.
PHM Society. (2010). PHM data chalelnge 2010.
Martínez-Arellano, G., Terrazas, G., & Ratchev, S. (2019). Tool wear classification using time series imaging and deep learning. The International Journal of Advanced Manufacturing Technology, 104, 3647–3662.
Funding
This study has been conducted with the support of the Ministry of SMEs and Startups as “Development of intelligent SHWIS (AI - Smart Human Work Interactive Interface System) AR technology that provides AR Inspection (2/4)- RS-2022-00140809”, and supported by Korea Institute for Advancement of Technology(KIAT) grant funded by the Korea Government as “Tools for adaptive and intelligent control of discrete manufacturing process (TANDEM) (2/4)- P0022309.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Consent to participate
Not applicable
Consent for publication
Not applicable
Competing interests
The author declare that they have no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Lee, T., Kim, Y., Hyun, Y. et al. Unsupervised Anomaly Detection Process Using LLE and HDBSCAN by Style-GAN as a Feature Extractor. Int. J. Precis. Eng. Manuf. 25, 51–63 (2024). https://doi.org/10.1007/s12541-023-00908-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12541-023-00908-2