CN102270241A - Image retrieving method based on sparse nonnegative matrix factorization - Google Patents

Image retrieving method based on sparse nonnegative matrix factorization Download PDF

Info

Publication number
CN102270241A
CN102270241A CN2011102341100A CN201110234110A CN102270241A CN 102270241 A CN102270241 A CN 102270241A CN 2011102341100 A CN2011102341100 A CN 2011102341100A CN 201110234110 A CN201110234110 A CN 201110234110A CN 102270241 A CN102270241 A CN 102270241A
Authority
CN
China
Prior art keywords
matrix
image
image data
label
data set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011102341100A
Other languages
Chinese (zh)
Inventor
吴飞
马帅
邵健
肖俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN2011102341100A priority Critical patent/CN102270241A/en
Publication of CN102270241A publication Critical patent/CN102270241A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an image retrieving method based on sparse nonnegative matrix factorization. The method comprises the following steps of: 1) respectively querying and extracting an image and an adjoint text of the retrieve result under two different image data sources; 2) extracting a label from the adjoint text, and forming a word list according to the word frequency filtration result; 3) forming an incidence matrix of the label and the image by utilizing the incidence relation of the label and the image according to each image set; 4) analyzing the incidence matrix obtained in step 3) by utilizing sparse nonnegative matrix factorization so as to obtain a shared subspace of the data from different sources and a corresponding independent subspace; and 5) sending a retrieve request by the user to an image on a certain data source, forming a query vector and mapping the query vector to the subspace corresponding to the data source, calculating the similarity of all the images and sequencing the images, and then returning to the first N images which are most similar to one another. By the method, the incidence knowledge of the label and the image under a plurality of data sources are fully utilized for transfer learning by sparse nonnegative matrix factorization, so the accuracy of image retrieve on the target data source is improved.

Description

