Identity verification model training method and device, storage medium, and electronic device

Through multi-round learning processing of the identity branch network and the domain branch network, the domain differences in the identity verification model are eliminated, the accuracy problem of identity verification in different fields in the existing technology is solved, and the verification accuracy and efficiency are improved.

CN110490245BActive Publication Date: 2024-08-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910750225.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-14
Publication Date
2024-08-27
Estimated Expiration
2040-05-23

AI Technical Summary

Technical Problem

Models trained in different fields with existing identity verification technology cannot eliminate field differences in identity feature data during verification, resulting in a low verification pass rate and affecting user experience.

Method used

By obtaining the sample identity feature data and identity labels, the identity branch network and the domain branch network are separately learned and processed, and a hidden layer feature vector is generated. The identity label and the trained domain branch network are used to perform a third learning process on the identity branch network to construct Authentication model to eliminate domain differences.

Benefits of technology

It improves the accuracy of identity verification, improves user experience, reduces the demand for sample data, reduces the cost of labeling, time and resources, and improves the training efficiency of the identity verification model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110490245B
    Figure CN110490245B
Patent Text Reader

Abstract

The present disclosure provides an identity authentication model training method and device, electronic device, and storage medium; it relates to the field of artificial intelligence technology. The identity authentication model training method includes: obtaining sample identity feature data and identity labels corresponding to the sample identity feature data; performing a first learning process on the identity branch network in the pre-established identity authentication model according to the sample identity feature data to train the identity branch network; performing a second learning process on the domain branch network in the identity authentication model according to the sample identity feature data to train the domain branch network; performing a third learning process on the identity branch network through the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network. The present disclosure can eliminate domain differences in the identity feature data of the same person when performing identity authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to an identity verification model training method, an identity verification model training device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of Internet technology, identity authentication technology has made great progress, including fingerprint authentication, face authentication, voiceprint / iris authentication, pedestrian re-identification, etc. In particular, with the continuous popularization of smart terminals, identity authentication technology based on smart terminals has also developed rapidly.

[0003] However, existing identity authentication methods often face data biases, such as domain differences, where a model is trained in one domain but verified in another. For example, in the field of person re-identification, when people’s clothing changes due to seasons or when the relative angle between a person and the camera changes, verification may be affected, resulting in a low verification pass rate and affecting the user experience.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide an identity authentication model training method, an identity authentication model training device, an electronic device and a computer-readable storage medium, thereby overcoming to a certain extent the problem of being unable to eliminate domain differences in identity feature data when performing identity authentication due to limitations and defects of related technologies.

[0006] According to a first aspect of the present disclosure, a method for training an identity verification model is provided, comprising:

[0007] Obtaining sample identity feature data and an identity tag corresponding to the sample identity feature data;

[0008] Performing a first learning process on an identity branch network in a pre-established identity authentication model according to the sample identity feature data to train the identity branch network;

[0009] Performing a second learning process on the domain branch network in the identity verification model according to the sample identity feature data to train the domain branch network;

[0010] The identity branch network is subjected to a third learning process by using the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network.

[0011] In an exemplary embodiment of the present disclosure, the identity authentication model further includes a feature conversion network. Before performing a first learning process on an identity branch network in a pre-established identity authentication model according to the sample identity feature data to train the identity branch network, the method further includes:

[0012] The sample identity feature data is converted according to the feature conversion network to generate a hidden layer feature vector corresponding to the sample identity feature data.

[0013] In an exemplary embodiment of the present disclosure, the identity branch network includes an identity information extraction network, an identity information discrimination network, and a target loss function;

[0014] The performing a first learning process on the identity branch network in the pre-established identity authentication model according to the sample identity feature data to train the identity branch network comprises:

[0015] The identity information extraction network is subjected to unsupervised learning processing through the identity information discrimination network and the target loss function so that the identity information extraction network generates a first attribute vector according to the hidden layer feature vector; wherein the first attribute vector includes identity feature information but does not include domain feature information.

[0016] In an exemplary embodiment of the present disclosure, the domain branch network includes a domain information extraction network, a domain information discrimination network, and a target adversarial loss function;

[0017] The performing a second learning process on the domain branch network in the identity verification model according to the sample identity feature data to train the domain branch network comprises:

[0018] The domain information extraction network is subjected to unsupervised learning processing through the domain information discrimination network and the target adversarial loss function so that the domain information extraction network generates a second attribute vector according to the hidden layer feature vector; wherein the second attribute vector includes domain feature information but does not include identity feature information.

[0019] In an exemplary embodiment of the present disclosure, performing a third learning process on the identity branch network through the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network includes:

[0020] The identity information extraction network is subjected to supervised learning processing through the identity label and the identity information extraction network is subjected to adversarial learning processing through the trained domain branch network so that the identity information extraction network generates an identity feature vector according to the sample identity feature data.

[0021] In an exemplary embodiment of the present disclosure, the target loss function includes a deep metric learning loss function or a cross entropy loss function; and the target loss function is calculated and processed to generate the target adversarial loss function.

[0022] According to a second aspect of the present disclosure, there is provided an identity authentication method, comprising:

[0023] Acquire current identity feature data, and input the current identity feature data into a pre-trained identity authentication model to determine a current feature vector corresponding to the current identity feature data;

[0024] Obtaining pre-stored original identity feature data, and inputting the original identity feature data into the identity verification model to determine an original feature vector corresponding to the original identity feature data;

