Feature selection method and related device for multi-view data

By constructing a spectral embedding matrix and a consistent regular matrix, and using the spectral decomposition of a positive semi-definite matrix to determine the projection matrix, the problem of feature selection in multi-view data is solved, efficient feature selection under unsupervised conditions is achieved, and the disaster of dimensionality is avoided. effect.

CN115098709BActive Publication Date: 2024-09-03NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210726175.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-24
Publication Date
2024-09-03
Estimated Expiration
2042-06-24

Smart Images

  • Figure CN115098709B
    Figure CN115098709B
Patent Text Reader

Abstract

This application provides a feature selection method and related apparatus for multi-view data. The method includes: for each view of a preset multi-view data set, determining a spectral embedding matrix and constructing a consistency regularization matrix for that view; the multi-view data set includes multiple samples, each sample having the same number of views; based on multiple preset features, setting a projection matrix about the features; constructing an objective function about the projection matrix using the spectral embedding matrix and the consistency regularization matrix; initializing the objective function to obtain an initial objective function; constructing a positive semi-definite matrix based on the initial objective function; determining the projection matrix according to the rank of the positive semi-definite matrix; and calculating the solution of the objective function based on the definition of the projection matrix to obtain the features selected for the multi-view data. It can be seen that this method utilizes the consistency and complementarity between views to select multiple features with the highest discriminative power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the technical field of data classification, and in particular, to a feature selection method for multi-view data and related devices. Background Art

[0002] In related data classification methods, data features are usually selected in a supervised, weakly supervised or unsupervised manner to obtain the most discriminative features to effectively classify the data, thereby avoiding other redundant features.

[0003] Among them, unsupervised feature selection methods are often used for single-view data. When faced with multi-view data that can be described from multiple aspects, the existing feature selection methods often lead to the dimensionality disaster effect due to too many features, making it difficult to effectively and quickly obtain valuable features.

[0004] Based on this, a solution is needed that can be effectively applied to multi-view data, that is, data with extremely large feature dimensions. Summary of the invention

[0005] In view of this, the purpose of the present application is to propose a feature selection method for multi-view data and related devices.

[0006] Based on the above objectives, the present application provides a feature selection method for multi-view data, including:

[0007] For each view of preset multi-view data, determining a spectral embedding matrix and constructing a consistency regular matrix of the view, wherein the multi-view data includes a plurality of samples, and each of the samples has the same number of views;

[0008] Based on a plurality of preset features, a projection matrix about the features is set, and an objective function about the projection matrix is ​​constructed using the spectral embedding matrix and the consistency regularization matrix;

[0009] Initializing the objective function to obtain an initial objective function, constructing a semi-positive definite matrix based on the initial objective function, and determining the projection matrix according to the rank of the semi-positive definite matrix;

[0010] Based on the definition of the projection matrix, a solution to the objective function is calculated to obtain features selected for the multi-view data.

[0011] Further, the spectral embedding matrix is ​​determined, including:

[0012] For each of said views, perform the actions:

[0013] Calculating a distance matrix of the samples;

[0014] Calculating a similarity matrix about the view according to the distance matrix;

[0015] Determine a Laplacian matrix about the view using the similarity matrix;

[0016] Performing spectral decomposition on the Laplace matrix to obtain the spectral embedding matrix.

[0017] Further, constructing an objective function about the projection matrix using the spectral embedding matrix and the consistency regularization matrix includes:

[0018] Construct a centered matrix based on a multidimensional vector whose values ​​are all 1;

[0019] constructing a transition matrix using the spectrum embedding matrix and a preset first parameter vector;

[0020] An objective function about the projection matrix is ​​constructed using a preset second parameter vector, the centering matrix, and the transition matrix.

[0021] Further, constructing a semi-positive definite matrix based on the initial objective function includes:

[0022] A semi-positive definite matrix for the multi-view data is constructed using the first parameter vector, the second parameter vector and the centering matrix in the initial objective function.

[0023] Further, determining the projection matrix according to the rank of the semi-positive definite matrix includes:

[0024] determining the rank of the semi-positive definite matrix;

[0025] Set the semi-positive definite threshold;

[0026] In response to the rank of the semi-positive definite matrix being less than or equal to the semi-positive definite threshold, determining a definition of the projection matrix by sorting diagonal elements of the semi-positive definite matrix;

