Interactive sorting fusion method and device inspired by quantum theory and combined with active feedback suggestions

Through the interactive ranking fusion method inspired by quantum theory, combined with active feedback suggestions, the inefficiency problem of the interactive ranking fusion method is solved, and the efficiency and robustness of pedestrian re-identification are improved.

CN118570869APending Publication Date: 2024-08-30WUHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410606005.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing interactive sorting fusion methods have problems such as lack of theoretical explanation and sensitivity to parameter changes, and users' subjective judgment leads to low interaction efficiency.

Method used

An interactive ranking fusion method inspired by quantum theory and combined with active feedback suggestions is used to generate feedback sample sets through active learning algorithms, and quantum theory is used to update the fusion weights to achieve linear weighting to obtain the fusion ranking results.

Benefits of technology

It provides a theoretical explanation, alleviates the problem of low interaction efficiency caused by users' subjective judgment, and improves the efficiency of pedestrian re-identification and the robustness of the recognition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570869A
    Figure CN118570869A
Patent Text Reader

Abstract

The invention discloses an interactive sorting fusion method and device inspired by a quantum theory and combined with active feedback suggestions, and provides theoretical explanation for an interactive sorting fusion module based on a strong corresponding relationship between the quantum theory and sorting fusion. The module updates the fusion weight by accumulating the quantum collapse probability of a feedback sample, and finally obtains a fusion sequence through linear weighting. According to the method, active feedback suggestions are introduced in front of the interactive sorting fusion module, the low interaction efficiency caused by subjective judgment of a user in the interaction process is effectively relieved, meanwhile, the active learning algorithm can be flexibly selected to generate the feedback suggestions according to the requirements of different application fields, and the whole model has good compatibility and robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sorting fusion, and in particular to an interactive sorting fusion method and device combined with active feedback suggestions inspired by quantum theory. Background Art

[0002] Person re-identification is to achieve the retrieval and matching of pedestrians under multiple independent cameras. Specifically, given a query sample, the person re-identification algorithm calculates the similarity between the sample in the library and the query pedestrian sample, and sorts the pedestrian samples in the library to obtain a basic sorting. At present, the retrieval accuracy is mainly improved by developing a single person re-identification retrieval algorithm, ignoring the effective fusion of multiple basic sortings, and a single basic sorting cannot be robust in all application scenarios. In order to solve this problem, sorting fusion is introduced to improve the generalization ability of the retrieval results, balance the data conflicts between the sorting results, and improve the robustness of the sorting results.

[0003] Ranking fusion is a key technology for resolving conflicts between multiple rankings to obtain higher quality ranking results. Ranking fusion technology is widely used in many scientific research fields such as sociological surveys, biometric recognition, recommendation systems, and computer vision. Due to the complexity of the application environment, it is usually difficult for a single search strategy to always maintain superiority. In this case, ranking fusion combines a set of basic ranking results obtained using different search strategies instead of selecting the best one, thereby improving the generalization ability of the results, reducing the probability of wrong selection, and making the algorithm closer to the real unknown hypothesis. Through the ranking fusion method, the conflicts between a set of basic ranking results can be neutralized, thereby achieving extensive robustness and superiority of the algorithm.

[0004] In the prior art, the sorting and fusion methods for person re-identification are mainly divided into the following two categories:

[0005] Automatic sorting fusion methods include unsupervised sorting fusion methods and supervised sorting fusion methods. Both methods do not require human participation. Unsupervised sorting fusion methods are easy to implement, but their performance is usually limited by the lack of external supervision information. In contrast, supervised sorting fusion methods explicitly introduce training data to improve fusion performance, but the cost of obtaining labeled data is very expensive.

[0006] Interactive sorting fusion method. This type of method is mainly proposed as a compromise between supervised sorting fusion method and unsupervised sorting fusion method. It uses a small amount of user online feedback to guide the sorting fusion process, achieving the dual advantages of higher performance than unsupervised sorting fusion method and lower label cost than supervised sorting fusion method. However, the current method has two serious limitations: (1) This method is based on heuristic rules, which not only lacks theoretical explanation, but is also highly sensitive to parameter changes in the method. (2) During the interaction process, sample selection depends entirely on the user's subjective judgment, which may lead to very low interaction efficiency for inexperienced users. Summary of the invention