[0025] If the difference between the current feature vector and the original feature vector is less than a preset threshold, it is determined that the current identity feature data passes identity authentication.

[0026] According to a third aspect of the present disclosure, there is provided an identity verification model training device, comprising:

[0027] A sample data acquisition unit, used to acquire sample identity feature data and an identity tag corresponding to the sample identity feature data;

[0028] an identity branch network training unit, configured to perform a first learning process on an identity branch network in a pre-established identity authentication model according to the sample identity feature data to train the identity branch network;

[0029] A domain branch network training unit, configured to perform a second learning process on the domain branch network in the identity verification model according to the sample identity feature data to train the domain branch network;

[0030] The identity authentication model construction unit is used to perform a third learning process on the identity branch network through the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network.

[0031] In an exemplary embodiment of the present disclosure, the identity verification model training device further includes a hidden layer feature vector generation unit, and the hidden layer feature vector generation unit is configured to:

[0032] The sample identity feature data is converted according to the feature conversion network to generate a hidden layer feature vector corresponding to the sample identity feature data.

[0033] In an exemplary embodiment of the present disclosure, the identity branch network includes an identity information extraction network, an identity information discrimination network, and a target loss function;

[0034] The identity branch network training unit is configured as follows:

[0035] The identity information extraction network is subjected to unsupervised learning processing through the identity information discrimination network and the target loss function so that the identity information extraction network generates a first attribute vector according to the hidden layer feature vector; wherein the first attribute vector includes identity feature information but does not include domain feature information.

[0036] In an exemplary embodiment of the present disclosure, the domain branch network includes a domain information extraction network, a domain information discrimination network, and a target adversarial loss function;

[0037] The domain branch network training unit is configured as follows:

[0038] The domain information extraction network is subjected to unsupervised learning processing through the domain information discrimination network and the target adversarial loss function so that the domain information extraction network generates a second attribute vector according to the hidden layer feature vector; wherein the second attribute vector includes domain feature information but does not include identity feature information.

[0039] In an exemplary embodiment of the present disclosure, the identity verification model building unit is configured to:

[0040] The identity information extraction network is subjected to supervised learning processing through the identity label and the identity information extraction network is subjected to adversarial learning processing through the trained domain branch network so that the identity information extraction network generates an identity feature vector according to the sample identity feature data.

[0041] In an exemplary embodiment of the present disclosure, the target loss function includes a deep metric learning loss function or a cross entropy loss function; and the target loss function is calculated and processed to generate the target adversarial loss function.

[0042] According to a fourth aspect of the present disclosure, there is provided an identity authentication device, comprising:

[0043] A current feature vector determination unit, used to obtain current identity feature data, and input the current identity feature data into a pre-trained identity authentication model to determine a current feature vector corresponding to the current identity feature data;

[0044] an original feature vector determination unit, configured to obtain pre-stored original identity feature data, and input the original identity feature data into the identity verification model to determine an original feature vector corresponding to the original identity feature data;

[0045] The identity verification passing unit is used to determine that the current identity feature data passes the identity verification if the difference between the current feature vector and the original feature vector is less than a preset threshold.

[0046] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned identity authentication model training methods or identity authentication methods by executing the executable instructions.

[0047] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements any one of the above-mentioned identity authentication model training methods or identity authentication methods.

[0048] The exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:

[0049] In the identity authentication model training method provided in an example embodiment of the present disclosure, a first learning process is performed on the identity branch network according to the sample identity feature data so that the identity branch network can distinguish the identity information and domain differences in the sample identity feature data, and a second learning process is performed on the domain branch network according to the sample identity feature data so that the domain branch network can distinguish the identity information and domain differences in the sample identity feature data and eliminate the domain differences; finally, the identity branch network is subjected to a third learning process through the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network. On the one hand, the identity branch network is trained in accordance with the domain branch network to assist the identity branch network so that the identity branch network can accurately extract the identity feature vectors in the sample identity feature data, eliminate domain differences, improve the accuracy of identity authentication, and enhance the user experience; on the other hand, the identity authentication model is trained through adversarial learning of the identity branch network and the domain branch network, which requires less sample data, reduces the cost of labeling, time, and resources, and improves the training efficiency of the identity authentication model.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0052] Figure 1 A schematic diagram showing an exemplary system architecture of an identity verification model training method and device to which the embodiments of the present disclosure can be applied;

[0053] Figure 2 A schematic diagram showing the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown;

[0054] Figure 3 A schematic diagram schematically shows a method for eliminating domain differences according to an embodiment of the present disclosure;

[0055] Figure 4 A schematic diagram of a process flow of an identity verification model training method according to an embodiment of the present disclosure is schematically shown;

[0056] Figure 5 A schematic diagram of the structure of an identity authentication model according to an embodiment of the present disclosure is shown;

[0057] Figure 6 A schematic diagram schematically illustrates a method of eliminating system differences during identity authentication according to an embodiment of the present disclosure;

[0058] Figure 7 A schematic diagram schematically illustrates a method of eliminating thickness differences during identity verification according to an embodiment of the present disclosure;

[0059] Figure 8 A schematic diagram of a process flow of an identity authentication method according to another embodiment of the present disclosure is shown;

[0060] Fig. 9 A schematic diagram of a process flow of an application identity verification model training method and an identity verification method according to an embodiment of the present disclosure is shown;

[0061] Fig.10 A schematic block diagram of an identity verification model training device according to an embodiment of the present disclosure is schematically shown;

