Multi-view depth face clustering method and system based on variance fusion and weak supervision

By constructing a multi-view deep clustering network and utilizing variance fusion and pseudo-label weak supervision, the problems of insufficient information utilization and unstable training in multi-view face clustering are solved, and efficient face clustering in complex environments is achieved.

CN123181883APending Publication Date: 2026-11-27HANGZHOU DIANZI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611431250.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing multi-view face clustering methods fail to effectively utilize the unique information of different views, the fusion weights depend on learnable parameters and are susceptible to noise, and the pseudo-labels are unreliable in unsupervised training, resulting in unstable clustering performance.

Method used

A multi-view deep clustering network is constructed, which includes a shared encoder, a private encoder, a shared decoder, a private decoder, and a self-expression layer. The fusion weights are determined by the variance of the shared latent representation and the private latent representation. After the model is initially stabilized, pseudo-label weak supervision is introduced to form an aggregated self-expression matrix for clustering.

Benefits of technology

It improves the robustness and accuracy of face clustering in complex environments, reduces the risk of overfitting, and enhances information content and training stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181883A_ABST
    Figure CN123181883A_ABST
Patent Text Reader

Abstract

The application discloses a multi-view deep face clustering method and system based on variance fusion and weak supervision. The method comprises the following steps: S1, acquiring a face image and constructing multi-view data; S2, constructing a multi-view deep clustering network based on weak supervision and training; S3, determining a fusion weight by using the variance of shared latent representation and private latent representation obtained through training, and fusing to obtain an aggregated self-expression matrix; and S4, outputting a face identity clustering result according to the aggregated self-expression matrix. The application fully excavates shared features and view-specific features, adaptively allocates a fusion weight according to latent representation information, and gradually improves clustering discrimination ability through reliable weak supervision information. The application improves the face clustering stability and accuracy in complex illumination, posture, occlusion and expression change scenes under the condition of no labeling or less labeling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of unsupervised clustering and face recognition technology, specifically involving a multi-view deep face clustering method and system based on variance fusion and weak supervision. Background Technology

[0002] Facial recognition technology is widely used in fields such as identity authentication, intelligent security, financial services, public safety, and intelligent interaction. With the development of deep learning technology, facial recognition methods based on convolutional neural networks, deep feature learning, and metric learning have achieved high recognition accuracy in standard datasets and controlled acquisition environments. However, in real-world open environments, facial images are often affected by factors such as changes in lighting, shooting angle, facial expression, occlusion, differences in image resolution, and differences in acquisition equipment. This results in significant intra-class differences in the feature space for facial samples of the same identity, and overlapping feature distributions may occur between different identities, thereby reducing the stability of facial feature representation and clustering effects.

[0003] In practical applications, large-scale facial data often exists in unstructured form, containing numerous facial images of unknown identities. Manual annotation is time-consuming and labor-intensive, making it difficult to meet the needs of managing large-scale facial data. This is especially true in applications such as internet data analysis, video surveillance, and historical image processing, where accurate identity labeling information is often lacking. Therefore, effectively organizing and identifying individuals from massive amounts of facial images with minimal or no annotation has become a crucial research direction in the field of facial analysis. Facial clustering technology can automatically group samples belonging to the same identity into the same category based on the similarity between facial samples, providing a foundation for subsequent identity recognition, data management, and intelligent retrieval.

[0004] In recent years, multi-view learning methods have been increasingly applied to unsupervised face clustering tasks due to their ability to fuse facial feature information from different sources and types. Compared to single-view features, multi-view data can describe face samples from multiple perspectives. For example, raw pixel information can reflect the overall appearance structure, texture features can represent local details, and deep features can extract higher-level semantic information, thus improving the model's adaptability to complex environmental changes. However, existing multi-view deep clustering methods typically focus on learning common representations among multiple views, achieving information fusion through sharing a latent space, while neglecting the unique discriminative information contained in different views. Because different views are affected by acquisition and feature extraction methods, their information contributions are not the same. Using fixed weights or simple averaging for fusion can easily weaken some effective view information, thus affecting the final clustering performance.

