Speaker verification method and system

Through the combination of multi-layer perceptual blocks and statistical pooling layers, the deviation of the speaker verification model in processing local and global information is solved, the accuracy of speaker verification is improved, and the features in the audio can be better captured.

CN114283817BActive Publication Date: 2024-08-23AISPEECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111617782.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-08-23
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

Existing speaker verification models have biases in processing local information and global information, resulting in inaccurate verification of speaker speech.

Method used

Multi-layer perceptual blocks are used to model global information of time and frequency two-dimensional feature fragments, and combined with statistical pooling layers to determine speaker embeddings with global and local information for speaker verification.

Benefits of technology

By simultaneously modeling local and global information, the accuracy of speaker verification is improved and global features and local features in audio can be better captured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114283817B
    Figure CN114283817B
Patent Text Reader

Abstract

The embodiment of the present invention provides a speaker verification method. The method includes: pre-segmenting the feature graphs of the time and frequency dimensions of the audio to be verified to obtain multiple feature segments, wherein the multiple feature segments include: feature segments of one-dimensional time features, and feature segments of two-dimensional time and frequency features; using a multi-layer perception block to determine the global information of the feature segments of the two-dimensional time and frequency features, and determine the local information of the feature segments of the one-dimensional time features; using a statistical pooling layer to determine the speaker embedding with global information and local information, and using the speaker embedding to perform speaker verification. The embodiment of the present invention also provides a speaker verification system. The speaker system based on the multi-layer perceptron in the embodiment of the present invention can simultaneously model local and global information, and has advantages in capturing global features and local features in the audio to be verified, thereby improving the accuracy of speaker verification.
Need to check novelty before this filing date? Find Prior Art

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] Speaker verification is a task that uses speech as a biometric to verify the identity of a speaker. In recent years, end-to-end deep embedding learning methods have been widely used in speaker verification tasks and have achieved good results. Typically, the speaker verification model architecture consists of three deep neural network components, including a frame-level feature extractor, an utterance-level representation aggregator, and a speaker classifier.

[0003] In order to further improve the performance of speaker verification, models with different types of convolutional network structures are used, such as X-vector, R-vector, and S-vector, where X-vector is a speaker verification system composed of multiple layers of one-dimensional convolutions, R-vector is a speaker verification system composed of multiple layers of two-dimensional convolutions, and S-vector is a speaker verification system with transformer as the main architecture, mainly based on the self-attention mechanism.

