Missing multi-view subspace clustering method and system based on graph structure learning
By integrating the methods of latent representation learning, spectral embedding and graph clustering, the problems of missing views and unpaired samples in multi-view clustering are solved, and high-quality clustering results are achieved and clustering performance is improved.
Patent Information
- Application Number
- CN202210027703.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-11
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-01-11
AI Technical Summary
The existing multi-view clustering method fails in the face of missing views and no paired samples, affecting clustering performance.
Using graph structure learning method, the latent representation learning, spectral embedding and graph clustering are integrated, and the clustering results of the optimal graph structure are obtained through low-rank representation and multi-view subspace clustering learning, and the augmented Lagrangian multiplication is used. Sub and iterative optimization methods solve the objective function, obtain a similarity matrix and obtain clustering results under rank constraints.
In the absence of views and no paired samples, the performance of multi-view clustering is improved, and high-quality pseudo-labels and similarity matrix are obtained, ensuring the accuracy and consistency of clustering results.
Smart Images

Figure CN114529745B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of subspace clustering, and in particular relates to a missing multi-view subspace clustering method and system based on graph structure learning. Background Art
[0002] Things in the real world can always be explored from different perspectives, just like various data from different channels or discovered in multiple modes. For example, in precision medicine, the molecular features of a person can be described by multiple omics datasets, such as genomics, proteomics, and transcriptomics data. Each omics data can describe the patient at a different level, so it can be considered as a different molecular view of the same person. This kind of data is called multi-view data, where a class of feature sets is considered as views. Since multi-view data contains information about the consistency and diversity of things, it can help us understand things more comprehensively. Therefore, it is very important to use the characteristics of multi-view data to improve the performance of clustering tasks.
[0003] Multi-view clustering aims to utilize the features of multiple views to divide data samples into different groups so that the samples in each group have higher similarity than those in other groups. Although existing missing multi-view clustering methods have made great progress in this regard, they still have some limitations.
[0004] The inventors found that most of the existing multi-view clustering work is based on the premise that there are at least paired samples in the missing views. Therefore, those works dealing with traditional multi-view clustering fail when faced with no paired samples and missing views. The lack of samples in the missing views will lead to the failure of traditional multi-view clustering methods, thereby affecting the clustering performance. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes a missing multi-view subspace clustering method and system based on graph structure learning. The present invention integrates latent representation learning, spectral embedding and graph clustering into a unified learning framework, and jointly obtains the clustering result of the optimal graph structure by low-rank representation and multi-view subspace clustering learning.
[0006] In order to achieve the above object, the present invention is implemented through the following technical solutions:
[0007] In a first aspect, the present invention provides a missing multi-view subspace clustering method based on graph structure learning, comprising:
[0008] Obtain a feature dataset for training missing multiple views;
[0009] According to the feature dataset, the latent representation and pseudo-label matrix of each view data are obtained based on low-rank representation learning and multi-view spectral clustering. A unified similarity matrix is obtained through multi-view subspace clustering learning, and a missing multi-view subspace clustering objective function based on graph structure learning is constructed.
[0010] Solve the missing multi-view subspace clustering objective function based on graph structure learning and obtain the similarity matrix;
[0011] A feature data set of cluster-missing multi-views is obtained, and a rank constraint is imposed on the similarity matrix to obtain a block diagonal matrix and a clustering result.
[0012] Furthermore, the feature dataset includes a sample dataset and a pseudo label matrix for each view.
[0013] Furthermore, the objective function of the latent representation and pseudo-label matrix is:
[0014]
[0015] Among them, λ represents the balance parameter of the error matrix of the vth view, β represents the balance parameter, represents the pseudo label matrix of the vth view, n represents the number of data samples, c represents the number of clusters, v represents the view number, v = 1, ..., V, V represents the total number of views, is the Laplacian matrix of the vth view, G (v) represents the pseudo label matrix of non-missing samples, represents the latent representation of each view, represents the error matrix of the constructed latent representation, represents the non-missing sample of the vth attempt, (F (v) ) T F (v) =I c Indicates F (v) is an orthogonal matrix, Indicates that the diagonal elements are 0.
[0016] Furthermore, the objective function of the similarity matrix is:
[0017]
[0018] st(F (v) ) T F (v) =I c ,W≥0 , W1=1,rank(L W ) = nc
[0019] Among them, W represents a unified graph structure,
[0020] represents the pseudo label matrix of the vth view, γ represents the weight parameter, and rank(L W )=nc represents the rank constraint on the similarity matrix W.
[0021] Furthermore, the objective function of missing multi-view subspace clustering based on graph structure learning is:
[0022]
[0023] Furthermore, augmented Lagrange multipliers and iterative optimization methods are used to solve the missing multi-view subspace clustering objective function based on graph structure learning.
[0024] Furthermore, the process of obtaining the similarity matrix is:
[0025] For the objective function, two auxiliary objective variables are introduced;
[0026] For the latent representation, auxiliary variables, error matrix, pseudo-label matrix, similarity matrix and Lagrange multipliers in the objective function, fix any number of variables and only one variable remains, and solve for the remaining variable.
[0027] In a second aspect, the present invention further provides a missing multi-view subspace clustering system based on graph structure learning, comprising:
[0028] The data acquisition module is configured to: obtain a feature dataset of training missing multiple views;
[0029] The objective function construction module is configured to: obtain the potential representation and pseudo-label matrix of each view data based on the feature data set based on low-rank representation learning and multi-view spectral clustering, obtain a unified similarity matrix through multi-view subspace clustering learning, and construct a missing multi-view subspace clustering objective function based on graph structure learning;
[0030] The solving module is configured to: solve the missing multi-view subspace clustering objective function based on graph structure learning to obtain a similarity matrix;
[0031] The clustering module is configured to: obtain a feature data set of cluster-missing multi-views, impose a rank constraint on the similarity matrix, obtain a block diagonal matrix, and obtain a clustering result.
[0032] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the missing multi-view subspace clustering method based on graph structure learning described in the first aspect.
[0033] In a fourth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the missing multi-view subspace clustering method based on graph structure learning described in the first aspect are implemented.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] The present invention integrates latent representation learning, spectral embedding and graph clustering into a unified learning framework, and jointly learns low-rank representation and multi-view subspace clustering to obtain high-quality pseudo-labels to guide the final similarity matrix learning process; the use of low-rank representation can fully consider the intrinsic structure of the data and reduce data noise, and spectral clustering is used to capture the local structural information of each view. The learning method based on the optimal graph is used to explore the consistent graph structure from each perspective, strengthen the connection between different perspectives, and obtain the ideal block diagonal similarity matrix under the constraint of rank, that is, the clustering result, which solves the problem of multi-view clustering in the absence of paired samples and lack of views. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0037] Figure 1 This is a flow chart of Embodiment 1 of the present invention;
[0038] Figure 2 This is a flow chart of a missing multi-view subspace clustering method based on optimal graph structure learning according to Example 1 of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0040] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0041] Embodiment 1:
[0042] like Figure 1 As shown, this embodiment provides a missing multi-view subspace clustering method based on graph structure learning, which specifically includes the following steps:
[0043] S1, obtain the multi-view dataset commonly used in the experiment, and perform paired sample missing and random missing on the obtained dataset to obtain the missing dataset and pseudo label matrix;
[0044] S2, for multi-view datasets and pseudo-label matrices, the latent representation and pseudo-label matrix of each view data are obtained based on low-rank representation learning and multi-view spectral clustering, a unified similarity matrix is learned through multi-view subspace clustering, and a missing multi-view subspace clustering objective function based on optimal graph structure learning is constructed;
[0045] S2.1. Low-rank representation learning
[0046] Low-rank representation is a method of jointly maintaining the lowest-order representation from data samples. It has been proven that low-order representation can restore the original space containing noise, ripples and other data to the greatest extent, which is of great significance for effectively finding subspace structures from error data. In this way, low-order representation can also enhance the robustness of learning potential representations. In this embodiment, the objective function of low-order representation learning is:
[0047]
[0048] in, represents the non-missing samples of the vth attempt, n is the number of data samples, m is the feature dimension, v represents the view number, v = 1, ..., V, V represents the total number of views. represents the learned latent representation of the v-th view. represents the error matrix of the constructed v-th latent representation. λ represents the balancing parameter of the error matrix of the v-th view. Representation Matrix All diagonal elements of are 0.
[0049] S2.2, Spectral Embedding Learning
[0050] First, the latent representations have different sizes and cannot make up the gap between missing and non-missing samples; second, although can be used directly as an affinity matrix for each view, but The size of the element value in may vary greatly between different views; therefore, in this embodiment, spectral embedding is learned, and the objective function of spectral embedding is as follows:
[0051]
[0052] in, represents the pseudo label matrix of the vth view, G (v) represents the indicator matrix that records the indices of non-missing samples in each view, is the vth view The Laplace matrix of is a diagonal matrix and
[0053] S2.3, Graph clustering.
[0054] Under the guidance of pseudo-label matrix and rank constraint, a unified optimal graph structure is learned. The objective function of graph clustering is:
[0055]
[0056] in, represents the pseudo label matrix of the vth view, N is the number of data samples, C is the number of clusters, and v represents the view number. (F (v) ) T F (v) =I c Indicates F (v) is an orthogonal matrix, express is limited between 0 and 1, Indicates that the diagonal elements are 0, G (v) represents the indicator matrix that records the indices of non-missing samples in each view, is the vth view The Laplace matrix of is a diagonal matrix and W1=1 means that the sum of each row element of the matrix W is 1 and forms a column vector of all 1s. This constraint can prevent any sample from having no contribution in the joint representation.
[0057] S2.4, Joint Learning Framework
[0058] By integrating latent representation learning, spectral embedding, and graph clustering into a unified learning framework, the overall objective function of the missing multi-view subspace clustering method based on optimal graph structure learning is obtained as follows:
[0059]
[0060] Among them, W represents the unified optimal graph structure, which is a unified similarity matrix learned by all pseudo-label matrices, λ and β represent balance parameters, and rank(L W ) = nc represents the rank constraint on the similarity matrix W, Representation Matrix The sum of each row element of is 1 and constitutes a column vector of all 1s. This constraint can avoid any sample from not contributing to the joint representation, making it an ideal block diagonal matrix. The first and second terms represent latent representation learning, the third term is spectral embedding learning, and the fourth term is optimal graph structure learning. Minimizing the objective function can learn a unified optimal graph structure under the guidance of pseudo labels.
[0061] S3, using augmented Lagrange multipliers and iterative optimization methods to solve the missing multi-view subspace clustering objective function based on optimal graph structure learning, and obtain the similarity matrix; specifically including:
[0062] For the objective function, first introduce two auxiliary variables T (v) and S (v) ;
[0063] For the eleven variables in the objective function, the potential representation Auxiliary variable T (v) and S (v) , the error matrix Pseudo label matrix F (v) , similarity matrix W, Lagrange multiplier and ψ (v) , fix any ten variables and solve for the remaining variables.
[0064] S3.1, introduce two auxiliary target variables T (v) and S (v) , the objective function is changed to:
[0065]
[0066] Furthermore, the augmented Lagrangian function of the objective function is as follows:
[0067]
[0068] Among them, Tr is a matrix traces, is the matrix S (v) The Laplace matrix of , μ is the penalty parameter, and ψ (v) is the Lagrange multiplier.
[0069] S3.2, fix other variables and solve the potential representation matrix The objective function becomes:
[0070]
[0071] Taking the derivative of the above equation, we get As shown in the following figure:
[0072]
[0073] in,
[0074] S3.3, fix other variables and solve for auxiliary variable T (v) The objective function becomes:
[0075]
[0076] Using the singular value threshold shrinkage operator Θ, we get:
[0077]
[0078] S3.4, fix other variables and solve for auxiliary variable S (v) and the Lagrange multiplier ψ (v) , we can get:
[0079]
[0080] in, Representation Matrix The sum of the elements in the i-th row is 1, Represents the matrix R (v) The i-th row element of Denotes the matrix H (v) The (i, j)th element.
[0081]
[0082] S3.5, fix other variables and solve the error matrix We can get:
[0083]
[0084] Here, θ is the contraction operator.
[0085] S3.6, fix other variables and solve the pseudo-label matrix F (v) , the objective function becomes:
[0086]
[0087] The above formula is independent for each view and is changed to:
[0088]
[0089] Among them, F (v) The optimal solution is The eigenvectors corresponding to the c largest eigenvalues.
[0090] S3.7, fix other variables, solve the optimal graph structure W, and the objective function becomes:
[0091]
[0092] Assume λ i YesL W Corresponding to the i-th minimum eigenvalue, we transform the rank constraint rank(L W )=nc is The objective function becomes:
[0093]
[0094] Where Q is defined as η is the equilibrium parameter.
[0095] The Karush-Kuhn-Tucker (KKT) condition is a necessary condition for the optimal solution of nonlinear programming. It generalizes the constraint optimization problem involving equality handled by the Lagrange multiplier method to inequality, and is a method used to solve optimization problems. According to the KKT condition, we can get The optimal solution is:
[0096]
[0097] Here Represents the matrix W * The jth column, K :,j represents the jth column of matrix K, and '+' represents the max(x, 0) function. Take 0, when Pick
[0098] S3.8, fix other variables and solve the Lagrange multiplier And parameter μ, we can get:
[0099]
[0100] μ=min(ρμ,μ0) (22)
[0101] Among them, ρ and μ0 are constants.
[0102] S4, the similarity matrix W obtained by graph clustering becomes a block diagonal matrix under the condition of rank constraint, so that each block is clustered into one category, and then an ideal clustering result is obtained; based on the unified similarity matrix, according to the characteristic that the number of eigenvalues of 0 in the Laplacian matrix is equal to the number of connected components of the similarity matrix, an ideal clustering result is obtained.
[0103] S5, using clustering tasks to evaluate the performance of feature selection methods. Three commonly used clustering evaluation indicators are used to evaluate the clustering effect: clustering accuracy (ACC), normalized mutual information (NMI) and purity. Among them, ACC represents the proportion of the number of correctly predicted data samples to the total number of data samples; NMI is used to measure the degree of correlation between two random variables, that is, the amount of information about another random variable in one random variable; purity is used to calculate the proportion of correctly clustered samples to the total number of samples. The numerical range of these three evaluation indicators is between 0 and 1, and the larger the value, the better the performance.
[0104] Embodiment 2:
[0105] This embodiment provides a missing multi-view subspace clustering system based on graph structure learning, including:
[0106] The data acquisition module is configured to: obtain a feature dataset of training missing multiple views;
[0107] The objective function construction module is configured to: obtain the potential representation and pseudo-label matrix of each view data based on the feature data set based on low-rank representation learning and multi-view spectral clustering, obtain a unified similarity matrix through multi-view subspace clustering learning, and construct a missing multi-view subspace clustering objective function based on graph structure learning;
[0108] The solving module is configured to: solve the missing multi-view subspace clustering objective function based on graph structure learning to obtain a similarity matrix;
[0109] The clustering module is configured to: obtain a feature data set of missing multiple views to be clustered, impose a rank constraint on the similarity matrix, obtain a block diagonal matrix, and obtain a clustering result.
[0110] The working method of the system is the same as the missing multi-view subspace clustering method based on graph structure learning in Example 1, and will not be repeated here.
[0111] Embodiment 3:
[0112] This embodiment provides an image clustering method based on graph structure learning based on the missing multi-view subspace clustering method based on graph structure learning provided in Embodiment 1, including:
[0113] A training image dataset is obtained, including multiple images; multiple image features are extracted from each image to form a multi-view dataset, and paired sample deletion and random deletion are performed on the obtained dataset to obtain a missing dataset and a pseudo-label matrix;
[0114] Get the sample dataset and pseudo-label matrix for each view;
[0115] We learn latent representations, pseudo-label matrices, and unified similarity matrices for multi-view feature datasets, and construct a missing multi-view subspace clustering objective function based on optimal graph structure learning.
[0116] The augmented Lagrange multiplier and iterative optimization method are used to solve the missing multi-view subspace clustering objective function based on optimal graph structure learning, and the similarity matrix is obtained;
[0117] When clustering the images to be clustered, multiple image features are extracted from each image to form a multi-view data set of the images to be clustered. Then, a rank constraint is imposed on the similarity matrix to make the similarity matrix an ideal block diagonal matrix, thereby obtaining the clustering result.
[0118] The specific implementation process is the same as the missing multi-view subspace clustering method based on graph structure learning in Example 1, and will not be repeated here.
[0119] Embodiment 4:
[0120] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the missing multi-view subspace clustering method based on graph structure learning described in Embodiment 1 are implemented.
[0121] Embodiment 5:
[0122] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the missing multi-view subspace clustering method based on graph structure learning described in Example 1 are implemented.
[0123] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. Image clustering method based on graph structure learning, characterized by: include: Obtain a training image dataset, including multiple images; Extract multiple image features from each image to form a multi-view feature dataset; According to the feature dataset, the latent representation and pseudo-label matrix of each view data are obtained based on low-rank representation learning and multi-view spectral clustering. A unified similarity matrix is obtained through multi-view subspace clustering learning, and a missing multi-view subspace clustering objective function based on graph structure learning is constructed. Solve the missing multi-view subspace clustering objective function based on graph structure learning and obtain the similarity matrix; Acquire a feature data set of missing multiple views of the image to be clustered, apply a rank constraint on the similarity matrix, obtain a block diagonal matrix, and obtain a clustering result; The objective function of the latent representation and pseudo-label matrix is: Among them, λ represents the balance parameter of the error matrix of the vth view, β represents the balance parameter, represents the pseudo label matrix of the vth view, n represents the number of data samples, c represents the number of clusters, v represents the view number, v = 1, ..., V, V represents the total number of views, is the Laplacian matrix of the vth view, G (v) represents the pseudo label matrix of non-missing samples, represents the latent representation of each view, represents the error matrix of the constructed latent representation, represents the non-missing samples of the v-th view, m represents the feature dimension, (F (v) ) T F (v) =I c Indicates F (v) is an orthogonal matrix, Indicates that the diagonal elements are 0; The objective function of the similarity matrix is: s.t.(F (v) ) T F (v) =I c ,W≥0,W1=1,rank(L W )=n-c Among them, W represents a unified graph structure, represents the pseudo label matrix of the vth view, γ represents the weight parameter, and rank(L W ) = nc represents the rank constraint on the similarity matrix W; The objective function of the missing multi-view subspace clustering based on graph structure learning is: W≥0,W1=1,rank(L W )=n-c。 2. The image clustering method based on graph structure learning according to claim 1, characterized in that: The feature dataset includes a sample dataset and a pseudo label matrix for each view.
3. The image clustering method based on graph structure learning according to claim 1, characterized in that: The augmented Lagrange multiplier and iterative optimization method are used to solve the missing multi-view subspace clustering objective function based on graph structure learning.
4. The image clustering method based on graph structure learning as claimed in claim 3, characterized in that: The process of obtaining the similarity matrix is: For the objective function, two auxiliary objective variables are introduced; For the latent representation, auxiliary variables, error matrix, pseudo-label matrix, similarity matrix and Lagrange multipliers in the objective function, fix any number of variables and only one variable remains, and solve for the remaining variable.
5. Image clustering system based on graph structure learning, characterized by: include: The data acquisition module is configured to: acquire a training image data set, including a plurality of images; Extract multiple image features from each image to form a multi-view feature dataset; The objective function construction module is configured to: obtain the potential representation and pseudo-label matrix of each view data based on the feature data set based on low-rank representation learning and multi-view spectral clustering, obtain a unified similarity matrix through multi-view subspace clustering learning, and construct a missing multi-view subspace clustering objective function based on graph structure learning; The solving module is configured to: solve the missing multi-view subspace clustering objective function based on graph structure learning to obtain a similarity matrix; The clustering module is configured to: apply a rank constraint on the similarity matrix to obtain a block diagonal matrix and obtain a clustering result; The objective function of the latent representation and pseudo-label matrix is: Among them, λ represents the balance parameter of the error matrix of the vth view, β represents the balance parameter, represents the pseudo label matrix of the vth view, n represents the number of data samples, c represents the number of clusters, v represents the view number, v = 1, ..., V, V represents the total number of views, is the Laplacian matrix of the vth view, G (v) represents the pseudo label matrix of non-missing samples, represents the latent representation of each view, represents the error matrix of the constructed latent representation, represents the non-missing samples of the v-th view, m represents the feature dimension, (F (v) ) T F (v) =I c Indicates F (v) is an orthogonal matrix, Indicates that the diagonal elements are 0; The objective function of the similarity matrix is: s.t.(F (v) ) T F (v) =I c ,W≥0,W1=1,rank(L W )=n-c Among them, W represents a unified graph structure, represents the pseudo label matrix of the vth view, γ represents the weight parameter, and rank(L W ) = nc represents the rank constraint on the similarity matrix W; The objective function of the missing multi-view subspace clustering based on graph structure learning is: W≥0,W1=1,rank(L W )=n-c。 6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the image clustering method based on graph structure learning as described in any one of claims 1 to 4 are implemented.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the image clustering method based on graph structure learning as described in any one of claims 1 to 4 are implemented.