Image search method based on sparse nonnegative matrix decomposition
Technical field
The present invention relates to the searching field of image, relate in particular to a kind of image search method that decomposes based on sparse nonnegative matrix.
Background technology
As one of feature of web 2.0, current social label increased popularity.In websites such as Flickr, YouTube and Del.icio.us, but user's comparison film, video, webpage etc. mark, also can retrieve related resource by interest.But, user's problems such as having noise, ambiguousness and subjectivity that tags, the label search resource of directly utilizing the user to mark can't obtain satisfactory result.Therefore, how from existing label, improving the image retrieval effect is a hot issue of current research.In recent years, at this problem, a lot of methods are suggested.But these methods have a common limitation, and promptly it utilizes single data source information mostly, ignore the effect of other data sources.In fact, along with the fast development of network and multimedia technology, the data of separate sources are more easily obtained.Analyzing a certainly when coming source data, coming source data to make full use of other, will be better than the effect that only relies on the single source data obtained as supplementary.
As a sub spaces learning method, nonnegative matrix decomposes that (Nonnegative Matrix Factorization NMF) is widely used in the dimensionality reduction of high dimensional data.Nonnegative matrix is decomposed many times can obtain significant base vector in the raw data, conform to " whole by partly forming " this people's high-rise perception, so the nonnegative matrix decomposition has obtained comparatively widespread use.In reality, need remove redundancy to raw data, obtain its compact expression.Though the non-negativity constraint among the NMF also can produce the compactness of data and express (promptly bringing sparse property), this sparse property is not controlled.For addressing this problem, [1] (Bioinformatics/computer Applications in The Biosciences in " bioinformatics " magazine, 2007,23:1495-1502) propose a kind of sparse nonnegative matrix and decomposed (Sparse NMF) algorithm, the sparse degree of this algorithm may command basis matrix or matrix of coefficients.[2] (Proceedings of Knowledge Discovery and Data Mining is concentrated in Knowledge Discovery and data mining meeting in 2010,2010:1169-1178) utilize methods such as nonnegative matrix decomposition and shared Sub space learning, proposition is united shared nonnegative matrix and is decomposed (Multiple Shared Nonnegative Matrix Factorization, MS-NMF) algorithm, this algorithm utilizes in the multi-data source knowledge to come the assistant images retrieval, overcomes the deficiency of only utilizing single data source in the traditional algorithm.
Yet [1] though the middle method that proposes has been considered the control of sparse property in the matrix decomposition, this method only limits to the utilization of single data source (being single matrix); And [2] have ignored the control to sparse property though the middle method that proposes utilizes the knowledge in the multi-data source to come the assistant images retrieval.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of image search method that decomposes based on sparse nonnegative matrix is provided.
The method of the image retrieval that decomposes based on sparse nonnegative matrix comprises the steps:
1) writes the reptile program, under two different image data source, inquire about and extract the image of result for retrieval respectively and follow text, constitute the first image data set D 1With the second image data set D 2
2) extract the label of following in the text, and filter the formation vocabulary according to word frequency;
3) to each image data set, utilize the incidence relation of label and image, form the incidence matrix of label and image;
4) utilize the incidence matrix of sparse nonnegative matrix decomposition analysis step 3) gained, obtain the subspace of separate sources data correspondence, corresponding subspace comprises the shared Sub space of separate sources data and the independent subspace of each data source correspondence;
5) to the image retrieval request on certain data source, the formation query vector also is mapped on the subspace of this data source correspondence, calculates similarity and ordering with all images, returns the most similar top n image.
Described step 2) be:
1) from the first image data set D 1Follow in the text and to extract label and constitute the first tag set T 1, from the second image data set D 2Follow in the text and to extract label and constitute the second tag set T 2
2) the statistics first tag set T 1With the second tag set T 2In label at the first image data set D 1With the second image data set D 2Follow occurrence number in the text, only keep occurrence number greater than 10 times label, constitute the first tag set S after filtering 1With the second tag set S after the filtration 2, the first tag set S after the filtration 1Radix be m 1, the second tag set S after the filtration 1Radix be m 2
3) get the first tag set S after the filtration 1With the second tag set S after the filtration 2Common factor and the union common factor S that obtains two tag sets successively jUnion S with two tag sets u, the common factor S of two tag sets jRadix be m j, the union S of two tag sets uRadix be m u, the union S of two tag sets uBe vocabulary.
Described step 3) is: according to the union S of two tag sets u, at the first image data set D 1Last structure first incidence matrix
Figure BDA0000083652450000021
At the second image data set D 2Last structure second incidence matrix
Figure BDA0000083652450000022
M=m wherein u, n 1Be the first image data set D 1The number of middle image, n 2Be the second image data set D 2The number of middle image, the corresponding label of each row of matrix, the corresponding document of each row of matrix, the first incidence matrix X 1Element Or the second incidence matrix X 2Element Press following assignment: as the first image data set D 1Or the second image data set D 2During j document of i label for labelling, assignment is 1; Otherwise assignment is 0.
Described step 4) is: utilize sparse nonnegative matrix to decompose the first incidence matrix X of Conjoint Analysis step 3) gained 1With the second incidence matrix X 2, the shared Sub space that obtains two incidence matrix is designated as w 12, the first incidence matrix X 1Independent subspace be designated as w 1, the second incidence matrix X 2Independent subspace w 2, in matrix decomposition, above-mentioned three sub spaces are expressed as follows:
Figure BDA0000083652450000031
Figure BDA0000083652450000032
Represent the decomposition of data source level with capital W, H, represent the decomposition of subspace level, in view of the above, add the constraint of sparse property, can get the objective function that above-mentioned nonnegative matrix decomposes and be with lowercase w, h
min W 1 , W 2 , H 1 , H 2 ≥ 0 1 2 { Σ i ∈ { 1,2 } λ i { | | X i - W i H i | | F 2 + η i | | W i | | F 2 + β i Σ j = 1 n i | | H i ( : , j ) | | 1 2 } } - - - ( 2 )
Also can write
min w 12 , w 1 , w 2 , h 1,12 , h 1,1 , h 2,12 , h 2,2 ≥ 0 1 2 { Σ i ∈ { 1,2 } λ i { | | X i - Σ v ∈ S ( 2 , i ) w v h i , v | | F 2 + η i | | w 12 | w i | | F 2 + β i Σ v ∈ S ( 2 , i ) Σ j = 1 n i | | h i , v ( : , j ) | | 1 2 } } - - - ( 3 )
H wherein i(:, j) be H iJ column vector, η i>0 in order to compression
Figure BDA0000083652450000035
Parameter, β iThe>0th, regularization parameter is in order to the degree of rarefication of equilibrium approximation accuracy and H matrix, wherein S (2,1) expression set 1,12}, S (2,2) expression set 2, and 12}, the objective function that adopts the following multi-source that decomposes based on sparse nonnegative matrix to utilize algorithm solution formula (2) and (3) defined nonnegative matrix to decompose:
Input: the matrix X that makes up on two image data sets 1, X 2, parameters R 1, R 2, k, η 1, β 1, η 2, β 2And threshold epsilon;
Output: share basic subspace w 12, independently basic subspace w 1, w 2, and matrix of coefficients H 1, H 2
Step 1. is got
Figure BDA0000083652450000037
Wherein i ∈ 1,2};
Step 2. random initializtion w 12, w 1, w 2, H 1, H 2
Step 3. is W fixedly i(i.e. [w 12| w i]) utilize the least square method of nonnegativity restrictions to find the solution problem min H i | | W i β i e 1 × R i H i - X i 0 1 × n i | | F 2 , S.t.H i〉=0 upgrades H i, wherein i ∈ 1,2}, R iIt is matrix W iThe row dimension, Element be 1,
Figure BDA00000836524500000310
Be null vector;
Step 4. is H fixedly 1(promptly h 1,12 h 1,1 ), H 2(promptly h 2,12 h 2,2 ), w 1And w 2Utilize the least square method of nonnegativity restrictions to find the solution problem min w 12 | | λ 1 h 1,12 T λ 1 η 1 I k λ 2 h 2,12 T λ 2 η 2 I k w 12 T - λ 1 ( X 1 - w 1 h 1,1 ) T 0 k × m λ 2 ( X 2 - w 2 h 2,2 ) T 0 k × m | | F 2 , S.t.w 12〉=0 upgrades w 12, I wherein kBe a k rank unit matrix, 0 K * mBe the null matrix of a k * m, k is the dimension in shared Sub space;
Step 5. is H fixedly 1(promptly h 1,12 h 1,1 ), H 2(promptly h 2,12 h 2,2 ) and w 12, utilize the least square method of nonnegativity restrictions to find the solution problem min w i | | h i , i T η i I R i - k w i T - ( X i - w 12 h i , 12 ) 0 ( R i - k ) × m | | F 2 , S.t.w i〉=0 upgrades w i, wherein
Figure BDA0000083652450000044
Be (R i-k) rank unit matrix,
Figure BDA0000083652450000045
Be (R i-k) * the m null matrix, i ∈ 1,2};
Step 6. iterative step 3 arrives step 5 until convergence.
Described step 5) is: adopt the following image retrieval algorithm that decomposes based on sparse nonnegative matrix to carry out image retrieval:
Input: on target data set and auxiliary data collection, make up matrix X respectively 1And X 2, query vector q, the picture that needs retrieval to return is counted N;
Output: retrieval obtains maximally related top n picture, returns by the similarity descending;
Step 1. utilizes the multi-source that decomposes based on sparse nonnegative matrix to utilize algorithm, to matrix X 1And X 2Decompose and obtain X 1=W 1H 1, X 2=W 2H 2
Step 2. utilizes the least square method of nonnegativity restrictions to find the solution problem S.t.h 〉=0 obtains q at basis matrix W 1On mapping h;
Step 3. is for each pictures of target data set, such as r opens, and it is at basis matrix W 1On mapping h r(be matrix H 1R column vector), can be by formula sim (h, h r)=h Th r/ || h|| 2|| h r|| 2Calculate the similarity of this picture and query vector;
Step 4. is by all pictures of sequencing of similarity;
Step 5. descending returns maximally related preceding N pictures.
The present invention makes full use of the view data of separate sources, utilize sparse nonnegative matrix to decompose the shared structure and the corresponding absolute construction of Conjoint Analysis separate sources data, realize the transfer learning of knowledge between multi-data source, therefore can be lifted at the image retrieval performance on a certain data source.
Description of drawings
Fig. 1 is based on the method flow diagram of the image retrieval of sparse nonnegative matrix decomposition.
Fig. 2 is the comparing result of image retrieval of the present invention and additive method, wherein NMF represents general nonnegative matrix decomposition method, SNMF represents the sparse nonnegative matrix decomposition method in [1], MS-NMF represents uniting in [2] to share the nonnegative matrix decomposition method, MtBSNMF represents to utilize Multi-source Boosting by Sparse Nonnegative Matrix Factorization algorithm based on the multi-source that sparse nonnegative matrix is decomposed, and is image search method of the present invention.
Embodiment
The method of the image retrieval that decomposes based on sparse nonnegative matrix comprises the steps:
1) writes the reptile program, under two different image data source, inquire about and extract the image of result for retrieval respectively and follow text, constitute the first image data set D 1With the second image data set D 2
2) extract the label of following in the text, and filter the formation vocabulary according to word frequency;
3) to each image data set, utilize the incidence relation of label and image, form the incidence matrix of label and image;
4) utilize the incidence matrix of sparse nonnegative matrix decomposition analysis step 3) gained, obtain the subspace of separate sources data correspondence, corresponding subspace comprises the shared Sub space of separate sources data and the independent subspace of each data source correspondence;
5) to the image retrieval request on certain data source, the formation query vector also is mapped on the subspace of this data source correspondence, calculates similarity and ordering with all images, returns the most similar top n image.
Described step 2) be:
1) from the first image data set D 1Follow in the text and to extract label and constitute the first tag set T 1, from the second image data set D 2Follow in the text and to extract label and constitute the second tag set T 2
2) the statistics first tag set T 1With the second tag set T 2In label at the first image data set D 1With the second image data set D 2Follow occurrence number in the text, only keep occurrence number greater than 10 times label, constitute the first tag set S after filtering 1With the second tag set S after the filtration 2, the first tag set S after the filtration 1Radix be m 1, the second tag set S after the filtration 1Radix be m 2
3) get the first tag set S after the filtration 1With the second tag set S after the filtration 2Common factor and the union common factor S that obtains two tag sets successively jUnion S with two tag sets u, the common factor S of two tag sets jRadix be m j, the union S of two tag sets uRadix be m u, the union S of two tag sets uBe vocabulary.
Described step 3) is: according to the union S of two tag sets u, at the first image data set D 1Last structure first incidence matrix
Figure BDA0000083652450000051
At the second image data set D 2Last structure second incidence matrix
Figure BDA0000083652450000052
M=m wherein u, n 1Be the first image data set D 1The number of middle image, n 2Be the second image data set D 2The number of middle image, the corresponding label of each row of matrix, the corresponding document of each row of matrix, the first incidence matrix X 1Element
Figure BDA0000083652450000053
Or the second incidence matrix X 2Element
Figure BDA0000083652450000054
Press following assignment: as the first image data set D 1Or the second image data set D 2During j document of i label for labelling, assignment is 1; Otherwise assignment is 0.
Described step 4) is: utilize sparse nonnegative matrix to decompose the first incidence matrix X of Conjoint Analysis step 3) gained 1With the second incidence matrix X 2, the shared Sub space that obtains two incidence matrix is designated as w 12, the first incidence matrix X 1Independent subspace be designated as w 1, the second incidence matrix X 2Independent subspace w 2, in matrix decomposition, above-mentioned three sub spaces are expressed as follows:
Figure BDA0000083652450000055
Figure BDA0000083652450000056
Represent the decomposition of data source level with capital W, H, represent the decomposition of subspace level, in view of the above, add the constraint of sparse property, can get the objective function that above-mentioned nonnegative matrix decomposes and be with lowercase w, h
min W 1 , W 2 , H 1 , H 2 ≥ 0 1 2 { Σ i ∈ { 1,2 } λ i { | | X i - W i H i | | F 2 + η i | | W i | | F 2 + β i Σ j = 1 n i | | H i ( : , j ) | | 1 2 } } - - - ( 2 )
Also can write
min w 12 , w 1 , w 2 , h 1,12 , h 1,1 , h 2,12 , h 2,2 ≥ 0 1 2 { Σ i ∈ { 1,2 } λ i { | | X i - Σ v ∈ S ( 2 , i ) w v h i , v | | F 2 + η i | | w 12 | w i | | F 2 + β i Σ v ∈ S ( 2 , i ) Σ j = 1 n i | | h i , v ( : , j ) | | 1 2 } } - - - ( 3 )
H wherein i(:, j) be H iJ column vector, η i>0 in order to compression
Figure BDA0000083652450000063
Parameter, β iThe>0th, regularization parameter is in order to the degree of rarefication of equilibrium approximation accuracy and H matrix, wherein
Figure BDA0000083652450000064
S (2,1) expression set 1,12}, S (2,2) expression set 2, and 12}, the objective function that adopts the following multi-source that decomposes based on sparse nonnegative matrix to utilize algorithm solution formula (2) and (3) defined nonnegative matrix to decompose:
Input: the matrix X that makes up on two image data sets 1, X 2, parameters R 1, R 2, k, η 1, β 1, η 2, β 2And threshold epsilon;
Output: share basic subspace w 12, independently basic subspace w 1, w 2, and matrix of coefficients H 1, H 2
Step 1. is got
Figure BDA0000083652450000065
Wherein i ∈ 1,2};
Step 2. random initializtion w 12, w 1, w 2, H 1, H 2
Step 3. is W fixedly i(i.e. [w 12| w i]) utilize the least square method of nonnegativity restrictions to find the solution problem min H i | | W i β i e 1 × R i H i - X i 0 1 × n i | | F 2 , S.t.H i〉=0 upgrades H i, wherein i ∈ 1,2}, R iIt is matrix W iThe row dimension,
Figure BDA0000083652450000067
Element be 1,
Figure BDA0000083652450000068
Be null vector;
Step 4. is H fixedly 1(promptly h 1,12 h 1,1 ), H 2(promptly h 2,12 h 2,2 ), w 1And w 2Utilize the least square method of nonnegativity restrictions to find the solution problem min w 12 | | λ 1 h 1,12 T λ 1 η 1 I k λ 2 h 2,12 T λ 2 η 2 I k w 12 T - λ 1 ( X 1 - w 1 h 1,1 ) T 0 k × m λ 2 ( X 2 - w 2 h 2,2 ) T 0 k × m | | F 2 , S.t.w 12〉=0 upgrades w 12, I wherein kBe a k rank unit matrix, 0 K * mBe the null matrix of a k * m, k is the dimension in shared Sub space;
Step 5. is H fixedly 1(promptly h 1,12 h 1,1 ), H 2(promptly h 2,12 h 2,2 ) and w 12, utilize the least square method of nonnegativity restrictions to find the solution problem min w i | | h i , i T η i I R i - k w i T - ( X i - w 12 h i , 12 ) 0 ( R i - k ) × m | | F 2 , S.t.w i〉=0 upgrades w i, wherein Be (R i-k) rank unit matrix,
Figure BDA00000836524500000616
Be (R i-k) * the m null matrix, i ∈ 1,2};
Step 6. iterative step 3 arrives step 5 until convergence.
Described step 5) is: adopt the following image retrieval algorithm that decomposes based on sparse nonnegative matrix to carry out image retrieval:
Input: on target data set and auxiliary data collection, make up matrix X respectively 1And X 2, query vector q, the picture that needs retrieval to return is counted N;
Output: retrieval obtains maximally related top n picture, returns by the similarity descending;
Step 1. utilizes the multi-source that decomposes based on sparse nonnegative matrix to utilize algorithm, to matrix X 1And X 2Decompose and obtain X 1=W 1H 1, X 2=W 2H 2
Step 2. utilizes the least square method of nonnegativity restrictions to find the solution problem
Figure BDA0000083652450000071
S.t.h 〉=0 obtains q at basis matrix W 1On mapping h;
Step 3. is for each pictures of target data set, such as r opens, and it is at basis matrix W 1On mapping h r(be matrix H 1R column vector), can be by formula sim (h, h r)=h Th r/ || h|| 2|| h r|| 2Calculate the similarity of this picture and query vector;
Step 4. is by all pictures of sequencing of similarity;
Step 5. descending returns maximally related preceding N pictures.
Embodiment
Fig. 2 has provided the comparing result of image retrieval of the present invention and additive method.
1) is combined under two different image data sources according to two different keyword set and inquires about and extract the image of result for retrieval respectively and follow text, form the first image data set D 1With the second image data set D 2
2) extract the label of following in the text, and filter the formation vocabulary according to word frequency;
3) to each image data set, utilize the incidence relation of label and image, form the incidence matrix X of label and image 1, X 2
4) utilize the incidence matrix of sparse nonnegative matrix decomposition analysis step 3) gained, obtain the shared Sub space w of separate sources data 12And corresponding independent subspace w 1, w 2
5) image on certain data source is carried out a series of inquiry, each inquiry at first forms query vector q and is mapped on the corresponding subspace of this data source again, calculates similarity and ordering with all images, returns the most similar top n image;
6) to 5) in return results utilize PN (precision-scope estimates relevance ranking at different cut offs) to estimate, at last evaluation result is averaged as net result.
Can see from the experiment of contrast, compare with other control methods, the present invention makes full use of the view data of separate sources, utilize sparse nonnegative matrix to decompose the shared structure and the corresponding absolute construction of Conjoint Analysis separate sources data, realize the transfer learning of knowledge between multi-data source, therefore can be lifted at the image retrieval performance on a certain data source.