[0027] In response to the rank of the semi-positive definite matrix being greater than the semi-positive definite threshold, the definition of the projection matrix is ​​determined by iterating the objective function and when the objective function iteration reaches a preset end condition.

[0028] Further, based on the definition of the projection matrix, calculating the solution of the objective function to obtain the features selected for the multi-view data includes:

[0029] Based on the initial objective function, determining an initial value of the first parameter vector, an initial value of the second parameter vector, and an initial value of the projection matrix;

[0030] Arrange the objective function based on the initial value of the first parameter vector, the initial value of the second parameter vector and the initial value of the projection matrix, and iterate the arranged objective function;

[0031] In response to the objective function iterating to the preset end condition, determining the first parameter vector, the second parameter vector and the projection matrix;

[0032] A feature selected for the multi-view data is determined from among a plurality of preset features according to the projection matrix.

[0033] Furthermore, the sorted objective function is iterated, including:

[0034] In each round of iteration, perform the following operations:

[0035] Fixing the values ​​of the first parameter vector and the second parameter vector in the current round, and solving the value of the projection matrix in the next round;

[0036] Using the value of the projection matrix in the next round and fixing the value of the first parameter vector in the current round, solving the value of the second parameter vector in the next round;

[0037] Using the value of the projection matrix in the next round and the value of the second parameter vector in the next round, solving the value of the first parameter vector in the next round;

[0038] In response to the iteration of the sorted objective function reaching the preset end condition, the iteration is ended, and the values ​​of the first parameter vector, the second parameter vector and the projection matrix of the last round are output.

[0039] Based on the same inventive concept, the present application also provides a feature selection device for multi-view data, including: a preprocessing module, an objective function construction module, a projection matrix determination module and an iterative solution module;

[0040] The preprocessing module is configured to determine a spectral embedding matrix for each view of preset multi-view data and construct a consistency regular matrix of the view, wherein the multi-view data includes a plurality of samples, and each of the samples has the same number of views;

[0041] The objective function construction module is configured to set a projection matrix about the feature based on a plurality of preset features, and construct an objective function about the projection matrix using the spectral embedding matrix and the consistency regularization matrix;

[0042] The projection matrix determination module is configured to initialize the objective function to obtain an initial objective function, construct a semi-positive definite matrix based on the initial objective function, and determine the projection matrix according to the rank of the semi-positive definite matrix;

[0043] The iterative solution module is configured to calculate a solution to the objective function based on a definition of the projection matrix to obtain features selected for the multi-view data.

[0044] Based on the same inventive concept, the present application also provides an electronic device, including 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 feature selection method for multi-view data as described in any one of the above items is implemented.

[0045] Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the feature selection method for multi-view data as above.

[0046] From the above, it can be seen that the feature selection method and related equipment for multi-view data provided by the present application select features based on the obtained spectral embedding matrix and consistency regular matrix, and comprehensively consider the relationship between the spectral embedding matrix, the consistency regular matrix and the projection matrix to construct the objective function. By introducing a semi-positive definite matrix, the projection matrix can be determined by spectral decomposition in the iteration, thereby realizing the use of consistency and complementarity between views in an unsupervised manner to select multiple features with the most discriminative ability. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 A flowchart of a method for selecting features from multi-view data according to an embodiment of the present application;

[0049] Figure 2 This is a schematic diagram of the structure of a feature selection device for multi-view data according to an embodiment of the present application;

[0050] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0052] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of the present application should have the usual meanings understood by persons with ordinary skills in the field to which the present application belongs. Words such as "include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, but do not exclude other elements or objects.

[0053] As described in the background technology section, the feature selection methods for related multi-view data are still difficult to meet the needs of selecting data features in practice.

[0054] In the process of implementing the present application, the applicant discovered that the main problem with the feature selection method for related multi-view data is that multi-view data means that each individual sample in the data can be described from multiple aspects, and each aspect contains multiple features. When the number of samples contained in the multi-view data is very large, it means that the number of features it has will also be very large.

[0055] The applicant found in the study that compared with single-view data, the huge number of features in multi-view data can easily lead to the curse of dimensionality effect for feature selection.

[0056] Furthermore, the applicant also found in the research that in the process of unsupervised feature selection, when faced with a large number of features, even if there is no process for collecting category information, it is possible to select the features with the most discriminative classification capabilities based on the idea of ​​consistency regularization and the consistency and complementarity between views.