[0062] Fig.11 A schematic block diagram of an identity authentication device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0063] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0064] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0065] Figure 1 A schematic diagram of the system architecture of an exemplary application environment in which an identity authentication model training method and apparatus according to an embodiment of the present disclosure can be applied is shown.

[0066] like Figure 1 As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, 103 may be various electronic devices with display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.

[0067] The identity authentication model training method provided in the embodiment of the present disclosure is generally executed by the server 105, and accordingly, the identity authentication model training device is generally set in the server 105. However, it is easy for those skilled in the art to understand that the identity authentication model training method provided in the embodiment of the present disclosure can also be executed by the terminal devices 101, 102, and 103, and accordingly, the identity authentication model training device can also be set in the terminal devices 101, 102, and 103, and this is not particularly limited in the present exemplary embodiment. For example, in an exemplary embodiment, the user can upload the current identity feature data to the server 105 through the terminal devices 101, 102, and 103, and the server determines the current feature vector corresponding to the current identity feature data through the identity authentication model training method provided in the embodiment of the present disclosure and compares it with the original feature vector to determine the verification result, and transmits the verification result to the terminal devices 101, 102, 103, etc.

[0068] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown.

[0069] It should be noted that Figure 2 The computer system 200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0070] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage part 208 into a random access memory (RAM) 203. Various programs and data required for system operation are also stored in the RAM 203. The CPU 201, the ROM 202, and the RAM 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0071] The following components are connected to the I / O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed, so that a computer program read therefrom is installed into the storage section 208 as needed.

[0072] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 209, and / or installed from the removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, the various functions defined in the method and apparatus of the present application are executed. In some embodiments, the computer system 200 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0073] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0074] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0075] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0076] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being installed in the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiment. For example, the electronic device may implement the following method. Figures 4 to 9 The various steps shown, etc.

[0077] The technical solution of the embodiment of the present disclosure is described in detail below:

[0078] In recent years, great progress has been made in identity verification technology, including fingerprint verification, face verification, voiceprint / iris verification, pedestrian re-identification, etc. However, the data-driven identity verification process often faces biases in the data, such as domain differences, that is, a model is trained in one domain but verified in another domain. For example, in the field of pedestrian re-identification, verification may be affected when the season causes people to change their clothes or when the relative angle between the person and the camera changes. Furthermore, due to cost and operational feasibility issues, it is difficult to obtain labeled data for clothing or shooting angles.

[0079] In particular, with the increasing popularity of smart terminals, identity authentication technology based on smart terminals has also developed rapidly. The above situation also exists in identity authentication based on smart terminals. For example, for a specific user (associated with a virtual account), the device type (determined by hardware characteristics or software coding) may change, the operation mode (left hand, right hand, both hands) may change, the body state (sitting, lying, lying) may change, and the environment (office, bus, subway, taxi, train, airplane) may also change. When a model trained on the old data distribution is used to make predictions on the new data distribution, an incorrect authentication result may be output. Furthermore, due to cost and operational feasibility issues, many of the above types of labeled data cannot be obtained (such as labeled data such as operation mode and body state).

[0080] In an identity authentication scheme, the learning of unknown difference information is achieved by directly eliminating the marginal distribution differences between different domains. Such methods include but are not limited to: Transfer Component Analysis (TCA), Deep Adaptation Network (DAN), Reversing Gradient (RevGrad), and Aversarial Discriminative Domain Adaptation (ADDA). These methods eliminate the domain differences of the learned features while learning the main classification task (such as identity authentication). Figure 3 A schematic diagram schematically shows a method for eliminating domain differences according to an embodiment of the present disclosure, referring to Figure 3 As shown, the original feature 301 is learned through the generator network 302, and the output feature vector is used for identity recognition 303 and model discrimination 304. The network corresponding to the model discrimination 304 eliminates the information of the model discrimination 304 in the feature vector output by the generator network 302 through adversarial learning. However, this type of method requires knowing the domain label and can only learn specific domain differences. Moreover, the network structure of this type of method cannot perform decoupled learning well.

[0081] In another authentication scheme, the learning of unknown difference information is achieved by generating samples of unseen attribute combinations. Such methods include but are not limited to: ELEGANT, DNA-GAN, Multi-Level Variational Autoencoder (ML-VAE), CausalGAN, ResGAN, SaGAN. Such methods first generate samples corresponding to attribute combinations that have not been seen in the training set, such as (ID = 001, system = IOS) seen in the training set, but (ID = 001, system = Android) not seen, and then input these samples as auxiliary samples into the authentication system for learning. In this method, ML-VAE can learn domain labels unsupervisedly and learn authentication at the same time, but the identity information and domain information are not decoupled by adversarial learning. The rest of the methods in this scheme cannot learn based on identity labels, so the prediction performance of identity authentication is very limited, and decoupled learning cannot be performed; moreover, their learning process requires knowing the domain labels, and can only learn specific domain differences.

