A robust feature selection method for partially labeled data

By combining the correlation and feature redundancy of features and labels in the sparse regression model, constructing an objective function and performing alternate iterative optimization, the problem of pseudo-label influence on feature selection in partially labeled data is solved, and the accuracy and accuracy of the classification model are improved. stability.

CN117454154BActive Publication Date: 2024-10-01JIANGXI AGRICULTURAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311776712.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2024-10-01
Estimated Expiration
2043-12-22

Smart Images

  • Figure CN117454154B_ABST
    Figure CN117454154B_ABST
Patent Text Reader

Abstract

The present invention relates to a robust feature selection method for partial labeled data. First, the label confidence is calculated using the correlation of samples in the partial labeled data, and the pseudo labels in the label space are smoothed according to the label confidence; on this basis, the redundancy of the features is calculated and analyzed using weighted mutual information, and a feature selection method model based on a sparse regression model is constructed; the partial labeled data is optimized and learned using the model, and the label confidence learned by the model is used to guide the update of the correlation between each variable in a two-stage cyclic iterative manner, and feature selection is performed on the partial labeled data through the sparse regression coefficient, thereby obtaining a feature subset result with good robustness. The present invention constructs a feature selection objective function for partial labeled data by analyzing and calculating the correlation between features and labels, the correlation of samples, and the redundancy of features, realizes accurate measurement analysis of the importance of features, and significantly improves the classification performance of the learning model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a robust feature selection method for partially labeled data. Background Art

[0002] With the advent of the big data era, data in real-world application fields often have complex semantic information and high-dimensional features, which poses severe challenges to current data mining and machine learning model training. On the one hand, the rich semantics of high-dimensional data increases the data annotation cost of traditional supervised learning tasks, so that some data objects often contain irrelevant noise labels during the annotation process. This type of noisy labeled data is called partial labeled data in the field of machine learning; on the other hand, high-dimensional partial labeled data is often prone to dimensionality disaster problems during the training of learning models, and will reduce the generalization performance and interpretability of the model. The data objects of partial labeled learning are associated with a candidate label set, in which there is only one correct label and the rest are pseudo labels; the feature selection method can effectively avoid the dimensionality disaster problem. By selecting a key feature set, it can effectively reduce the computational complexity of the learning process and improve the performance of the learning model. In the framework of partial label learning, the existing feature selection methods are often negatively affected by pseudo labels and cannot accurately evaluate the importance of the features of partial labeled data. At the same time, the pseudo labels in the partial labeled data make the supervision information inaccurate, which easily leads to a stronger correlation between the selected feature subset and the pseudo labels, resulting in a loss of credibility in the measurement of correlation and reducing the effectiveness of the feature subset. Therefore, designing a robust feature selection method for partial labeled data can significantly improve the accuracy and stability of the classification model. Summary of the invention

[0003] The purpose of the present invention is to provide a robust feature selection method for partially labeled data. From the three perspectives of the correlation between features and labels, the correlation of samples and the redundancy of features, a feature selection objective function for partially labeled data is constructed, the importance of features is accurately measured and analyzed, and the objective function is optimized by alternating variables to output a feature subset with strong classification performance and good robustness.

[0004] To achieve the above purpose, the technical solution adopted by the present invention is as follows.

[0005] A robust feature selection method for partially labeled data includes the following steps:

[0006] Step S1, constructing a feature selection method model based on a sparse regression model, specifically comprising the following steps:

[0007] Step S11, constructing an objective function of the feature and label space for the partially labeled data based on the sparse regression model, which is used to measure the correlation between the feature and the label in the partially labeled data set and fit the relationship between the feature space of the partially labeled data and the label space;

[0008] Step S12, calculating the label confidence by using the correlation of samples in the partial label data, and smoothing the pseudo labels in the label space according to the label confidence;

[0009] Step S13, measuring the correlation between two features based on the mutual information method, measuring the redundancy of the features, and incorporating the correlation between the features and the tags into the redundancy measurement of the features through weights;

[0010] Then, by comprehensively considering the correlation between features and labels, the correlation of samples, and the redundancy of features, the objective function of feature selection is constructed:

[0011] ,

[0012] in, represents the sample feature matrix, and , represents a sparse coefficient matrix, and , represents the label confidence matrix, and , Indicates that the data values ​​are all within the real number domain. Represents the number of samples in the partial labeled dataset, Indicates the number of features describing the sample, Represents the number of label types in the partial label dataset, Matrix norm representing the Frobenius norm; represents the trace of the matrix, that is, it means calculating the sum of the main diagonal elements of the matrix, is the equilibrium parameter of the objective function, is the mutual information matrix between each feature, and , is a sparse coefficient matrix The transposed matrix of represents the equilibrium parameter, Right now norm regularization term;