[0057] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0058] refer to Figure 1 A method for selecting features from multi-view data according to an embodiment of the present application comprises the following steps:

[0059] Step S101 : for each view of preset multi-view data, determine a spectral embedding matrix and construct a consistency regular matrix of the view, wherein the multi-view data includes a plurality of samples, and each of the samples has the same number of views.

[0060] In the embodiments of the present application, a plurality of web pages are taken as specific examples of multi-view data, and each web page is taken as a sample of the multi-view data.

[0061] Among them, each web page can be classified from different aspects. For example, different text contents displayed in the web page can be used as features, such as Chinese characters as one type of feature and English characters as another type of feature, and each web page can be classified according to the features of the text content.

[0062] At the same time, for each web page, different pictures displayed in the web page can also be used as features, for example, animal-related pictures can be used as one type of feature, scenery-related pictures can be used as another type of feature, and each web page can be classified according to the features of the pictures.

[0063] Furthermore, for each web page, related links in the web page can be used as features, for example, links to social networking sites can be used as one type of feature, links to websites of public management departments can be used as another type of feature, and each web page can be classified according to the features of the links.

[0064] In this embodiment, each of the above classification methods is used as a description of an aspect of the web page, that is, a view in this embodiment. It can be seen that each web page, or each sample, has multiple views.

[0065] In this embodiment, each web page or each sample is set to have the same number of features and number of views, and the number of samples is set to n, the number of views is set to V, and the number of features is set to d. v At the same time, it is considered that the multi-view data, that is, all web pages, can be divided into c categories.

[0066] In this embodiment, based on the above specific example, the spectral embedding matrix of each view may be calculated, with the vth view among all V views being taken as an example.

[0067] Specifically, the multi-view data is specifically expressed as: in, It can be seen that X (v) is the data matrix of the vth view among all V views.

[0068] First, the distance matrix between samples is determined by taking the 2-norm.

[0069] Specifically, the distance matrix is ​​represented as D (v) , calculated using the following formula:

[0070]

[0071] Among them, ‖*‖2 represents the vector Take the 2-norm.

[0072] Furthermore, according to the above distance matrix formula, we can determine represents the distance between the ith sample and its kth nearest neighbor, where the value of k can be selected according to the specific scenario, for example, it can be 5, 10 or 15.

[0073] Furthermore, based on the distance matrix determined above, the similarity matrix for the vth view is determined using the following formula:

[0074]

[0075] The similarity matrix is Represents the similarity matrix S (v) The value of the (i,j)th element in .

[0076] Furthermore, based on the similarity matrix determined above, the Laplacian matrix of the v-th view is determined using the following formula:

[0077]

[0078] Where LS(v) is the Laplacian matrix of the similarity matrix of the vth view, S (v)T The T in represents the transposition of the similarity matrix.

[0079] Furthermore, the calculation of the diagonal elements of the diagonal matrix is ​​shown in the following formula:

[0080]

[0081] Furthermore, the following formula is executed to perform spectral decomposition on the above Laplace matrix:

[0082]

[0083] Where Tr(*) represents the trace operation of the matrix, I n represents the n-order identity matrix, U (v) represents the spectral embedding matrix of the v-th view.

[0084] It can be seen that in the process of spectral decomposition of the Laplacian matrix, the eigenvalues ​​of the view v can be sorted from small to large, and the eigenvectors corresponding to the first c eigenvalues ​​are used to form the above spectral embedding matrix U (v) .

[0085] In this embodiment, before selecting features, in order to ensure the consistency between the features, it is also necessary to construct a consistency regular matrix. In this embodiment, the consistency regular matrix is ​​expressed as: M∈R d×d .

[0086] Specifically, the consistency regularization matrix is:

[0087]

[0088] Among them, for any element M in the above consistency regular matrix vz , can be determined according to the following formula:

[0089]

[0090] in, and And B v It can be constructed using the following formula:

[0091] B v =(X (v)T X (v) ) -1 X (v)T ,v=1,2,…,V

[0092] Step S102: Based on a plurality of preset features, a projection matrix for the features is set, and an objective function for the projection matrix is ​​constructed using the spectral embedding matrix and the consistency regularization matrix.

