Speaker labeling device, speaker labeling method, and program

The extension of VBx to MS-VBx addresses the challenge of overlapping voices by employing a hidden Markov model with Gaussian functions for each speaker, significantly improving diarization accuracy and speaker counting in conversations with multiple speakers.

WO2024201995A1PCT designated stage expired Publication Date: 2024-10-03NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/013520
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Current speaker diarization techniques, such as VBx, assume a single speaker per segment, failing to effectively handle overlapping voices in conversations, which is a common scenario in normal conversations.

Method used

The extension of VBx to handle multi-stream speaker embedding vectors, referred to as MS-VBx, uses a hidden Markov model with state output probabilities as products of Gaussian functions for each speaker, enabling the processing of overlapping speakers by initializing and estimating the HMM parameters for each segment, thereby improving diarization performance.

Benefits of technology

MS-VBx enhances diarization accuracy and speaker counting precision compared to traditional methods like cAHC, effectively handling overlapping speakers and improving overall performance in multi-stream speaker embedding vector clustering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023013520_03102024_PF_FP_ABST
    Figure JP2023013520_03102024_PF_FP_ABST
Patent Text Reader

Abstract

An extension of VBx is proposed in order to enable processing of a multi-stream speaker embedding vector. To this end, a speaker labeling device according to the present disclosure utilizes a hidden Markov model in which a speaker embedding vector sequence serves as observation information and a speaker label sequence serves as a hidden state of which the elements consist of combinations of speakers within an audio signal. The speaker labeling device includes a hidden Markov model initialization unit that initializes a hidden Markov model in which a state output probability is expressed as the product of Gaussian functions for each speaker.
Need to check novelty before this filing date? Find Prior Art

Description

Speaker labeling device, speaker labeling method, and program

[0001] The disclosed technology relates to a technology for estimating who is speaking, where they are speaking, and what part of the speech is being spoken by multiple people. This technology is called "speaker diarization (SD)."

[0002] In the following description, it will be stated that various variables are vectors, matrices, etc., but special notations such as boldface and vector symbols will be omitted.

[0003] One way to perform speaker diarization is to divide the input speech signal into short segments, extract a speaker embedding vector from each segment, and cluster these speaker embedding vectors to identify speakers and assign a speaker label to each segment. This approach is called speaker embedding vector clustering (VC). A speaker label is an identifier that uniquely identifies a speaker.

[0004] VBx, a clustering algorithm for VC, is based on variational Bayesian estimation and uses a hidden Markov model (HMM) to model the time evolution of speakers in a conversation (i.e., the time evolution of speaker embedding vectors).

[0005] Figure 1 shows the topology of the VBx HMM for three speakers (A, B, C). 201, 202, and 203 represent the states where the speakers are A, B, and C, respectively, and 204 is a non-output node. loop is the transition probability to the same speaker (state) and is an adjustable parameter. (1-P loop ) is the probability of speaker change, which corresponds to the transition probability to a non-output node. From a non-output node, the state immediately transitions to one of A, B, or C with probability π A , π B , π C Therefore, the transition probability p(s|s') from speaker s' to s is given by equation (1). where δ ss’ is the Kronecker delta. sis estimated from the input X, along with Y and Z, which will be described later.

[0006] The HMM of VBx can be written as equation (2). where X={x 1 ,...,x T} is a sequence of x-vectors, Z={z 1 ,...,z T} is the sequence of speaker labels, T is the total number of segments to be analyzed, Y={y 1 ,...,y S} is the set of latent variables related to the speaker, and S is the number of HMM states. The HMM states are associated with the speaker, and the state output probability p(x t |z t ) is modeled using a Gaussian function (normal distribution). where I is the identity matrix and N(x t ;Vy s ,I) is a vector variable x t , mean vector Vy s , and the Gaussian function of the covariance matrix I. VBx is used to train a probabilistic linear discriminant analysis (PLDA) model using the speaker embedding vectors extracted from the training data, and Vy is obtained from the trained PLDA model. s is derived and used as the parameter of the Gaussian function. t |z t-1 ) is as shown in equation (1). y s The probability distribution of is the standard normal distribution (equation (4)).

