Voice authentication device and apparatus

The voice authentication device performs local registration and verification using a three-layer neural network and autoencoder, addressing security concerns and enabling secure, low-cost voice authentication in devices without network connectivity.

JP2024129781APending Publication Date: 2024-09-27ROHM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023189551
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-13
Filing Date
2023-11-06
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing voice authentication devices require communication with external servers for processing, leading to security issues such as audio data leakage.

Method used

A voice authentication device that performs registration and verification locally within the device using a three-layer neural network and autoencoder algorithms, eliminating the need for external communication.

Benefits of technology

This approach reduces the risk of audio data leakage and allows for secure, low-cost voice authentication without the need for high-powered processors, enabling integration into devices without network connectivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129781000001
    Figure 2024129781000001
Patent Text Reader

Abstract

To provide a voice authentication device in which external communication is not required for voice authentication in an apparatus.SOLUTION: A voice authentication device (3) can be installed in an apparatus (1) having a voice conversion part (2) configured to convert voice (S) from the outside into a voice signal (SD) being an electric signal, includes a voice registration part (3A) configured to learn a parameter of an AI model based on the voice signal, and a voice collation part (3B) configured to collate voice with respect to input data based on the voice signal based on an inference result obtained by the AI model having the learned parameter, and performs voice authentication based on the voice registration part and the voice collation part.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a voice authentication device. [Background technology]

[0002] Conventionally, devices that perform voice authentication are known (for example, see Patent Document 1). Voice authentication involves a process of registering characteristics (such as a voiceprint) related to a person's voice and a process of matching the registered characteristics. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-211296 A Summary of the Invention [Problem to be solved by the invention]

[0004] Conventionally, devices that perform voice authentication communicate with external servers with high processing power to register and verify information, but this poses issues such as the risk of voice data leaks.

[0005] In view of the above circumstances, an object of the present disclosure is to provide a voice authentication device that does not require communication with the outside for voice authentication in a device. [Means for solving the problem]

[0006] For example, a voice authentication device according to the present disclosure includes: The device can be mounted on a device having a voice conversion unit configured to convert an external voice into a voice signal, which is an electrical signal, a voice enrollment unit configured to learn parameters of an AI model based on the voice signal; a voice matching unit configured to perform voice matching based on an inference result obtained by the AI ​​model having the learned parameters for input data based on the voice signal; Equipped with The voice authentication is performed based on the voice registration unit and the voice verification unit. Effect of the Invention

[0007] According to the voice authentication device according to the present disclosure, communication with the outside for voice authentication in the device is not required. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram showing a voice authentication system according to a comparative example. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of a smart speaker according to an exemplary embodiment of the present disclosure. [Diagram 3] FIG. 3 is a diagram illustrating an example of voice registration. [Figure 4] FIG. 4 is a diagram illustrating an example of voice matching. [Diagram 5] FIG. 5 is a diagram showing the configuration of a three-layer neural network. [Figure 6] FIG. 6 is a schematic diagram of an audio signal. [Figure 7] FIG. 7 is a diagram showing a configuration of a device according to a modified example of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] <1. Comparative Example> Fig. 1 is a diagram showing a voice authentication system according to a comparative example. The system shown in Fig. 1 includes a voice authentication device 100 and a server 200. The voice authentication device 100 communicates with the server 200.

[0010] During the registration process, the voice S uttered by the user P is input to the voice authentication device 100, and the voice authentication device 100 transmits voice data related to the input voice S to the server 200. The server 200 performs a registration process to register the characteristics of the voice S based on the transmitted voice data. During the verification process, when the voice uttered by the user is input to the voice authentication device 100, the voice authentication device 100 transmits voice data related to the input voice to the server 200. The server 200 performs verification with the characteristics of the voice S registered by the registration process based on the transmitted voice data. If the user at the time of the verification process is the user P at the time of the registration process, the server 200 obtains a verification result indicating that the characteristics of the voice S match the characteristics of the registered voice S. On the other hand, if the user at the time of the verification process is different from the user P at the time of the registration process, the server 200 obtains a verification result indicating that the characteristics of the voice S do not match the characteristics of the registered voice S.