[0013] Step S14, using a two-stage alternating iterative solution method to optimize the objective function of the feature selection in the above step S13, and construct a feature selection method model based on a sparse regression model:

[0014] ,

[0015] in, represents the Laplacian matrix, and ;

[0016] Step S2, using the constructed feature selection method model based on the sparse regression model to optimize the learning of the partial labeled data set, the label confidence obtained by the model learning optimization is used to guide the update of the correlation between each variable in a two-stage cyclic iterative manner, and the sparse regression coefficient matrix is ​​obtained and updated, and the feature ranking result is output according to the importance of the feature through the sparse regression coefficient, and the feature selection is performed on the partial labeled data set, so as to obtain a feature subset result with good robustness, which specifically includes the following steps:

[0017] Step S21: the partial labeled data set and sample label matrix Input into the feature selection method model based on sparse regression model constructed in step S1 above, and set the parameter number of neighbors to , the feature selection ratio is ;

[0018] Step S22: Laplacian matrix Initialized to the identity matrix, ;

[0019] Step S23, by constructing a feature selection method model based on a sparse regression model, using the Euclidean distance measurement method to obtain the The neighbor sample set is based on the sample label matrix , neighbor weight , calculate the partial labeled data set The label confidence of each category label of each sample in , and obtain the label confidence matrix , Indicates the number of iterations;

[0020] Step S24, through the constructed feature selection method model based on the sparse regression model, the correlation between the feature and the label and the redundancy of the feature are measured and calculated, the importance of each feature of each sample is calculated, and the label confidence matrix is ​​used to calculate the importance of each feature of each sample. Calculate the sparse coefficient matrix ; Sparse coefficient matrix The value in indicates the importance of the feature;

[0021] Step S25, according to the sparse coefficient matrix Update the Laplacian matrix , and obtain the new Laplace matrix ;

[0022] Step S26: sparse coefficient matrix Sort the values ​​in descending order and select the top The features corresponding to the values ​​constitute a feature subset ; Based on feature subset Generate low-dimensional partially labeled dataset ;

[0023] Step S27, based on the low-dimensional partial labeled data set Label confidence matrix Update to obtain a new label confidence matrix ;

[0024] Step S28, loop through the above steps S24 to S27 until the function converges or the number of iterations reaches When the maximum number of iterations is reached, the algorithm stops and outputs the feature sorting results according to the importance of the features to obtain the feature subset. , , Indicated by The feature set consists of data features and satisfies , Refers to feature subset The number of features contained in a dataset also refers to the feature space dimension of a low-dimensional dataset.

[0025] Furthermore, in step S11, a specific method for constructing an objective function of the feature and label space for partially labeled data based on the sparse regression model is:

[0026] A regularization term is added to the sparse regression model to prevent the model from overfitting. The model is used to estimate the correlation between features and labels in the partial labeled data. The difference in sparse coefficient values ​​between different features is increased by the correlation between features and labels, and features with larger coefficients are selected. The established objective function is as follows:

[0027] ,

[0028] in, represents the sample label matrix, and .

[0029] Furthermore, in step S12, the label confidence is calculated using the correlation of samples in the partial label data, and the specific method for smoothing the pseudo labels in the label space according to the label confidence is:

[0030] First, according to the sample feature matrix The characteristic vector of the sample in is selected using the Euclidean distance metric method Before Nearest neighbor samples are sorted according to the distance to form a sample of Neighbor sample set ; Using the corresponding The candidate label set of neighbor samples is The candidate tag set The class labels in the weighted vote, the neighbor weight Determined by distance; The nearest neighbor samples are respectively After weighted voting, each category label receives voting value, and then The voting values ​​are summed up as a sample The candidate tag set The number of votes for the corresponding category mark in the calculation, and then the category mark with the largest number of votes is marked as the sample Candidate markers ;

[0031] Then the candidate tag set is sorted according to the following rules Update the label confidence of the category labels in and obtain the label confidence matrix :

[0032] ,

[0033] In the formula, Representation sample Category tag The confidence level, Indicates the number of elements in the candidate tag set;

[0034] After calculating the confidence corresponding to each category label in the candidate label set of all samples, the label confidence matrix is ​​formed ,and , and then use the label confidence matrix Replace the sample label matrix of the label space Get the new objective function:

[0035] .

[0036] Furthermore, in step S12, the formula for calculating the number of votes is as follows:

[0037] ,

[0038] In the formula, Representation sample Category tag The number of votes, category label Representative tag type, Indicates Nearest neighbor samples, Represents the nearest neighbor sample The neighbor weights of , ; Represents the sample label matrix Nearest neighbor sample Category tag The corresponding correlation value; where, Output the value of the judgment result, that is, if Established, then is set to 1 if If it does not hold, then The value of is set to 0.