[0082] In another authentication scheme, the learning of unknown difference information is achieved by simultaneously generating samples of unseen attribute combinations and eliminating marginal distribution differences. Such methods include but are not limited to: Cross-Domain Representation Disentangler (CDRD), Synthesized Examples for Generalized Zero-Shot Learning (SE-GZSL), Disentangled Synthesis for Domain Adaptation (DiDA), Attribute-Based Synthetic Network (ABS-Net), and Additive Adversarial Learning for Unbiased Authentication (AAL-UA). The AAL-UA structure maps the features to be processed from multiple networks to multiple hidden spaces, each of which corresponds to an attribute. However, the training of the AAL-UA network requires the knowledge of domain labels and can only learn specific domain differences. Moreover, the number of generating networks of the AAL-UA network is proportional to the number of attributes, and the number of discriminating networks is proportional to the square of the number of attributes. The training time cost and required resources are relatively high. Other methods of this type also need to know the domain label and can only learn specific domain differences.

[0083] One or more of the above-mentioned technical solutions not only have high training costs, low recognition rates, slow transmission speeds, and poor security, but most methods also require knowledge of domain labels and can only learn specific domain differences. Secondly, methods involving unsupervised learning of domain information do not perform decoupling learning through adversarial learning, and the coupling of domain information and identity information is still not effectively resolved.

[0084] Based on one or more of the above problems, this exemplary embodiment provides an identity authentication model training method. The identity authentication model training method can be applied to the above server 105, and can also be applied to one or more of the above terminal devices 101, 102, 103, which is not particularly limited in this exemplary embodiment. Figure 4 As shown, the identity verification model training method may include the following steps S410 to S440:

[0085] Step S410: Obtain sample identity feature data and an identity tag corresponding to the sample identity feature data;

[0086] Step S420: performing a first learning process on the identity branch network in the pre-established identity authentication model according to the sample identity feature data to complete the training of the identity branch network;

[0087] Step S430: performing a second learning process on the domain branch network in the identity verification model according to the sample identity feature data to complete the training of the domain branch network;

[0088] Step S440: performing a third learning process on the identity branch network using the identity tag and the trained domain branch network to construct the identity authentication model according to the trained identity branch network.

[0089] In the identity authentication model training method provided in this example implementation, on the one hand, the domain branch network is used to assist the identity branch network in training, so that the identity branch network can accurately extract the identity feature vectors in the sample identity feature data, eliminate domain differences, improve the accuracy of identity authentication, and enhance the user experience; on the other hand, the identity authentication model is trained through adversarial learning through the identity branch network and the domain branch network, which requires less sample data, reduces the cost of annotation, time, and resources, and improves the training efficiency of the identity authentication model.

[0090] Next, the above steps of this exemplary embodiment are described in more detail.

[0091] In step S410, sample identity feature data and an identity tag corresponding to the sample identity feature data are obtained.

[0092] In an example embodiment of the present disclosure, sample identity feature data may refer to pre-stored sample data for training an identity verification model. For example, the sample identity feature data may be multi-dimensional identity feature data of different users stored in a sample database. Of course, the sample identity feature data may also be sample data stored in other locations for training an identity verification model. This example embodiment does not specifically limit this. An identity tag may refer to sample tag data corresponding to the sample identity feature data. For example, an identity tag may refer to an identity identifier corresponding to the sample identity feature data. Of course, this example embodiment is not limited to this. The sample identity feature data and the corresponding identity tag may be pre-stored in a server or in a terminal. Of course, they may also be imported into a server or terminal in other ways. This example embodiment does not specifically limit this.

[0093] In step S420, a first learning process is performed on the identity branch network in the pre-established identity authentication model according to the sample identity feature data to train the identity branch network.

[0094] In an example embodiment of the present disclosure, a pre-established identity authentication model may refer to an identity authentication model created in advance by a developer, which may include a feature conversion network, an identity branch network, and a domain branch network. The identity branch network may refer to a branch network in the identity authentication model that extracts and discriminates identity feature information. The first learning process may refer to the process of performing unsupervised learning on the identity branch network. The hidden feature vector corresponding to the sample identity feature data is input into the identity branch network and the identity branch network is subjected to unsupervised learning so that the identity branch network can distinguish identity feature information and domain feature differences.

[0095] Specifically, before performing a first learning process on the identity branch network in the pre-established identity authentication model according to the sample identity feature data to train the identity branch network, the sample identity feature data is converted according to the feature conversion network to generate a hidden feature vector corresponding to the sample identity feature data. The feature conversion network may refer to an encoding network in the identity authentication model for converting multi-dimensional sample identity feature data into feature data represented by a vector. For example, the feature conversion network may be an encoder network (Encoder) that converts multi-dimensional sample identity feature data into a vector. Of course, this example embodiment is not limited to this. The conversion process may refer to the process of encoding the sample identity feature data by the feature conversion network, and the hidden feature vector may refer to the feature vector corresponding to the sample identity feature data. By converting the multi-dimensional sample identity feature data into a feature vector through the feature conversion network, it is convenient for other networks in the identity authentication model to process the multi-dimensional sample identity feature data, improve the data processing efficiency in the identity authentication model, and improve the working efficiency of the identity authentication model.

[0096] Furthermore, the identity information extraction network is subjected to unsupervised learning processing through the identity information discrimination network and the target loss function so that the identity information extraction network generates a first attribute vector according to the hidden layer feature vector; wherein the first attribute vector may include identity feature information but does not include domain feature information. The identity branch network in the identity authentication model may specifically include an identity information extraction network, an identity information discrimination network, and a target loss function, wherein the identity information extraction network may refer to a generator network (Generator) for extracting the identity feature vector in the hidden layer feature vector corresponding to the sample identity feature data, the identity information discrimination network may refer to a discriminator network (Discriminator) associated with the identity information extraction network, and the target loss function may refer to a loss function for unsupervised learning of the identity branch network, for example, the target loss function may be a deep metric learning (DML) loss function, or a cross entropy loss function. Of course, this example embodiment is not limited to this. The first attribute vector may refer to a feature vector generated by the identity information extraction network according to the hidden layer feature vector. The identity information extraction network is subjected to unsupervised learning through the identity information discrimination network and the target loss function, so that the first attribute vector generated by the identity information extraction network according to the hidden layer feature vector only includes the identity feature information but not the domain feature information.

