journal article·2021-06Open access

Unsupervised Machine Learning Via Transfer Learning and k-Means Clustering to Classify Materials Image Data

Ryan Cohn, Elizabeth Holm

Abstract

Unsupervised machine learning offers significant opportunities for extracting knowledge from unlabeled data sets and for achieving maximum machine learning performance. This paper demonstrates how to construct, use, and evaluate a high performance unsupervised machine learning system for classifying images in a popular microstructural dataset. The Northeastern University Steel Surface Defects Database includes micrographs of six different defects observed on hot-rolled steel in a format that is convenient for training and evaluating models for image classification. We use the VGG16 convolutional neural network pre-trained on the ImageNet dataset of natural images to extract feature representations for each micrograph. After applying principal component analysis to extract signal from the feature descriptors, we use k-means clustering to classify the images without needing labeled training data. The approach achieves $99.4\% \pm 0.16\%$ accuracy, and the resulting model can be used to classify new images without retraining This approach demonstrates an improvement in both performance and utility compared to a previous study. A sensitivity analysis is conducted to better understand the influence of each step on the classification performance. The results provide insight toward applying unsupervised machine learning techniques to problems of interest in materials science.
Source: openaire · Quality: candidate unverified · Source record ↗

Research context

OpenAlex topics: Mineral Processing and Grinding · Industrial Vision Systems and Defect Detection · Image Processing and 3D Reconstruction

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (42)

