An intelligent rating method for pearlite spheroidization of heat-resistant steel based on noisy learning
By using the noisy learning method in the spheroidization rating of heat-resistant steel pearlite, noise samples and correct samples are separated, and the deep learning model is used to achieve automatic rating, which solves the problem of low manual rating accuracy and improves rating accuracy and efficiency. .
Patent Information
- Application Number
- CN202210235285.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-10
AI Technical Summary
The existing heat-resistant steel pearlite spheroidization rating method relies on manual rating, which suffers from subjective errors and low data annotation quality, resulting in low rating accuracy and difficulty in adapting to the simultaneous needs of multiple locations and tasks.
Using a method based on noisy learning, the noise filtering model and classification model in the deep learning model are used to separate noise samples and correct samples in the data set, improve data quality, and achieve automated rating through models such as ResNet.
It significantly improves the accuracy of the spheroidization rating of heat-resistant steel pearlite, reduces the subjective error caused by manual rating, adapts to the rating requirements of multiple locations and tasks, and improves rating efficiency and accuracy.
Smart Images

Figure CN114581719B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of pearlite spheroidization grade assessment, and in particular relates to an intelligent pearlite spheroidization grading method based on noise learning. Background Art
[0002] Heat-resistant steel refers to alloy steel that maintains high durability, creep resistance and good chemical stability in high temperature environments. Pearlite heat-resistant steel is often used to make pressure-bearing devices, such as boiler steel pipes, turbine impellers, rotors, fasteners, high-pressure vessels, pipelines, etc. The microstructure of pearlite heat-resistant steel in use is ferrite and pearlite. When the working temperature is high and the operation is long-term, pearlite spheroidization will occur. The thermal strength and mechanical properties of pearlite heat-resistant steel gradually decrease with the increase of the degree of pearlite spheroidization, and the material gradually deteriorates or even fails. Therefore, the degree of pearlite spheroidization in the structure of pearlite heat-resistant steel is often used as one of the important criteria for judging the reliability of this type of steel.
[0003] In the existing pearlite spheroidization rating of heat-resistant steel, there are methods of rating by pulsed laser or metallographic sample organization. For example, patent application number CN201310345194.4, entitled "On-site detection method of 12Cr1MoV pearlite spheroidization grade based on laser plasma spectrum", discloses a method of directly outputting the pearlite spheroidization grade by directly acting on the surface of the pipeline with pulsed laser to remove the oxide layer and decarburized layer at the inspection site, collecting and analyzing plasma spectrum data, obtaining the tensile strength σb of the tested pipeline material, and then directly outputting the pearlite spheroidization grade.
[0004] The method of metallographic sample organization is to first obtain the metallographic structure state through metallographic samples or metallographic film, and then manually observe the metallographic structure state and compare it with the relevant metallographic map to determine the pearlite spheroidization grade of the final workpiece or equipment. This manual rating method is difficult to carry out multiple locations and multiple tasks at the same time. Applying computer vision technology based on deep learning to the pearlite spheroidization rating of heat-resistant steel can realize the automatic rating of pearlite spheroidization and meet the needs of multiple locations and multiple tasks at the same time. However, deep learning algorithms need to learn and optimize on a large number of clean data samples. The annotation of data samples is mostly done manually, and the data annotation of pearlite spheroidization comes from the manual rating results. The manual rating of pearlite spheroidization requires extremely high knowledge and experience of the operator, and the rating process is not fully quantified. There are subjective cognitive errors in the operator's rating process, which will cause incorrect labeling of some data samples. This is contrary to the deep learning algorithm's demand for clean data. Summary of the invention
[0005] In order to overcome the defects of the above-mentioned prior art, the purpose of the present invention is to provide an intelligent grading method for pearlite spheroidization based on noisy learning, which is based on a sample screening process: a noise filtering model is used to divide the samples in the data set into noise samples and correct samples, and then the correct samples are used to train the classification model; compared with conventional methods, this method significantly improves the accuracy of pearlite spheroidization grading of heat-resistant steel, and realizes automatic grading of pearlite spheroidization of heat-resistant steel.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0007] A pearlite spheroidization intelligent grading method based on noise learning comprises the following steps:
[0008] Step S1, collecting metallographic images of heat-resistant steel to form an original data set, and annotating the images according to their spheroidization levels;
[0009] Step S2: On the original data set, the deep learning model is used to train the data set, and the deep learning model includes a ResNet model to obtain a noise filtering model, which is a multi-classification model;
[0010] Step S3, distinguishing noise samples and correct samples in the noise filtering model data set;
[0011] Step S4: Use the correct samples to train the deep learning model again. The deep learning model includes ResNet, EfficientNet, etc. to obtain a classification model. The model can realize the automatic rating of pearlite spheroidization of heat-resistant steel.
[0012] Step S5: using the classification model to perform pearlite spheroidization rating of heat-resistant steel.
[0013] The step S2 comprises the following steps:
[0014] S2.1. Divide the original data set into five parts according to the 5-fold cross-validation method, denoted as {A1, A2, A3, A4, A5}. Each part is used as the test set in turn, and the remaining part is used as the training set. The training set and the test set are represented as train1 = {A2, A3, A4, A5}, test1 = {A1}; train2 = {A1, A3, A4, A5}, test2 = {A2}; ...; train5 = {A1, A2, A3, A4}, test5 = {A5};
[0015] S2.2. The training sets obtained in step 2.1 are subjected to flipping, blurring, brightness and contrast adjustment, random cropping, random grid shuffling and image standardization processing; the test set data obtained in step 2.1 are subjected to image standardization processing;
[0016] S2.3. Select the training set in turn to train the deep learning model, and use the test set to test it to obtain the noise filtering model, wherein the average result of 5 training tests is taken as the final result of the noise filtering model test.
[0017] The step S3 comprises the following steps:
[0018] S3.1. Set a confidence threshold t, the value range of which is:
[0019]
[0020] Wherein, t is the confidence threshold, and C is the total number of categories in the data set;
[0021] S3.2. Use the noise filtering model to output the confidence of all categories of all samples. The process is expressed as:
[0022]
[0023] Among them, softmax(z i ) is the confidence of the model output, zi is the output of the last layer in the noise filtering model, and C is the total number of categories in the dataset;
[0024] S3.3. Select each sample in turn, check its original label, and determine the category i to which the sample belongs. If the output confidence of the noise filtering model for the sample in category i is less than the set confidence threshold, then the sample is a noise sample, otherwise it is a correct sample.
[0025] The step S4 comprises the following steps:
[0026] S4.1. Divide the correct samples into 5 parts according to the 5-fold cross-validation method, denoted as {B1, B2, B3, B4, B5}, where B j (j=1, 2, ..., 5) is A j The subset of (j=1, 2, ..., 5), the training set and the test set are represented as train1={B2, B3, B4, B5}, test1={A1}; train2={B1, B3, B4, B5}, test2={A2}; ...; train5={B1, B2, B3, B4}, test5={A5}.
[0027] S4.2. The training set obtained in step 4.1 is subjected to flipping, blurring, brightness and contrast adjustment, random cropping, random grid shuffling and image standardization processing; the test set data obtained in step 4.1 is processed using image standardization;
[0028] S4.3. Select the training set in turn to train the deep learning model, and use the test set to test it to obtain the classification model, where the average result of 5 training tests is taken as the final result of the classification model test.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The present invention proposes a pearlite spheroidization rating method for heat-resistant steel based on noisy learning, which is used in the work of pearlite spheroidization rating through metallographic structure samples. Pearlite spheroidization rating is usually manually rated, and the rating accuracy depends on the professional knowledge level of the staff, which is very likely to cause incorrect ratings of some samples, which makes the overall annotation quality of the data set not very high and the labels contain noise. The method described in the present invention trains a noise filtering model on the original data set, and by pre-setting a confidence threshold, uses the noise filtering model to divide all samples in the data set into correct samples and noise samples, and trains a classification model on the correct samples to perform pearlite spheroidization rating of heat-resistant steel, effectively reducing the negative impact of noise samples on model learning and optimization processes. Compared with conventional deep learning methods, the method described in the present invention reduces the subjective error caused by manual rating, improves the efficiency of pearlite spheroidization rating, and further improves the accuracy of spheroidization rating under the premise that the data set annotation quality is not high and some annotations are incorrect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The present invention is a flow chart of the pearlite spheroidization rating of heat-resistant steel.
[0032] Figure 2 This is an example of the metallographic image identified by the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments described herein are only used to explain the present invention to make it clearer and more specific. Without departing from the technical scheme of the present application, the several improvements made and various non-creative labor results all belong to the protection scope of the present application.
[0034] Combination Figure 1 , a pearlite spheroidization intelligent grading method based on noise learning, characterized by comprising the following steps:
[0035] Step S1: Collect metallographic images of pressure-bearing equipment and construct an original data set. The data set includes images of 12CrMoV, 15CrMo, and 1CrMo. Figure 2According to the metallographic inspection results of the inspection agency, the collected data are labeled with one of the following labels: non-spheroidized, spheroidized level 3, spheroidized level 4, and spheroidized level 5;
[0036] S2. Train a deep learning model (ResNet18) on the original dataset to obtain a noise filtering model, including the following steps:
[0037] S2.1. Divide the data set established in step 1 into 5 parts according to the 5-fold cross-validation method, recorded as {A1, A2, A3, A4, A5}, each part is used as the test set in turn, and the rest are used as the training set. The training set and the test set can be expressed as train1 = {A2, A3, A4, A5}, test1 = {A1}; train2 = {A1, A3, A4, A5}, test2 = {A2}; ...; train5 = {A1, A2, A3, A4}, test5 = {A5};
[0038] S2.2. The training sets obtained in step 2.1 are subjected to flipping, blurring, brightness and contrast adjustment, random cropping, random grid shuffling and image standardization processing; the test set data obtained in step 2.1 are subjected to image standardization processing;
[0039] S2.3. Select the training set in turn to train the deep learning model (ResNet18), and use the test set to test it to obtain the noise filtering model. The average result of 5 training tests is taken as the final result of the noise filtering model test.
[0040] S3. Divide the samples in the original data set into noise samples and correct samples, including the following steps:
[0041] S3.1. Set a confidence threshold t. There are four categories of data sets in step 1. The confidence threshold value range is 0<t≤0.25. In this embodiment, 0.1 is set as the confidence threshold value.
[0042] S3.2. Use the noise filtering model to output the confidence of the four categories of all samples. The process can be expressed as:
[0043]
[0044] Among them, softmax(Z i ) is the confidence of the model output, z i It is the output of the last layer in the noise filtering model;
[0045] S3.3. Select each sample in turn, check its original annotation, and determine the category i to which the sample belongs. If the confidence output by the noise filtering model for its category i is less than the confidence threshold, then the sample is a noise sample, otherwise it is a correct sample;
[0046] S4. Use the correct samples to train the deep learning model (ResNet18) to obtain a classification model, which can realize the automatic rating of pearlite spheroidization of heat-resistant steel. It includes the following steps:
[0047] S4.1. Divide the correct samples obtained in step 3.3 into 5 parts according to the 5-fold cross-validation method, denoted as {B1, B2, B3, B4, B5}, where B j (j=1, 2, ..., 5) is A j Each part in step 2.1 is used as the test set in turn, and the rest in step 4.1 is used as the training set. The training set and the test set are denoted as train1 = {B2, B3, B4, B5}, test1 = {A1}; train2 = {B1, B3, B4, B5}, test2 = {A2}; ...; train5 = {B1, B2, B3, B4}, test5 = {A5}.
[0048] S4.2. The training set obtained in step 4.1 is subjected to flipping, blurring, brightness and contrast adjustment, random cropping, random grid shuffling and image standardization processing; the test set data obtained in step 4.1 is processed using image standardization;
[0049] S4.3. Select the training set in turn to train the deep learning model (ResNet18), and use the test set to test it to obtain the classification model. The average result of 5 training tests is taken as the final result of the classification model test.
[0050] S5. The classification model is used to perform pearlite spheroidization rating of heat-resistant steel. The comparison of the recognition results of the noise filtering model and the classification model is shown in Table 1.
[0051] Table 1 The accuracy of this method in grading pearlite spheroidization of heat-resistant steel
[0052]
[0053] As shown in Table 1, according to the results of 5-fold cross validation, compared with the conventional deep learning method, after introducing the idea of noisy learning, the accuracy rate increased from 73.45% to 76.31%, an increase of 2.86 percentage points. The pearlite spheroidization rating method of heat-resistant steel based on noisy learning described in the present invention can effectively improve the accuracy of pearlite spheroidization rating. Compared with the conventional deep learning method, the negative impact of label noise is significantly reduced.
Claims
1. An intelligent pearlite spheroidization grading method based on noisy learning, characterized in that: The following steps are involved: Step S1, collecting metallographic images of heat-resistant steel to form an original data set, and annotating the images according to their spheroidization levels; Step S2: On the original data set, a deep learning model is trained to obtain a noise filtering model, where the noise filtering model is a multi-classification model and the deep learning model is a ResNet model; Step S3, distinguishing noise samples and correct samples in the noise filtering model data set; Step S4: Use the correct samples to train the deep learning model again to obtain a classification model; Step S5, using the classification model to perform pearlite spheroidization rating of heat-resistant steel; The step S3 comprises the following steps: S3.
1. Set a confidence threshold t, the value range of which is: Wherein, t is the confidence threshold, and C is the total number of categories in the data set; S3.
2. Use the noise filtering model to output the confidence of all samples in all categories, specifically: Among them, softmax(z i ) is the confidence of the model output, z i is the output of the last layer in the noise filtering model, and C is the total number of categories in the dataset; S3.
3. Select each sample in turn, check its original label, and determine the category i to which the sample belongs. If the output confidence of the noise filtering model for the sample in category i is less than the set confidence threshold, then the sample is a noise sample, otherwise it is a correct sample.
2. According to claim 1, a pearlite spheroidization intelligent grading method based on noise learning is characterized in that: The step S2 comprises the following steps: S2.
1. Divide the original data set into five parts according to the 5-fold cross-validation method, denoted as {A1, A2, A3, A4, A5}. Each part is used as the test set in turn, and the remaining part is used as the training set. The training set and test set are represented as train1 = {A2, A3, A4, A5}, test1 = {A1}; train2 = {A1, A3, A4, A5}, test2 = A2};…;train5={A1,A2,A3,A4},test5={A5}; S2.
2. The training sets obtained in step 2.1 are subjected to flipping, blurring, brightness and contrast adjustment, random cropping, random grid shuffling and image standardization processing; the test set data obtained in step 2.1 are subjected to image standardization processing; S2.
3. Select the training set in turn to train the deep learning model, and use the test set to test it to obtain the noise filtering model, wherein the average result of 5 training tests is taken as the final result of the noise filtering model test.
3. According to claim 1, a pearlite spheroidization intelligent grading method based on noise learning is characterized in that: The step S4 comprises the following steps: S4.
1. Divide the correct samples into five parts according to the 5-fold cross-validation method, denoted as {B1, B2, B3, B4, B5}, where B j (j=1,2,...,5) is A j The training set and test set are represented as train1 = {B2, B3, B4, B5}, test1 = {A1}; train2 = {B1, B3, B4, B5}, test2 = {A2}; ...; train5 = {B1, B2, B3, B4}, test5 = {A5}; S4.
2. The training set obtained in step 4.1 is subjected to flipping, blurring, brightness and contrast adjustment, random cropping, random grid shuffling and image standardization processing; the test set data obtained in step 4.1 is processed using image standardization; S4.
3. Select the training set in turn to train the deep learning model, and use the test set to test it to obtain the classification model, where the average result of 5 training tests is taken as the final result of the classification model test.