[0011] When, for example, a voiceprint is registered as a feature of the voice S, a learning process is performed using a deep neural network as an AI (artificial intelligence) model. In learning a deep neural network, it is necessary to repeatedly solve a complex optimization problem, and a processor with high processing power (such as a GPU (Graphics Processing Unit) or a processor dedicated to AI) is used in the server 200. As an example, optimization is performed using the stochastic gradient descent method (SGD) using the following formula (1). Here, a set of training data is divided into mini-batches and learning is performed repeatedly. w k+1 =w k -η∇L(w k ) (1) However, w k ,w k+1 : weight matrix, η: learning coefficient, ∇L: gradient of loss function

[0012] As described above, in the comparative example, voice authentication requires communication with server 200, which poses security issues due to leakage of voice data, etc. Furthermore, when the comparative example is applied to a device (such as a home appliance) that does not require communication with an external network for functions other than voice authentication, it is necessary to provide a communication unit for voice authentication.

[0013] <2. Smart speaker> 2 is a diagram showing a configuration of a smart speaker 1 according to an exemplary embodiment of the present disclosure. The smart speaker 1 is an example of a device equipped with a voice authentication device according to the present disclosure.

[0014] The smart speaker 1 includes a voice conversion unit 2, a voice authentication device 3, a control unit 4, a voice output unit 5, and a communication unit 6.

[0015] The voice conversion unit 2 has, for example, a microphone and an AD converter, and converts the voice S uttered by the user P into a voice signal SD, which is an electrical signal. The voice authentication device 3 performs voice authentication by performing registration processing and verification processing based on the voice signal SD. The voice authentication device 3 will be described in detail later.

[0016] The control unit 4 controls the entire smart speaker 1. The audio output unit 5 has, for example, a speaker and a DA converter, converts an audio signal into audio, and outputs the audio to the outside. The communication unit 6 is an interface for communicating with an external communication network 10.

[0017] In the smart speaker 1, the control unit 4 performs voice recognition processing on the voice S uttered by the user P. As a result, for example, a search keyword uttered by the voice S uttered by the user P is voice-recognized by the control unit 4, and the control unit 4 transmits the search keyword to an external server (not shown) via the communication unit 6 and the communication network 10. In this case, audio data of a song searched by the external server is transmitted to the communication unit 6 via the communication network 10, and the audio output unit 5 outputs the audio of the song to the outside based on the audio data. Also, for example, an operation instruction uttered by the voice S uttered by the user P is voice-recognized by the control unit 4, and the control unit 4 transmits the operation instruction to an external device (such as a smart home appliance) via the communication unit 6 and the communication network 10, and the device is operated.

[0018] <3. Voice authentication device> As shown in Fig. 2, the voice authentication device 3 has a voice registration unit 3A and a voice matching unit 3B. The voice registration unit 3A performs a voice registration process based on a voice signal SD obtained by converting an input voice S by the voice conversion unit 2. The voice matching unit 3B performs a voice matching process based on a voice signal SD obtained by converting an input voice S by the voice conversion unit 2. In the voice matching process, matching is performed against a registered voice.

[0019] 3, a user PA who is to perform registration utters a voice SA1 including a specific keyword KW1 and inputs the voice SA1 to the voice authentication device 3. As a result, the voice registration unit 3A registers the voice SA1.

[0020] Next, as shown in Fig. 4, when a user PA who has registered utters a voice SA1 including a specific keyword KW1, a matching process is performed by the voice matching unit 3B in the voice authentication device 3, and a matching result is obtained indicating that the registered contents match. In this case, the use of the smart speaker 1, for example, is permitted.

[0021] As shown in Fig. 4, if the user PA who performed the registration utters a voice SA2 containing a keyword KW2 different from the keyword KW1, the collation result indicates that the registered contents do not match. In such a case, for example, the use of the smart speaker 1 is not permitted. In addition, if a user PB different from the user PA who performed the registration utters a voice SB1 containing the keyword KW1, the collation result indicates that the registered contents do not match.