[0005] On the other hand, existing deep subspace clustering methods typically obtain latent representations through encoders and utilize self-expression layers to learn structural relationships between samples. However, in fully unsupervised training, network parameter optimization mainly relies on reconstruction constraints and self-expression constraints, lacking category-related supervision information. This makes the model susceptible to random initialization, changes in feature distribution, and erroneous clustering structures in the early stages of training, resulting in insufficient discriminative power of the latent representation. Furthermore, directly introducing pseudo-labels predicted by the current model can easily generate erroneous supervision information, further causing error accumulation and reducing model training stability.

[0006] To address the aforementioned issues, how to fully utilize shared information from multiple views and view-specific information, as well as how to improve the accuracy and stability of face clustering in complex environments, remain problems that need to be solved. Summary of the Invention

[0007] The purpose of this invention is to overcome the problems in the existing technology, such as insufficient utilization of the unique information of different views in multi-view face clustering, fusion weights relying on learnable parameters and being susceptible to noise, and unreliable pseudo-labels in the early stage of unsupervised training. It provides a multi-view deep face clustering method and system based on variance fusion and weak supervision that can fully explore shared features and view-specific features, adaptively allocate fusion weights according to potential representation information, and gradually improve the clustering discrimination ability through reliable weak supervision information.

[0008] To achieve the above-mentioned objectives, the present invention provides the following technical solution:

[0009] S1. Acquire face images and construct multi-view data;

[0010] S2. Construct a weakly supervised multi-view deep clustering network that includes a shared encoder, a private encoder, a shared decoder, a private decoder, a self-expression layer, and a classifier, and train it based on multi-view data;

[0011] S3. Determine the fusion weights using the variance of the shared latent representation and the private latent representation obtained from training, and fuse them to obtain the aggregated self-expression matrix;

[0012] S4. Output the face identity clustering results based on the aggregated self-expression matrix.

[0013] Furthermore, the construction of multi-view data in step S1 includes:

[0014] Acquire feature data of the same face sample in two views, the views including the original pixel view and the texture feature view;

[0015] The face samples from the two views are aligned, normalized, and their dimensions are adjusted to obtain multi-view data with consistent face sample correspondence.

[0016] Furthermore, step S2 includes the following steps:

[0017] S21. Construct a multi-view deep clustering network;

[0018] The shared latent representation and private latent representation corresponding to each view are obtained by using the shared encoder and private encoder in the network, respectively. Classifiers are set on the shared latent representation and private latent representation corresponding to each view, and the sample class prediction probability is output by the classifiers.

[0019] S22. Train the multi-view deep clustering network;

[0020] During the unsupervised training phase, the network parameters are optimized using reconstruction loss, self-expression loss, and self-expression matrix regularization term, without introducing pseudo-label weak supervision.

[0021] After the training reaches the preset number of iterations, the weakly supervised optimization stage begins. The sample confidence is calculated based on the sample category prediction probability output by the classifier. Samples that meet the preset sample confidence conditions are selected to generate pseudo-labels, and pseudo-label weak supervision loss is introduced.

[0022] Furthermore, step S3 includes:

[0023] The overall shared latent representation is obtained by averaging the shared latent representations of all views;

[0024] Calculate the variance of the private latent representation of each view, and the variance of the overall shared latent representation;

[0025] Based on the proportion of variance to total variance, determine the fusion weights of the private self-expression matrix and the shared self-expression matrix of each view;

[0026] Based on the fusion weights, the private self-expression matrices and shared self-expression matrices of each view are weighted and summed to obtain the aggregated self-expression matrix C corresponding to the face sample, defined as follows:

[0027]

[0028] in, This represents the fusion weights corresponding to the shared self-expression matrix. To share the self-expression matrix, For the first Each view corresponds to a private self-expression matrix. Indicates the first The fusion weights of the private self-expression matrices corresponding to each view, where V represents the number of views.

[0029] Furthermore, step S4 includes:

[0030] Generate a sample similarity matrix based on the aggregated self-expression matrix;

[0031] The face samples are clustered based on the similarity matrix, and the face identity clustering results are output.

[0032] Furthermore, step S21 is implemented as follows:

[0033] The shared encoder and the private encoder will respectively process the input multi-view data. Mapping to a shared latent representation and private potential representation The shared decoder and private decoder respectively handle the shared latent representation. and private potential representation Perform reconstruction to obtain the corresponding reconstruction result. and ;

[0034] Shared potential representation across views and private potential representation Each layer has a self-expression layer to learn the linear combination relationship between samples;

[0035] In sharing potential representations and private potential representation Lightweight classifiers are set up on each of the above to output the predicted probability of sample class;

[0036] For the The classification outputs corresponding to the shared latent representation and private latent representation of each view are represented as follows:

[0037]

[0038] in, and These represent shared classifiers and private classifiers, respectively. and These represent the classification outputs of the shared classifier and the private classifier, respectively.

[0039] The classification output is converted into the predicted probability of the sample class using the softmax function.

[0040]

[0041] in, and These represent the sample class prediction probabilities corresponding to the shared latent representation and the private latent representation, respectively.

[0042] Furthermore, step S22 is implemented as follows:

[0043] Based on the sample class prediction probabilities output by the classifier in step S21, the sample confidence scores corresponding to the shared latent representation and the private latent representations of each view are calculated. For the first... For each sample, the prediction confidence is determined based on the predicted probability of the sample class. After the network has been trained for a preset number of rounds, high-confidence samples with prediction confidence above a specified threshold are selected, and pseudo-labels corresponding to the shared latent representation and the private latent representation are generated based on the predicted probability of the corresponding sample class. and Using the pseudo-labels as weak supervision information, the following pseudo-label weak supervision loss is introduced to constrain network optimization:

[0044]

[0045]

[0046] in, and Indicates the first The first view The sample belongs to the first The pseudo-label category indicator value; and Represents the nth element in the prediction probability matrix The first view The sample was assigned to the first... The probability value of the category; and They represent the first A collection of high-confidence pseudo-label samples under each view;

[0047] The final loss due to weak supervision is:

[0048] .

[0049] Furthermore, the present invention also provides a multi-view deep face clustering system based on variance fusion and weak supervision, comprising:

[0050] The data construction module is used to acquire face images and build multi-view data;

[0051] The network construction and training module is used to build and train a multi-view deep clustering network that includes a shared encoder, a private encoder, a shared decoder, a private decoder, a self-expressive layer, and a classifier.

[0052] The variance fusion module is used to determine the fusion weights and generate the aggregated self-expression matrix based on the variances of the shared latent representation and the private latent representation.

[0053] The clustering output module is used to perform spectral clustering based on the aggregated self-expression matrix and output the face identity clustering results.

[0054] Compared with the prior art, the present invention has the following beneficial effects:

[0055] (1) Simultaneously modeling cross-view using shared and private representations Figure 1 The complementary information between the face information and the view can improve the robustness of face clustering under complex lighting, pose, and occlusion conditions;

[0056] (2) A variance-based parameter-independent fusion method is adopted to reduce the risk of overfitting caused by additional parameters and automatically enhance the contribution of views with higher information content.

[0057] (3) The delayed pseudo-label learning mechanism is adopted, and high-confidence samples are selected as weak supervision signals only after the model has initially stabilized, which helps to improve training stability and clustering accuracy. Attached Figure Description

[0058] Figure 1 This is a flowchart illustrating a multi-view deep face clustering method based on variance fusion and weak supervision in this invention.

[0059] Figure 2 This is a schematic diagram of a network model for a multi-view deep face clustering method based on variance fusion and weak supervision in this invention. Detailed Implementation

[0060] To more clearly illustrate the embodiments of the present invention, specific implementation methods will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.

[0061] Example:

[0062] like Figure 1 As shown, this invention provides a multi-view deep clustering method based on variance fusion and weak supervision, comprising the following steps:

[0063] S1. Acquire face images and construct multi-view data, specifically including the following steps:

[0064] A set of face images to be clustered is obtained. The face images are cropped to 32×32 pixels and then preprocessed by alignment, normalization and other operations to eliminate the influence of differences in image size, position and scale on subsequent feature learning.

[0065] Two complementary views are constructed for the same face sample: an original pixel view and a texture feature view. The original pixel view is used to represent the overall spatial structure information of the face, while the texture feature view is used to represent the local texture and detail information of the face.

