A Transformer-based approach for anomaly detection in wire electrical discharge
AbstractAlthough theoretical models of manufacturing processes are useful for understanding physical events, it can be challenging to apply them in real-world industrial settings. When huge data are accessible, artificial intelligence approaches in the context of Industry 4.0 can offer effective answers to real production challenges. Deep learning is increasingly being used in the realm of artificial intelligence to address a variety of issues relating to information and communication technology, but it is still limited or perhaps nonexistent in the industrial sector. In this study, wire electrical discharge machining—a sophisticated machining technique primarily used for computer hardware components—is applied to effectively forecast unforeseen occurrences. By identifying hidden patterns in process signals, anomalies, such as changes in the thickness of a machined item, may be efficiently anticipated before they occur. In this study, a model for anomaly detection in the sequence of thickness change in the machined component based on transformers is suggested. Our method is able to achieve 94.32 % and 94.16 % accuracy in Z 135 and Z 15 datasets, respectively. Also, it forecasts the abnormalities inside the sequence 1.1 seconds in advance, according to our tests on a dataset that has been introduced.
 Abu Qudeiri, Jaber E., Ahmad Saleh, Aiman Ziout, Abdel-Hamid I. Mourad, Mustufa Haider Abidi, and Ahmed Elkaseer. "Advanced electric discharge machining of stainless steels: Assessment of the state of the art, gaps and future prospect." Materials, vol. 12, no. 6, p. 907, 2019.
 Barrios, Sonia, David Buldain, María Paz Comech, Ian Gilbert, and Iñaki Orue. "Partial discharge classification using deep learning methods—Survey of recent progress." Energies, vol. 12, no. 13, p. 2485, 2019.
 El-Bahloul, Sara Ahmed. "Optimization of wire electrical discharge machining using statistical methods coupled with artificial intelligence techniques and soft computing." SN Applied Sciences, vol. 2, no. 1, pp. 1-8, 2020.
 Khan, Sarmad Ali, Mudassar Rehman, Muhammad Umar Farooq, Muhammad Asad Ali, Rakhshanda Naveed, Catalin I. Pruncu, and Waheed Ahmad. "A detailed machinability assessment of DC53 steel for die and mold industry through wire electric discharge machining." Metals, vol. 11, no. 5, p. 816, 2021.
 Umar Farooq, Muhammad, Mohammad Pervez Mughal, Naveed Ahmed, Nadeem Ahmad Mufti, Abdulrahman M. Al-Ahmari, and Yong He. "On the investigation of surface integrity of Ti6Al4V ELI using Si-mixed electric discharge machining." Materials, vol. 13, no. 7, p. 1549, 2020.
 Fujiyoshi, Hironobu, Tsubasa Hirakawa, and Takayoshi Yamashita. "Deep learning-based image recognition for autonomous driving." IATSS research, vol. 43, no. 4, 244-252, 2019.
 Pastor-Pellicer, Joan, María José Castro-Bleda, Salvador Espana-Boquera, and Francisco Zamora-Martinez. "Handwriting recognition by using deep learning to extract meaningful features." Ai Communications, vol. 32, no. 2, pp. 101-112, 2019.
 Qiu, Xipeng, Tianxiang Sun, Yige Xu, Yunfan Shao, Ning Dai, and Xuanjing Huang. "Pre-trained models for natural language processing: A survey." Science China Technological Sciences, vol. 63, no. 10, pp. 1872-1897, 2020.
 Kinghorn, Philip, Li Zhang, and Ling Shao. "A hierarchical and regional deep learning architecture for image description generation." Pattern Recognition Letters, vol. 119, pp. 77-85, 2019.
 Sharghi, Elnaz, Vahid Nourani, Hessam Najafi, and Amir Molajou. "Emotional ANN (EANN) and wavelet-ANN (WANN) approaches for Markovian and seasonal based modeling of rainfall-runoff process." Water resources management, vol. 32, no. 10, pp. 3441-3456, 2018.
 Nourani, Vahid, Zahra Razzaghzadeh, Aida Hosseini Baghanam, and Amir Molajou. "ANN-based statistical downscaling of climatic parameters using decision tree predictor screening method." Theoretical and Applied Climatology, vol. 137, no. 3, pp. 1729-1746, 2019.
 Nourani V, Molajou A, Tajbakhsh AD, Najafi H. “A wavelet based data mining technique for suspended sediment load modeling. Water Resources Management” , vol. 31, pp. 1769-84, 2019.
 Nassif, Ali Bou, Ismail Shahin, Imtinan Attili, Mohammad Azzeh, and Khaled Shaalan. "Speech recognition using deep neural networks: A systematic review." IEEE access, vol. 7, pp. 19143-19165, 2019.
 Stahlberg, Felix. "Neural machine translation: A review." Journal of Artificial Intelligence Research, vol. 69, pp. 343-418, 2020.
 Ackerson, Joseph M., Rushit Dave, and Naeem Seliya. "Applications of recurrent neural network for biometric authentication & anomaly detection." Information, vol. 12, no. 7, p. 272, 2021.
 McClelland, James L., and David E. Rumelhart. "Distributed memory and the representation of general and specific information." In Connectionist psychology: A text with readings, vol. 43, pp. 75-106, 2020.
 Wang, Yaoli, Lipo Wang, Fangjun Yang, Wenxia Di, and Qing Chang. "Advantages of direct input-to-output connections in neural networks: The Elman network for stock index forecasting." Information Sciences, vol. 547, pp. 1066-1079, 2021.
 Smagulova, Kamilya, and Alex Pappachen James. "A survey on LSTM memristive neural network architectures and applications." The European Physical Journal Special Topics vol. 228, no. 10, pp. 2313-2324, 2019.
 Kiranyaz, Serkan, Onur Avci, Osama Abdeljaber, Turker Ince, Moncef Gabbouj, and Daniel J. Inman. "1D convolutional neural networks and applications: A survey." Mechanical systems and signal processing, vol. 151, p. 107398, 2021.
 Sarıgül, Mehmet, Buse Melis Ozyildirim, and Mutlu Avci. "Differential convolutional neural network." Neural Networks, vol. 116, pp. 279-287, 2019.
 Yin, Jiateng, and Wentian Zhao. "Fault diagnosis network design for vehicle on-board equipments of high-speed railway: A deep learning approach." Engineering Applications of Artificial Intelligence, vol. 56 , 250-259, 2016.
 Canizo, Mikel, Isaac Triguero, Angel Conde, and Enrique Onieva. "Multi-head CNN–RNN for multi-time series anomaly detection: An industrial case study." Neurocomputing, vol. 363, pp. 246-260, 2019.
 Wang, Peng, Robert X. Gao, and Ruqiang Yan. "A deep learning-based approach to material removal rate prediction in polishing." Cirp Annals, vol. 66, no. 1, pp. 429-432, 2017.
 Khan, Salman, Muzammal Naseer, Munawar Hayat, Syed Waqas Zamir, Fahad Shahbaz Khan, and Mubarak Shah. "Transformers in vision: A survey." ACM Computing Surveys , vol. 363, pp. 246-260, 2021.
 Dabre, Raj, Chenhui Chu, and Anoop Kunchukuttan. "A survey of multilingual neural machine translation." ACM Computing Surveys (CSUR), vol. 53, no. 5, pp. 1-38, 2020.
 Zaheer, Manzil, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham et al. "Big bird: Transformers for longer sequences." Advances in Neural Information Processing Systems, vol. 33, pp. 17283-17297, 2020.
 Pan, Xuran, Chunjiang Ge, Rui Lu, Shiji Song, Guanfu Chen, Zeyi Huang, and Gao Huang. "On the integration of self-attention and convolution." In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, vol. 32, pp. 815-825. 2022.
 Floridi, Luciano, and Massimo Chiriatti. "GPT-3: Its nature, scope, limits, and consequences." Minds and Machines, vol. 30, no. 4, 681-694, 2020.
 Acheampong, Francisca Adoma, Henry Nunoo-Mensah, and Wenyu Chen. "Transformer models for text-based emotion detection: a review of BERT-based approaches." Artificial Intelligence Review, vol. 54, no. 8, pp. 5789-5829, 2021.
 Bhatt, Dulari, Chirag Patel, Hardik Talsania, Jigar Patel, Rasmika Vaghela, Sharnil Pandya, Kirit Modi, and Hemant Ghayvat. "CNN variants for computer vision: History, architecture, application, challenges and future scope." Electronics, vol. 10, no. 20, p. 2470, 2021.
 Currey, Anna, and Kenneth Heafield. "Incorporating source syntax into transformer-based neural machine translation." In Proceedings of the Fourth Conference on Machine Translation (Volume 1: Research Papers), vol.12, pp. 24-33. 2019.
 Grechishnikova, Daria. "Transformer neural network for protein-specific de novo drug generation as a machine translation problem." Scientific reports, vol. 11, no. 1, pp. 1-13, 2021.
 Basodi, Sunitha, Chunyan Ji, Haiping Zhang, and Yi Pan. "Gradient amplification: An efficient way to train deep neural networks." Big Data Mining and Analytics, vol. 3, no. 3, pp. 196-207, 2020.
 Jha, Dipendra, Vishu Gupta, Logan Ward, Zijiang Yang, Christopher Wolverton, Ian Foster, Wei-keng Liao, Alok Choudhary, and Ankit Agrawal. "Enabling deeper learning on big data for materials informatics applications." Scientific reports, vol. 11, no. 1, pp. 1-12, 2021.
 Gumaei, Abdu, Mohammad Mehedi Hassan, Abdulhameed Alelaiwi, and Hussain Alsalman. "A hybrid deep learning model for human activity recognition using multimodal body sensing data." IEEE Access, vol. 7, pp. 99152-99160, 2019.
 Liu, Ze, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. "Swin transformer: Hierarchical vision transformer using shifted windows." In Proceedings of the IEEE/CVF on Computer Vision, vol.65, pp. 10012-10022. 2021.
 Liu, Zhenhua, Yunhe Wang, Kai Han, Wei Zhang, Siwei Ma, and Wen Gao. "Post-training quantization for vision transformer." Advances in Neural Information Processing Systems, vol. 34, pp. 28092-28103, 2021.
 Deepak, S., and P. M. Ameer. "Automated categorization of brain tumor from mri using cnn features and svm." Journal of Ambient Intelligence and Humanized Computing, vol. 12, no. 8, 8357-8369, 2021.
 Choi, Youngkwon, Gayathri Naidu, Long D. Nghiem, Sangho Lee, and Saravanamuthu Vigneswaran. "Membrane distillation crystallization for brine mining and zero liquid discharge: opportunities, challenges, and recent progress." Environmental Science: Water Research & Technology, vol. 5, no. 7, 1202-1221, 2019.