[0097] In step S430, a second learning process is performed on the domain branch network in the identity verification model according to the sample identity feature data to train the domain branch network.

[0098] In an example embodiment of the present disclosure, the domain branch network may refer to a branch network in the identity authentication model for extracting domain feature information and performing discrimination. The second learning process may refer to a process of performing unsupervised learning on the domain branch network. The hidden layer feature vector corresponding to the sample identity feature data is input into the domain branch network and unsupervised learning is performed on the domain branch network so that the domain branch network can distinguish between domain feature differences and identity feature information.

[0099] Specifically, the domain information extraction network is subjected to unsupervised learning processing through the domain information discriminant network and the target adversarial loss function so that the domain information extraction network generates a second attribute vector according to the hidden layer feature vector; wherein the second attribute vector may include domain feature information but does not include identity feature information. The domain branch network in the identity authentication model may include a domain information extraction network, a domain information discriminant network, and a target adversarial loss function; wherein the domain information extraction network may refer to a generator network for extracting domain feature vectors in hidden layer feature vectors corresponding to sample identity feature data; the domain information discriminant network may refer to a discriminant network associated with the domain information extraction network; the target adversarial loss function may refer to a loss function for unsupervised learning of the domain branch network, for example, the target adversarial loss function may be a deep metric learning loss function, or a cross entropy loss function, of course, this example embodiment is not limited thereto. The target adversarial loss function may be obtained by calculating the target loss function, for example, the target adversarial loss function may be obtained by negating the target loss function, or may be obtained by adjusting the contrastive loss function, and this example embodiment does not make any special restrictions on this. The second attribute vector may refer to a feature vector generated by the domain information extraction network according to the hidden layer feature vector, and through unsupervised learning training of the domain information extraction network, the feature vector only includes domain feature information and does not include identity feature information.

[0100] In step S440, a third learning process is performed on the identity branch network using the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network.

[0101] In an example embodiment of the present disclosure, the third learning process may refer to a process of assisting the identity branch network in learning and training through identity labels and trained domain branch networks. For example, the third learning process may be a process of supervised learning of the identity branch network according to the identity label so that the identity branch network can correctly extract the identity feature vector in the hidden layer feature vector corresponding to the sample identity feature data, and adversarial learning of the identity branch network through unsupervised learning according to the trained domain branch network. The identity authentication model is constructed by completing the identity branch network and the feature conversion network that have completed the learning and training to complete the training of the identity authentication model.

[0102] Specifically, supervised learning is performed on the identity information extraction network through identity labels, and adversarial learning is performed on the identity information extraction network through the trained domain branch network so that the identity information extraction network generates an identity feature vector according to the sample identity feature data. By performing unsupervised learning on the identity information extraction network, the identity information extraction network can identify the identity feature vector and the corresponding domain feature difference; supervised learning is performed on the identity information extraction network through identity labels, so that the identity information extraction network can correctly extract the identity feature vector in the hidden layer feature vector corresponding to the sample identity feature data; adversarial learning is performed on the identity information extraction network through the trained domain branch network, so that the identity information extraction network can eliminate the learned domain feature difference, so that the feature vector extracted by the identity information extraction network only contains the identity feature vector, eliminating the influence of domain differences, and improving the accuracy of identity authentication.

[0103] Figure 5 A schematic diagram of the structure of an identity authentication model according to an embodiment of the present disclosure is shown schematically.

[0104] refer to Figure 5 As shown, by constructing a feature conversion network 502, the input sample identity feature data 501 is converted into a hidden feature vector 503, and then transformed into a first attribute vector 506 and a second attribute vector 511 by the identity information extraction network 505 in the identity branch network 504 and the domain information extraction network 510 in the domain branch network 509 respectively. The decoupled learning of the symmetric adversarial learning makes the first attribute vector 506 and the second attribute vector 511 only contain the discriminant information associated with the attribute. That is, the first attribute vector 506 only contains identity feature information, but not potential domain difference information. Symmetrically, the second attribute vector 511 only contains potential domain difference information, but not identity feature information.

[0105] The learning process is an adversarial learning process, in which the identity information extraction network 505 and the domain information extraction network 510 both perform feature extraction, and the identity information discrimination network 508 and the domain information discrimination network 513 both perform potential domain difference judgment. The deep metric learning (DML) loss function 507 can make the first attribute vector 506 distinguish identity feature information, and the identity information discrimination network 508 is used to make the first attribute vector 506 unable to distinguish potential domain difference information; the adversarial deep metric learning loss function 512 is used to make the second attribute vector 511 unable to distinguish identity feature information; and the domain information discrimination network 513 is used to make the second attribute vector 511 able to distinguish potential domain difference information. After completing the training of each network, it is only necessary to sequentially splice the feature conversion network 502 and the identity information extraction network 505 to construct the identity authentication model.

[0106] Figure 6 A schematic diagram of eliminating system differences during an identity authentication process according to an embodiment of the present disclosure is schematically shown.