[0007] In view of the two limitations faced by the existing interactive sorting fusion methods, the present invention provides an interactive sorting fusion method and device combined with active feedback suggestions inspired by quantum theory, constructs an interactive sorting fusion model (QUARK) combined with active feedback suggestions, uses quantum theory to provide a theoretical basis for the interactive sorting fusion method, and uses active feedback suggestion technology to reduce the low interaction efficiency caused by user subjective judgment.

[0008] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0009] In the first aspect, an interactive sorting fusion method combined with active feedback suggestions inspired by quantum theory is disclosed, which is applied to pedestrian re-identification. The method includes:

[0010] S1: For a given query sample, different search algorithms are selected to obtain an initial basic ranking, wherein the given query sample is a pedestrian sample to be searched, and the initial basic ranking refers to the sample obtained by ranking the samples in the library according to the association between the samples in the library and the query sample;

[0011] S2: Based on the active learning algorithm, a feedback sample set corresponding to each group of initial basic ranking is selected from the samples in the library, where the relevance feedback of the users of the feedback sample set is obtained;

[0012] S3: Obtain a fusion ranking result based on the initial basic rankings of different search algorithms and the corresponding feedback sample sets;

[0013] S4: Perform person re-identification based on the fusion sorting results.

[0014] In one embodiment, after step S1, the method further includes:

[0015] The mean sorting fusion method is applied to generate a first fusion sorting result according to the initial basic sorting.

[0016] In one embodiment, step S2 includes:

[0017] S2.1: Sort each initial basis by an active learning algorithm Generate a candidate set of feedback samples from the unlabeled samples in Where m represents the mth search algorithm, and M represents the number of search algorithms;

[0018] S2.2: Intersect the feedback sample candidate sets corresponding to different initial basic sortings to obtain the fused feedback sample candidate set v t ,in

[0019] S2.3, determine v t The size of meets the conditions. If not, the first fusion sorting result u is 0 Supplement samples in the final round to generate the feedback sample set u t =v t ∪u 0 Among them, the unlabeled samples at the beginning of the interaction include all the samples in the library. After each round of interactive feedback, the samples obtained from the interactive feedback in the library samples will be added to the labeled library and the next round of active learning will be carried out.

[0020] In one embodiment, step S3 includes:

[0021] S3.1: User in feedback sample set u t Perform correlation feedback on the positive and negative sample feedback sets and At the same time according to and Update the positive and negative label sets;

[0022] S3.2: Based on the positive and negative sample feedback set and Adjust the initial base sort The fusion weight

[0023] S3.3: Sort by initial basis The initial basic rankings of each search algorithm are weighted and merged according to the fusion weight to obtain a new round of ranking fusion results.

[0024] In one embodiment, S3.1 the user has a feedback sample set u t Perform correlation feedback on the positive and negative sample feedback sets and include:

[0025] The labels of the feedback samples in the feedback sample set are compared with the labels of the query samples. If the labels are the same, the feedback sample is marked as a positive sample, otherwise it is marked as a negative sample.

[0026] In one embodiment, the initial base sorting in step S3.2 The fusion weight The update is performed using momentum update, and the calculation formula is as follows:

[0027]

[0028] where γ is a model parameter that controls the degree of weight update in QI-IRA, represents the weight of the mth basic sort in the tth round, shows the weight of the mth basic sorting in the t-1th round, The calculation formula is as follows:

[0029]

[0030] where |·| represents the size of the returned sample set. Represents sample d i In the base sort m The ranking score value in , Represents sample d j In the base sort m The ranking score value in the , the larger the ranking score value, the higher the ranking, d i Represents the positive sample feedback set A sample of j Represents the negative sample feedback set A sample in i m Represents sample d i The ranking score under the mth search method, α j m Represents sample d j The ranking score under the m-th search method.

[0031] In one embodiment, after step S3, the method further includes:

[0032] It is determined whether the preset round of interactions is completed. If not, continue to execute S2. Otherwise, the fused sorting result is used as the final sorting result.

[0033] Based on the same inventive concept, the second aspect of the present invention provides an interactive sorting and fusion device combined with active feedback suggestions inspired by quantum theory, which is applied to pedestrian re-identification, and the device includes:

[0034] A basic ranking generation module is used to select different search algorithms to obtain an initial basic ranking for a given query sample, wherein the given query sample is a pedestrian sample to be searched, and the initial basic ranking refers to a sample obtained by sorting the samples in the library according to the association between the samples in the library and the query sample;