Show source-provided references
1. Dimiduk D, Holm E, Niezgoda S (2018) Perspectives on the impact of machine learning, deep learning, and artificial intelligence on materials, processes, and structures engineering. Integr Mater Manuf I 7(3):1–16
2. Holm EA et al. (2020) Overview: computer vision and machine learning for microstructural characterization and analysis. arXiv:2005.14260
3. DeCost BL, Holm EA (2019) Vision-based methods in microstructure analysis (chap 14). In: Simmons J et al (eds) Statistical methods for materials science: the data science of microstructure characterization. CRC Press, Boca Raton, pp 241–25810.1201/9781315121062-18 ↗
4. Farangis R et al (2017) Error analysis of the crystal orientations obtained by the dictionary approach to EBSD indexing. Ultramicroscopy 181:17–26. https://doi.org/10.1016/j.ultramic.2017.04.01610.1016/j.ultramic.2017.04.016 ↗
5. Ziletti A et al (2018) Insightful classification of crystal structures using deep learning. Nat Commun 9:2775 https://doi.org/10.1038/s41467-018-05169-6. arXiv:1709.0229810.1038/s41467-018-05169-6 ↗
6. Scime L, Beuth J (2018) Anomaly detection and classification in a laser powder bed additive manufacturing process using a trained computer vision algorithm. Addit Manuf 19:114–126. https://doi.org/10.1016/j.addma.2017.11.00910.1016/j.addma.2017.11.009 ↗
7. Le Tan P, Seita M (2019) A high-resolution and large field-of-view scanner for in-line characterization of powder bed defects during additive manufacturing. Mater Des 164:107562. https://doi.org/10.1016/J.MATDES.2018.107562. https://www.sciencedirect.com/science/article/pii/S026412751830926210.1016/J.MATDES.2018.107562 ↗
8. DeCost BL et al (2017) Computer vision and machine learning for autonomous characterization of AM powder feedstocks. JOM 69(3):456–465. https://doi.org/10.1007/s11837-016-2226-110.1007/s11837-016-2226-1 ↗
9. Kusche C et al (2019) Large-area, high-resolution characterisation and classification of damage mechanisms in dual-phase steel using deep learning. PLoS ONE 14(5):e0216493. https://doi.org/10.1371/journal.pone.021649310.1371/journal.pone.0216493 ↗
10. Campbell A et al (2018) New methods for automatic quantification of microstructural features using digital image processing. Mater Des 141:395–406. https://doi.org/10.1016/J.MATDES.2017.12.049. https://www.sciencedirect.com/science/article/pii/S026412751731162010.1016/J.MATDES.2017.12.049 ↗
11. Jiang M et al (2017) Adaptive classifier for steel strip surface defects. J Phys Conf Ser 787:012019. https://doi.org/10.1088/1742-6596/787/1/012019. http://stacks.iop.org/1742-6596/787/i=1/a=012019?key=crossref.68ac690d5d2ca64be7105b33d418a16b10.1088/1742-6596/787/1/012019 ↗
12. Chen Z, Daly S (2018) Deformation twin identification in magnesium through clustering and computer vision. Mater Sci Eng A 736:61–75. https://doi.org/10.1016/j.msea.2018.08.08310.1016/j.msea.2018.08.083 ↗
13. DeCost BL, Francis T, Holm EA (2017) Exploring the microstructure manifold: image texture representations applied to ultrahigh carbon steel microstructures. Acta Mater 133:30–40. https://doi.org/10.1016/j.actamat.2017.05.014. arXiv:1702.0111710.1016/j.actamat.2017.05.014 ↗
14. DeCost BL, Francis T, Holm EA (2019) High throughput quantitative metallography for complex microstructures using deep learning: a case study in ultrahigh carbon steel. Micros Microanal 25:21–29. https://doi.org/10.1017/S143192761801563510.1017/S1431927618015635 ↗
15. Russakovsky O et al (2015) ImageNet large scale visual recognition challenge. Int J Comput Vis 115(3):211–252. https://doi.org/10.1007/s11263-015-0816-y10.1007/s11263-015-0816-y ↗
16. Simonyan K, Zisserman A (2014) Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556
17. He K et al (2016) Deep residual learning for image recognition. In: IEEE conference on computer vision and pattern recognition (CVPR), pp 770–778. arXiv:1512.03385. http://image-net.org/challenges/LSVRC/2015/10.1109/CVPR.2016.90 ↗
18. Kaiming He et al. (2015) Delving deep into rectifiers: surpassing human-level performance on imagenet classification. In: Proc IEEE Int Conf Comput Vis 2015 Inter, pp 1026–1034. https://doi.org/10.1109/ICCV.2015.123. arXiv:1502.0185210.1109/ICCV.2015.123 ↗
19. Kitahara AR, Holm EA (2018) Microstructure cluster analysis with transfer learning and unsupervised learning. Integr Mater Manuf I 7(3):148–156. https://doi.org/10.1007/s40192-018-0116-910.1007/s40192-018-0116-9 ↗
20. Ling J et al (2017) Building data-driven models with microstructural images: generalization and interpretability. Mater Discov 10:19–28. https://doi.org/10.1016/J.MD.2018.03.002. https://www.sciencedirect.com/science/article/pii/S235292451730042X10.1016/J.MD.2018.03.002 ↗
21. Song K, Yan Y (2013) A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects. Appl Surf Sci 285:858–864. https://doi.org/10.1016/J.APSUSC.2013.09.002. https://www.sciencedirect.com/science/article/pii/S016943321301643710.1016/J.APSUSC.2013.09.002 ↗
22. Yi L, Li G, Jiang M (2017) An end-to-end steel strip surface defects recognition system based on convolutional neural networks. Steel Res Int 88(2):1600068. https://doi.org/10.1002/srin.20160006810.1002/srin.201600068 ↗
23. Gao Y et al (2020) A semi-supervised convolutional neural network-based method for steel surface defect recognition. Robot Comput Int Manuf 61:101825. https://doi.org/10.1016/j.rcim.2019.10182510.1016/j.rcim.2019.101825 ↗
24. Liu K et al (2017) Steel surface defect detection using a new Haar-Weibull-variance model in unsupervised manner. IEEE Trans Instrum Meas 66(10):2585–2596. https://doi.org/10.1109/TIM.2017.271283810.1109/TIM.2017.2712838 ↗
25. Luo Q et al (2019) Generalized completed local binary patterns for time-efficient steel surface defect classification. IEEE Trans Instrum Meas 68(3):667–679. https://doi.org/10.1109/TIM.2018.285291810.1109/TIM.2018.2852918 ↗
26. Ren R, Hung T, Tan KC (2018) A generic deep-learning-based approach for automated surface inspection. IEEE Trans Cybern 48(3):929–940. https://doi.org/10.1109/TCYB.2017.266839510.1109/TCYB.2017.2668395 ↗
27. Tao X et al (2018) Automatic metallic surface defect detection and recognition with convolutional neural networks. Appl Sci 8(9):1575. https://doi.org/10.3390/app8091575. http://www.mdpi.com/2076-3417/8/9/157510.3390/app8091575 ↗
28. Zhou S et al (2017) Classification of surface defects on steel sheet using convolutional neural networks. Materiali in Tehnologije 51(1):123–131. https://doi.org/10.17222/mit.2015.33510.17222/mit.2015.335 ↗
29. Xiao M et al (2017) An evolutionary classifier for steel surface defects with small sample set. Eurasip J Image Video Process 2017(1):48. https://doi.org/10.1186/s13640-017-0197-y10.1186/s13640-017-0197-y ↗
30. van der Walt S et al (2014) scikit-image: image processing in Python. PeerJ 2, e453. https://doi.org/10.7717/peerj.453. https://peerj.com/articles/45310.7717/peerj.453 ↗
31. Franccois Chollet and Etc. Keras. 2015. https://keras.io
32. Pedregosa F et al. (2011) Scikit-learn: machine learning in python. J Mach Learn Res 12:2825–2830. http://jmlr.csail.mit.edu/papers/v12/pedregosa11a.html
33. Pizer SM et al. Contrast-limited adaptive histogram equalization: speed and effiectiveness. In: Proceedings of the first conference on visualization in biomedical computing. IEEE Comput Soc Press, pp 337–345. https://doi.org/10.1109/VBC.1990.109340. http://ieeexplore.ieee.org/document/109340/10.1109/VBC.1990.109340 ↗
34. Jollife IT, Cadima J (2016) Principal component analysis: a review and recent developments. https://doi.org/10.1098/rsta.2015.020210.1098/rsta.2015.0202 ↗
35. Lloyd S (1982) Least squares quantization in PCM. IEEE Trans Inform Theory 28(2):129–137. https://doi.org/10.1109/TIT.1982.1056489. http://ieeexplore.ieee.org/document/1056489/10.1109/TIT.1982.1056489 ↗
36. Bock HH (2007) Clustering methods: a history of k-means algorithms. Springer, Berlin, Heidelberg, pp 161–172. https://doi.org/10.1007/978-3-540-73560-1_1510.1007/978-3-540-73560-1_15 ↗
37. Jain AK (2010) Data clustering: 50 years beyond K-means. Patt Recogn Lett 31(8):651–666. https://doi.org/10.1016/J.PATREC.2009.09.011. https://www.sciencedirect.com/science/article/pii/S016786550900232310.1016/J.PATREC.2009.09.011 ↗
38. Arthur D, Vassilvitskii S (2007) k-means++: the advantages of careful seeding. In: Proceedings of the eighteenth annual ACM-SIAM symposium on discrete algorithms. Society for Industrial and Applied Mathematics Philadelphia, PA, USA, pp 1027–1035. http://ilpubs.stanford.edu:8090/778/1/2006-13.pdf
39. Charrad M et al (2014) NbClust: an R package for determining the relevant number of clusters in a data set. J Stat Softw 61(6):1–36. https://doi.org/10.18637/jss.v061.i06. http://www.jstatsoft.org/v61/i06/10.18637/jss.v061.i06 ↗
40. Pelleg D, Pelleg D, Moore A (2000) X-means: extending K-means with efficient estimation of the number of clusters. In: Proceedings of the 17th international conf. on machine learning, pp 727–734. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.3377
41. van der Maaten L, Hinton G (2008) Visualizing data using t-SNE. J Mach Learn Res 9:2579–2605. http://www.jmlr.org/papers/v9/vandermaaten08a.html
42. Cheng G, Zhou P, Han J (2016) Learning rotation-invariant convolutional neural networks for object detection in VHR optical remote sensing images. In: European microscopy congress 2016: proceedings, pp 591–592. https://doi.org/10.1109/TGRS.2016.2601622. http://ieeexplore.ieee.org/document/7560644/10.1109/TGRS.2016.2601622 ↗