[0066] S2. Construct and train a weakly supervised multi-view deep clustering network, specifically including the following steps:

[0067] S21. For each view, construct a multi-view deep clustering network containing a shared encoder, a private encoder, a shared decoder, a private decoder, a self-expressive layer, and a classifier. The shared encoder and the private encoder process the input multi-view data respectively. Mapping to a shared latent representation and private potential representation The shared decoder and the private decoder reconstruct the aforementioned latent representations respectively, obtaining the corresponding reconstruction results. and ;

[0068] Self-expression layers are set on the shared latent representation and private latent representation of each view to learn the linear combination relationship between samples.

[0069]

[0070] in, To share the self-expression matrix, For the first A private self-expression matrix for each view.

[0071] Furthermore, to achieve weakly supervised learning, lightweight classifiers are set on the shared latent representation and the private latent representation of each view, respectively, to output the predicted probability of sample class.

[0072] For the The classification outputs corresponding to the shared latent representation and private latent representation of each view are represented as follows:

[0073]

[0074] in, and These represent shared classifiers and private classifiers, respectively. and These represent the classification outputs of the shared classifier and the private classifier, respectively.

[0075] The classification output is converted into the predicted probability of the sample class using the softmax function.

[0076]

[0077] in, and These represent the sample class prediction probabilities corresponding to the shared latent representation and the private latent representation, respectively.

[0078] S22. The multi-view deep clustering network is trained in stages, including an unsupervised training stage and a weakly supervised optimization stage;

[0079] In the unsupervised training phase, the network parameters are first optimized using reconstruction loss, self-expression constraints, and self-expression matrix regularization terms. This enables the shared encoder, private encoder, and self-expression layers to learn stable latent representations and sample structure relationships. No pseudo-label supervision information is introduced in this phase to avoid erroneous supervision signals affecting network parameter updates due to the instability of the initial clustering results.

[0080] The expression matrix regularization term includes a Frobenius norm constraint term, an L1 norm consistency alignment term, and an HSIC independence penalty term. The reconstruction loss and self-expression constraints are shown below:

[0081]

[0082]

[0083] After the network training reaches the preset number of iterations, it enters the weakly supervised optimization stage. Based on the sample class prediction probabilities output by the classifier in step S21, the sample confidence scores corresponding to the shared latent representation and the private latent representations of each view are calculated.

[0084] For the For each sample, a prediction confidence level is determined based on the predicted probability of the sample category. After the network has undergone a preset number of training rounds, high-confidence samples with prediction confidence levels above a specified threshold are selected, and pseudo-labels are generated based on the predicted probability of the corresponding sample category. and Using the pseudo-labels as weak supervision information, the following pseudo-label weak supervision loss is introduced to constrain network optimization:

[0085]

[0086]

[0087] in, and Indicates the first The first view The sample belongs to the first The pseudo-label category indicator value; and Represents the nth element in the prediction probability matrix The first view The sample was assigned to the first... The probability value of the category; and They represent the first A collection of high-confidence pseudo-label samples under each view.

[0088] The final loss due to weak supervision is:

[0089]

[0090] S3. Determine the fusion weights using the variance of the shared latent representation and the private latent representation obtained during training, and fuse them to obtain the aggregated self-expression matrix. This includes the following steps:

[0091] S31. Calculate the variance of the shared latent representation and the private latent representations of each view, whereby the variance measures the degree of information distribution among different latent representations in the feature space. For the latent representation matrix... Its variance is defined as:

[0092]

[0093] in, Indicates the number of samples. Represents the dimension of latent features. Indicates the first The mean of each potential feature dimension.

[0094] Based on the above variance calculation results, the following are obtained respectively: Each view private potential representation Variance and overall shared latent representation variance:

[0095]

[0096] in, The mean of the underlying representation is shared across all views.

[0097] Furthermore, the fusion weights of the corresponding self-expression matrices are determined based on the proportion of each latent representation variance to the total variance:

[0098]

[0099] in, and The first The weights of the private self-expression matrix and the weights of the shared self-expression matrix for each view.

[0100] Finally, the shared self-expression matrix and the private self-expression matrices of each view are weighted and summed according to the fusion weights to obtain the aggregated self-expression matrix:

[0101]

[0102] in, Represents the aggregated self-expression matrix. Indicates a shared self-expression matrix. Indicates the first Each view has its own private self-expression matrix.

[0103] S4. Output the face identity clustering results based on the aggregated self-expression matrix, specifically including the following steps:

[0104] Based on the aggregated self-expression matrix obtained in step S3 A relationship graph between face samples is constructed, where the elements in the aggregated self-expression matrix represent the degree of structural association between corresponding samples.

[0105] Specifically, a sample similarity matrix is ​​generated based on the aggregated self-expression matrix:

[0106]

[0107] in, This represents the sample relationship matrix, used to describe the similarity relationships between different face samples.

[0108] Furthermore, based on the sample relationship matrix Clustering algorithms are used to divide face samples and obtain face cluster categories corresponding to different identities.

[0109] Specifically, the sample relationship matrix is ​​input into the clustering module. By analyzing the similarity relationships between samples, face samples with high correlation are grouped into the same category to obtain the face identity clustering results:

[0110]

[0111] in, This represents the final output facial identity clustering label. This represents a clustering operation.

[0112] Through the above steps, the fused aggregated self-expression matrix comprehensively considers the shared information and view-specific information in different views, thereby achieving automatic clustering of face identities under conditions of no or few annotations.

[0113] Based on this embodiment, the present invention also provides a multi-view deep clustering system based on variance fusion and weak supervision, comprising:

[0114] The data construction module is used to acquire face images and build multi-view data;

[0115] The network construction and training module is used to build and train a multi-view deep clustering network that includes a shared encoder, a private encoder, a shared decoder, a private decoder, a self-expressive layer, and a classifier.

[0116] The variance fusion module is used to determine the fusion weights and generate the aggregated self-expression matrix based on the variances of the shared latent representation and the private latent representation.

[0117] The clustering output module is used to perform spectral clustering based on the aggregated self-expression matrix and output the face identity clustering results.

[0118] Based on this embodiment, the present invention also provides relevant experimental data Table 1.

[0119]

[0120] As shown in Table 1, the complete model outperforms the models after removing the fusion module or removing both the fusion module and pseudo-labels on the Yale dataset in all evaluation metrics. The significant performance decrease after removing the fusion module indicates that the proposed fusion module effectively enhances the utilization of multi-view feature information. Further removal of the pseudo-label mechanism further reduces model performance, validating that the pseudo-label weak supervision strategy can provide effective supervision information, thereby improving the model's clustering performance.

[0121] The above description is merely a detailed explanation of preferred embodiments and principles of the present invention. For those skilled in the art, there may be changes in specific implementation methods based on the ideas provided by the present invention, and these changes should also be considered within the scope of protection of the present invention.

Claims

1. A multi-view deep face clustering method based on variance fusion and weak supervision, characterized in that, Includes the following steps: S1. Acquire face images and construct multi-view data; S2. Construct a weakly supervised multi-view deep clustering network that includes a shared encoder, a private encoder, a shared decoder, a private decoder, a self-expression layer, and a classifier, and train it based on multi-view data; S3. Determine the fusion weights using the variance of the shared latent representation and the private latent representation obtained from training, and fuse them to obtain the aggregated self-expression matrix; S4. Output the face identity clustering results based on the aggregated self-expression matrix.

2. The multi-view deep face clustering method based on variance fusion and weak supervision according to claim 1, characterized in that, The construction of multi-view data in step S1 includes: Acquire feature data of the same face sample in two views, the views including the original pixel view and the texture feature view; The face samples from the two views are aligned, normalized, and their dimensions are adjusted to obtain multi-view data with consistent face sample correspondence.