[0035] An active feedback suggestion module is used to select a feedback sample set corresponding to each group of initial basic rankings from the samples in the library based on an active learning algorithm, wherein the relevance feedback of the user of the feedback sample set;

[0036] An interactive sorting fusion module inspired by quantum theory, which is used to obtain fused sorting results based on the initial basic sorting of different search algorithms and the corresponding feedback sample sets;

[0037] The pedestrian re-identification module is used to perform pedestrian re-identification based on the fusion sorting results.

[0038] Based on the same inventive concept, the third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the interactive sorting fusion method inspired by quantum theory and combined with active feedback suggestions as described in the first aspect.

[0039] Based on the same inventive concept, the fourth aspect of the present invention provides a computer 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 interactive sorting fusion method inspired by quantum theory and combined with active feedback suggestions as described in the first aspect is implemented.

[0040] Compared with the prior art, the advantages and beneficial technical effects of the present invention are as follows:

[0041] The present invention provides a theoretical explanation for the interactive sorting fusion module based on the strong correspondence between quantum theory and sorting fusion. The module updates the fusion weight by accumulating the quantum collapse probability of the feedback samples, and finally obtains the fusion sorting result by linear weighting. The present invention introduces active feedback suggestions before interactive sorting fusion, which effectively alleviates the problem of low interaction efficiency caused by user subjective judgment during the interaction process. Finally, pedestrian re-identification is performed based on the fusion sorting results, which can improve the recognition efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A module diagram of an interactive sorting fusion device inspired by quantum theory and combined with active feedback suggestions provided in an embodiment of the present invention.

[0044] Figure 2 This is a specific implementation flow chart of an interactive sorting fusion method combined with active feedback suggestions inspired by quantum theory provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The present invention proposes an interactive sorting fusion method and device that is inspired by quantum theory and combines active feedback suggestions. Based on the strong correspondence between quantum theory and sorting fusion, a theoretical explanation is provided for the interactive sorting fusion module, which updates the fusion weights by accumulating the quantum collapse probability of feedback samples, and finally obtains the fusion sorting by linear weighting. The present invention introduces active feedback suggestions before the interactive sorting fusion module, which effectively reduces the low interaction efficiency caused by the user's subjective judgment during the interaction process. Finally, pedestrian re-identification is performed based on the fusion sorting results, which can improve the recognition efficiency. At the same time, according to the needs of different application fields, the active learning algorithm can be flexibly selected to generate feedback suggestions, so that the entire model has good compatibility and robustness.

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] Embodiment 1

[0048] The present invention discloses an interactive sorting fusion method combined with active feedback suggestions inspired by quantum theory, which is applied to pedestrian re-identification. The method comprises:

[0049] S1: For a given query sample, different search algorithms are selected to obtain an initial basic ranking, wherein the given query sample is a pedestrian sample to be searched, and the initial basic ranking refers to the sample obtained by ranking the samples in the library according to the association between the samples in the library and the query sample;

[0050] S2: Based on the active learning algorithm, a feedback sample set corresponding to each group of initial basic ranking is selected from the samples in the library, where the relevance feedback of the users of the feedback sample set is obtained;

[0051] S3: Obtain a fusion ranking result based on the initial basic rankings of different search algorithms and the corresponding feedback sample sets;

[0052] S4: Perform person re-identification based on the fusion sorting results.

[0053] Specifically, in many cases, a quantum system may be in a superposition of multiple pure states, which is called a mixed state. In order to describe this situation mathematically, the concept of density operator (or density matrix) is introduced. The density operator of a mixed state can be regarded as a collection of multiple pure state density operators, each of which has a certain probability of appearing.

[0054] First, we explain the strong correspondence between quantum theory and sorting fusion. In quantum theory, the same microscopic particle |d> may collapse into different eigenstates {|R1>,|R2>,...,|R M >}, which is similar to the multi-strategy search scenario encountered in the sorting fusion problem, where the same sample may correspond to different sorting results under different search strategies{s 1 ,s 2 ,...,s M}. On the contrary, according to the mixed density operator theory, multiple pure state operators {|R1>><R1|,|R2> > <R2|,...,|R M >> <R M |} can be purified to recombine into a mixed state operator ρ, which is consistent with the fusion of multiple basic orderings to obtain the fusion order s * actual needs.