[0039] Further, in step S13, the correlation between the two features is measured based on the mutual information method, the redundancy of the features is measured, and the correlation between the features and the tags is incorporated into the redundancy measurement of the features through weights to obtain;

[0040] ,

[0041] in, Representation characteristics and Features The correlation between them is used to measure the redundancy between features; and Features Respectively represent Features and Features, Representation characteristics Relative to category label The importance of Representation characteristics Relative to category label The importance of

[0042] Thus, the objective function of feature selection is obtained:

[0043] ,

[0044] Simplifying the above formula, the objective function of feature selection is as follows:

[0045] .

[0046] Furthermore, in step S24, according to the marking confidence matrix Calculate the sparse coefficient matrix The specific method is: , where is the sample feature matrix The transposed matrix of .

[0047] Further, in step S25, according to the sparse coefficient matrix Update the Laplacian matrix , and obtain the new Laplace matrix The specific method is:

[0048] If the sparse coefficient matrix The value in is , Representation characteristics The importance of , then the calculation method of the Laplace matrix is:

[0049] ,

[0050] in, is the Laplace matrix Middle Line Column elements, Represents a sparse coefficient matrix Middle Features and The mapping coefficient between the class labels; yes The square root of the sum of the absolute values ​​of the mapping coefficients represents the feature The importance of ,and , Indicates Features and class labels The mapping coefficients between .

[0051] Compared with the prior art, the feature selection method of the present invention has the following advantages:

[0052] The present invention constructs a feature selection objective function for partial labeled data by analyzing and calculating the correlation between features and labels, the correlation of samples, and the redundancy of features, thereby achieving accurate measurement analysis of the importance of features and significantly improving the classification performance of the learning model. Feature selection can be performed directly on noisy data, and sample correlation can be used to reduce the influence of label noise in the feature selection process. In addition, the redundancy between features can be taken into account to reduce the redundancy of selected features as much as possible, which can improve the accuracy and stability of the classification model while reducing the feature dimension, and is conducive to improving the efficiency and accuracy of the model in data classification processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 This is a flowchart of a robust feature selection method for partially labeled data in an embodiment of the present invention.

[0054] Figure 2is the sample feature matrix in the embodiment of the present invention Schematic diagram of .

[0055] Figure 3 is the sample labeling matrix in the embodiment of the present invention Schematic diagram of . DETAILED DESCRIPTION

[0056] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention can also be implemented in other ways different from those described herein, and therefore, the present invention is not limited to the limitations of the specific embodiments disclosed below.

[0057] First, in partially labeled learning, Indicated by The feature set consists of data features, representing the data dimensional feature space, each feature represents a feature description and corresponds to a feature type. Representative feature type. Indicated by A set of tags consisting of category tags, representing the data dimensional label space, each category label represents a label type, where the category label Representative tag type.

[0058] The research object of partially labeled learning is described from two parts: feature space and label space.

[0059] X = [ x 1 , x 2 , … , x n ] T ∈ ℝ n × d Represents the sample feature matrix, which is used to characterize the partial labeled data The samples consist of dimensional feature space; among them, Representation sample The feature vector of each sample is given by The corresponding descriptive degree of each feature (referred to as eigenvalue), for example x i = [ x i 1 , x i 2 , … , x i d ] ∈ ℝ d , Representation sample The characteristic vector of Representation sample About Features The characteristic value of Figure 2 ).

[0060] Each sample corresponds to a candidate tag set, which is a set of multiple category tags. The candidate tag set contains a correct category tag and multiple pseudo category tags. Both the correct category tag and the pseudo category tag belong to the tag set. .For example, Representation sample The candidate tag set, Representation sample The candidate tag set is , .

[0061] Y = [ y 1 , y 2 , … , y n ] T ∈ ℝ n × q Represents the sample label matrix, which is used to characterize the partial label data The samples consist of dimensional labeling space; where Representation sample The label vector of each sample is composed of the correlation values ​​between the sample and all category labels, that is, y n = [ y n 1 , y n 2 , … , y n q ] ∈ ℝ q , Representation sample With category tag Correlation value of sample label matrix The initial value of the label vector in is determined by the candidate label set of the sample. For example, if the sample With category tag about, that is ,but , if the sample With category tag No matter, (See Figure 3 ).

[0062] Partially labeled datasets for A set of ordered groups consisting of feature descriptions and label descriptions of samples, where Representative samples A partially labeled dataset, , represents a partially labeled dataset From partial labeled dataset Medium Sample The eigenvector of and the candidate tag set composition.

[0063] like Figure 1 A robust feature selection method for partial labeled data shown in FIG. 1 includes the following steps:

[0064] Step S1, constructing a feature selection method model based on a sparse regression model, comprising the following steps:

[0065] Step S11, based on the sparse regression model, construct an objective function of the feature and label space for the partially labeled data, which is used to measure the correlation between the features and labels in the partially labeled data set and fit the relationship between the feature space of the partially labeled data and the label space:

[0066] Add regularization terms to the sparse regression model to prevent the model from overfitting, and use the model to estimate the correlation between features and labels in the partial labeled data. Increase the difference in sparse coefficient values ​​between different features by the strength of the correlation between features and labels, and select features with larger coefficients. This can reduce the data dimension, improve the generalization ability and interpretability of the model, and reduce the risk of overfitting of the model. The established objective function is as follows:

[0067] .

[0068] in, represents the sample feature matrix, and , represents the sample label matrix, and , represents a sparse coefficient matrix. In the method of the present invention, the sparse coefficient matrix represents the model's measurement of the correlation between the features and labels of the partially labeled data, and , Indicates that the data values ​​are all within the real number domain. Represents the number of samples in the partial labeled dataset, Indicates the number of features describing the sample, Represents the number of label types in the partial label dataset, Matrix norm representing the Frobenius norm. represents the equilibrium parameter, Right now norm regularization term; during the model iteration process, The norm can increase the sparse coefficient of key features and reduce the sparse coefficient of redundant or useless features to zero, making the sample feature matrix The sparse coefficients of different features in the dataset are significantly different, so features with joint sparsity can be screened out to ensure the sparsity of the solution, thereby reducing the complexity of the model.

[0069] Step S12, sample correlation calculation:

[0070] Considering the characteristics of partial labeled data containing pseudo labels, directly learning the label space containing noise will cause the model to be misled by pseudo labels when learning the importance of features, affecting the effectiveness of the selected feature subset. Therefore, the method of the present invention utilizes the correlation of samples to reduce the impact of the noise of partial labeled data in the feature selection process.

[0071] Based on the smoothness assumption, samples that are similar in feature space behave similarly in label space. In other words, there should be similar label relationships between neighboring samples. Therefore, for the pseudo-labeling of samples, the present invention adopts the calculation idea of ​​neighboring samples, and realizes the smoothing of pseudo-labeling by calculating the label confidence corresponding to the category label in the candidate label set of the sample. In this processing process, the correlation of samples in feature space is transferred to label space, which strengthens the correlation between samples.

[0072] First, according to the sample feature matrix The characteristic vector of the sample in is selected using the Euclidean distance metric method Before Nearest neighbor samples are sorted according to the distance to form a sample of Neighbor sample set . Using the corresponding The candidate label set of neighbor samples is The candidate tag set The class labels in the weighted vote, the neighbor weight Determined by distance, for example, neighbor samples, and their neighbor weights , During the voting process, it should be noted that the category labels in the candidate label set of the neighboring samples will be introduced into the sample The candidate tag set In the case of adding new pseudo-labels, before weighted voting, it is necessary to determine the category label for voting In the candidate tag set Whether it exists in Whether it is established, and then calculate the voting value of each category mark according to the judgment result; The nearest neighbor samples are respectively After weighted voting, each category label receives voting value, and then The voting values ​​are summed up as a sample The candidate tag set The number of votes for the corresponding category mark in the calculation, and then the category mark with the largest number of votes is marked as the sample Candidate markers .

[0073] The formula for calculating the number of votes is as follows:

[0074] ,

[0075] In the formula, Representation sample Category tag The number of votes, category label Representative tag type, Indicates Nearest neighbor samples, Represents the nearest neighbor sample The neighbor weights of Represents the sample label matrix Nearest neighbor sample Category tag The corresponding correlation value; where, Output the value of the judgment result, that is, if Established, then is set to 1 if If it does not hold, then The value of is set to 0.

[0076] Then the candidate tag set is sorted according to the following rules Update the label confidence of the category labels in and obtain the label confidence matrix :

[0077] ,

[0078] In the formula, Representation sample Category tag The confidence level, Indicates the number of elements in the candidate tag set; that is, the confidence of the category tag with the largest number of votes is set to 0.5, and the confidence of the remaining category tags is calculated accordingly to obtain the corresponding value less than 0.5, ensuring that the candidate tag is most likely to be the correct category tag The confidence level of is the largest;

[0079] After calculating the confidence corresponding to each category label in the candidate label set of all samples, the label confidence matrix is ​​formed ,and , and then use the label confidence matrix Replace the sample label matrix of the label space Obtain a new objective function; the objective function after introducing the label confidence can make the supervision information of the partial label data set richer and more reliable; the obtained objective function is as follows:

[0080] .

[0081] Step S13, feature redundancy calculation:

[0082] Considering that high-dimensional data often has redundant features, too many invalid features not only consume computing resources and slow down the model training efficiency, but also affect the learning and generalization ability of the model. Therefore, the method of the present invention further reduces the number of selected features by utilizing the redundancy of features.

[0083] The present invention measures the degree of association between two features based on the mutual information method, that is, , when the mutual information When it is equal to 0, it indicates the characteristics and Features There is no correlation between them; when the mutual information When greater than 0, it indicates the characteristics and Features There is a positive correlation between them; when the mutual information When it is less than 0, it indicates the characteristics and Features There is a negative correlation between them.

[0084] The method of the present invention uses mutual information to measure the redundancy of features, and incorporates the correlation between features and labels into the redundancy measurement of features through weights, which is formally defined as:

[0085] ,

[0086] Among them, the characteristics and Features Respectively represent Features and Features, Representation characteristics Relative to category label The importance of Representation characteristics Relative to category label importance of Representation characteristics and Features The correlation between them is used to measure the redundancy between features. As small as possible , As large as possible, achieving a reduction in redundant features in the selected feature subset and an increase in their importance for marking.

[0087] in, , by calculating the features and Features The product of the probability of taking and the joint probability Find the characteristics and Features The mutual information size is Respectively represent samples About Features and Features The characteristic value of Represents the features of all samples and Features The eigenvalues ​​of are summed.

[0088] By comprehensively considering the correlation between features and labels, the correlation of samples, and the redundancy of features, the objective function of feature selection is constructed:

[0089] ,

[0090] In the formula, is the number of label types in the partial label dataset, is the number of features describing the sample, is the balance parameter of the objective function.

[0091] Simplifying the above formula, the final objective function calculation formula is as follows:

[0092] ,

[0093] in, is the mutual information matrix between each feature, and , is a sparse coefficient matrix The transposed matrix of refers to the transposed matrix No. Row data, is a sparse coefficient matrix No. Column data, represents the trace of a matrix, that is, it represents the sum of the main diagonal elements of the matrix.

[0094] Step S14, solution process of feature selection method:

[0095] Since there is a sparse coefficient matrix in the objective function of feature selection and the label confidence matrix There are two variables, so the method of the present invention uses a two-stage alternating iterative solution method for optimization. First, Norm It can be expressed in matrix form as:

[0096] ,

[0097] Among them, the sparse coefficient matrix It represents the mapping coefficient between feature space and label space (i.e. Features and The mapping coefficients between class labels), represents the Laplacian matrix, and ;

[0098] Then, the objective function calculation formula of feature selection can be expressed as:

[0099] , that is, a feature selection method model based on a sparse regression model is constructed.

[0100] Step S2, use the feature selection method model based on the sparse regression model to perform feature selection on the partial labeled data set, so as to obtain a feature subset result with good robustness:

[0101] Step S21: the partial labeled data set and sample label matrix Input into the feature selection method model based on sparse regression model constructed in step S1 above, and set the parameter number of neighbors to , the feature selection ratio is ;

[0102] Step S22: Laplacian matrix Initialized to the identity matrix, ;

[0103] Step S23, by constructing a feature selection method model based on a sparse regression model, using the Euclidean distance measurement method to obtain the The neighbor sample set is based on the sample label matrix , neighbor weight , calculate the partial labeled data set The label confidence of each category label of each sample in , and obtain the label confidence matrix , Indicates the number of iterations;

[0104] Step S24, through the constructed feature selection method model based on the sparse regression model, the correlation between the feature and the label and the redundancy of the feature are measured and calculated, the importance of each feature of each sample is calculated, and the label confidence matrix is ​​used to calculate the importance of each feature of each sample. Calculate the sparse coefficient matrix ;

[0105] Among them, according to the label confidence matrix Calculate the sparse coefficient matrix The method is:

[0106] According to the label confidence matrix For the sparse coefficient matrix Taking the derivative and setting the derivative to 0, we get:

[0107] ,

[0108] After combining similar terms in the above formula, it can be expressed as:

[0109] ,

[0110] In the formula, is the sample feature matrix The transposed matrix of

[0111] Sparse coefficient matrix The value in indicates the importance of the feature, for example, = , Representation characteristics The importance of

[0112] Step S25, according to the sparse coefficient matrix Update the Laplacian matrix , and obtain the new Laplace matrix ; The calculation method of the Laplacian matrix is:

[0113] ,

[0114] in, is the Laplace matrix Middle Line Column elements, Represents a sparse coefficient matrix Middle Features and The mapping coefficient between the class labels; yes The square root of the sum of the absolute values ​​of the mapping coefficients represents the feature The importance of ,and , Indicates Features and class labels The mapping coefficient between ;