[0007] Now, the problem with the VC approach is that it assumes that there is only one active speaker in a segment (no overlapping voices), which is not the case in normal conversation.

[0008] To enable diarization even when speech overlaps within a segment, we proposed a combination of end-to-end neural diarization (EEND) and VC (EEND-VC). Figure 2 provides an overview of the operation of EEND-VC.

[0009] For example, a speech signal 10 superimposed by three speakers A, B, and C is input to the EEND-VC. First, the speech signal is divided into segments (here, t=1 and t=2), and speech features S t Extract.

[0010] Using neural networks t The number of streams for a speaker is estimated from c = 1 and c = 2. In the example of Fig. 2, there are two streams for each segment.

[0011] Then, a neural network is used to estimate the speaker activity a c t (when it was spoken in the segment) and speaker vector x c t (which indicates the speaker's characteristics) is calculated.

[0012] The speaker vectors are clustered as x c t Group the following.

[0013] Finally, x c t Clustering results and speaker activity a c t As a result, information 11 is obtained that separates "who" and "when" the utterance was made.

[0014] This concludes the outline of how EEND-VC works. EEND-VC extends traditional clustering approaches, such as K-means and AHC, with constraints to handle multi-stream speaker embedding vectors.

[0015] F. Landini, J. Profant, M. Diez, and L. Burget, “Bayesian HMMclustering of x-vector sequences (VBx) in speaker diarization: Theory, implementation and analysis on standard tasks,” Computer Speech & Language, vol. 71, p. 101254, 2022.

[0016] Although VBx is a state-of-the-art clustering approach for VC, VBx clustering cannot be directly applied to multi-stream speaker embedding vectors (e.g., EEND-VC) because VBx assumes a single-stream speaker embedding vector. In this disclosure, we propose an extension of VBx that can handle multi-stream speaker embedding vectors.

[0017] The speaker labeling device according to the disclosed technology, which solves the above problem, utilizes a hidden Markov model and includes a hidden Markov model initialization unit that initializes the hidden Markov model using a speaker embedding vector sequence as observation information, a speaker label sequence as a hidden state, elements of the hidden state consisting of speaker combinations in a speech signal, and state output probabilities as products of Gaussian functions for each speaker.

[0018] The disclosed technique utilizes the power of VBx clustering to cluster multi-stream speaker embedding vectors, such as those obtained in the EEND-VC system, allowing overlapping speakers to be handled consistently, as in VBx. Experiments have shown that the use of the disclosed technique improves diarization performance and speaker counting accuracy compared to traditional approaches for clustering multi-stream speaker embedding vectors, such as constrained agglomerative hierarchical clustering (cAHC).

[0019] FIG. 1 is a diagram for explaining the HMM topology of VBx of the prior art. FIG. 2 is a diagram for explaining EEND-VC of the prior art. FIG. 3 is a diagram for explaining the HMM topology of MS-VBx of the disclosed technology. A functional block diagram of a speaker labeling system according to a first embodiment. A flowchart for explaining the operation of the speaker labeling system according to the first embodiment. A diagram for explaining experimental results regarding the performance of the disclosed technology. A diagram showing an example of the functional configuration of a computer.

[0020] The following describes in detail an embodiment of the disclosed technology. Components having the same functions are designated by the same numbers, and duplicate explanations will be omitted. The disclosed technology proposes an extension of VBx to process multi-stream speaker embedding vectors. This will be called multi-stream VBx (MS-VBx).

[0021] First, we provide an overview of MS-VBx. MS-VBx extends the VBx approach to handle overlapping speech. It assumes that there can be any number of active speakers in each segment. Figure 3 shows an example of the HMM topology of MS-VBx. This example assumes that there are three speakers in the entire recording, and that up to two speakers simultaneously appear in each segment. The HMM states (s = 1,...,6) consider all combinations of two speakers, but exclude combinations in which the same speaker appears in the same state (such as "AA," "BB," or "CC"). φ represents an inactive speaker. Note that for clarity, the states "BA," "CA," and "CB" are omitted.

[0022] Similar to the prior art VBx HMM, P loop is the transition probability to the same state (loop probability), and is an adjustable parameter. s (s=1, . . . , 6) is the transition probability from the non-output node 204 to state s, and the transition probability from state s to s′ can be written as equation (5). The state output probability of the HMM is expressed as the product of multiple Gaussian functions, with each Gaussian function associated with a different speaker. Parameters associated with the same speaker across multiple states of the HMM are integrated. Subsequent speaker label estimation is performed in the same way as conventional VBx, except that the parameters are associated and each speech segment has multiple input speaker embedding vectors. This concludes the overview of MS-VBx.

[0023] 4 is a functional block diagram showing an example of the configuration of a speaker labeling system 40 according to the first embodiment. The speaker labeling system 40 receives an audio signal 41 (a recording containing sections in which speakers A, B, and C speak in overlapping speech) as input, and outputs one or more speaker labels 42 estimated for each segment. The speaker labeling system 40 includes a multi-stream speaker embedding estimator (MSEE) 401 and a speaker labeling device 402.

[0024] The speaker labeling device 402 includes an HMM initialization unit 403, a speaker estimation unit 404, and a speaker model storage unit 405. The speaker model storage unit stores pre-trained speaker models. VBx uses pre-trained speaker models to acquire prior knowledge regarding parameters of the state output probabilities of the HMM. This speaker model can be acquired by training a PLDA model for speaker embedding vectors acquired by a multi-stream speaker embedding vector estimator using training data covering a large number of speakers. A standard algorithm can be used to train the PLDA model; for example, a method can be used in which speaker embedding vectors obtained from multiple speakers are input and PLDA parameters are output.

[0025] 5 is a flowchart illustrating an example of the operation of the speaker labeling system. The speaker labeling system will be described in detail with reference to FIGS.

[0026] The MSEE 401 receives an audio signal (step S501). The audio signal is, for example, a recording of a conference or conversation lasting from a few seconds to a few minutes, and includes a section in which multiple speakers speak simultaneously.

[0027] The MSEE 401 divides the audio signal 41 into segments, each lasting, for example, one to several seconds (step S502).

[0028] For each segment, the MSEE 401 calculates a speaker embedding vector for each active speaker in the segment (step S503). t The content of is expressed as equation (6). The number of speaker embedding vectors obtained from a segment corresponds to the estimated number of active speakers in the segment, C'. Therefore, the number of speaker embedding vectors obtained may vary from segment to segment and may be less than the total number of speakers in the input speech signal.

[0029] The speaker labeling device 402 receives the sequence of speaker embedding vectors X (equation (7)) output by the MSEE 401. T is the total number of segments analyzed.

[0030] The HMM initialization unit 403 of the speaker labeling device 402 estimates the total number C of speakers in the input speech signal (step S504).

[0031] The HMM initialization unit 403 initializes the HMM parameters (step S505). This means creating an HMM structure, as shown in FIG. 3. Using the estimated total number of speakers C calculated in step S504, all combinations of speakers are created. Using some a priori knowledge, it is possible to eliminate less likely HMM states and reduce the number of states. Because MS-VBx can improve (reduce) the estimated number of speakers but cannot increase the number of speakers, it is desirable to overestimate the total number of speakers C. Another clustering method, such as cAHC, can be used to obtain an estimate of the total number of speakers and an initial value for the state occupancy, which indicates which state is most likely for each time segment.

[0032] X is the speaker embedding vector sequence (observation information) output by MSEE 401, and Z = {z 1 ,z 2 ,...,z T} as a sequence of speaker label assignment results for segments (hidden state), the HMM model of MS-VBx can be written as equation (8). Compared to the case of VBx (equation (2)), the degree of freedom c is added by multi-stream. Y (equation (9)) is a set of latent variables related to the speaker, and S × C is the number of states of the HMM. State transition probability p(z t |z t-1) is given by equation (5), and π s is calculated using variational Bayesian estimation along with Y and Z. s,c The distribution of is the standard normal distribution (Equation (10)).

[0033] In the disclosed technique, in order to associate multiple speaker embedding vectors with segment t, the state output probability is expressed as a product of multiple Gaussian functions, and each Gaussian function is associated with a different speaker (Equation (11)). The output probability of state s of the HMM represents the probability that a speaker is active in a segment. p(x c t |z t = s) (Equation (12)) is derived using a trained PLDA model. where W = Φ 1 / 2 is a feature transformation matrix, and Φ corresponds to the inter-speaker covariance matrix in the space transformed into the PLDA model.

[0034] The speaker estimation unit 404 estimates the HMM parameters and the most likely HMM state sequence based on a given sequence of multi-stream speaker embedding vectors. To do this, it performs a recursive optimization as described below. The output consists of the most likely HMM state for each segment, from which a speaker label can be assigned to each of the multi-stream speaker embedding vectors.

[0035] The most likely HMM state sequence p(Z|X) is found by variational Bayes (VB) estimation. Specifically, we use the approximate probability distribution and, To find this, the following steps are carried out:

[0036] (1) γ t,s is initialized (step S506).

[0037] (2) The following steps are repeated until L^ in step (2-7) converges.

[0038] (2-1) q(y s,c ) is updated for s=1...S, c=1,...,C (step S507). Here, the mean vectors and covariance matrices associated with the same speaker across multiple states of the HMM are integrated (Equation (16)). Integration parameter α g and L g is as follows: where ρ c t is as shown in equation (19). F A and F B is the scaling factor of the variational lower bound (ELBO), and γ t,s is the state occupancy calculated in step (2-5).

[0039] (2-2) While changing t from 1 to T, calculate equation (20) for s = 1, ..., S (step S508). however, Note that "tr(・)" is the trace operator.

[0040] (2-3) Calculate equation (22)

[0041] (2-4) While changing t from T to 1 in order, calculate equation (23) for s = 1,...,S (step S509).

[0042] (2-5) For t = 1,...,T, s = 1,...,S, γ t,s is updated (step S510).

[0043] (2-6) For s = 1,...,S, π s is updated (step S511).

[0044] (2-7) Evaluate ELBO (step S512).

[0045] (3) When ELBO satisfies the predetermined convergence condition, the iterations from (2-1) to (2-7) are terminated, and γ t,s Based on the above, the most likely HMM state s is output for each segment t (segment t is labeled) (step S513).

[0046] This concludes the description of the operation of the speaker estimation unit 404.

[0047] Once the speaker embedding vectors for each segment can be labeled, they are combined with the speaker activity to obtain the diarization results 42.

[0048] This concludes the description of the speaker diarization system according to the disclosed technology.

[0049] Note that any system that takes a speech signal as input and outputs a sequence of multi-stream speaker embedding vectors can be used for MSEE 401. As mentioned in the "Background Art" section, when EEND-VC is used, speaker activity can also be generated, but speaker activity is not necessarily required for MS-VBx.

[0050] [Supplementary Note on Handling of HMM States Including φ] The HMM of the first embodiment also assumes a state in which the number of active speakers is less than the number of channels C. EEND-VC outputs the same number of speaker activities as the number of speakers (number of streams) estimated within a segment. However, among the speaker activities output by EEND-VC, channels that are less than the threshold value of Equation (27) can be output as inactive. Then, we use the variable V={v 1 ,...,v T By introducing {} and reformulating as in equations (28) and (29), an HMM can be constructed using the number of speakers for which EEND-VC has made a hard decision. however,

[0051] Although the method using the hard-determined number of speakers has been described above, the number of speakers may be soft-determined.

[0052] [Experiment on the Performance of the Disclosed Technology] An experiment to verify the performance of the disclosed technology will be described using Figure 6. Diarization experiments were conducted on three datasets (CALLHOME, DIHARD II, and III). Multi-stream speaker embedding vectors were obtained using the EEND-VC system, and clustering using cAHC and the proposed MS-VBx clustering were compared in terms of diarization error rate (DER). The DER values ​​in the figure are in %. For both datasets, the error rate of MS-VBx was lower than that of cAHC. For CALLHOME, speaker counting accuracy was evaluated using the mean error ME (smaller is better) and accuracy ACC (larger is better). MS-VBx demonstrated superior performance in both ME and ACC.

[0053] [Program, Recording Medium] The various processes described above can be implemented by loading a program that executes each step of the above method into the recording unit 2020 of the computer 2000 shown in FIG. 8, and operating the control unit 2010, input unit 2030, output unit 2040, display unit 2050, etc.

[0054] The program describing the processing contents can be recorded on a computer-readable recording medium, which may be, for example, a magnetic recording device, an optical disk, a magneto-optical recording medium, a semiconductor memory, or any other suitable recording medium.

[0055] The program may be distributed by, for example, selling, transferring, lending, etc. portable recording media such as DVDs and CD-ROMs on which the program is recorded. Furthermore, the program may be stored in a storage device of a server computer, and then transferred from the server computer to other computers via a network, thereby distributing the program.

[0056] A computer that executes such a program may first temporarily store the program recorded on a portable recording medium or transferred from a server computer in its own storage device. Then, when executing a process, the computer reads the program stored on its own recording medium and executes the process in accordance with the read program. Alternatively, the computer may read the program directly from a portable recording medium and execute the process in accordance with the program. Furthermore, the computer may execute the process in accordance with each program transferred from the server computer. Alternatively, the server computer may not transfer the program to the computer, but may instead execute the process through a so-called ASP (Application Service Provider) service, which realizes the processing function by issuing an execution instruction and obtaining the results. In this embodiment, the program includes information used for processing by a computer that is equivalent to a program (e.g., data that is not a direct instruction to the computer but has properties that define computer processing).

[0057] Furthermore, in this embodiment, the device is configured by executing a predetermined program on a computer, but at least a part of the processing contents may be realized by hardware.

[0058] 401 MSEE 402 Speaker labeling device 403 HMM initialization unit 404 Speaker estimation unit 405 Speaker model storage unit 2000 Computer 2010 Control unit 2020 Recording unit 2030 Input unit 2040 Output unit 2050 Display unit

Claims

1. A speaker labeling device that receives as input a sequence of speaker embedding vectors obtained for each segment into which a speech signal is divided, estimates speaker labels corresponding to each segment, and outputs the sequence of speaker labels, the device having a hidden Markov model initialization unit that initializes a hidden Markov model by using the speaker embedding vector sequence as observed information and the speaker label sequence as a hidden state, the elements of the hidden state consisting of combinations of speakers in the speech signal, and the state output probability as the product of Gaussian functions for each speaker.

2. A speaker labeling device as described in claim 1, comprising a speaker estimation unit that performs estimation by integrating mean vectors and covariance matrices associated with the same speaker across multiple states of a hidden Markov model.

3. A speaker labeling device as described in claim 1, characterized in that an estimate of the number of speakers included in the segment is obtained, and the elements of the hidden state include combinations of speakers with a number smaller than the estimate.

4. The speaker labeling device according to claim 1, wherein the distribution function of the speaker embedding vector is obtained using a pre-trained speaker model.

5. A speaker labeling method that receives as input a sequence of speaker embedding vectors obtained for each segment into which a speech signal is divided, estimates speaker labels corresponding to each segment, and outputs the sequence of speaker labels, comprising: a hidden Markov model initialization unit that initializes a hidden Markov model by using the speaker embedding vector sequence as observed information and the speaker label sequence as a hidden state, the elements of the hidden state consisting of combinations of speakers in the speech signal, and the state output probability as the product of Gaussian functions for each speaker.

6. A program for causing a computer to function as the speaker labeling device according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Devices and methods for passphrase modeling for speaker matching, and speaker matching systems.

    JP2014502375A

  • Speaker indexing device, speaker indexing method, and computer program for speaker indexing

    JP2016057461A

  • Voice recognition system, information processing device, voice recognition method, program

    JP2021026050A

  • Speaker Recognition

    US20160225374A1

  • Speaker diarization with early-stop clustering

    US20220122615A1