[0093] In the embodiment of the present application, according to the above specific scenario, it is set that all d v Select s features from among the features that are most capable of distinguishing the categories of each web page.

[0094] Furthermore, according to the number of features s to be selected, a projection matrix about the feature is set, and the projection matrix is ​​expressed as: And, the projection matrix

[0095] Among them, the projection matrix The specific format can be set as follows:

[0096]

[0097] Furthermore, the objective function shown below can be set, and the sparse projection matrix can be obtained by optimizing the objective function:

[0098]

[0099] Furthermore, the objective function also has the following constraints:

[0100]

[0101] Among them, for the above objective function, H is the centralization matrix, α is the first parameter vector, p is the second parameter vector, F is the transition matrix, and γ is a pre-set parameter. The parameter γ can be selected according to specific scenarios and requirements. For example, it can be selected from {0.01, 0.1, 1, 10, 100}.

[0102] Specifically, in the above objective function, It can be obtained by transposing, and is specifically in the following form:

[0103]

[0104] Furthermore, for the calculation of the centralization matrix H, the following formula can be adopted:

[0105]

[0106] Among them, 1 n is an n-dimensional vector whose values ​​are all 1.

[0107] Furthermore, the calculation of the transition matrix F can be determined by the following formula based on the spectrum embedding matrix U:

[0108]

[0109] where α (v) is the element in the first parameter vector α. For the first parameter vector α, it can be constructed as follows:

[0110] α=[α (1) ,…,α (v) ] T

[0111] Furthermore, the second parameter vector p can be constructed as follows:

[0112] p=[p (1) ,…,p (V) ] T

[0113] In this embodiment, based on the second parameter vector, the matrix can be obtained by constructing its diagonal matrix And the constructed diagonal matrix Can make

[0114] That is, the diagonal matrix The specific form is:

[0115]

[0116] Step S103: Initialize the objective function to obtain an initial objective function, construct a semi-positive definite matrix based on the initial objective function, and determine the projection matrix according to the rank of the semi-positive definite matrix.

[0117] In the embodiment of the present application, based on the objective function and projection matrix constructed above In order to determine the selected s features, it is necessary to optimize the objective function to obtain a sparse projection matrix And make the projection matrix The number of non-zero columns in is exactly s to meet the quantity requirement for web page feature selection. In this embodiment, s can be set between m and d, where m and d can also be set according to specific scenarios and requirements.

[0118] In the process of optimizing the objective function, first, the objective function is initialized.

[0119] Specifically, the second parameter vector p can be randomly initialized to p0, and ‖p0‖2=1.

[0120] Furthermore, the first parameter vector α is initialized as follows:

[0121]

[0122] Furthermore, based on the initialization of the first parameter vector and the second parameter vector, the above formula Obtain the initialization result of the transition matrix F, and specifically represent it as F0;

[0123] And, according to the diagonal matrix proposed above The specific form is:

[0124]

[0125] Get the diagonal matrix Get the initialization result and express it specifically as

[0126] Furthermore, the above initialization result is brought into the objective function to obtain the initial objective function as shown below:

[0127]

[0128] in, Represents the projection matrix to be solved The initialization value of λ0 is the initialization value of the objective function.

[0129] Furthermore, based on the initialization of each matrix in the above initialized initial objective function, a semi-positive definite matrix is ​​constructed.

[0130] Specifically, a semi-positive definite matrix is ​​constructed as shown in the following formula and represented by G:

[0131]

[0132] Furthermore, based on the semi-positive definite matrix, the following semi-positive definite formula is constructed according to the above-mentioned spectral decomposition method:

[0133]

[0134] Among them, based on the above initialization, the semi-positive definite formula has the following constraints:

[0135]

[0136] Furthermore, since the initial projection matrix is ​​defined The method will vary depending on the value of the rank of the semi-positive definite matrix. Therefore, it is necessary to perform spectral decomposition based on the value of the rank of the semi-positive definite matrix.

[0137] Specifically, the rank of the semi-positive definite matrix G is determined and represented by rank(G). Further, by comparing rank(G) with m, the following two comparison results can be obtained:

[0138] rank(G)≤m, or rank(G)>m

[0139] Below, the initialization projection matrix is ​​determined according to the different rank(G) values.