[0115] Step S26: sparse coefficient matrix The value in Sort in descending order and select the first The features corresponding to the values ​​constitute a feature subset ; Based on feature subset Generate low-dimensional partially labeled dataset , ,in, ;

[0116] Step S27, based on the low-dimensional partial labeled data set Label confidence matrix Update to obtain a new label confidence matrix ;

[0117] Step S28, repeat the above steps S24 to S27 until the function converges (that is, when the change of the objective function between two iterations is less than 10 -3 ) or the number of iterations When the maximum number of iterations is reached, the algorithm stops and outputs the feature sorting results according to the importance of the features to obtain the feature subset. , , and satisfies , Refers to feature subset The number of features contained in a dataset also refers to the feature space dimension of a low-dimensional dataset.

[0118] Experimental comparison and result analysis

[0119] (1) Dataset

[0120] In order to verify the effectiveness of the robust feature selection method proposed in the present invention, experimental comparison and analysis are carried out on five real-world partial labeled datasets, namely BirdSong, MSRCv2, Lost, FG-NET, and Mirflickr. These real datasets involve classification in different application fields, among which the BirdSong dataset belongs to the bird sound classification application field, the MSRCv2 dataset belongs to the object classification application field, the Lost dataset belongs to the automatic naming application field, the FG-NET dataset belongs to the age estimation application field, and the Mirflickr dataset belongs to the picture classification application field. The detailed information of the real datasets is shown in Table 1 below. The average number of pseudo-labels associated with objects in these real-world partial labeled data ranges from 2 to 7. For the classification of image samples (object classification, automatic naming, picture classification), objects appearing in the image are considered candidate labels. For facial annotation applications (age estimation), the training samples include human figures recognized in the image and corresponding candidate labels extracted from related scripts. Based on these data sets, ten-fold cross validation is performed to collect experimental data, which can better verify whether the feature selection method can improve the accuracy and stability of the classification model while reducing the feature dimension, and verify the efficiency / ability of the feature selection method in solving the noise of pseudo-labeling.

[0121]

[0122] (2) Experimental parameter setting

[0123] This section mainly introduces the comparison method and parameter settings in the experiment. In the experiment, the robust feature selection method for partial labeled data described in the embodiment of the present invention is denoted as PFmRMR, and PFmRMR is experimentally compared with five different existing methods. The comparison method and its detailed parameter settings are described as follows:

[0124] Existing method 1: PL-KNN method (Partial Label Learning based on K-NearestNeighbor). The PL-KNN method is a partial label learning method based on the average disambiguation strategy. It is improved from the traditional machine learning K-nearest neighbor algorithm. It performs weighted voting on the k neighbor labels of unseen samples and determines the label that appears most frequently as the predicted label, where k=5 is set.

[0125] Existing method 2: IPAL method (Instance-based Partial Label Learning Approach), IPAL method is an instance-based method to solve the partial label learning problem. This method uses an instance-based classifier to classify samples and converts the label of each sample into a probability distribution, where the probability value corresponds to the classifier confidence of each category, where the parameter that controls the relative amount of information inherited from label propagation and the initial label matrix =0.95.

[0126] Existing method three: Fisher method (Feature Selection using the Fisher Score). The Fisher method is a filtering feature selection method that scores features by minimizing the intra-class interval and maximizing the inter-class interval, sorts the features according to the evaluation scores, and outputs a feature subset.

[0127] Existing method 4: LPScore method (Feature Selection using the Laplacian Score). The LPScore method is a feature selection method based on Laplacian graph regularization. It scores features by constructing Laplacian graph regularization, sorts features according to scores, and outputs feature subsets.

[0128] Existing method 5: SAUTE method (Submodular Feature Selection for Partial Label Learning), SAUTE method is a filtering feature selection method, which measures the dependency and feature redundancy of features and labels through the mutual information method, and adds features to the feature subset, where the number of neighbors parameter k=5, and the relative amount of information inherited parameter =0.6.

[0129] In the experiment, we selected features for optimization in proportion to the original feature dimension during the training process. In the test phase, we selected the top 40% as the selected feature subset. After reducing the dimension of the partially labeled data according to the selected feature subset, we used it as the input of the classifier to obtain the classification accuracy. The original partially labeled data was also input into the classifier to obtain the classification accuracy before feature selection.

[0130] In order to verify the effectiveness of the PFmRMR method, the experiment is divided into two parts: (1) Using the original data set directly as the input of the classifier to obtain the classification accuracy before feature selection. (2) Using the feature selection method to select features of the original data set according to the specified dimension, construct a low-dimensional data set as the input of the partial label classifier to obtain the classification accuracy after feature selection.

[0131] (3) Experimental results and analysis