[0022] <4. Registration and matching process using three-layer neural network> The voice registration unit 3A performs voice registration by performing a learning process of an AI model. In this embodiment, a three-layer neural network 30 as shown in Fig. 5 is used as the AI ​​model. If it is keyword learning, it can be realized sufficiently with a three-layer neural network without using a deep neural network.

[0023] 5, the three-layer neural network 30 is an AI model having an input layer 30A, a hidden layer 30B, and an output layer 30C. In general, in the three-layer neural network 30, n-dimensional input data x∈R k×n For n'-dimensional inference result y∈R k×n’ is given as y = G(x α + b)β, where α∈R n×m are the weights connecting the input layer 30A and the hidden layer 30B, and β∈R m×n’ is the weight connecting the hidden layer 30B and the output layer 30C. Also, b∈R m is the bias of hidden layer 30B, and G is the activation function of hidden layer 30B.

[0024] In this embodiment, an algorithm is used that can sequentially train the three-layer neural network 30 with any batch size. i The i-th training data {x i ∈R ki×n , t i ∈R ki×n’} is obtained, β that minimizes the error shown in the following equation (2) i It is necessary to ask for.

number

[0025] Optimized weight β i is calculated using the following formula (3). P i =P i-1 -P i-1 H i T (I+H i P i-1 H i T ) -1 H i P i-1 β i =β i-1 +Pi H i T (t i -H i β i-1 ) (3)

[0026] Here, P0 and β0 are obtained by the following equation (4). P0=(H0 T H0) -1 β0=P0H0 T t0(4)

[0027] The learning algorithm is as follows: The values ​​of the weight α and bias b are initialized with random numbers. (2) Calculate H0 for x0, and calculate P0 and β0. (3) Batch size k i Each time the i-th training data of P is obtained, i and β i are calculated sequentially. It should be noted that instead of using the formula for calculating β0 in equation (4), a value initialized by a random number may be used as β0.

[0028] In this embodiment, learning is performed using an autoencoder. The autoencoder uses input data as it is as training data, and learns so that the input data can be reconstructed as an inference result. That is, in the above example, learning is performed as t=x. Since the autoencoder does not need to create training data separately, it is a type of unsupervised learning algorithm.

[0029] When registering voice, first, user P (Fig. 2) utters voice S containing a specific keyword, and the voice conversion unit 2 converts the voice S into AD converted time-series data, which is the voice data SD, and the voice registration unit 3A uses the voice data SD as input data x0 of the 0th batch size k0 to calculate P0 and β0 using the above formula (4). Fig. 6 shows a schematic diagram of a voice signal, where one node of the input data x becomes one piece of sampling data in the voice data SD, and k sets of n pieces of sampling data (n: the number of nodes in the input data x) arranged in time series are collected to become input data of batch size k.

[0030] Next, each time user P utters a new voice S containing a specific keyword, the obtained time series data SD is divided into the i-th batch of k i Input data x i The voice registration unit 3A calculates P i and β i The number of times (multiple times) that the user P utters the keyword during the registration process is not particularly limited.

[0031] Next, during voice matching, a user P (not necessarily the user at the time of registration) utters a voice S containing a keyword, and the voice conversion unit 2 converts the voice S into AD-converted time-series data, which is voice data SD, as input data x of batch size k, to obtain an inference result y of the three-layer neural network. Matching is then performed based on whether or not the error L(y,t)=L(y,x)=|yx| exceeds a threshold. If the error L does not exceed the threshold, the matching result indicates a match with the registered content, and if the error L exceeds the threshold, the matching result indicates a mismatch with the registered content. Note that the error L is not limited to the above, and can be, for example, L=|yx| 2 It is also possible to use the following.

[0032] The input data may be a power spectrum obtained by frequency analysis of the voice data SD. In this case, one node of the input data x represents the power of each frequency component.