[0140] In this embodiment, when rank(G)≤m, first, the elements on the diagonal of the semi-positive definite matrix G are sorted in descending order, where q i to represent the row where the i-th largest diagonal element is located, where i = (1, 2, ..., m).

[0141] Furthermore, we set the matrix Q and let the matrix Q∈{0,1} s×d , where Q ij represents the value of the (i, j)th element in the matrix Q, which can be determined according to the following conditions:

[0142]

[0143] Furthermore, based on the determined matrix Q, the matrix QGQ can be TPerform spectral decomposition, and construct the matrix V from left to right according to the order of eigenvalues ​​from large to small, where the matrix V∈R m×m .

[0144] Furthermore, according to the determined matrix V, the initialized projection matrix Defined as:

[0145]

[0146] In this embodiment, when rank(G)>m, the initialization projection matrix can be determined by iteration.

[0147] Specifically, through Perform random initialization and get in, And the following conditions are met:

[0148]

[0149] The above initialization process is regarded as the 0th round in this iteration and is recorded as t=0.

[0150] Furthermore, the iteration process of each round is performed as follows:

[0151] First, set up the matrix Γ as shown below:

[0152]

[0153] in, It means to find the pseudo-inverse matrix of the matrix in the brackets, and the subscript t indicates that the current iteration round is t.

[0154] Further, similar to the above, for Γ in the current round t The elements on the diagonal are sorted from largest to smallest and are also sorted by q i to represent the row where the i-th largest diagonal element is located, where i = (1, 2, ..., m).

[0155] Furthermore, a matrix Q similar to the above is set, and the matrix Q∈{0,1+ s×d , where Q ij represents the value of the (i, j)th element in the matrix Q, which can be determined according to the following conditions:

[0156]

[0157] Furthermore, based on the determined matrix Q, the matrix QΓ of the current round can be t Q TPerform spectral decomposition, and construct the matrix V from left to right according to the order of eigenvalues ​​from large to small, where the matrix V∈R m×m .

[0158] Furthermore, according to the determined matrix V, the initialized projection matrix can be The value in the next round, that is, the value in the t+1th round, is defined as:

[0159]

[0160] Furthermore, the iteration round t is updated to the t+1th round, that is, entering the next round of iteration.

[0161] Furthermore, when the iteration reaches the preset end condition, the iteration ends and the initialized projection matrix is ​​output. Definition of .

[0162] Specifically, the preset end condition may be that the objective function converges to a preset threshold, or may be that a preset maximum number of iteration steps is reached.

[0163] Furthermore, for example, when the round at the end of the iteration is the tth round, the initialized projection matrix The output of the definition is:

[0164]

[0165] Step S104: Based on the definition of the projection matrix, a solution of the objective function is calculated to obtain features selected for the multi-view data.

[0166] In the embodiment of the present application, based on the definition of the projection matrix obtained by spectral decomposition, that is, the initialized projection matrix The definition of can be used to find the solution of the objective function through iteration.

[0167] Specifically, the iteration process of each round is performed as follows:

[0168] First, determine the objective function in the tth iteration round as:

[0169]

[0170] Furthermore, the above-mentioned iteration of the t+1th round is used as the initial value of the iteration in this part, that is, the second parameter vector p in the t+1th round is t+1 , the first parameter vector α t+1 and the projection matrix As the initial value in this part of the iteration.

[0171] Furthermore, the objective function of the tth round determined above is sorted out, and the sorted objective function is expressed as the following objective formula:

[0172]

[0173] The objective formula satisfies the following constraints:

[0174]

[0175] Furthermore, the above target formula is iterated. When the iteration reaches the preset end condition, the iteration ends and the second parameter vector p, the first parameter vector α and the projection matrix obtained in the last round of iteration are output. Among them, the second parameter vector p, the first parameter vector α and the projection matrix obtained in the last iteration round are should be the input value in the next iteration round, that is, if the last iteration round is the tth round, the output second parameter vector is p t+1 , the first parameter vector output is α t+1 , and the output projection matrix is

[0176] In some embodiments, the iterative solution of the target equation may specifically include:

[0177] In any iteration, perform the following operations:

[0178] Set the current round to the zth iteration round. First, fix the second parameter vector p of the current zth iteration round. z and the first parameter vector α z , to solve the projection matrix output in the current round

[0179] Specifically, the projection matrix initialized by the spectral decomposition of the semi-positive definite matrix G is In a similar way, set the semi-positive definite matrix N and transform the projection matrix It is expressed as follows and the projection matrix is ​​determined

[0180]

[0181] Among them, the semi-positive definite matrix N is in the following form:

[0182]

[0183] Among them, η is a preset parameter. In order to ensure that the matrix N is semi-positive definite, a sufficiently large positive number can be used as the value of η.

[0184] Furthermore, based on the projection matrix determined above Fix the projection matrix and the first parameter vector α z , to solve the second parameter vector p output in the current round z+1 .

[0185] Specifically, based on the matrix set R sn×V , set the two matrices R1 and R2 to the following form:

[0186]

[0187]

[0188] Among them, vec(*) means concatenating the columns of the matrix in the brackets to form a vector; further, similarly, It can be expressed as follows:

[0189]

[0190] It can be seen that with respect to the second parameter vector p z+1 The solution can be transformed into a similar spectral decomposition formula and expressed as follows:

[0191]

[0192] Further, according to the above determined formula, similarly, for the second parameter vector p z+1 The solution of R1 can be obtained by T The eigenvector corresponding to the maximum eigenvalue of R2 is formed.

[0193] Furthermore, based on the second parameter vector p determined above z+1 and the projection matrix Fix the second parameter vector p z+1 and the projection matrix To solve the first parameter vector α z+1 .

[0194] Specifically, similar to the above spectral decomposition method, the following formula about the first parameter vector is constructed:

[0195]

[0196] Furthermore, based on the above formula, according to the Cauchy inequality, the first parameter vector α can be determined z+1 Elements in And express it as follows:

[0197]

[0198] Furthermore, the second parameter vector p for the next round of the output of the current z round iteration can be obtained: z+1 , the first parameter vector α z+1 and the projection matrix

[0199] Furthermore, the above output result is input into the next z+1 round iteration.

[0200] When the iteration reaches the preset end condition, the iteration ends, and the second parameter vector, the first parameter vector and the projection matrix obtained in the current round are output.

[0201] Similarly, the preset end condition may be the convergence of the objective function to a preset threshold, or may be reaching a preset maximum number of iteration steps, etc.

[0202] It can be seen that the feature selection method for multi-view data in the embodiment of the present application selects features based on the obtained spectral embedding matrix and consistency regular matrix, and comprehensively considers the relationship between the spectral embedding matrix, the consistency regular matrix and the projection matrix to construct the objective function. By introducing a semi-positive definite matrix, the projection matrix can be determined by spectral decomposition in the iteration, thereby realizing the use of consistency and complementarity between views in an unsupervised manner to select multiple features with the most discriminative ability.

[0203] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0204] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0205] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, an embodiment of the present application further provides a feature selection device for multi-view data.