[0132] The present invention conducted 8 different combination experiments on machine learning classifiers {PL-KNN, IPAL} and feature selection methods {PFmRMR and Fisher, LPscore, SAUTE}, and Table 2 shows the experimental results of the classification accuracy of PFmRMR and various existing methods on real data sets. In addition, the win / draw / loss (better / tie / worse than) counting results for the experimental effect evaluation of the method proposed in the present invention and the existing methods are shown in Table 3, and a pairwise t-test based on a significance level of 0.05 was performed to determine whether there is a significant difference in the performance of the two feature selection methods.

[0133]

[0134]

[0135] The following conclusions can be drawn from the above experimental results and comparative analysis: The PFmRMR method can stably and significantly improve the classification performance of the classifier in noisy and high-dimensional feature spaces. For example, on the Mirflickr dataset with more than 2100 features, the PFmRMR method can select only 40% of the features to achieve better results than before feature selection. And through the statistical analysis of the experimental data in Table 3, it can be seen that the comparative results show that the PFmRMR method is significantly better than the existing methods compared.

[0136] Based on these experimental comparisons and analyses, it can be seen that using neighbor samples to update the confidence of labels helps to smooth the pseudo-labels in the label space and effectively reduce the negative impact of pseudo-labels in the feature selection process, which is conducive to the subsequent accurate measurement analysis of the correlation between features and labels and the redundancy of features. Compared with existing feature selection methods, the PFmRMR method of the present invention has better robust performance.

Claims

1. A robust feature selection method for partially labeled data, The following steps are involved: Step S1, constructing a feature selection method model based on a sparse regression model, specifically comprising the following steps: Step S11, based on the sparse regression model, construct an objective function of the feature and label space for the partially labeled data, which is used to measure the correlation between the feature and the label in the partially labeled data set and fit the relationship between the feature space of the partially labeled data and the label space. The specific method is: A regularization term is added to the sparse regression model to prevent the model from overfitting. The model is used to estimate the correlation between features and labels in the partial labeled data. The difference in sparse coefficient values ​​between different features is increased by the correlation between features and labels, and features with larger coefficients are selected. The established objective function is as follows: Among them, Y represents the sample label matrix, and Step S12, using the correlation of samples in the partial labeled data to calculate the label confidence, and smoothing the pseudo labels in the label space according to the label confidence, the specific method is: First, according to the feature vector of the sample in the sample feature matrix X, the Euclidean distance measurement method is used to select the first k nearest neighbor samples of sample i, and sort them according to the distance to form the k nearest neighbor sample set N of sample i. k (i) Use the candidate tag set of the corresponding k neighboring samples in the tag space to identify the candidate tag set S of sample i. i The class labels in the sample i are weighted voted, and the neighbor weight ω is determined according to the distance; after the k neighbor samples perform weighted voting on sample i, each class label obtains k voting values, and then the sum of the k voting values ​​is used as the candidate label set S for sample i i The number of votes for the corresponding category label in the calculation, and then the category label with the largest number of votes is marked as the candidate label l of sample i * ; Then the candidate tag set S is sorted according to the following rules i The label confidence is updated based on the category label in the tag, and the label confidence matrix C is obtained, C = [c ij ] n×q : In the formula, c ij Represents the category label l of sample i j The confidence level, |S i | represents the number of elements in the candidate tag set; After calculating the confidence corresponding to each category tag in the candidate tag set of all samples, the tag confidence matrix C is formed, and Then, the label confidence matrix C is used to replace the sample label matrix Y in the label space to obtain a new objective function: Step S13, based on the mutual information method, the correlation between the two features is measured, the redundancy of the features is measured, and the correlation between the features and the tags is incorporated into the redundancy measurement of the features through weights; the result is: Among them, I(h p ;h r ) represents the feature h p and feature h r The correlation between them is used to measure the redundancy between features; feature h p and feature h t denote the pth feature and the rth feature respectively, w pu Represents the feature h p Relative to the category label l u The importance of ru Represents the feature h r Relative to the category label l u The importance of Then, by comprehensively considering the correlation between features and labels, the correlation of samples, and the redundancy of features, the objective function of feature selection is constructed: Simplifying the above formula, the objective function of feature selection is as follows: Among them, X represents the sample feature matrix, and W represents a sparse coefficient matrix, and C represents the label confidence matrix, and Indicates that the data values ​​are all in the real number domain, n represents the number of samples in the partially labeled dataset, d represents the number of features describing the samples, q represents the number of label types in the partially labeled dataset, ||·|| F represents the matrix norm of the Frobenius norm; Tr(·) represents the trace of the matrix, that is, the sum of the main diagonal elements of the calculation matrix, β is the balance parameter of the objective function, G is the mutual information matrix between each feature, and W T is the transposed matrix of the sparse coefficient matrix W; γ represents the balance parameter, ||W|| 2,1 That is l 2,1 norm regularization term; Step S14, using a two-stage alternating iterative solution method to optimize the objective function of the feature selection in the above step S13, and construct a feature selection method model based on a sparse regression model: Where U represents the Laplace matrix, and Step S2, using the constructed feature selection method model based on the sparse regression model to optimize the learning of the partial labeled data set, the label confidence obtained by the model learning optimization is used to guide the update of the correlation between each variable in a two-stage cyclic iterative manner, and the sparse regression coefficient matrix is ​​obtained and updated, and the feature ranking result is output according to the importance of the feature through the sparse regression coefficient, and the feature selection is performed on the partial labeled data set, so as to obtain a feature subset result with good robustness, which specifically includes the following steps: Step S21: the partial labeled data set The sample label matrix Y is input into the feature selection method model based on the sparse regression model constructed in the above step S1, and the number of parameters of the nearest neighbors is set to k and the feature selection ratio is set to θ; Step S22, initializing the Laplacian matrix U to the identity matrix, Step S23, through the constructed feature selection method model based on the sparse regression model, the Euclidean distance measurement method is used to obtain the k nearest neighbor sample set of each sample, and the partial label data set is calculated according to the sample label matrix Y and the nearest neighbor weight ω The label confidence of each category label of each sample in , and obtain the label confidence matrix C t , t represents the number of iterations; Step S24, through the constructed feature selection method model based on the sparse regression model, the correlation between the feature and the label and the redundancy of the feature are measured and calculated, the importance of each feature of each sample is calculated, and the label confidence matrix C is used to calculate the importance of each feature of each sample. t Calculate the sparse coefficient matrix W t ; Sparse coefficient matrix W t The value in indicates the importance of the feature; Step S25, according to the sparse coefficient matrix W t Update the Laplace matrix U and obtain the new Laplace matrix U t ; Step S26: sparse coefficient matrix W t Sort the values ​​in in descending order, and select the features corresponding to the first θ values ​​to form feature subset B t ; According to feature subset B t Generate low-dimensional partially labeled dataset Step S27, based on the low-dimensional partial labeled data set The label confidence matrix C t Update to obtain a new label confidence matrix C t+1 ; Step S28, looping the above steps S24 to S27 until the function converges or the number of iterations t reaches the maximum number of iterations, the algorithm stops, outputs the feature ranking results according to the importance of the features, and obtains the feature subset B. represents a feature set consisting of d data features, and satisfies |B|=d′, d′<<d, d′ refers to the number of features contained in the feature subset B, and also refers to the feature space dimension of the low-dimensional data set; Among them, the partially labeled dataset is a BirdSong dataset, an MSRCv2 dataset, a Lost dataset, a FG-NET dataset or a Mirflickr dataset. The BirdSong dataset belongs to the application field of bird sound classification, the MSRCv2 dataset belongs to the application field of object classification, the Lost dataset belongs to the application field of automatic naming, the FG-NET dataset belongs to the application field of age estimation, and the Mirflickr dataset belongs to the application field of image classification.