[0107] refer to Figure 6 As shown, in a certain iteration of the training process, when the difference in the current main data distribution in the sample data lies in the influence of different systems, the model unsupervised learning is system discrimination, and eliminates the data distribution differences caused by system differences. Specifically, the original feature 601 is used to generate a hidden layer feature vector through the feature conversion network 602, and the feature extraction network 603 performs supervised learning on identity recognition and adversarial learning on system discrimination, so that the features extracted by the feature extraction network 603 only contain information on identity recognition, but not system discrimination features. Similarly, the features extracted by the feature extraction network 604 only contain system discrimination features, but not identity recognition features.

[0108] When the differences in the sample data identified by the system are eliminated, the main data distribution differences in the data may come from the differences caused by the thickness of the mobile phones. Then the model learns the difference in thickness through unsupervised learning, and then continues to eliminate the differences caused by thickness. For details, please refer to Figure 7 shown.

[0109] Figure 7 A schematic diagram of eliminating thickness differences during identity authentication according to an embodiment of the present disclosure is schematically shown.

[0110] refer to Figure 7As shown, after eliminating the differences in system discrimination, it is detected that the current main data distribution difference in the sample data lies in the influence of thickness. The model performs unsupervised learning on thickness differences and eliminates the data distribution differences caused by thickness differences. Specifically, the original feature 601 is used to generate a hidden layer feature vector through the feature conversion network 602. The feature extraction network 703 performs supervised learning on identity recognition and adversarial learning on thickness differences, so that the features extracted by the feature extraction network 703 only contain information on identity recognition, but not features of thickness differences. Similarly, the features extracted by the feature extraction network 704 only contain features of thickness differences, but not features of identity recognition.

[0111] When the thickness difference in the sample data is eliminated, the difference in the main data distribution in the sample data is detected and the detected difference is eliminated. In this way, the identity verification model will gradually find the most important difference in the remaining differences of the sample data and eliminate it, and finally eliminate all the differences in the sample data to obtain the identity feature vector corresponding to the sample data.

[0112] This exemplary embodiment also provides an identity authentication method. The identity authentication method can be applied to the server 105, or to one or more of the terminal devices 101, 102, 103, which is not specifically limited in this exemplary embodiment. Figure 8 As shown, the identity authentication method may include the following steps S810 to S840:

[0113] In step S810, current identity feature data is obtained, and the current identity feature data is input into a pre-trained identity authentication model to determine a current feature vector corresponding to the current identity feature data.

[0114] In an example embodiment of the present disclosure, the current identity feature data may refer to multi-dimensional feature data that characterizes the user's identity and is collected by the terminal when the user performs identity authentication. For example, the current identity feature data may be a password input by the user, a facial photo of the user, and the user's operation method (such as left-hand operation or right-hand operation, etc.) collected by the terminal. Of course, this is only a schematic illustration and should not impose any special limitations on this example embodiment. The identity authentication model may refer to a deep learning model trained by the identity authentication model training method in this example embodiment, and the identity of the user can be verified by the identity authentication model. The current feature vector may refer to a feature vector characterizing the user's identity information obtained by processing the current identity feature data with the identity authentication model.

[0115] In step S820, pre-stored original identity feature data is obtained, and the original identity feature data is input into the identity verification model to determine an original feature vector corresponding to the original identity feature data.

[0116] In an example embodiment of the present disclosure, the original identity feature data may refer to the verification feature data collected by the user in advance through the terminal and stored in the target location (such as a sample database or a storage area of ​​the terminal, etc., which is not particularly limited in this example embodiment), which is used as the comparison data for identity authentication. The original feature vector may refer to the feature vector representing the user's identity information obtained by processing the original identity feature data through the identity authentication model, which is used as the comparison feature vector for identity authentication.

[0117] In step S830, if the difference between the current feature vector and the original feature vector is less than a preset threshold, it is determined that the current identity feature data passes identity authentication.

[0118] In an example embodiment of the present disclosure, the preset threshold may refer to a preset threshold used to determine the user identity corresponding to the current feature vector. Specifically, if the difference between the current feature vector and the original feature vector is less than the preset threshold, it is determined that the current identity feature data passes the identity authentication; if the difference between the current feature vector and the original feature vector is greater than the preset threshold, it is determined that the current identity feature data does not match the original identity feature data, and the current identity feature data cannot pass the identity authentication.

[0119] Fig. 9 A flowchart of an application identity authentication model training method and an identity authentication method according to an embodiment of the present disclosure is schematically shown.

[0120] refer to Fig. 9 As shown, the identity verification model training method provided in this example embodiment can be applied to Fig. 9 In the training set 901 shown, the identity authentication method provided in this example embodiment can be applied to Fig. 9 In the test set 902 shown in FIG. Specific steps are as follows:

[0121] Step S901, inputting sample identity feature data and identity labels corresponding to the sample identity feature data, and converting the sample identity feature data into a hidden layer feature vector according to a feature conversion network;

[0122] Step S902, performing unsupervised domain difference learning on the identity branch network so that the identity branch network obtains a first attribute vector according to the hidden layer feature vector;

[0123] Step S903, the identity branch network eliminates the learned domain difference information, so that the first attribute vector generated by the identity branch network only contains the identity feature information but not the domain difference information;

[0124] Step S904, performing supervised learning on the identity branch network according to the identity label so that the identity branch network can correctly extract the identity feature vector in the hidden layer feature vector;