3. The multi-view deep face clustering method based on variance fusion and weak supervision according to claim 1, characterized in that, Step S2 includes the following steps: S21. Construct a multi-view deep clustering network; The shared latent representation and private latent representation corresponding to each view are obtained by using the shared encoder and private encoder in the network, respectively. Classifiers are set on the shared latent representation and private latent representation corresponding to each view, and the sample class prediction probability is output by the classifiers. S22. Train the multi-view deep clustering network; During the unsupervised training phase, the network parameters are optimized using reconstruction loss, self-expression loss, and self-expression matrix regularization term, without introducing pseudo-label weak supervision. After the training reaches the preset number of iterations, the weakly supervised optimization stage begins. The sample confidence is calculated based on the sample category prediction probability output by the classifier. Samples that meet the preset sample confidence conditions are selected to generate pseudo-labels, and pseudo-label weak supervision loss is introduced.

4. The multi-view deep face clustering method based on variance fusion and weak supervision according to claim 1, characterized in that, Step S3 includes: The overall shared latent representation is obtained by averaging the shared latent representations of all views; Calculate the variance of the private latent representation of each view, and the variance of the overall shared latent representation; Based on the proportion of variance to total variance, determine the fusion weights of the private self-expression matrix and the shared self-expression matrix of each view; Based on the fusion weights, the private self-expression matrices and shared self-expression matrices of each view are weighted and summed to obtain the aggregated self-expression matrix C corresponding to the face sample, defined as follows: in, This represents the fusion weights corresponding to the shared self-expression matrix. To share the self-expression matrix, For the first Each view corresponds to a private self-expression matrix. Indicates the first The fusion weights of the private self-expression matrices corresponding to each view, where V represents the number of views.

5. The multi-view deep face clustering method based on variance fusion and weak supervision according to claim 1, characterized in that, Step S4 includes: Generate a sample similarity matrix based on the aggregated self-expression matrix; The face samples are clustered based on the similarity matrix, and the face identity clustering results are output.

6. The multi-view deep face clustering method based on variance fusion and weak supervision according to claim 3, characterized in that, Step S21 is implemented as follows: The shared encoder and the private encoder will respectively process the input multi-view data. Mapping to a shared latent representation and private potential representation The shared decoder and private decoder respectively handle the shared latent representation. and private potential representation Perform reconstruction to obtain the corresponding reconstruction result. and ; Shared potential representation across views and private potential representation Each layer has a self-expression layer to learn the linear combination relationship between samples; In sharing potential representations and private potential representation Lightweight classifiers are set up on each of the above to output the predicted probability of sample class; For the The classification outputs corresponding to the shared latent representation and private latent representation of each view are represented as follows: in, and These represent shared classifiers and private classifiers, respectively. and These represent the classification outputs of the shared classifier and the private classifier, respectively. The classification output is converted into the predicted probability of the sample class using the softmax function. in, and These represent the sample class prediction probabilities corresponding to the shared latent representation and the private latent representation, respectively.

7. The multi-view deep face clustering method based on variance fusion and weak supervision according to claim 6, characterized in that, Step S22 is implemented as follows: Based on the sample class prediction probabilities output by the classifier in step S21, the sample confidence scores corresponding to the shared latent representation and the private latent representations of each view are calculated. For the first... For each sample, the prediction confidence is determined based on the predicted probability of the sample class. After the network has been trained for a preset number of rounds, high-confidence samples with prediction confidence above a specified threshold are selected, and pseudo-labels corresponding to the shared latent representation and the private latent representation are generated based on the predicted probability of the corresponding sample class. and Using the pseudo-labels as weak supervision information, the following pseudo-label weak supervision loss is introduced to constrain network optimization: in, and Indicates the first The first view The sample belongs to the first The pseudo-label category indicator value; and Represents the nth element in the prediction probability matrix The first view The sample was assigned to the first... The probability value of the category; and They represent the first A collection of high-confidence pseudo-label samples under each view; The final loss due to weak supervision is: 。 8. A multi-view deep face clustering system based on variance fusion and weak supervision, characterized in that, The system is used to implement the method as claimed in any one of claims 1-7, comprising: The data construction module is used to acquire face images and build multi-view data; The network construction and training module is used to build and train a multi-view deep clustering network that includes a shared encoder, a private encoder, a shared decoder, a private decoder, a self-expressive layer, and a classifier. The variance fusion module is used to determine the fusion weights and generate the aggregated self-expression matrix based on the variances of the shared latent representation and the private latent representation. The clustering output module is used to perform spectral clustering based on the aggregated self-expression matrix and output the face identity clustering results.