Claims (5)

1. the method based on the image retrieval of sparse nonnegative matrix decomposition is characterized in that comprising the steps:
1) writes the reptile program, under two different image data source, inquire about and extract the image of result for retrieval respectively and follow text, constitute the first image data set D 1With the second image data set D 2
2) extract the label of following in the text, and filter the formation vocabulary according to word frequency;
3) to each image data set, utilize the incidence relation of label and image, form the incidence matrix of label and image;
4) utilize the incidence matrix of sparse nonnegative matrix decomposition analysis step 3) gained, obtain the subspace of separate sources data correspondence, corresponding subspace comprises the shared Sub space of separate sources data and the independent subspace of each data source correspondence;
5) to the image retrieval request on certain data source, the formation query vector also is mapped on the subspace of this data source correspondence, calculates similarity and ordering with all images, returns the most similar top n image.
2. the method for a kind of image retrieval that decomposes based on sparse nonnegative matrix according to claim 1 is characterized in that described step 2) be:
1) from the first image data set D 1Follow in the text and to extract label and constitute the first tag set T 1, from the second image data set D 2Follow in the text and to extract label and constitute the second tag set T 2
2) the statistics first tag set T 1With the second tag set T 2In label at the first image data set D 1With the second image data set D 2Follow occurrence number in the text, only keep occurrence number greater than 10 times label, constitute the first tag set S after filtering 1With the second tag set S after the filtration 2, the first tag set S after the filtration 1Radix be m 1, the second tag set S after the filtration 1Radix be m 2
3) get the first tag set S after the filtration 1With the second tag set S after the filtration 2Common factor and the union common factor S that obtains two tag sets successively jUnion S with two tag sets u, the common factor S of two tag sets jRadix be m j, the union S of two tag sets uRadix be m u, the union S of two tag sets uBe vocabulary.
3. the method for a kind of image retrieval that decomposes based on sparse nonnegative matrix according to claim 1 is characterized in that described step 3) is: according to the union S of two tag sets u, at the first image data set D 1Last structure first incidence matrix
Figure FDA0000083652440000011
At the second image data set D 2Last structure second incidence matrix
Figure FDA0000083652440000012
M=m wherein u, n 1Be the first image data set D 1The number of middle image, n 2Be the second image data set D 2The number of middle image, the corresponding label of each row of matrix, the corresponding document of each row of matrix, the first incidence matrix X 1Element
Figure FDA0000083652440000013
Or the second incidence matrix X 2Element
Figure FDA0000083652440000014
Press following assignment: as the first image data set D 1Or the second image data set D 2During j document of i label for labelling, assignment is 1; Otherwise assignment is 0.
4. the method for a kind of image retrieval that decomposes based on sparse nonnegative matrix according to claim 1 is characterized in that described step 4) is: utilize sparse nonnegative matrix to decompose the first incidence matrix X of Conjoint Analysis step 3) gained 1With the second incidence matrix X 2, the shared Sub space that obtains two incidence matrix is designated as w 12, the first incidence matrix X 1Independent subspace be designated as w 1, the second incidence matrix X 2Independent subspace w 2, in matrix decomposition, above-mentioned three sub spaces are expressed as follows:
Figure FDA0000083652440000021
Figure FDA0000083652440000022
Represent the decomposition of data source level with capital W, H, represent the decomposition of subspace level, in view of the above, add the constraint of sparse property, can get the objective function that above-mentioned nonnegative matrix decomposes and be with lowercase w, h
min W 1 , W 2 , H 1 , H 2 ≥ 0 1 2 { Σ i ∈ { 1,2 } λ i { | | X i - W i H i | | F 2 + η i | | W i | | F 2 + β i Σ j = 1 n i | | H i ( : , j ) | | 1 2 } } - - - ( 2 )
Also can write
min w 12 , w 1 , w 2 , h 1,12 , h 1,1 , h 2,12 , h 2,2 ≥ 0 1 2 { Σ i ∈ { 1,2 } λ i { | | X i - Σ v ∈ S ( 2 , i ) w v h i , v | | F 2 + η i | | w 12 | w i | | F 2 + β i Σ v ∈ S ( 2 , i ) Σ j = 1 n i | | h i , v ( : , j ) | | 1 2 } } - - - ( 3 )
H wherein i(:, j) be H iJ column vector, η i>0 in order to compression
Figure FDA0000083652440000025
Parameter, β iThe>0th, regularization parameter is in order to the degree of rarefication of equilibrium approximation accuracy and H matrix, wherein S (2,1) expression set 1,12}, S (2,2) expression set 2, and 12}, the objective function that adopts the following multi-source that decomposes based on sparse nonnegative matrix to utilize algorithm solution formula (2) and (3) defined nonnegative matrix to decompose:
Input: the matrix X that makes up on two image data sets 1, X 2, parameters R 1, R 2, k, η 1, β 1, η 2, β 2And threshold epsilon;
Output: share basic subspace w 12, independently basic subspace w 1, w 2, and matrix of coefficients H 1, H 2
Step 1. is got
Figure FDA0000083652440000027
Wherein i ∈ 1,2};
Step 2. random initializtion w 12, w 1, w 2, H 1, H 2
Step 3. is W fixedly i(i.e. [w 12| w i]) utilize the least square method of nonnegativity restrictions to find the solution problem min H i | | W i β i e 1 × R i H i - X i 0 1 × n i | | F 2 , S.t.H i〉=0 upgrades H i, wherein i ∈ 1,2}, R iIt is matrix W iThe row dimension,
Figure FDA0000083652440000029
Element be 1,
Figure FDA00000836524400000210
Be null vector;
Step 4. is H fixedly 1(promptly h 1,12 h 1,1 ), H 2(promptly h 2,12 h 2,2 ), w 1And w 2Utilize the least square method of nonnegativity restrictions to find the solution problem min w 12 | | λ 1 h 1,12 T λ 1 η 1 I k λ 2 h 2,12 T λ 2 η 2 I k w 12 T - λ 1 ( X 1 - w 1 h 1,1 ) T 0 k × m λ 2 ( X 2 - w 2 h 2,2 ) T 0 k × m | | F 2 , S.t.w 12〉=0 upgrades w 12, I wherein kBe a k rank unit matrix, 0 K * mBe the null matrix of a k * m, k is the dimension in shared Sub space;
Step 5. is H fixedly 1(promptly h 1,12 h 1,1 ), H 2(promptly h 2,12 h 2,2 ) and w 12, utilize the least square method of nonnegativity restrictions to find the solution problem min w i | | h i , i T η i I R i - k w i T - ( X i - w 12 h i , 12 ) 0 ( R i - k ) × m | | F 2 , S.t.w i〉=0 upgrades w i, wherein
Figure FDA0000083652440000034
Be (R i-k) rank unit matrix,
Figure FDA0000083652440000035
Be (R i-k) * the m null matrix, i ∈ 1,2};
Step 6. iterative step 3 arrives step 5 until convergence.
5. the method for a kind of image retrieval that decomposes based on sparse nonnegative matrix according to claim 1 is characterized in that described step 5) is: adopts the following image retrieval algorithm based on sparse nonnegative matrix decomposition to carry out image retrieval:
Input: on target data set and auxiliary data collection, make up matrix X respectively 1And X 2, query vector q, the picture that needs retrieval to return is counted N;
Output: retrieval obtains maximally related top n picture, returns by the similarity descending;
Step 1. utilizes the multi-source that decomposes based on sparse nonnegative matrix to utilize algorithm, to matrix X 1And X 2Decompose and obtain X 1=W 1H 1, X 2=W 2H 2
Step 2. utilizes the least square method of nonnegativity restrictions to find the solution problem
Figure FDA0000083652440000036
S.t.h 〉=0 obtains q at basis matrix W 1On mapping h;
Step 3. is for each pictures of target data set, such as r opens, and it is at basis matrix W 1On mapping h r(be matrix H 1R column vector), can be by formula sim (h, h r)=h Th r/ || h|| 2|| h r|| 2Calculate the similarity of this picture and query vector;
Step 4. is by all pictures of sequencing of similarity;
Step 5. descending returns maximally related preceding N pictures.
CN2011102341100A 2011-08-16 2011-08-16 Image retrieving method based on sparse nonnegative matrix factorization Pending CN102270241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102341100A CN102270241A (en) 2011-08-16 2011-08-16 Image retrieving method based on sparse nonnegative matrix factorization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102341100A CN102270241A (en) 2011-08-16 2011-08-16 Image retrieving method based on sparse nonnegative matrix factorization