[0033] Furthermore, learning is not limited to using both the above-mentioned equations (3) and (4), and when voice registration is performed using a voice S uttered only once, learning may be performed using only the above-mentioned equation (4).

[0034] As described above, in this embodiment, since the processing load of the learning process is low, the voice authentication device 3 can be realized by a small, low-cost IC (integrated circuit), and an expensive processor is not required. This eliminates the need to perform registration and matching processes on an external server via the communication network 10, and voice authentication can be completed within the smart speaker 1. This makes it possible to prevent leakage of voice data, which is personal information, and improve security. The voice registration unit 3A and the voice matching unit 3B may be realized by a hardware circuit or by software.

[0035] <5. Modifications> Fig. 7 is a diagram showing a configuration of a device 1x according to a modified example of the present disclosure. The device 1x is a device separated from the external communication network 10. That is, the device 1x does not have a communication unit capable of communicating with the communication network 10. The device 1x is, for example, a home appliance that is not connected to the communication network 10. Note that in Fig. 7, configurations other than the voice authentication function in the device 1x are omitted from the illustration.

[0036] In this case, the voice authentication can be completed within the device 1x by providing the device 1x with the voice conversion unit 2 and the voice authentication device 3. Therefore, the device 1x does not need to be provided with a communication unit that communicates with the communication network 10 just for voice authentication, which allows for miniaturization and low cost. <6.Other> The embodiments of the present disclosure may be modified in various ways as appropriate within the scope of the technical ideas set forth in the claims. The various embodiments and modifications described above may be combined as appropriate within a range that does not cause inconsistency. The above embodiments are merely examples of the embodiments of the present disclosure, and the meanings of the terms of the present disclosure or each component are not limited to those described in the above embodiments.

[0037] <7. Notes> As described above, the voice authentication device (3) according to one embodiment of the present disclosure has: The present invention can be installed in a device (1) having a voice conversion unit (2) configured to convert an external voice (S) into a voice signal (SD), which is an electrical signal, a voice registration unit (3A) configured to learn parameters of an AI model based on said voice signal; a voice matching unit (3B) configured to perform voice matching based on an inference result obtained by the AI ​​model having the learned parameters for input data based on the voice signal; Equipped with The voice authentication is performed based on the voice registration unit and the voice verification unit (first configuration).

[0038] In the above first configuration, the voice registration unit and the voice verification unit may each perform registration and verification based on the voice including a keyword (second configuration).

[0039] In the above second configuration, the AI ​​model may be configured as a three-layer neural network (30) having an input layer (30A), a hidden layer (30B), and an output layer (30C) (third configuration).

[0040] In the third configuration, the speech registration unit may be configured to calculate a weight β0 that connects the hidden layer and the output layer as the parameter using the following equation (A) (fourth configuration). P0=(H0 T H0) -1 β0=P0H0 T t0(A) However, the hidden layer matrix H i =G(x i α+b), α: weights connecting the input layer and the hidden layer, b: bias of the hidden layer, G: activation function of the hidden layer, x i : batch size k i The i-th input data, t i: batch size k i The i-th training data

[0041] In the third configuration, the voice registration unit calculates weights β connecting the hidden layer and the output layer as the parameters using the following equation (B): i may be successively calculated (fifth configuration). P i =P i-1 -P i-1 H i T (I+H i P i-1 H i T ) -1 H i P i-1 β i =β i-1 +P i H i T (t i -H i β i-1 ) (B) However, the hidden layer matrix H i =G(x i α+b), α: weights connecting the input layer and the hidden layer, b: bias of the hidden layer, G: activation function of the hidden layer, x i : batch size k i The i-th input data, t i : batch size k i The i-th training data

[0042] In the above fifth configuration, the voice registration unit may calculate the weight β0 using the following formula (C) (sixth configuration). P0=(H0 T H0) -1 β0=P0H0 T t0(C)

[0043] In any one of the fourth to sixth configurations, the voice registration unit i =x i The learning may be performed as the above (seventh configuration).

[0044] In any one of the fourth to seventh configurations, the input data may be sampling data of the audio signal (an eighth configuration).