[0206] refer to Figure 2The feature selection device for multi-view data includes: a preprocessing module 201, an objective function construction module 202, a projection matrix determination module 203 and an iterative solution module 204.

[0207] The preprocessing module 201 is configured to determine a spectral embedding matrix for each view of preset multi-view data and construct a consistency regular matrix of the view, wherein the multi-view data includes a plurality of samples, and each of the samples has the same number of views.

[0208] The objective function construction module 202 is configured to set a projection matrix about the features based on a plurality of preset features, and construct an objective function about the projection matrix using the spectral embedding matrix and the consistency regularization matrix.

[0209] The projection matrix determination module 203 is configured to initialize the objective function to obtain an initial objective function, construct a semi-positive definite matrix based on the initial objective function, and determine the projection matrix according to the rank of the semi-positive definite matrix.

[0210] The iterative solution module 204 is configured to calculate a solution of the objective function based on the definition of the projection matrix to obtain features selected for the multi-view data.

[0211] As an optional embodiment, the preprocessing module 201 is specifically configured as follows:

[0212] For each of said views, perform the actions:

[0213] Calculating a distance matrix of the samples;

[0214] Calculating a similarity matrix about the view according to the distance matrix;

[0215] Determine a Laplacian matrix about the view using the similarity matrix;

[0216] Performing spectral decomposition on the Laplace matrix to obtain the spectral embedding matrix.

[0217] As an optional embodiment, the objective function construction module 20 is specifically configured as follows:

[0218] Construct a centered matrix based on a multidimensional vector whose values ​​are all 1;