Publications (1)

Publication Number Publication Date
CN102270241A true CN102270241A (en) 2011-12-07

Family

ID=45052546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102341100A Pending CN102270241A (en) 2011-08-16 2011-08-16 Image retrieving method based on sparse nonnegative matrix factorization

Country Status (1)

Country Link
CN (1) CN102270241A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679715A (en) * 2013-12-05 2014-03-26 宁波大学 Method for extracting characteristics of mobile phone image based on non-negative matrix factorization
CN104634872A (en) * 2015-01-10 2015-05-20 哈尔滨工业大学(威海) Online high-speed railway steel rail damage monitoring method
CN104754340A (en) * 2015-03-09 2015-07-01 南京航空航天大学 Reconnaissance image compression method for unmanned aerial vehicle
CN105335528A (en) * 2015-12-01 2016-02-17 中国计量学院 Customized product similarity judgment method based on product structure
CN105740881A (en) * 2016-01-22 2016-07-06 天津中科智能识别产业技术研究院有限公司 Partially-annotated image clustering method and partially-annotated image clustering device based on matrix decomposition
CN107520853A (en) * 2016-06-20 2017-12-29 宁波原子智能技术有限公司 The control method and control device of mechanical arm
CN107704830A (en) * 2017-10-09 2018-02-16 中国科学院重庆绿色智能技术研究院 A kind of extraction element and method of the non-negative hidden feature of video data multidimensional
CN107895177A (en) * 2017-11-17 2018-04-10 南京邮电大学 A kind of migration classification learning method for keeping image classification sparsity structure
CN107943816A (en) * 2017-10-09 2018-04-20 中国电子科技集团公司第二十八研究所 A kind of discovery method and system of network hot topic
CN108416374A (en) * 2018-02-13 2018-08-17 中国科学院西安光学精密机械研究所 Non-negative matrix factorization method based on discrimination orthogonal subspace constraint
CN108885614A (en) * 2017-02-06 2018-11-23 华为技术有限公司 A kind of processing method and terminal of text and voice messaging
CN108897778A (en) * 2018-06-04 2018-11-27 四川创意信息技术股份有限公司 A kind of image labeling method based on multi-source big data analysis
CN109738413A (en) * 2019-01-08 2019-05-10 江南大学 Mixture Raman spectra qualitative analysis method based on sparse non-negative least square
CN109756379A (en) * 2019-01-11 2019-05-14 南京航空航天大学 A kind of network performance abnormality detection and localization method based on the decomposition of matrix difference
CN111091475A (en) * 2019-12-12 2020-05-01 华中科技大学 Social network feature extraction method based on non-negative matrix factorization
CN113159211A (en) * 2021-04-30 2021-07-23 杭州好安供应链管理有限公司 Method, computing device and computer storage medium for similar image retrieval

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PAUL FOGEL ETC.: "Inferential, Robust Non-negative Matrix Factorization Analysis of Microarray Data", 《BIOINFORMATICS》 *
SUNIL K GUPTA ETC.: "Nonnegative Shared Subspace Learning and Its Application to Social Media Retrieval", 《PROCEEDINGS OF KNOWLEDGE DISCOVERY AND DATA MINING》 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679715A (en) * 2013-12-05 2014-03-26 宁波大学 Method for extracting characteristics of mobile phone image based on non-negative matrix factorization
CN103679715B (en) * 2013-12-05 2016-08-17 宁波大学 A kind of handset image feature extracting method based on Non-negative Matrix Factorization
CN104634872A (en) * 2015-01-10 2015-05-20 哈尔滨工业大学(威海) Online high-speed railway steel rail damage monitoring method
CN104754340A (en) * 2015-03-09 2015-07-01 南京航空航天大学 Reconnaissance image compression method for unmanned aerial vehicle
CN104754340B (en) * 2015-03-09 2020-02-21 南京航空航天大学 Unmanned aerial vehicle reconnaissance image compression method
CN105335528A (en) * 2015-12-01 2016-02-17 中国计量学院 Customized product similarity judgment method based on product structure
CN105335528B (en) * 2015-12-01 2019-03-19 中国计量学院 A kind of customed product similarity judgment method based on product structure
CN105740881A (en) * 2016-01-22 2016-07-06 天津中科智能识别产业技术研究院有限公司 Partially-annotated image clustering method and partially-annotated image clustering device based on matrix decomposition
CN105740881B (en) * 2016-01-22 2019-04-19 天津中科智能识别产业技术研究院有限公司 A kind of part mark image clustering method and device based on matrix decomposition
CN107520853A (en) * 2016-06-20 2017-12-29 宁波原子智能技术有限公司 The control method and control device of mechanical arm
CN108885614A (en) * 2017-02-06 2018-11-23 华为技术有限公司 A kind of processing method and terminal of text and voice messaging
US11308952B2 (en) 2017-02-06 2022-04-19 Huawei Technologies Co., Ltd. Text and voice information processing method and terminal
CN107943816A (en) * 2017-10-09 2018-04-20 中国电子科技集团公司第二十八研究所 A kind of discovery method and system of network hot topic
CN107704830A (en) * 2017-10-09 2018-02-16 中国科学院重庆绿色智能技术研究院 A kind of extraction element and method of the non-negative hidden feature of video data multidimensional
CN107704830B (en) * 2017-10-09 2020-12-08 中国科学院重庆绿色智能技术研究院 Device and method for extracting multidimensional non-negative implicit characteristics of video data
CN107895177A (en) * 2017-11-17 2018-04-10 南京邮电大学 A kind of migration classification learning method for keeping image classification sparsity structure
CN107895177B (en) * 2017-11-17 2021-08-03 南京邮电大学 Transfer classification learning method for keeping image classification sparse structure
CN108416374A (en) * 2018-02-13 2018-08-17 中国科学院西安光学精密机械研究所 Non-negative matrix factorization method based on discrimination orthogonal subspace constraint
CN108416374B (en) * 2018-02-13 2020-07-31 中国科学院西安光学精密机械研究所 Non-negative matrix factorization method based on discrimination orthogonal subspace constraint
CN108897778A (en) * 2018-06-04 2018-11-27 四川创意信息技术股份有限公司 A kind of image labeling method based on multi-source big data analysis
CN108897778B (en) * 2018-06-04 2021-12-31 创意信息技术股份有限公司 Image annotation method based on multi-source big data analysis
CN109738413B (en) * 2019-01-08 2020-06-02 江南大学 Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square
CN109738413A (en) * 2019-01-08 2019-05-10 江南大学 Mixture Raman spectra qualitative analysis method based on sparse non-negative least square
CN109756379A (en) * 2019-01-11 2019-05-14 南京航空航天大学 A kind of network performance abnormality detection and localization method based on the decomposition of matrix difference
CN111091475A (en) * 2019-12-12 2020-05-01 华中科技大学 Social network feature extraction method based on non-negative matrix factorization
CN111091475B (en) * 2019-12-12 2022-08-02 华中科技大学 Social network feature extraction method based on non-negative matrix factorization
CN113159211A (en) * 2021-04-30 2021-07-23 杭州好安供应链管理有限公司 Method, computing device and computer storage medium for similar image retrieval

