Speaker verification method and system
The hybrid feature map is generated in speaker verification through a weighted bidirectional feature pyramid network, which solves the problem of insufficient robustness of speaker feature vectors in the existing technology and significantly improves the accuracy of speaker verification.
Patent Information
- Application Number
- CN202111615548.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-12-27
AI Technical Summary
The speaker feature vector generated by the existing technology is not robust enough and cannot effectively capture the complex speaker voice features, resulting in reduced accuracy of speaker verification.
A weighted bidirectional feature pyramid network is used to process the speech to be verified, and feature mapping is performed through the horizontal, top-down and bottom-up paths of the backbone network to generate a mixed third feature map for speaker verification.
It significantly improves the accuracy of speaker verification, can better capture complex relationships in speaker features, and can be easily and seamlessly combined with existing convolutional backbone networks to improve the performance of baseline networks.
Smart Images

Figure CN114283816B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent speech, and in particular to a speaker verification method and system. Background Art
[0002] The task of speaker verification is to determine whether the test speech and the enrollment speech belong to the same speaker. Typically, a speaker verification system consists of two modules: the front-end and the back-end. The front-end is used to extract speaker embeddings from utterances of variable length. The back-end accounts for decisions based on the similarity scores of the embeddings.
[0003] Since the advent of deep learning, neural networks have been highly applied in speaker verification tasks and have gradually become an indispensable part of state-of-the-art systems. Specifically, existing methods utilize deep neural networks as speaker embedding extractors, training them to classify speakers with a cross-entropy loss. Deep learning-based systems usually consist of a frame-level feature extractor, a segment-level embedding aggregator, and a speaker classifier. Given an utterance, a frame-level feature representation is first obtained through the network. Then a pooling layer is used to map the variable-length representation to a fixed low-dimensional embedding by aggregating speaker features in the time domain.
[0004] For example, we can directly concatenate the multi-layer feature maps of the backbone network and then use full connection to convert them into speaker feature vectors, or use a top-down feature pyramid to perform multi-layer feature fusion.
[0005] In the process of implementing the present invention, the inventors found that there are at least the following problems in the related art:
[0006] The speaker feature vectors generated by these technologies are not robust enough. When modeling complex simulated speaker speech, they cannot capture the complex relationships in the modeled speaker features, and the verification accuracy will be reduced. Summary of the invention
[0007] In order to at least solve the problem that the prior art cannot capture the complex relationship in the modeled speaker features, and the accuracy of verification is reduced. In a first aspect, an embodiment of the present invention provides a speaker verification method, comprising:
[0008] The verification speech is processed through a weighted bidirectional feature pyramid network to obtain a feature map;
[0009] Using the feature map as the input of the horizontal layer of the backbone network, and outputting the first mapping feature of the original speech to be verified;
[0010] Using the first mapping feature as an input of a top-down layer of the backbone network, and outputting a fine-grained second feature map of an intermediate layer;
[0011] The first mapping feature and the second feature map are used as inputs of the bottom-up layer of the backbone network, a mixed third feature map is output, and speaker verification is performed through the third feature map.
[0012] In a second aspect, an embodiment of the present invention provides a speaker verification system, including:
[0013] A feature map determination program module is used to process the speech to be verified through a weighted bidirectional feature pyramid network to obtain a feature map;
[0014] A horizontal feature output program module, used to use the feature map as an input of a horizontal layer of a backbone network and output a first mapping feature;
[0015] An intermediate feature output program module, configured to use the first mapping feature as an input of a top-down layer of the backbone network and output a second feature map of an intermediate layer;
[0016] A verification program module is used to use the first mapping feature and the second feature map as inputs of the bottom-up layer of the backbone network, output a mixed third feature map, and perform speaker verification through the third feature map.
[0017] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the speaker verification method of any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention provides a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the speaker verification method of any embodiment of the present invention.
[0019] The beneficial effects of the embodiments of the present invention are that they can be simply and seamlessly combined with the existing convolutional backbone network and can significantly improve the performance of the baseline network, thereby capturing the complex relationships in the modeled speaker features and improving the accuracy of speaker verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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.
[0021] Figure 1is a flow chart of a speaker verification method provided by an embodiment of the present invention;
[0022] Figure 2 It is a system structure diagram of a multi-path feature enhancement network of a speaker verification method provided by an embodiment of the present invention;
[0023] Figure 3 This is a feature enhancement network architecture diagram based on ResNet34 of a speaker verification method provided by an embodiment of the present invention;
[0024] Figure 4 This is a feature enhancement network architecture diagram based on ECAPA TDNN of a speaker verification method provided by an embodiment of the present invention;
[0025] Figure 5 It is a schematic diagram of equal error rates and MinDCF results of different systems on the Voxceleb1 dataset of a speaker verification method provided by an embodiment of the present invention;
[0026] Figure 6 It is a schematic diagram of SE block data in a ResNet-based feature enhancement network of a speaker verification method provided by an embodiment of the present invention;
[0027] Figure 7 It is a schematic diagram of residual connection data in a feature enhancement network based on ECAPA-TDNN in a speaker verification method provided by an embodiment of the present invention;
[0028] Figure 8 is a structural diagram of a speaker verification system provided by an embodiment of the present invention;
[0029] Fig. 9 A schematic diagram of the structure of an embodiment of an electronic device for speaker verification provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] 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.
[0031] like Figure 1 FIG. 1 is a flow chart of a speaker verification method provided by an embodiment of the present invention, comprising the following steps:
[0032] S11: Process the speech to be verified through a weighted bidirectional feature pyramid network to obtain a feature map;
[0033] S12: using the feature map as the input of the horizontal layer of the backbone network, and outputting the first mapping feature of the original speech to be verified;
[0034] S13: using the first mapping feature as the input of the top-down layer of the backbone network, and outputting a fine-grained second feature map of the middle layer;
[0035] S14: Using the first mapping feature and the second feature map as inputs of the bottom-up layer of the backbone network, outputting a mixed third feature map, and performing speaker verification through the third feature map.
[0036] In this embodiment, the method constructs a novel weighted bidirectional feature pyramid network for deep speaker embedding learning, such as Figure 2 As shown, a complete architectural overview of the ResNet (residual network) and ECAPA-TDNN (emphasized channel attention, propagation and aggregation in TDNN) backbone is shown, where the squeeze and excitation-RSE block is translated by SE-ResBlock.
[0037] For step S11, the structure of BiFPN (Bi-Feature Pyramid Networks) is developed from the field of object detection in computer vision. The multi-path feature pyramid network proposed in this method is modified from the structure of BiFPN to be tailored for speaker verification tasks.
[0038] The purpose of the multi-path feature pyramid network is to provide an accurate feature representation, that is, taking the speech to be verified as input, the feature map of each stage of the feature map Fi can be obtained, for example, i=1,...,4, and the first mapping feature of the original speech to be verified is obtained.
[0039] For step S12, the feature map obtained in the above step is used as the input of the horizontal layer of the backbone network, and the feature map F i Apply the horizontal convolution operation as follows:
[0040] L i =Conv(F i ;d i )
[0041] Where Conv is a iTo improve efficiency, this method uses depthwise convolution for convolution operations. i Represents the i-th horizontal convolution output. Thus, the first mapping feature of each stage of the horizontal layer output is obtained.
[0042] For step S13, the top-down layer is fed by the lateral output and the previous top-down features, which will produce a new intermediate feature map Pi:
[0043]
[0044]
[0045] Where P i represents the i-th stage of the top-down path. and are learnable fusion weight parameters that allow the network to learn the importance of each input feature. This method applies softmax to each weight parameter to obtain a normalized value Indicates the importance of each input. Resize is an operator that handles the size mismatch between input features. Bilinear interpolation is used for upsampling and maximum pooling is used for downsampling to obtain a fine-grained second feature map of the middle layer output from the top-down layer.
[0046] For step S14, bottom-up feature fusion is achieved through a bottom-up (bottom-up) path. For the shallowest layer, it receives the lateral output and the top-down features as input. The deepest layer uses the lateral output and the previous bottom-up features as input. The middle layer Ti consists of lateral, top-down and bottom-up features:
[0047]
[0048]
[0049] Among them, T i represents the i-th stage of the bottom-up path. Similarly, and is a learnable fusion weight parameter. is a normalized value between 0 and 1. Resize is a resize operator.
[0050] For the above steps, the method first performs a horizontal convolution operation on the backbone network feature map, and then uses the horizontal output as input from the top-down layer to generate a new intermediate layer feature map, and uses the horizontal and top-down layer outputs as input from the bottom-up layer to generate a new complex fusion feature map as a mixed third feature map. The mixed features of the speaker are extracted from the mixed third feature map; and the speaker verification is performed using the mixed features of the speaker. Speaker verification is performed on the complex fusion feature map, for example, complex speech features to be verified are extracted from the complex fusion feature map, and the speech features of the pre-stored speech corresponding to the locally stored speech to be verified are compared and classified, thereby obtaining the speaker verification result.
[0051] It can be seen from this implementation that it can be simply and seamlessly combined with the existing convolutional backbone network, and the performance of the baseline network can be greatly improved, so as to capture the complex relationships in the modeled speaker features and improve the accuracy of speaker verification.
[0052] As an implementation mode, the backbone network includes a feature enhancement network based on ResNet, and the method includes:
[0053] The feature map is used as the input of the horizontal layer of the ResNet-based feature enhancement network, and four stages of residual features based on squeezing and excitation are output as the first mapping features.
[0054] In this embodiment, based on the feature enhancement network of ResNet, the ResNet of the weighted bidirectional feature pyramid network described in this method is as follows: Figure 2 The left half is the ResNet backbone for deep speaker embedding learning. The architecture details are shown in Figure 3 As shown, it contains a total of four stages, each of which consists of multiple residual layers. Unlike the original ResNet, this method places a SE (Sequeze and Excitation) block after the last BatchNorm layer in each bottleneck of ResNet.
[0055] Each stage produces a feature map with a scaling step of 2. Feature maps are selected from the four stages as the input of the weighted bidirectional feature pyramid network, denoted as {F1, F2, F3, F4}. Figure 2The right half of (a) shows a weighted bidirectional feature pyramid network, including lateral, top-down, and bottom-up paths. The lateral path has four stages, and its output is called {L1, L2, L3, L4}, which is the first mapping feature, and then the top-down (top-down) and bottom-up processing can be continued. The top-down path involves two stages, denoted as {P2, P3}. In addition, the bottom-up path has four stages, denoted as {T1, T2, T3, T4}. The calculation of the cross path L i , P i , T i The above steps have been explained and will not be repeated here.
[0056] As another embodiment, the backbone network further includes a feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neurons, and the method further includes:
[0057] The feature map is used as the input of the feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neural network, and outputs the composite residual features based on squeezing and excitation in three stages;
[0058] The composite residual feature and the one-dimensional convolution feature of the speech to be verified are used as the first mapping feature.
[0059] In this embodiment, for ECAPA-TDNN (based on emphasizing channel attention, propagation, aggregation and delay neural network), as Figure 1 As shown in (b) of Fig. 1, the first four stages of the ECAPA-TDNN backbone are used on the left side to remove multi-layer feature aggregation. The architecture details are shown in Figure 4 As shown. Note that, according to experiments, removing the residual connection leads to better performance. Therefore, SE-Res2Block (Squeeze and Excitation Based Residual Block) does not use residual connections by default.
[0060] That is, the four-stage {F1, F2, F3, F4} consists of one-dimensional convolution and three stages of composite residual features based on squeezing and excitation. Its output is used as the input of the multipath feature enhancement network. Similarly, the weighted bidirectional feature pyramid network includes three paths in the right half. Each path outputs {L1, L2, L3, L4}, {P2, P3} and {T1, T2, T3, T4} respectively. The specific calculation of L i , P i , T i The above steps have been explained and will not be repeated here.
[0061] It can be seen from this implementation that the backbone network selection uses a feature enhancement network based on ResNet and a feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neural networks. Users can choose the corresponding network according to their personal usage scenarios.
[0062] Experimental description of the proposed method is carried out on Voxceleb1&2 datasets. The Voxceleb2 development set containing 5994 speakers and 1092009 utterances is used as training data. For testing, Voxceleb1 is used as evaluation data. Three official trial lists are used for performance measurement. In addition, data augmentation techniques are used to make the system more robust. Additional data samples are generated online using the public MUSAN dataset and RIR dataset for training.
[0063] The input feature is a 40-dimensional Fbank. The frame length is 25ms and the frame shift is 10ms. During training, a block of 300 frames is randomly cropped from an utterance to extract the Fbank features. During testing, a 256-dimensional speaker embedding is extracted for each utterance. The trial scores are calculated using cosine distance. Subsequently, adaptive score normalization (AS-Norm) is used to normalize all the scores. The size of the impostor (fake synthetic speech) group is set to 600. The performance is measured in terms of EER (equal error rate) and minimum detection cost function (MinDCF), set to P target = 0.01 and C FA =C Miss =1.
[0064] This method implements the model described above based on the PyTorch framework. All systems are trained using the Stochastic Gradient Descent (SGD) optimizer with a momentum of 0.9 and a weight decay of 0.0001. Due to memory constraints, the mini-batch size on a single GPU is set to 16. The number of training epochs is fine-tuned between 145 and 165. AAM (Additive Angular Margin)-softmax with a margin of 0.2 and a scale of 32 is used to calculate the loss during training.
[0065] The performance of the baseline system and the FE (feature enhancement) system proposed by this method are shown in Figure 5As shown in Figure 2, ResNet-based and ECAPA-TDNN-based feature enhancement networks are implemented. It can be clearly observed that the proposed architecture significantly outperforms the baseline with only a slight increase in parameters. In particular, the ResNet34 FE system achieves better performance than the state-of-the-art ECAPA-TDNN (C=1024) with more than 50% reduction in parameter size, which demonstrates the effectiveness of the proposed multi-path feature enhancement network.
[0066] For the ResNet-based feature enhancement networks, ResNet18 and ResNet34 were implemented as baselines. The channel number in the feature enhancement network was set to 256. Specifically, after integration with the feature enhancement module, the average relative improvements in EER and MinDCF of the ResNet18 system were 29.5% and 23.9%, respectively. Compared with the ResNet34 baseline, the average relative improvements in EER and MinDCF of the ResNet34 FE system were 22.4% and 18.2%, respectively. For ECAPA-TDNN, this method re-implemented two models (C=256 and C=512). The number of channels in the backbone network and the feature enhancement network were set to 256 or 512, respectively, which would produce four ECPA-TDNN-FE systems with different channel configurations as follows Figure 5 The ECAPA-TDNNFE system also achieves similar improvements over the ECAPA-TDNN baseline.
[0067] We attribute the success of our multi-path feature augmented network to the presence of different levels of speaker information at different network layers. Shallow layers of the neural network contain raw speaker information, while deeper layers contain more abstract and fine-grained speaker information. It is not enough to extract speaker embeddings using only the deepest feature map, which will lose most of the underlying speaker information. Our feature augmented network can produce more robust and discriminative feature representations by flexibly aggregating low-level and high-level speaker information from different layers.
[0068] like Figure 6 As shown in Figure 1, this method analyzes the effect of SE blocks in ResNet-based feature enhancement networks. For ResNet18-FE and ResNet34-FE, it can be clearly seen that EER and MinDCF become worse without SE blocks. SE blocks have the ability to increase the receptive field and fuse information from different channels. By integrating SE blocks with ResNet, it is beneficial to aggregate frame-level and global utterance-level information for speaker verification tasks.
[0069] To measure the impact of residual connections, experiments were run to introduce residual connections in the ECAPA-TDNN-based feature enhancement network. By default, the ECAPA-TDNN-FE system does not use residual connections in the experiments. Figure 7 It can be seen that when residual connections are added, the EER and MinDCF of the four different ECAPA-TDNN-FE systems increase by 5.7%–8.2% and 4.1%–8.7% on average, respectively. It is assumed that it is related to optimization. During training, the ECAPA-TDNN-based feature enhancement network with residual connections may enter the local minimum more easily than the network without residual connections, thereby discovering deeper features.
[0070] In general, the feature enhancement network of the lateral layer, top-down layer, and bottom-up layer of the backbone network of this method can be seamlessly integrated with one-dimensional and two-dimensional deep convolutional embedding extractors for speaker verification tasks. Experiments on the Voxceleb dataset demonstrate the effectiveness and efficiency of this method, which can significantly improve the baseline with only a slight increase in parameters. The EER of the best system on the datasets VoxCeleb-O, VoxCeleb-E, and VoxCeleb-H is 0.76%, 1.01%, and 1.89% higher than that of ECAPA-TDNN (C=1024), respectively, and the parameter size is reduced by more than 50%.
[0071] like Figure 8 FIG. 1 is a schematic diagram of the structure of a speaker verification system provided by an embodiment of the present invention. The system can execute the speaker verification method described in any of the above embodiments and is configured in a terminal.
[0072] A speaker verification system 10 provided in this embodiment includes: a feature map determination program module 11, a lateral feature output program module 12, an intermediate feature output program module 13 and a verification program module 14.
[0073] Among them, the feature map determination program module 11 is used to process the speech to be verified through a weighted bidirectional feature pyramid network to obtain a feature map; the horizontal feature output program module 12 is used to use the feature map as the input of the horizontal layer of the backbone network, and output the first mapping feature of the original speech to be verified; the intermediate feature output program module 13 is used to use the first mapping feature as the input of the top-to-bottom layer of the backbone network, and output the fine-grained second feature map of the intermediate layer; the verification program module 14 is used to use the first mapping feature and the second feature map as the input of the bottom-to-top layer of the backbone network, output a mixed third feature map, and perform speaker verification through the third feature map.
[0074] Furthermore, the backbone network includes a feature enhancement network based on ResNet, and the lateral feature output program module is used to:
[0075] The feature map is used as the input of the horizontal layer of the ResNet-based feature enhancement network, and four stages of residual features based on squeezing and excitation are output as the first mapping features.
[0076] Furthermore, the backbone network also includes a feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neurons, and the lateral feature output program module is also used to:
[0077] The feature map is used as the input of the feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neural network, and outputs three-stage composite residual features based on squeezing and excitation;
[0078] The composite residual feature and the one-dimensional convolution feature of the speech to be verified are used as the first mapping feature.
[0079] Furthermore, the verification program module is used to:
[0080] extracting a mixed feature of the speaker from the mixed third feature map;
[0081] Speaker verification is performed using the mixed features of the speaker.
[0082] The embodiment of the present invention further provides a non-volatile computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the speaker verification method in any of the above method embodiments;
[0083] As an implementation mode, the non-volatile computer storage medium of the present invention stores computer executable instructions, and the computer executable instructions are configured as follows:
[0084] The verification speech is processed through a weighted bidirectional feature pyramid network to obtain a feature map;
[0085] Using the feature map as the input of the horizontal layer of the backbone network, and outputting the first mapping feature of the original speech to be verified;
[0086] Using the first mapping feature as an input of a top-down layer of the backbone network, and outputting a fine-grained second feature map of an intermediate layer;
[0087] The first mapping feature and the second feature map are used as inputs of the bottom-up layer of the backbone network, a mixed third feature map is output, and speaker verification is performed through the third feature map.
[0088] As a non-volatile computer-readable storage medium, it can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present invention. One or more program instructions are stored in the non-volatile computer-readable storage medium, and when executed by the processor, the speaker verification method in any of the above method embodiments is executed.
[0089] Fig. 9 FIG. 1 is a schematic diagram of the hardware structure of an electronic device of a speaker verification method provided by another embodiment of the present application. Fig. 9 As shown, the device includes:
[0090] One or more processors 910 and memory 920, Fig. 9 A processor 910 is taken as an example. The device of the speaker verification method may further include: an input device 930 and an output device 940.
[0091] The processor 910, the memory 920, the input device 930 and the output device 940 may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0092] The memory 920 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the speaker verification method in the embodiment of the present application. The processor 910 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 920, that is, the speaker verification method in the above method embodiment is implemented.
[0093] The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 920 may optionally include a memory remotely arranged relative to the processor 910, and these remote memories may be connected to the mobile device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0094] The input device 930 can receive input digital or character information. The output device 940 can include a display device such as a display screen.
[0095] The one or more modules are stored in the memory 920, and when executed by the one or more processors 910, the speaker verification method in any of the above method embodiments is executed.
[0096] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.
[0097] The non-volatile computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the non-volatile computer-readable storage medium may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the non-volatile computer-readable storage medium may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0098] An embodiment of the present invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the speaker verification method of any embodiment of the present invention.
[0099] The electronic device of the embodiment of the present application exists in various forms, including but not limited to:
[0100] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.
[0101] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDAs, MIDs, and UMPC devices, such as tablet computers.
[0102] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.
[0103] (4) Other electronic devices with data processing functions.
[0104] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include" and "comprise" include not only those elements, but also other elements not explicitly listed, or also include elements inherent to such processes, methods, articles or equipment. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or equipment that includes the elements.
[0105] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A speaker verification method, processing the verification speech through a weighted bidirectional feature pyramid network, comprising: ResNet based on deep speaker embedding learning processes the verification speech, which includes four stages. Each stage consists of multiple residual layers, and each stage has a feature map to obtain feature maps {F1, F2, F3, F4} of four stages; Taking the feature map {F1, F2, F3, F4} as the input of the horizontal layer of the backbone network of the weighted bidirectional feature pyramid network, the horizontal layer includes four stages to output the first mapping feature {L1, L2, L3, L4} of the original speech to be verified; The first mapping feature is used as the input of the top-down layer of the backbone network, which involves two stages, using a learnable fusion weight parameter w P For L i and P i-1 Fusion is performed to output the fine-grained second feature map {P2, P3} of the intermediate layer; P i represents the i-th stage of the top-down path, L i Represents the i-th horizontal convolution output; The first mapping feature and the second feature map are used as the bottom-up layer input of the backbone network, and the learnable fusion weight parameter w is used. T For L i , P i and T i-1 The fusion is performed to output a mixed third feature map {T1, T2, T3, T4}, and speaker verification is performed through the third feature map; T i represents the i-th stage of the bottom-up path.
2. The method according to claim 1, wherein: The first mapping feature is a residual feature based on squeezing and excitation.
3. The method according to claim 1, wherein: The backbone network also includes a feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neurons, and the method also includes: The feature map is used as the input of the feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neural network, and outputs three-stage composite residual features based on squeezing and excitation; The composite residual feature and the one-dimensional convolution feature of the speech to be verified are used as the first mapping feature.
4. The method according to claim 1, wherein: The performing speaker verification by the third feature mapping comprises: extracting a mixed feature of the speaker from the mixed third feature map; Speaker verification is performed using the mixed features of the speaker.
5. A speaker verification system for processing speech to be verified through a weighted bidirectional feature pyramid network; the system comprising: A feature map determination program module is used to process the speech to be verified based on ResNet learned by deep speaker embedding, which includes four stages, each stage is composed of multiple residual layers, and each stage has a feature map to obtain feature maps {F1, F2, F3, F4} of four stages; A horizontal feature output program module, used to use the feature map {F1, F2, F3, F4} as the input of the horizontal layer of the backbone network of the weighted bidirectional feature pyramid network, the horizontal layer includes four stages to output the first mapping feature {L1, L2, L3, L4} of the original speech to be verified; The intermediate feature output program module is used to use the first mapping feature as the input of the top-down layer of the backbone network, the top-down layer involves two stages, using a learnable fusion weight parameter w P For L i and P i-1 Fusion is performed to output the fine-grained second feature map {P2, P3} of the intermediate layer; P i represents the i-th stage of the top-down path, L i Represents the i-th horizontal convolution output; A verification program module is used to use the first mapping feature and the second feature map as the input of the bottom-up layer of the backbone network, using a learnable fusion weight parameter w T For L i , P i and T i-1 The fusion is performed to output a mixed third feature map {T1, T2, T3, T4}, and speaker verification is performed through the third feature map; T i represents the i-th stage of the bottom-up path.
6. The system according to claim 5, wherein: The first mapping feature is a residual feature based on squeezing and excitation.
7. The system according to claim 5, wherein: The backbone network also includes a feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neurons, and the lateral feature output program module is also used to: The feature map is used as the input of the feature enhancement network based on emphasizing channel attention, propagation, aggregation and delay neural network, and outputs three-stage composite residual features based on squeezing and excitation; The composite residual feature and the one-dimensional convolution feature of the speech to be verified are used as the first mapping feature.
8. The system according to claim 5, wherein: The verification program module is used to: extracting a mixed feature of the speaker from the mixed third feature map; Speaker verification is performed using the mixed features of the speaker.
9. An electronic device, comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 4.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Garbage image classification method for intelligent garbage collection and transportation vehicle
CN113743404A
Self-knowledge distillation speaker verification model training method and system
CN114283819A