[0219] constructing a transition matrix using the spectrum embedding matrix and a preset first parameter vector;

[0220] An objective function about the projection matrix is ​​constructed using a preset second parameter vector, the centering matrix, and the transition matrix.

[0221] As an optional embodiment, the projection matrix determination module 203 is specifically configured as follows:

[0222] A semi-positive definite matrix for the multi-view data is constructed using the first parameter vector, the second parameter vector and the centering matrix in the initial objective function.

[0223] Further, determining the rank of the semi-positive definite matrix;

[0224] Set the semi-positive definite threshold;

[0225] In response to the rank of the semi-positive definite matrix being less than or equal to the semi-positive definite threshold, determining a definition of the projection matrix by sorting diagonal elements of the semi-positive definite matrix;

[0226] In response to the rank of the semi-positive definite matrix being greater than the semi-positive definite threshold, the definition of the projection matrix is ​​determined by iterating the objective function and when the objective function iteration reaches a preset end condition.

[0227] As an optional embodiment, the iterative solution module 204 is specifically configured as follows:

[0228] Based on the initial objective function, determining an initial value of the first parameter vector, an initial value of the second parameter vector, and an initial value of the projection matrix;

[0229] Arrange the objective function based on the initial value of the first parameter vector, the initial value of the second parameter vector and the initial value of the projection matrix, and iterate the arranged objective function;

[0230] In response to the objective function iterating to the preset end condition, determining the first parameter vector, the second parameter vector and the projection matrix;

[0231] A feature selected for the multi-view data is determined from among a plurality of preset features according to the projection matrix.

[0232] Among them, the iterated objective function includes:

[0233] In each round of iteration, perform the following operations:

[0234] Fixing the values ​​of the first parameter vector and the second parameter vector in the current round, and solving the value of the projection matrix in the next round;

[0235] Using the value of the projection matrix in the next round and fixing the value of the first parameter vector in the current round, solving the value of the second parameter vector in the next round;

[0236] Using the value of the projection matrix in the next round and the value of the second parameter vector in the next round, solving the value of the first parameter vector in the next round;

[0237] In response to the iteration of the sorted objective function reaching the preset end condition, the iteration is ended, and the values ​​of the first parameter vector, the second parameter vector and the projection matrix of the last round are output.

[0238] For the convenience of description, the above devices are described in terms of functions and are divided into various modules. Of course, when implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0239] The device of the above embodiment is used to implement the corresponding feature selection method of multi-view data in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0240] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, an embodiment of the present application 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 feature selection method for multi-view data as described in any of the above embodiments is implemented.

[0241] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0242] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0243] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solution provided in the embodiment of the present application is implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0244] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0245] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0246] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0247] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiment of the present application, and does not necessarily include all the components shown in the figure.

[0248] The device of the above embodiment is used to implement the corresponding feature selection method of multi-view data in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0249] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the feature selection method of multi-view data as described in any of the above embodiments.

[0250] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0251] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the feature selection method for multi-view data as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described in detail here.

[0252] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0253] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0254] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0255] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A feature selection method for multi-view data, characterized in that: include: For each view of preset multi-view data, determining a spectral embedding matrix and constructing a consistency regular matrix of the view, wherein the multi-view data includes a plurality of samples, and each of the samples has the same number of views; Based on a plurality of preset features, a projection matrix about the features is set, and an objective function about the projection matrix is ​​constructed using the spectral embedding matrix and the consistency regularization matrix; Initializing the objective function to obtain an initial objective function, constructing a semi-positive definite matrix based on the initial objective function, and determining the projection matrix according to the rank of the semi-positive definite matrix; Wherein, determining the projection matrix according to the rank of the semi-positive definite matrix includes: determining the rank of the semi-positive definite matrix; Set the semi-positive definite threshold; In response to the rank of the semi-positive definite matrix being less than or equal to the semi-positive definite threshold, determining a definition of the projection matrix by sorting diagonal elements of the semi-positive definite matrix; In response to the rank of the semi-positive definite matrix being greater than the semi-positive definite threshold, determining the definition of the projection matrix by iterating the objective function and when the objective function iteration reaches a preset end condition; Based on the definition of the projection matrix, a solution of the objective function is calculated to obtain features selected for the multi-view data; The step of calculating a solution of the objective function based on the definition of the projection matrix to obtain features selected for the multi-view data comprises: Based on the initial objective function, determining an initial value of the first parameter vector, an initial value of the second parameter vector and an initial value of the projection matrix; Arrange the objective function based on the initial value of the first parameter vector, the initial value of the second parameter vector and the initial value of the projection matrix, and iterate the arranged objective function; In response to the objective function iterating to the preset end condition, determining the first parameter vector, the second parameter vector and the projection matrix; A feature selected for the multi-view data is determined from among a plurality of preset features according to the projection matrix.