[0055] Quantum theory is used to explain the generation of basic sorting: the present invention conceptualizes the sample as a microscopic particle, and its state is represented as a vector in the search space. A basic sorting method corresponds to a quantum observation operation, and the quantum observation operation corresponds to a set of orthogonal bases. The search space is simplified into two bases: one is the correlation base |R>, and the other is the uncorrelated base According to quantum observation theory, any observation operation corresponds to an operator whose eigenvectors form a set of orthogonal bases {|R m >}. The state observation of a microscopic particle will cause the particle to collapse from its original state to a certain eigenstate of the observation operator with a certain probability. In turn, the state vector can be expressed as a linear superposition of basis vectors:

[0056] |d>=∑ m=1 c m |R m >

[0057] where c m is the probability amplitude, and their sum is 1. The probability amplitude is defined as c m = <R m |d>, indicating that the microscopic particle |d> is in |R m>The collapse projection on it, and the corresponding collapse probability is p(<R m |d>) = |c m | 2 = ‖<R m |d>‖ 2 。

[0058] Consider the ranking (observation result) of the same sample (microscopic particle) under multiple search methods (observation operators). Here, the focus of the present invention is on the folding projection of a state vector |d> on multiple relevant bases In this case, the algebraic representation of the state vector of the sample can be expressed as:

[0059]

[0060] where {α m} and {β m} respectively correspond to the probability amplitudes of the sample state under the m-th observed value basis |R m > and Under the sample state probability amplitude. In the present invention, the probability amplitude is defined as where s m represents the ranking score of the sample under the m-th search method. s m = |α m | 2 = p(<R m |d>), indicating that the ranking score s m is the collapse probability of the sample under the m-th search method, thus explaining the generation of multiple basic rankings. The higher the ranking score of the sample, the higher the ranking of the sample in the sorted list. Considering the fusion stage of the basic ranking, assume that the relevant cardinality of a certain search method is denoted as |R>, and its ranking score can be re-expressed by Gleason's theorem as the following formula:

[0061] s = ||<R|d>|| 2 = tr[(|d><d|)·(|R><R|)] = tr[Dρ]

[0062] where ρ = |R><R| represents the pure state density operator of the particle state (at this time the particle state is determined), D = |d><d| is the projection operator on the one-dimensional subspace, and tr is the mathematical concept symbol of the trace in linear algebra.

[0063] According to the previous analysis, a single search method corresponds to an incomplete observation, while the ranking fusion method searches for the fusion ranking corresponding to the complete observation. Inspired by the theory of the mixed density operator, the present invention uses a linear combination to recover the potential complete observed value. Then the particle state can be represented as a mixed state density operator:

[0064]

[0065] where w m is the fusion weight representing the individual importance of incomplete observations in complete observations. Therefore, under complete observations, the fusion ranking score s of the sample * It can be expressed as:

[0066]

[0067] where s m =|| <R m |d>|| 2 Represents the ranking score of the samples in the library under the mth search method.