Similar Documents

Publication Publication Date Title
CN102270241A (en) Image retrieving method based on sparse nonnegative matrix factorization
CN110232152B (en) Content recommendation method, device, server and storage medium
US11074477B2 (en) Multi-dimensional realization of visual content of an image collection
Zhou et al. A hybrid probabilistic model for unified collaborative and content-based image tagging
Zhang et al. CNN-VWII: An efficient approach for large-scale video retrieval by image queries
CN108280114B (en) Deep learning-based user literature reading interest analysis method
US10691743B2 (en) Multi-dimensional realization of visual content of an image collection
Caicedo et al. Multimodal representation, indexing, automated annotation and retrieval of image collections via non-negative matrix factorization
CN101872346B (en) Method for generating video navigation system automatically
CN103544216A (en) Information recommendation method and system combining image content and keywords
CN101996191B (en) Method and system for searching for two-dimensional cross-media element
CN102567483A (en) Multi-feature fusion human face image searching method and system
CN104834693A (en) Depth-search-based visual image searching method and system thereof
CN103123653A (en) Search engine retrieving ordering method based on Bayesian classification learning
CN103559191A (en) Cross-media sorting method based on hidden space learning and two-way sorting learning
CN105426529A (en) Image retrieval method and system based on user search intention positioning
CN101382939B (en) Web page text individuation search method based on eyeball tracking
CN102663447A (en) Cross-media searching method based on discrimination correlation analysis
CN103886072B (en) Search result clustering system in the search engine of colliery
US20120117090A1 (en) System and method for managing digital contents
CN111078952B (en) Cross-modal variable-length hash retrieval method based on hierarchical structure
Zhu et al. Multimodal sparse linear integration for content-based item recommendation
Mithun et al. Generating diverse image datasets with limited labeling
Bi et al. Cubelsi: An effective and efficient method for searching resources in social tagging systems
Zhang et al. FRWCAE: joint faster-RCNN and Wasserstein convolutional auto-encoder for instance retrieval

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111207