[0125] Step S905, performing unsupervised domain difference learning on the domain branch network so that the domain branch network obtains a second attribute vector according to the hidden layer feature vector;

[0126] Step S906, the domain branch network eliminates the identity information, so that the second attribute vector generated by the identity branch network only contains the domain difference information but not the identity feature information;

[0127] Step S907, detecting whether the hidden layer feature vector corresponding to the sample identity feature data also contains other domain difference information. If the hidden layer feature vector contains other domain difference information, it is considered that the iteration needs to continue and step S902 is executed. Otherwise, the identity authentication model in step S909 is generated according to the feature conversion network and the trained identity branch network;

[0128] Step S908, collecting the user's identity feature data through the terminal device;

[0129] Step S909, inputting the identity feature data into the identity authentication model obtained according to steps S901 to 907 to obtain an identity feature vector;

[0130] Step S910 , comparing the identity feature vector with a pre-stored identity tag (original identity feature vector) to determine a verification result.

[0131] For example, the specific optimization steps of the identity authentication model training method in this example embodiment can be as follows:

[0132] Step 1: The identity branch network performs unsupervised domain difference learning, which can be expressed as follows:

[0133]

[0134] Where λ is the weight coefficient. 12 It is a discriminative network, and the last layer uses a softmax activation function. The output dimension of this fully connected layer is the number of potential domain differences k specified a priori. The form of is shown in equation (2):

[0135]

[0136] Among them, α1 and α2 are weight coefficients. B is the batch size, p ik D 12 (G1(P(x i)))'s rth output, and

[0137]

[0138] Step 2: The identity branch network eliminates the learned domain differences, which can be expressed by equation (3):

[0139]

[0140] in is the MSE (mean square error) loss function, 1 is the all-1 vector.

[0141] Step 3: The learning of identity recognition by the identity branch network can be expressed by equation (4):

[0142]

[0143] Among them, S 1f , S y are the set of feature vectors and identity labels in a batch, respectively, and

[0144] S 1f ={f 11 , ..., f 1B},S y ={y1, ..., y B}, f 1i =G1(P(x i ))

[0145] Any deep metric learning loss function can be used, such as contrastive loss, triplet loss, npair loss, angular loss, etc.

[0146] Step 4: The domain branch network performs unsupervised domain difference learning, which can be expressed by equation (5):

[0147]

[0148] Step 5: Eliminating identity information in the domain branch network can be shown by equation (6):

[0149]

[0150] Among them, S 2f , S y are the set of feature vectors and identity labels in a batch, respectively, and

[0151] S 2f={f 21 , ..., f 2B},S y ={y1, ..., y B}, f 2i =G2(P(x i ))

[0152] The purpose is to eliminate identity information, that is, to make the sample differences between different people no greater than the sample differences of the same person. You can directly take - Any existing deep metric learning loss function can also be modified according to the above logic. In this example embodiment, contrastive loss can be used for modification, for example, as shown in equation (7):

[0153]

[0154] It should be noted that the loss function in the above formula may be a cross entropy loss, or one or more of a logistic loss, a mean square loss, a square loss, an l2 norm loss, and an l1 norm loss, and this exemplary embodiment is not limited thereto. And the all-1 vector in formula (3) may also be an all-0 vector, an all-0.5 vector, etc., and this exemplary embodiment does not make any special limitation on this.

[0155] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0156] Furthermore, in this example implementation, an identity verification model training device is also provided. The identity verification model training device can be applied to a server or a terminal device. Fig.10 As shown, the identity verification model training device 1000 may include a sample data acquisition unit 1010, an identity branch network training unit 1020, a domain branch network training unit 1030, and an identity verification model construction unit 1040. Among them:

[0157] The sample data acquisition unit 1010 is used to acquire sample identity feature data and an identity tag corresponding to the sample identity feature data;

[0158] The identity branch network training unit 1020 is used to perform a first learning process on the identity branch network in the pre-established identity authentication model according to the sample identity feature data to complete the training of the identity branch network;

[0159] The domain branch network training unit 1030 is used to perform a second learning process on the domain branch network in the identity verification model according to the sample identity feature data to complete the training of the domain branch network;

[0160] The identity authentication model construction unit 1040 is used to perform a third learning process on the identity branch network through the identity label and the trained domain branch network to construct the identity authentication model according to the trained identity branch network.

[0161] In an exemplary embodiment of the present disclosure, the identity verification model training device 1000 further includes a hidden layer feature vector generation unit, and the hidden layer feature vector generation unit is configured to:

[0162] The sample identity feature data is converted according to the feature conversion network to generate a hidden layer feature vector corresponding to the sample identity feature data.

[0163] In an exemplary embodiment of the present disclosure, the identity branch network includes an identity information extraction network, an identity information discrimination network, and a target loss function;

[0164] The identity branch network training unit 1020 is configured to:

[0165] The identity information extraction network is subjected to unsupervised learning processing through the identity information discrimination network and the target loss function so that the identity information extraction network generates a first attribute vector according to the hidden layer feature vector; wherein the first attribute vector includes identity feature information but does not include domain feature information.

[0166] In an exemplary embodiment of the present disclosure, the domain branch network includes a domain information extraction network, a domain information discrimination network, and a target adversarial loss function;

[0167] The domain branch network training unit 1030 is configured to:

[0168] The domain information extraction network is subjected to unsupervised learning processing through the domain information discrimination network and the target adversarial loss function so that the domain information extraction network generates a second attribute vector according to the hidden layer feature vector; wherein the second attribute vector includes domain feature information but does not include identity feature information.

[0169] In an exemplary embodiment of the present disclosure, the identity verification model building unit 1040 is configured to:

[0170] The identity information extraction network is subjected to supervised learning processing through the identity label and the identity information extraction network is subjected to adversarial learning processing through the trained domain branch network so that the identity information extraction network generates an identity feature vector according to the sample identity feature data.

[0171] In an exemplary embodiment of the present disclosure, the target loss function includes a deep metric learning loss function or a cross entropy loss function; and the target loss function is calculated and processed to generate the target adversarial loss function.

[0172] The specific details of each module or unit in the above-mentioned identity authentication model training device have been described in detail in the corresponding identity authentication model training method, so they will not be repeated here.

[0173] In this example implementation, an identity authentication device is also provided. The identity authentication device can be applied to a server or a terminal device. Fig.11 As shown, the identity authentication device 1100 may include a current feature vector determining unit 1110, an original feature vector determining unit 1120, and an identity authentication passing unit 1130, wherein:

[0174] The current feature vector determination unit 1100 is used to obtain current identity feature data, and input the current identity feature data into a pre-trained identity authentication model to determine a current feature vector corresponding to the current identity feature data;

[0175] The original feature vector determination unit 1120 is used to obtain pre-stored original identity feature data, and input the original identity feature data into the identity verification model to determine the original feature vector corresponding to the original identity feature data;

[0176] The identity verification unit 1130 is configured to determine that the current identity feature data has passed identity verification if the difference between the current feature vector and the original feature vector is less than a preset threshold.

[0177] The specific details of each module or unit in the above-mentioned identity authentication device have been described in detail in the corresponding identity authentication method, so they will not be repeated here.

[0178] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0179] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0180] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for training an identity verification model, characterized in that: include: Obtaining sample identity feature data and an identity tag corresponding to the sample identity feature data; The sample identity feature data is converted according to a feature conversion network in a pre-established identity authentication model to generate a hidden feature vector corresponding to the sample identity feature data; wherein the identity authentication model includes a feature conversion network, an identity branch network and a domain branch network, the identity branch network includes an identity information extraction network, an identity information discrimination network and a target loss function, and the domain branch network includes a domain information extraction network, a domain information discrimination network and a target adversarial loss function; The identity information extraction network is subjected to unsupervised learning processing through the identity information discrimination network and the target loss function so that the identity information extraction network generates a first attribute vector according to the hidden layer feature vector; wherein the first attribute vector includes identity feature information but does not include domain feature information; The domain information extraction network is subjected to unsupervised learning processing by using the domain information discrimination network and the target adversarial loss function so that the domain information extraction network generates a second attribute vector according to the hidden layer feature vector; wherein the second attribute vector includes domain feature information but does not include identity feature information; The identity information extraction network is subjected to supervised learning processing through the identity label and the identity information extraction network is subjected to adversarial learning processing through the trained domain branch network so that the identity information extraction network generates an identity feature vector according to the sample identity feature data.

2. The identity verification model training method according to claim 1, characterized in that: The target loss function includes a deep metric learning loss function or a cross entropy loss function; and the target loss function is calculated and processed to generate the target adversarial loss function.

3. An identity authentication method based on a model trained by the method of claim 1, characterized in that: include: Acquire current identity feature data, and input the current identity feature data into a pre-trained identity authentication model to determine a current feature vector corresponding to the current identity feature data; Obtaining pre-stored original identity feature data, and inputting the original identity feature data into the identity verification model to determine an original feature vector corresponding to the original identity feature data; If the difference between the current feature vector and the original feature vector is less than a preset threshold, it is determined that the current identity feature data passes identity authentication.

4. An identity verification model training device, characterized in that: include: A sample data acquisition unit, used to acquire sample identity feature data and an identity tag corresponding to the sample identity feature data; A hidden layer feature vector generating unit, used for converting the sample identity feature data according to a feature conversion network in a pre-established identity authentication model to generate a hidden layer feature vector corresponding to the sample identity feature data; wherein the identity authentication model includes a feature conversion network, an identity branch network and a domain branch network, the identity branch network includes an identity information extraction network, an identity information discrimination network and a target loss function, and the domain branch network includes a domain information extraction network, a domain information discrimination network and a target adversarial loss function; An identity branch network training unit, configured to perform unsupervised learning processing on the identity information extraction network through the identity information discrimination network and the target loss function so that the identity information extraction network generates a first attribute vector according to the hidden layer feature vector; wherein the first attribute vector includes identity feature information but does not include domain feature information; A domain branch network training unit, configured to perform unsupervised learning processing on the domain information extraction network through the domain information discrimination network and the target adversarial loss function so that the domain information extraction network generates a second attribute vector according to the hidden layer feature vector; wherein the second attribute vector includes domain feature information but does not include identity feature information; The identity authentication model construction unit is used to perform supervised learning processing on the identity information extraction network through the identity label and to perform adversarial learning processing on the identity information extraction network through the trained domain branch network so that the identity information extraction network generates an identity feature vector according to the sample identity feature data.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the identity authentication model training method as described in any one of claims 1 to 2 or the identity authentication method as described in claim 3.

6. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the identity authentication model training method described in any one of claims 1 to 2 or the identity authentication method described in claim 3 by executing the executable instructions.