[0068] The present invention is aimed at the pedestrian re-identification task (re-ID, the purpose is to identify the target pedestrian that matches the query sample in the library samples. Specifically, multiple re-ID methods (search algorithms) are selected to generate multiple basic rankings. In actual operation, the re-ID method extracts features from the query sample and the library sample respectively, and then metric learning is used to obtain the similarity score between the two, which is a basic ranking. The algorithm principles of multiple re-ID methods are different, so different basic rankings are obtained accordingly. The goal of ranking fusion is to fuse multiple basic rankings to make the ranking result robust.

[0069] The specific implementation of each step of the present invention is described in detail below.

[0070] Step 1: For a given query sample, select a set of search algorithms to obtain an initial base ranking.

[0071] Step 2: Select an active learning algorithm AL. In the specific implementation process, you can use active learning algorithms such as UncertainGCN, GappedTopK, CAAF, etc. to build an active feedback suggestion module AFS. The input of this module is a set of basic rankings. The output is the feedback sample u t The AFS consists of the following sub-steps:

[0072] Step 2.1, the active learning algorithm AL sorts each basis A feedback sample candidate set is generated from the unlabeled samples in

[0073] Step 2.2: All the feedback sample candidate sets Intersect and obtain the fusion feedback sample candidate set v t ,in

[0074] Step 2.3, if vt If the size is insufficient, the fusion sorting result u of the Mean RA method (mean method, equal weight fusion) is used. 0 Supplement samples in the final round to generate the feedback sample set u t .

[0075] Specifically, for person re-identification, the task is to identify the matching pedestrian samples in the database for the query sample. At the beginning of the interaction, the query sample in the labeled sample database is the unlabeled sample, and all the samples in the database are the unlabeled samples. After each round of interactive feedback, the samples of interactive feedback (samples in the database) will be added to the labeled database for the next round of active learning.

[0076] The core of AL used in this invention is to provide valuable samples for correlation feedback, and the feedback sample candidate set v t is the value sample. However, this candidate set is obtained by intersection, and it is very likely that the number of samples is very small. If a larger number of samples are required for feedback in the relevance feedback link, then this candidate set is not enough for feedback. Therefore, this implementation method uses the sorting result obtained by Mean RA for supplementary feedback, that is, u t For each initial base sort, a corresponding Integrating the feedback sample sets of each basic sorting can get v t Among them, Mean RA is a mean fusion method in the prior art, and each basic ranking is equally weighted (i.e. 1:1:1:…). The scores of each basic ranking are added up and then averaged to get the score of the sample in the library. After using the Mean RA method, a ranking u 0 , if u t If not grouped, then from u 0 Supplement. The order of supplement is to sort from front to back (if the sample previously fed back is the same as u t The samples in the .

[0077] Step 3: Build an interactive sorting fusion module QI-IRA inspired by quantum theory, the input of which is a set of basic sorting and feedback sample set u t , the output is the sorting fusion result s * The following sub-steps are included in QI-IRA:

[0078] Step 3.1: The user gives feedback on sample set u t The QI-IRA module obtains the positive and negative sample feedback sets and At the same time according to and Update the positive and negative label sets.

[0079] Step 3.2: The QI-IRA module is based on the positive and negative sample feedback sets. and Adjust the base sort The fusion weight The fusion weight The momentum update method is used, and the calculation formula is as follows:

[0080]

[0081] where γ is a model parameter that controls the degree of weight update in QI-IRA, The calculation formula is as follows:

[0082]

[0083] where |·| returns the size of the feedback set, Represents sample d i In the base sort m The ranking score value in .

[0084] Step 3.3: Perform weighted fusion to obtain a new round of sorting fusion results

[0085] Specifically, in the relevance feedback phase, if the user wants to feedback K samples in this round, then t Select K sample feedbacks. The user labels these K samples with positive and negative feedbacks, and then and To update the weight of the basic sorting, weighted fusion is used to get the sorting result.

[0086] When labeling positive and negative feedback, compare the labels of K feedback samples (data provided by the dataset) and the query sample labels (data provided by the dataset). If they are the same, the sample is positive, otherwise it is negative. However, in actual applications, users are subjective when judging positive and negative samples, so the error rate can be set in the specific implementation process to simulate the interaction in the actual scene.

[0087] QUARK is an iterative interaction or multi-round interaction. Before the first round of interaction, the natural positive and negative feedback sets are empty sets, the labeled set only has query samples, and the unlabeled set contains all the samples in the library. After each round of relevance feedback, the positive and negative sample sets will be added to the labeled set and removed from the unlabeled set. AL will generate a new round of feedback sample candidates for each basic ranking in the updated unlabeled set.

[0088] Step 4: Perform person re-identification based on the fusion sorting results.

[0089] This step finds the target pedestrian that matches the query sample based on the fusion sorting results as the pedestrian re-identification result.

[0090] See also Figure 2 The specific execution steps of the method proposed in the present invention include:

[0091] Step 1: Input data. For a given query sample, select a set of search algorithms to obtain an initial base ranking.

[0092] Step 2: Apply the Mean RA method to generate the fusion ranking result u 0 .

[0093] Step 3: In round t, sort the base Enter the AFS module, the active learning algorithm AL is used for each basic sorting A feedback sample candidate set is generated from the unlabeled samples in

[0094] Step 4: All feedback sample candidate sets Intersect and obtain the fusion feedback sample candidate set v t ,in

[0095] Step 5: From the fusion sorting result u of the Mean RA method 0 Supplement samples in the final round to generate the feedback sample set u t =v t ∪u 0 .

[0096] Step 6: Feedback sample set u t Input the QI-IRA module and obtain the positive and negative sample feedback sets through the user's relevance feedback and

[0097] Step 7: Based on the positive and negative sample feedback sets and Update the positive and negative label sets.

[0098] Step 8, Calculate And update the fusion weight

[0099] Step 9: Calculate the fusion ranking score result

[0100] Step 10: If a satisfactory fusion result is not obtained (i.e., the preset interaction rounds, such as round T, are not completed), return to step 3; otherwise, the final fusion ranking score result s is obtained. * .

[0101] It should be noted that QUARK (interactive ranking fusion model combined with active feedback suggestions) is a multi-round interaction. Before the interaction, the present invention sets the number of interaction rounds T and the number of feedback samples per round K. After T rounds, the interactive ranking fusion ends. "Not obtaining a satisfactory fusion result" can be considered as T rounds of interaction not being completed.

[0102] Embodiment 2

[0103] Based on the same inventive concept, this embodiment discloses an interactive sorting and fusion device combined with active feedback suggestions inspired by quantum theory, which is applied to pedestrian re-identification. The device includes:

[0104] A basic sorting module is used to select different search algorithms to obtain an initial basic sorting for a given query sample, wherein the given query sample is a pedestrian sample to be searched, and the initial basic sorting refers to a sample obtained by sorting the samples in the library according to the association between the samples in the library and the query sample;

[0105] An active feedback suggestion module is used to select a feedback sample set corresponding to each group of initial basic rankings from the samples in the library based on an active learning algorithm, wherein the relevance feedback of the user of the feedback sample set;

[0106] An interactive sorting fusion module inspired by quantum theory, which is used to obtain fused sorting results based on the initial basic sorting of different search algorithms and the corresponding feedback sample sets;

[0107] The pedestrian re-identification module is used to perform pedestrian re-identification based on the fusion sorting results.

[0108] See also Figure 1 , which is a module diagram of an interactive sorting fusion device inspired by quantum theory and combined with active feedback suggestions provided in an embodiment of the present invention.

[0109] Specifically, the AFS (active feedback suggestion module) proposed in the present invention is an active learning algorithm that is suitable for various types, and different active learning algorithms AL can be used according to different tasks. The active feedback suggestion module is combined with the interactive sorting fusion module inspired by quantum theory to form the interactive sorting fusion model QUARK combined with active feedback suggestion inspired by quantum theory.

[0110] Since the device introduced in the second embodiment of the present invention is a device used to implement the interactive sorting fusion method combined with active feedback suggestions inspired by quantum theory in the first embodiment of the present invention, based on the method introduced in the first embodiment of the present invention, the person skilled in the art can understand the specific structure and deformation of the device, so it is not repeated here. All devices used in the method in the first embodiment of the present invention belong to the scope of protection of the present invention.

[0111] Embodiment 3

[0112] Based on the same inventive concept, the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in the first embodiment is implemented.

[0113] Since the computer-readable storage medium introduced in the third embodiment of the present invention is a computer-readable storage medium used to implement the interactive sorting fusion method combined with active feedback suggestions inspired by quantum theory in the first embodiment of the present invention, based on the method introduced in the first embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the computer-readable storage medium, so it is not repeated here. All computer-readable storage media used in the method of the first embodiment of the present invention belong to the scope of protection of the present invention.

[0114] Embodiment 4

[0115] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in Embodiment 1 when executing the program.

[0116] Since the computer device introduced in the fourth embodiment of the present invention is a computer device used to implement the interactive sorting fusion method combined with active feedback suggestions inspired by quantum theory in the first embodiment of the present invention, based on the method introduced in the first embodiment of the present invention, the person skilled in the art can understand the specific structure and deformation of the computer device, so it is not repeated here. All computer devices used in the method of the first embodiment of the present invention belong to the scope of protection of the present invention.

[0117] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0119] Although preferred embodiments of the present invention have been described, additional changes and modifications may be made to these embodiments by those skilled in the art once the basic creative concepts are known. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. An interactive sorting fusion method inspired by quantum theory combined with active feedback suggestions, characterized by: Applied to pedestrian re-identification, the method includes: S1: For a given query sample, different search algorithms are selected to obtain an initial basic ranking, wherein the given query sample is a pedestrian sample to be searched, and the initial basic ranking refers to the sample obtained by ranking the samples in the library according to the association between the samples in the library and the query sample; S2: Based on the active learning algorithm, a feedback sample set corresponding to each group of initial basic ranking is selected from the samples in the library, where the relevance feedback of the users of the feedback sample set is obtained; S3: Obtain a fusion ranking result based on the initial basic rankings of different search algorithms and the corresponding feedback sample sets; S4: Perform person re-identification based on the fusion sorting results.

2. The interactive sorting fusion method combined with active feedback suggestion inspired by quantum theory as claimed in claim 1, characterized in that: After step S1, the method further comprises: The mean sorting fusion method is applied to generate a first fusion sorting result according to the initial basic sorting.

3. The interactive sorting fusion method combined with active feedback suggestion inspired by quantum theory as claimed in claim 2, characterized in that: Step S2 includes: S2.1: Sort each initial basis by an active learning algorithm Generate a candidate set of feedback samples from the unlabeled samples in Where m represents the mth search algorithm, and M represents the number of search algorithms; S2.2: Intersect the feedback sample candidate sets corresponding to different initial basic sortings to obtain the fused feedback sample candidate set v t ,in S2.3, determine v t The size of meets the conditions. If not, the first fusion sorting result u is 0 Supplement samples in the final round to generate the feedback sample set u t =v t ∪u 0 Among them, the unlabeled samples at the beginning of the interaction include all the samples in the library. After each round of interactive feedback, the samples obtained from the interactive feedback in the library samples will be added to the labeled library and the next round of active learning will be carried out.

4. The interactive sorting fusion method combined with active feedback suggestion inspired by quantum theory as claimed in claim 1, characterized in that: Step S3 includes: S3.1: User in feedback sample set u t Perform correlation feedback on the positive and negative sample feedback sets and At the same time according to and Update the positive and negative label sets; S3.2: Based on the positive and negative sample feedback set and Adjust the initial base sort The fusion weight S3.3: Sort by initial basis The initial basic rankings of each search algorithm are weighted and merged according to the fusion weight to obtain a new round of ranking fusion results.

5. The interactive sorting fusion method combined with active feedback suggestion inspired by quantum theory as claimed in claim 4, characterized in that: S3.1 User feedback sample set u t Perform correlation feedback on the positive and negative sample feedback sets and include: The labels of the feedback samples in the feedback sample set are compared with the labels of the query samples. If the labels are the same, the feedback sample is marked as a positive sample, otherwise it is marked as a negative sample.

6. The interactive sorting fusion method combined with active feedback suggestion inspired by quantum theory as claimed in claim 4, characterized in that: Initial base sorting in step S3.2 The fusion weight The update is performed using momentum update, and the calculation formula is as follows: where γ is a model parameter that controls the degree of weight update in QI-IRA, represents the weight of the mth basic sort in the tth round, shows the weight of the mth basic sorting in the t-1th round, The calculation formula is as follows: where |·| represents the size of the returned sample set. Represents sample d i In the base sort m The ranking score value in , Represents sample d j In the base sort m The ranking score value in the , the larger the ranking score value, the higher the ranking, d i Represents the positive sample feedback set A sample of j Represents the negative sample feedback set A sample in i m Represents sample d i The ranking score under the mth search method, α j m Represents sample d j The ranking score under the m-th search method.

7. The interactive sorting fusion method combined with active feedback suggestion inspired by quantum theory as claimed in claim 1, characterized in that: After step S3, the method further comprises: It is determined whether the preset round of interactions is completed. If not, continue to execute S2. Otherwise, the fused sorting result is used as the final sorting result.

8. An interactive sorting fusion device inspired by quantum theory combined with active feedback suggestions, characterized by: Applied to pedestrian re-identification, the device includes: A basic ranking generation module is used to select different search algorithms to obtain an initial basic ranking for a given query sample, wherein the given query sample is a pedestrian sample to be searched, and the initial basic ranking refers to a sample obtained by sorting the samples in the library according to the association between the samples in the library and the query sample; An active feedback suggestion module is used to select a feedback sample set corresponding to each group of initial basic rankings from the samples in the library based on an active learning algorithm, wherein the relevance feedback of the user of the feedback sample set; An interactive sorting fusion module inspired by quantum theory, which is used to obtain fused sorting results based on the initial basic sorting of different search algorithms and the corresponding feedback sample sets; The pedestrian re-identification module is used to perform pedestrian re-identification based on the fusion sorting results.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the interactive sorting fusion method inspired by quantum theory and combined with active feedback suggestion as claimed in any one of claims 1 to 7 is implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the interactive sorting fusion method inspired by quantum theory and combined with active feedback suggestion as claimed in any one of claims 1 to 7 is implemented.