[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the related art:

[0005] X-vector and R-vector are mainly based on convolutional networks. Due to the limitation of receptive field, they are good at modeling local information, but tend to ignore global information. S-vector based on self-attention can model global information, but tends to ignore local information. This makes these models easy to ignore the global or local information of speaker characteristics, and they are not accurate enough when verifying the speech of speakers with more important local or global features. Summary of the invention

[0006] In order to at least solve the problem that the global information or local information of speaker characteristics is easily ignored in the prior art, and the speech of a speaker whose local characteristics or global characteristics are more important is not accurate enough. In a first aspect, an embodiment of the present invention provides a speaker verification method, comprising:

[0007] Pre-segmenting the feature graphs of the time and frequency dimensions of the audio to be verified to obtain a plurality of feature segments, wherein the plurality of feature segments include: a feature segment of one-dimensional time features, and a feature segment of two-dimensional time and frequency features;

[0008] Determine the global information of the feature segment of the two-dimensional features of time and frequency by using a multi-layer perception block, and determine the local information of the feature segment of the one-dimensional features of time;

[0009] A statistical pooling layer is used to determine a speaker embedding containing the global information and the local information, and the speaker embedding is used to perform speaker verification.

[0010] In a second aspect, an embodiment of the present invention provides a speaker verification system, including:

[0011] A feature segmentation program module is used to pre-segment the feature graph of the time and frequency dimensions of the audio to be verified to obtain a plurality of feature segments, wherein the plurality of feature segments include: a feature segment of one-dimensional time features, and a feature segment of two-dimensional time and frequency features;

[0012] An information determination program module, used to determine the global information of the feature segment of the two-dimensional features of time and frequency by using a multi-layer perception block, and to determine the local information of the feature segment of the one-dimensional features of time;

[0013] A speaker verification program module is used to determine a speaker embedding containing the global information and the local information by using a statistical pooling layer, and perform speaker verification by using the speaker embedding.

[0014] 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.

[0015] 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.

[0016] The beneficial effect of the embodiments of the present invention is that the multi-layer perceptron-based speaker system can simultaneously model local and global information, and has advantages in capturing global features and local features in the audio to be verified, thereby improving the accuracy of speaker verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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.

[0018] Figure 1 is a flow chart of a speaker verification method provided by an embodiment of the present invention;

[0019] Figure 2 This is a speaker verification network architecture diagram based on a multi-layer perceptron in a speaker verification method provided by an embodiment of the present invention;

[0020] Figure 3 is a schematic diagram of the results of different supplementary methods of a speaker verification method provided by an embodiment of the present invention;

[0021] Figure 4 is a schematic diagram of results of different block sizes of a speaker verification method provided by an embodiment of the present invention;

[0022] Figure 5 is a schematic diagram of the results of different numbers of MLP blocks of a speaker verification method provided by an embodiment of the present invention;

[0023] Figure 6 is a schematic diagram of comparison results between a speaker verification method provided by an embodiment of the present invention and other speaker verification systems;

[0024] Figure 7 This is a schematic diagram of the result of fusing different systems of a speaker verification method provided by an embodiment of the present invention with ECAPA-TDNN;

[0025] Figure 8 is a structural diagram of a speaker verification system provided by an embodiment of the present invention;

[0026] 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

[0027] 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.

[0028] 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:

[0029] S11: pre-segmenting the feature graphs of the time and frequency dimensions of the audio to be verified to obtain a plurality of feature segments, wherein the plurality of feature segments include: a feature segment of one-dimensional time features, and a feature segment of two-dimensional time and frequency features;

[0030] S12: using a multi-layer perception block to determine the global information of the feature segment of the two-dimensional features of time and frequency, and to determine the local information of the feature segment of the one-dimensional features of time;

[0031] S13: Determine the speaker embedding containing the global information and the local information by using a statistical pooling layer, and perform speaker verification by using the speaker embedding.

[0032] In this embodiment, the structure of the method is as follows Figure 2 As shown in the figure, the whole includes: Pre-Patch pre-segmentation block (or pre-segmentation module), MLP Block multi-layer perception block (or multi-layer perception module), Statistic Pooling statistical pooling layer, and classifier module. The pre-patch part uses a sliding window to aggregate adjacent information and cut the input into segments of equal length. MLP block is the most important part of this method, which consists of two Mixer Blocks of time dimension and feature dimension, modeling at the time and feature levels respectively. Finally, the Statistic pooling layer is used to pool the sequence into a fixed-length speaker embedding.

[0033] For step S11, stacking each training frame with its left and right context frames can provide better performance than a single frame. Inspired by this, the pre-segmentation module of this method encodes the neighbor information. Figure 2 As shown on the left, the input X is a feature map whose dimensions consist of time and frequency. Then, the feature map can be split into overlapping feature segments using a sliding window. Finally, all feature segments are flattened into embeddings and encoded into a series of fixed-dimensional embeddings, which serve as input to the multi-layer perception block.

[0034] In this method, two methods of patching (introducing local and global) features are proposed: time 1D features and time and frequency 2D features. Patch 1D means splitting the feature map in the time dimension and stacking the frames with their neighboring content. The feature map is regarded as an image and split into patch 2D (time and frequency 2D features) feature fragments in the time dimension and frequency dimension.

[0035] For step S12, MLP-SVNet (Multi-layer Perception-Speaker Verification Network) is mainly composed of multiple MLP blocks of the same size, each of which consists of two mixer blocks for modeling the time and frequency information of the signal. where T and F are the time and frequency dimensions respectively.

[0036] As an implementation method, the first hybrid block is used to perform global information modeling on the feature segments of the two-dimensional features of time and frequency to obtain global information, and the second hybrid block is used to perform local information modeling on the one-dimensional features of time to obtain local information of adjacent frame stacks.

[0037] The first hybrid block and the second hybrid block are composed of: two dense layers, a residual connection layer and a Gaussian error linear unit.

[0038] In this embodiment, if Figure 2 (middle), the first mixing block is the temporal mixing block. It applies a dense transformation on the time dimension of the input. Since the time dimension is the column of the feature map, a transpose operation is added before and after the temporal mixing block for ease of implementation. The second is the mixing block (frequency), which applies a dense transformation on the frequency dimension to mix the frequency features.

[0039] For each hybrid block, it contains two dense layers, a residual connection layer and a Gaussian error linear unit, such as Figure 2 (right) As mentioned above, the MLP (Multi-layer Perception) block can be written as follows:

[0040] Y=Mixer((Mixer(X T )) T )

[0041] in T represents the transpose operation that swaps the time and frequency dimensions. And, the mixer is defined as follows:

[0042] Mixer(X)=X+W2σ(W1LN(X))

[0043] Among them, σ is the function of GELU (Gaussian Error Linear Unit) and LN represents layer normalization. W1 and W2 represent the transformation matrices of the two dense layers. In addition, each MLP block has the same size of input. This method attempts a pyramid structure in which deeper blocks have lower resolution and higher frequency, but the results are not very good. In addition, the multi-layer perception-speaker verification network does not use any position embedding because the MLP block is sensitive to the order of the input tokens. The feature segments of the two-dimensional features of time and frequency, as well as the feature segments of the one-dimensional features of time, are processed frame by frame through the above-mentioned multi-layer perception block to obtain the global and local information of the audio to be verified.

[0044] For step S13, speaker classification is performed using global information and local information. In order to explicitly enhance the similarity of intra-class samples and the diversity of inter-class samples, the speaker embedding is densely classified using the softmax loss function of AAM (Additive Angular Margin):

[0045]

[0046] in, θ j,i is the column vector W j With embedding x i The angle between j and x i are all normalized. s is the scale factor, and m is the hyperparameter for controlling the margin. Thus, it is determined whether the feature category of the audio to be verified is the same as that of the pre-stored speaker audio, thereby obtaining the speaker verification result of the audio to be verified.

[0047] It can be seen from this implementation that the multi-layer perceptron-based speaker system can model local and global information simultaneously, and has advantages in capturing global and local features in the audio to be verified, thereby improving the accuracy of speaker verification.

[0048] To illustrate the proposed method, the performance of the multi-layer perception-speaker verification network is evaluated using the VoxCeleb dataset. The VoxCeleb2 development set is used for training. It includes 1,092,009 speeches from 5,994 speakers extracted from YouTube videos. To generate additional training samples and increase the diversity of the data, online data augmentation is performed using the MUSAN and RIR datasets. The noise types in MUSAN include ambient noise, music, TV, and babble noise of background additive noise. The augmented data is generated by mixing the noise with the original speech. For reverberation, convolution operations are performed using 40,000 simulated room impulse responses from the RIR dataset. During training, it is decided whether to augment each sample with a probability of 0.6.

[0049] A 40-dimensional filter bank with a 25ms window and 10ms shift is used as acoustic features. All multi-layer perception-speaker verification networks are trained on 300-frame chunks of speech features. During testing, each utterance is first split into multiple chunks of 300 frames. Then, the embedding of each utterance is obtained by averaging the embeddings extracted from these chunks.

[0050] During the training process, the multi-layer perception-speaker verification network is optimized with momentum of 0.9 and weight decay of 1e-4. In addition, in order to obtain better performance, AAM Softmax is used as the loss function in this method. The scaling parameter and the margin of AAM are set to 32 and 0.2 respectively. The whole training process will last for 165 epochs, while the learning rate will be exponentially decreased from 0.1 to 1e-5. The training is parallelized on 4 GPUs (graphics processing unit) and the batch size is set to 64.

[0051] This method investigates different patching methods in MLP-SVNet (Multi-layer Perception-Speaker Verification Network). The results are as follows Figure 3 As shown in Figure 2, it can be found that among all the results, patching 1D achieves the best performance in the text-independent speaker verification task. The results show that stacking frames with their neighboring content can better aggregate local information and bring significant performance gains. However, this phenomenon does not appear in the patching 2D method, which means that splitting along the frequency dimension is not conducive to extracting good speaker information.

[0052] As mentioned above, patching 1D outperforms other patching methods with the lowest EER (Equal Error Rate). Figure 4 The effect of patch size is optimized as shown in the figure. According to the results, it is found that it is necessary to introduce some local information through the patch method, but too large a patch size will affect the performance.

[0053] In the experiment, we also analyzed the effect of the number of MLP blocks on MLP-SVNet. The EER results of different block numbers are shown in Figure 2. Figure 5 As shown in Figure 2. As can be seen, the increase in the number of blocks only brings a slight improvement, and MLP-SVNet can achieve comparable performance even when only a few blocks are used. This is due to the superior ability of MLP SVNet to model global information. Using the temporal mixer block, the global information can be well aggregated and mixed.

[0054] like Figure 6 As shown, an overview of the performance of other speaker verification systems and the MLP-SVNet system of this method is given. The results show that the performance of the MLP-SVNet of this method is significantly better than most traditional systems, except for the state-of-the-art ECAPA-TDNN (emphasized channel attention, propagation and aggregation in TDNN) system, which has a more specialized design to exploit multi-scale information. The results show that compared with other convolutional or self-attention based models, the MLP model has fewer induced biases and more trainable parameters, and is superior in capturing long-distance dependencies and local features.

[0055] Since our MLP-SVNet is completely based on MLP, its architecture is very different from convolutional or self-attention based models. Figure 7The results of different fusion systems are shown in Figure 2. The results show that the fusion of ECAPA-TDNN and MLP-SVNet provides the most significant performance gain, which indicates that this method can produce the most complementary speaker embeddings compared to X-vector, R-vector, and S-vector.

[0056] In summary, this method proposes a new multi-layer perceptron based speaker verification network (MLP-SVNet) that does not use any convolution or self-attention mechanism. It applies MLP across time or frequency and models both local and global information. Experimental results show that MLP-SVNet can effectively process X-vector, R-vector and S-vector. The results show that MLP-SVNet has advantages in capturing long-term dependencies and local features compared to other models. In addition, thanks to the completely different architecture of MLP SVNet, the system performance can be further improved.

[0057] 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.

[0058] A speaker verification system 10 provided in this embodiment includes: a feature segment segmentation program module 11 , an information determination program module 12 and a speaker verification program module 13 .

[0059] Among them, the feature segmentation program module 11 is used to pre-segment the feature graphs of the time and frequency dimensions of the audio to be verified to obtain multiple feature segments, wherein the multiple feature segments include: feature segments of one-dimensional time features, and feature segments of two-dimensional time and frequency features; the information determination program module 12 is used to use a multi-layer perception block to determine the global information of the feature segments of the two-dimensional time and frequency features, and determine the local information of the feature segments of the one-dimensional time features; the speaker verification program module 13 is used to use a statistical pooling layer to determine the speaker embedding with global information and local information of the global information and the local information, and use the speaker embedding to perform speaker verification.

[0060] Further, each layer of the multi-layer perception block includes a first mixed block and a second mixed block;

[0061] The information determination program module is used to:

[0062] The first hybrid block is used to perform global information modeling on the feature segments of the two-dimensional features of time and frequency to obtain global information, and the second hybrid block is used to perform local information modeling on the one-dimensional features of time to obtain local information of adjacent frame stacks.

[0063] Furthermore, the speaker verification program module is used to:

[0064] The speaker embeddings are densely classified by a softmax loss function with an additional corner margin to enhance the intra-class sample similarity and inter-class sample diversity of each category for classification.

[0065] 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;

[0066] 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:

[0067] Pre-segmenting the feature graphs of the time and frequency dimensions of the audio to be verified to obtain a plurality of feature segments, wherein the plurality of feature segments include: a feature segment of one-dimensional time features, and a feature segment of two-dimensional time and frequency features;

[0068] Determine the global information of the feature segment of the two-dimensional features of time and frequency by using a multi-layer perception block, and determine the local information of the feature segment of the one-dimensional features of time;

[0069] A statistical pooling layer is used to determine a speaker embedding containing the global information and the local information, and the speaker embedding is used to perform speaker verification.

[0070] 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.

[0071] 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:

[0072] 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.

[0073] 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.

[0074] 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.

[0075] 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.

[0076] 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.

[0077] 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.

[0078] 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.

[0079] 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.

[0080] 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.

[0081] The electronic device of the embodiment of the present application exists in various forms, including but not limited to:

[0082] (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.

[0083] (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.

[0084] (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.

[0085] (4) Other electronic devices with data processing functions.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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, comprising: Pre-segmenting the feature maps of the time and frequency dimensions of the audio to be verified to obtain a plurality of feature segments, wherein the plurality of feature segments include: a feature segment of a one-dimensional time feature, and a feature segment of a two-dimensional time and frequency feature; the feature segment of the one-dimensional time feature represents segmenting the feature map in the time dimension and stacking the frame with its adjacent content, and the feature segment of the two-dimensional time and frequency feature represents segmentation in the time dimension and the frequency dimension; Determine the global information of the feature segment of the two-dimensional features of time and frequency by using a multi-layer perception block, and determine the local information of the feature segment of the one-dimensional features of time; Determining a speaker embedding with the global information and the local information using a statistical pooling layer, and performing speaker verification using the speaker embedding; Each layer of the multi-layer perception block includes a first hybrid block and a second hybrid block; the first hybrid block and the second hybrid block are composed of: two dense layers, a residual connection layer and a Gaussian error linear unit; The first hybrid block is used to perform global information modeling on the feature segments of the two-dimensional features of time and frequency to obtain global information, and the second hybrid block is used to perform local information modeling on the one-dimensional features of time to obtain local information of adjacent frame stacks.

2. The method according to claim 1, wherein: The using the speaker embedding to perform speaker verification comprises: The speaker embeddings are densely classified by a softmax loss function with an additional corner margin to enhance the intra-class sample similarity and inter-class sample diversity of each category for classification.

3. A speaker verification system, comprising: The feature segmentation program module is used to pre-segment the feature map of the time and frequency dimensions of the audio to be verified to obtain multiple feature segments, wherein the multiple feature segments include: feature segments of one-dimensional time features, and feature segments of two-dimensional time and frequency features; the feature segments of the one-dimensional time features represent segmenting the feature map in the time dimension and stacking the frame with its adjacent content, and the feature segments of the two-dimensional time and frequency features represent segmentation in the time dimension and the frequency dimension; An information determination program module, used to determine the global information of the feature segment of the two-dimensional features of time and frequency by using a multi-layer perception block, and to determine the local information of the feature segment of the one-dimensional features of time; A speaker verification program module, configured to determine a speaker embedding with the global information and the local information using a statistical pooling layer, and perform speaker verification using the speaker embedding; Each layer perception block of the multi-layer perception block includes a first hybrid block and a second hybrid block; the first hybrid block and the second hybrid block are composed of: two dense layers, a residual connection layer and a Gaussian error linear unit; The information determination program module is used to: The first hybrid block is used to perform global information modeling on the feature segments of the two-dimensional features of time and frequency to obtain global information, and the second hybrid block is used to perform local information modeling on the one-dimensional features of time to obtain local information of adjacent frame stacks.

4. The system according to claim 3, wherein: The speaker verification program module is used to: The speaker embeddings are densely classified by a softmax loss function with an additional corner margin to enhance the intra-class sample similarity and inter-class sample diversity of each category for classification.

5. 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 claim 1 or 2.

6. 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 according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • Method and system for detecting voice spoofing attack of speakers on basis of deep learning

    CN105869630A

  • Sound feature rapid extraction method based on global-local windowing

    CN112908340A

  • Speaker verification method and system

    CN114155866A

  • Lightweight intelligent fault diagnosis method and system based on Shenchang differential equation

    CN115270882A

  • Conformer-based speaker verification method and system

    CN117253490A