2. The method according to claim 1, characterized in that The determining of the spectrum embedding matrix comprises: For each of said views, perform the actions: Calculating a distance matrix of the samples; Calculating a similarity matrix about the view according to the distance matrix; Determine a Laplacian matrix about the view using the similarity matrix; Performing spectral decomposition on the Laplace matrix to obtain the spectral embedding matrix.

3. The method according to claim 1, characterized in that: The constructing an objective function about the projection matrix using the spectral embedding matrix and the consistency regularization matrix includes: Construct a centered matrix based on a multidimensional vector whose values ​​are all 1; constructing a transition matrix using the spectrum embedding matrix and a preset first parameter vector; Using each of the views, constructing the consistency regular matrix; An objective function about the projection matrix is ​​constructed using a preset second parameter vector, the centering matrix, the transition matrix and the consistency regularization matrix.

4. The method according to claim 3, characterized in that The constructing of a semi-positive definite matrix based on the initial objective function comprises: A semi-positive definite matrix for the multi-view data is constructed using the first parameter vector, the second parameter vector and the centering matrix in the initial objective function.

5. The method according to claim 1, characterized in that The iterating of the sorted objective function comprises: In each round of iteration, perform the following operations: Fixing the values ​​of the first parameter vector and the second parameter vector in the current round, and solving the value of the projection matrix in the next round; Using the value of the projection matrix in the next round and fixing the value of the first parameter vector in the current round, solving the value of the second parameter vector in the next round; Using the value of the projection matrix in the next round and the value of the second parameter vector in the next round, solving the value of the first parameter vector in the next round; In response to the iteration of the sorted objective function reaching the preset end condition, the iteration is ended, and the values ​​of the first parameter vector, the second parameter vector and the projection matrix of the last round are output.

6. A feature selection device for multi-view data, comprising: Preprocessing module, objective function building module, projection matrix determination module and iterative solution module; The preprocessing module is configured to determine a spectral embedding matrix for each view of preset multi-view data and construct a consistency regular matrix of the view, wherein the multi-view data includes a plurality of samples, and each of the samples has the same number of views; The objective function construction module is configured to set a projection matrix about the feature based on a plurality of preset features, and construct an objective function about the projection matrix using the spectral embedding matrix and the consistency regularization matrix; The projection matrix determination module is configured to initialize the objective function to obtain an initial objective function, construct a semi-positive definite matrix based on the initial objective function, and determine the projection matrix according to the rank of the semi-positive definite matrix; Wherein, determining the projection matrix according to the rank of the semi-positive definite matrix includes: determining the rank of the semi-positive definite matrix; Set the semi-positive definite threshold; In response to the rank of the semi-positive definite matrix being less than or equal to the semi-positive definite threshold, determining a definition of the projection matrix by sorting diagonal elements of the semi-positive definite matrix; In response to the rank of the semi-positive definite matrix being greater than the semi-positive definite threshold, determining the definition of the projection matrix by iterating the objective function and when the objective function iteration reaches a preset end condition; The iterative solution module is configured to calculate a solution of the objective function based on a definition of the projection matrix to obtain features selected for the multi-view data; The step of calculating a solution of the objective function based on the definition of the projection matrix to obtain features selected for the multi-view data comprises: Based on the initial objective function, determining an initial value of the first parameter vector, an initial value of the second parameter vector and an initial value of the projection matrix; Arrange the objective function based on the initial value of the first parameter vector, the initial value of the second parameter vector and the initial value of the projection matrix, and iterate the arranged objective function; In response to the objective function iterating to the preset end condition, determining the first parameter vector, the second parameter vector and the projection matrix; A feature selected for the multi-view data is determined from among a plurality of preset features according to the projection matrix.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions for causing a computer to execute the method according to any one of claims 1 to 5.