2. The robust feature selection method for partially labeled data according to claim 1, It is characterized in that In step S12, the formula for calculating the number of votes is as follows: In the formula, z ij Represents the category label l of sample i j The number of votes, category label l j represents the jth label type, a represents the ath nearest neighbor sample, ω a represents the neighbor weight of the neighbor sample a, ω a =k-a+1, 1≤a≤k; y aj Represents the category label l of the neighboring sample a in the sample label matrix Y j The corresponding correlation value; where {l j ∈S i } Output the value of the judgment result, that is, if l j ∈S i If {l j ∈S i } is set to 1, if l j ∈S i If it does not hold, then {l j ∈S i } is set to 0.

3. The robust feature selection method for partially labeled data according to claim 1, It is characterized in that In step S24, according to the label confidence matrix C t Calculate the sparse coefficient matrix W t The specific method is: t =(X T X+γU+βG) - 1 X T C t , where X T It is the transposed matrix representing the sample feature matrix X.

4. The robust feature selection method for partially labeled data according to claim 1, It is characterized in that In step S25, according to the sparse coefficient matrix W t Update the Laplace matrix U and obtain the new Laplace matrix U t The specific method is: If the sparse coefficient matrix W t The value in is ||W p t || 2 ,||W p t || 2 Represents the feature h p The importance of , then the calculation method of the Laplace matrix is: in, It refers to the Laplace matrix U t The element in row p and column p, Represents the sparse coefficient matrix W t The mapping coefficient between the p-th feature and the q-th category label in ||W p t || 2 It is the square root of the sum of the squares of the absolute values ​​of the q mapping coefficients, representing the feature h p The importance of and Represents the pth feature and category label l j The mapping coefficients between .