[0045] In addition, in any one of the fourth to seventh configurations, the input data may be spectrum data obtained by performing a frequency analysis on the audio signal (ninth configuration).

[0046] Moreover, an apparatus (1) according to one embodiment of the present disclosure includes a voice authentication device (3) having any one of the first to ninth configurations described above, the voice conversion unit (2), and a communication unit (6) capable of communicating with a communication network (10) (tenth configuration).

[0047] Moreover, the device of the tenth configuration is, for example, a smart speaker (eleventh configuration).

[0048] Moreover, an apparatus (1x) according to one embodiment of the present disclosure includes a voice authentication device (3) having any one of the configurations 1 to 9 described above, and the voice conversion unit (2), and is configured separately from a communication network (10) (configuration 12). [Industrial Applicability]

[0049] The present disclosure can be used in various devices such as smart speakers. [Explanation of symbols]

[0050] 1. Smart Speaker 1x equipment 2. Audio conversion section 3. Voice authentication device 3A Voice registration section 3B Voice matching section 4. Control section 5 Audio output section 6. Communications Department 10. Communications Networks 30 Three-layer neural network 30A Input Layer 30B Hidden layer 30C output layer 100 Voice Authentication Device 200 Servers S, SA1, SA2, SB1 Audio P, PA, PB users KW1, KW2 Keywords

Claims

1. The device can be mounted on a device having a voice conversion unit configured to convert an external voice into a voice signal, which is an electrical signal, a voice enrollment unit configured to learn parameters of an AI model based on the voice signal; A voice matching unit configured to perform voice matching based on an inference result obtained by the AI ​​model having the learned parameters for input data based on the voice signal; Equipped with A voice authentication device that performs voice authentication based on the voice registration unit and the voice matching unit.

2. 2. The voice authentication device according to claim 1, wherein the voice registration unit and the voice verification unit perform registration and verification based on the voice including a keyword, respectively.

3. The voice authentication device of claim 2 , wherein the AI ​​model is a three-layer neural network having an input layer, a hidden layer, and an output layer.

4. The voice registration unit uses the following formula (A) to calculate weights β 0 The voice authentication device according to claim 3 , further comprising: P 0 =(H 0 T H 0 ) -1 β 0 =P 0 H 0 T t 0 (A) However, the hidden layer matrix H i = G(x i α+b), α: weights connecting the input layer and the hidden layer, b: bias of the hidden layer, G: activation function of the hidden layer, x i : batch size k i The i-th input data of t i : batch size k i The i-th teacher data

5. The voice registration unit uses the following formula (B) to calculate weights β i The voice authentication device according to claim 3 , wherein: P i =P i-1 -P i-1 H i T (I+H i P i-1 H i T ) -1 H i P i-1 b i =b i-1 +P i H i T (t) i -H i b i-1 ) (B) However, the hidden layer matrix H i = G(x i α+b), α: weights connecting the input layer and the hidden layer, b: bias of the hidden layer, G: activation function of the hidden layer, x i : batch size k i The i-th input data of t i : batch size k i The i-th teacher data

6. The voice registration unit calculates the weight β using the following formula (C): 0 The voice authentication device according to claim 5 , further comprising: P 0 =(H 0 T H 0 ) -1 β 0 =P 0 H 0 T t 0 (C)

7. The voice registration unit i = x i 7. The voice authentication device according to claim 4, wherein learning is performed as a voice recognition process.

8. 7. The voice authentication device according to claim 4, wherein the input data is sampling data of the voice signal.

9. 7. The voice authentication device according to claim 4, wherein the input data is spectrum data obtained by performing a frequency analysis on the voice signal.

10. An apparatus comprising: the voice authentication device according to claim 1; the voice conversion unit; and a communication unit capable of communicating with a communication network.

11. The device of claim 10, which is a smart speaker.

12. A voice authentication device comprising: the voice authentication device according to claim 1; and the voice conversion unit; Equipment configured separately from the communications network.

Citation Information

Patent Citations

  • Personal identification system

    JP2010211296A