Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
VOICE USER INTERFACE
Document Type and Number:
WIPO Patent Application WO/2017/212206
Kind Code:
A1
Abstract:
A received signal represents a user's speech. A first speaker recognition process is performed on a first portion of the received signal, to obtain a first output result. A second speaker recognition process is performed on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result. The second speaker recognition process is different from the first speaker recognition process. The first and second output results are combined to obtain a combined output result indicating a likelihood that the user is a registered user.

Inventors:
AVILÉS-CASCO VAQUERO CARLOS (ES)
GARCÍA GOMAR MARTA (ES)
MARTÍNEZ GONZÁLEZ DAVID (ES)
Application Number:
PCT/GB2016/051954
Publication Date:
December 14, 2017
Filing Date:
June 29, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CIRRUS LOGIC INT SEMICONDUCTOR LTD (GB)
International Classes:
G10L17/10; G10L17/00; G10L15/22
Domestic Patent References:
WO2008047339A22008-04-24
Foreign References:
US20100131273A12010-05-27
EP2797078A12014-10-29
US20140257812A12014-09-11
US20140249817A12014-09-04
EP2860706A22015-04-15
Other References:
JOSEPH P CAMPBELL ET AL: "Fusing High- and Low-Level Features for Speaker Recognition", 20030901, 4 September 2003 (2003-09-04), pages 2665, XP007007102
Attorney, Agent or Firm:
O'CONNELL, David (GB)
Download PDF:
Claims:
CLAIMS

1. A method of processing a received signal representing a user's speech, the method comprising:

performing a first speaker recognition process on a first portion of the received signal, to obtain a first output result;

performing a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and

combining the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

2. A method according to claim 1 , comprising applying respective weighting values to the first and second output results and combining the weighted results.

3. A method according to claim 2, comprising forming a weighted sum of the first and second output results. 4. A method according to claim 2 or 3, wherein the weighting values are

predetermined weighting values.

5. A method according to claim 2 or 3, wherein the weighting values are variable weighting values.

6. A method according to claim 5, wherein at least one of the weighting values is determined based on at least one measure relating to a quality of a respective sample.

7. A method according to claim 6, wherein the weighting value is determined as a piece-wise constant function of the measure relating to the quality of the respective sample.

8. A method according to claim 6, wherein the weighting value is determined as a continuous function of the measure relating to the quality of the respective sample.

9. A method according to claim 1 , comprising applying the first and second output results as inputs to a neural network, and obtaining the combined output result as an output of the neural network. 10. A method according to claim 9, further comprising applying at least one measure relating to a quality of a respective sample as an input to the neural network.

1 1. A method according to claim 9 or 10, wherein the neural network was adapted in a prior development phase.

12. A method according to claim 1 , comprising combining the first and second output results based on at least one measure relating to a quality of a respective sample.

13. A method according to any one of claims 6, 10 or 12, wherein the at least one measure relating to the quality of the respective sample comprises a measure relating to a property of the respective portion of the received signal.

14. A method according to any one of claims 6, 10 or 12, wherein the at least one measure relating to the quality of the respective sample comprises a measure relating to a property of the speech represented by the respective portion of the received signal.

15. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of an amount of speech represented by the respective portion of the received signal.

16. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of a degree of fit of the respective portion of the received signal to a background model of the respective speaker recognition process.

17. A method according to claim 13, wherein the at least one measure relating to the quality of the respective sample comprises a measure relating to a degree of saturation of the respective portion of the received signal.

18. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of a signal-to-noise ratio of the respective portion of the received signal. 19. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of a signal-to-interference ratio of the respective portion of the received signal.

20. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of a direct-to-reflected ratio of the respective portion of the received signal.

21. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of a direction from which the respective portion of the received signal was received.

22. A method according to claim 14, wherein the at least one measure relating to the quality of the respective sample comprises a measure of a range from which the respective portion of the received signal was received.

23. A method according to any of claims 1 - 22, wherein the first and second speaker recognition processes use different models of the user's speech.

24. A method according to any of claims 1 - 23, wherein the first and second speaker recognition processes use different background models.

25. A method according to one of claims 23 and 24, wherein at least one of the models of the user's speech or background models comprises a Hidden Markov Model. 26. A method according to one of claims 23 - 25, wherein at least one of the models of the user's speech or background models comprises a Gaussian Mixture Model.

27. A method according to claim 26, wherein the Gaussian Mixture Model uses factor analysis.

28. A method according to claim 26 or 27, wherein the first and second speaker recognition processes use Gaussian Mixture Models with different numbers of

Gaussians. 29. A method according to any of claims 1 - 23, wherein the first and second speaker recognition process use different verification methods.

30. A method according to any of claims 1 - 29, further comprising performing an antispoofing process on at least one of the first and second portions of the received signal.

31. A method according to claim 30, wherein the antispoofing process comprises computing a likelihood ratio based on a feature vector obtained from the respective portion of the received signal.

32. A method according to claim 31 , wherein the feature vector comprises one or more metric selected from a spectral ratio, a low frequency ratio, a feature vector squared Mahalanobis distance. 33. A method according to claim 30, comprising performing respective antispoofing processes on the first and second portions of the received signal to obtain first and second antispoofing scores respectively.

34. A method according to claim 33, comprising determining that the user is not a registered user if the first or second antispoofing score exceeds a respective threshold.

35. A method according to claim 33, comprising determining that the user is not a registered user if a function of the first and second antispoofing score exceeds a respective threshold.

36. A method according to one of claims 30 - 35, and further according to any one of claims 6, 10 or 12, wherein the measure relating to the quality of the respective sample comprises the respective antispoofing score obtained from the respective portion of the received signal.

37. A method according to one of claims 33 - 35, comprising combining the first and second output results and the first and second antispoofing scores to obtain the combined output result indicating the likelihood that the user is a registered user. 38. A method according to claim 37, comprising combining the first and second output results and the first and second antispoofing scores in a classifier.

39. A method according to claim 37, comprising combining the first and second output results and the first and second antispoofing scores in a neural network.

40. A method according to any one of claims 1 - 39, wherein the first portion of the received signal comprises a trigger phrase and the second portion of the received signal comprises a command. 41. A method according to any one of claims 1 - 40, wherein the first portion of the received signal corresponds to a first time window and the second portion of the received signal corresponds to a second time window, and wherein the first time window does not overlap the second time window. 42. A method according to any one of claims 1 - 40, wherein the first portion of the received signal corresponds to a first time window and the second portion of the received signal corresponds to a second time window, and wherein the first time window at least partially overlaps the second time window. 43. A method according to claim 42, wherein the second time window comprises the first time window.

44. A method according to any one of claims 1 - 43, comprising performing at least one further speaker recognition process on at least one further portion of the received signal to obtain at least one respective further output result; and

combining the at least one further output result with the first and second output results to obtain the combined output result indicating a likelihood that the user is a registered user. 45. A method according to any one of claims 1 - 44, further comprising performing speech recognition on at least the first portion of the received signal.

46. A method according to any one of claims 1 - 44, further comprising providing feedback to the user based on the combined output result. 47. A method according to claim 46, wherein the feedback comprises audible, visual or haptic feedback.

48. A method according to claim 46, comprising allowing or preventing a further action by the user based on the combined output result.

49. A device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the device is configured to:

perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result;

perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and

combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

50. A device as claimed in claim 49, wherein the device comprises a mobile telephone, an audio player, a video player, a PDA, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller.

51. A device as claimed in claim 49 or 50, further configured for performing speech recognition on at least a portion of the received signal. 52. A device as claimed in claim 49, 50 or 51 , further configured for transferring at least a portion of the received signal to a remote device for speech recognition.

53. A device as claimed in claim 52, further configured for receiving a result of the speech recognition.

54. An integrated circuit device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the integrated circuit device is configured to:

perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result;

perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and

combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

55. An integrated circuit device as claimed in claim 54, wherein the first and second speaker recognition processes use at least one user or background model stored in said device.

56. An integrated circuit device as claimed in claim 54 or 55, wherein the first and second speaker recognition processes use at least one user or background model stored in a separate integrated circuit device.

57. A computer program product, comprising a computer-readable tangible medium, and instructions for performing a method according to any one of claims 1 to 48.

58. A method of processing a received signal representing a user's speech, the method comprising:

performing a first speaker recognition process on a first portion of the received signal, to obtain a first output result;

performing a second speaker recognition process on a second portion of the received signal, to obtain a second output result;

combining the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user;

determining if the indicated likelihood that the user is a registered user is higher than a threshold value;

performing a speech recognition process on the second portion of the received signal to obtain a command contained in the second portion of the received signal; and acting on the obtained command if the indicated likelihood is higher than the threshold value.

59. A method according to claim 58, comprising applying respective weighting values to the first and second output results and combining the weighted results.

60. A method according to claim 59, comprising forming a weighted sum of the first and second output results. 61. A method according to claim 59 or 60, wherein the weighting values are predetermined weighting values.

62. A method according to claim 59 or 60, wherein the weighting values are variable weighting values.

63. A method according to claim 62, wherein at least one of the weighting values is determined based on at least one measure relating to a quality of a respective sample.

64. A method according to claim 63, wherein the weighting value is determined as a piece-wise constant function of the measure relating to the quality of the respective sample.

65. A method according to claim 63, wherein the weighting value is determined as a continuous function of the measure relating to the quality of the respective sample.

66. A method according to claim 58, comprising applying the first and second output results as inputs to a neural network, and obtaining the combined output result as an output of the neural network. 67. A method according to claim 66, further comprising applying at least one measure relating to a quality of a respective sample as an input to the neural network.

68. A method according to claim 66 or 67, wherein the neural network was adapted in a prior development phase.

69. A method according to claim 58, comprising combining the first and second output results based on at least one measure relating to a quality of a respective sample. 70. A method according to any one of claims 63, 67 or 69, wherein the at least one measure relating to the quality of the respective sample comprises a measure relating to a property of the respective portion of the received signal.

71. A method according to any one of claims 63, 67 or 69, wherein the at least one measure relating to the quality of the respective sample comprises a measure relating to a property of the speech represented by the respective portion of the received signal.

72. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of an amount of speech represented by the respective portion of the received signal.

73. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of a degree of fit of the respective portion of the received signal to a background model of the respective speaker recognition process.

74. A method according to claim 70, wherein the at least one measure relating to the quality of the respective sample comprises a measure relating to a degree of saturation of the respective portion of the received signal.

75. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of a signal-to-noise ratio of the respective portion of the received signal.

76. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of a signal-to-interference ratio of the respective portion of the received signal.

77. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of a direct-to-reflected ratio of the respective portion of the received signal. 78. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of a direction from which the respective portion of the received signal was received.

79. A method according to claim 71 , wherein the at least one measure relating to the quality of the respective sample comprises a measure of a range from which the respective portion of the received signal was received.

80. A method according to any of claims 58 - 79, wherein the first and second speaker recognition processes are different.

81. A method according to claim 80, wherein the first and second speaker recognition processes use different models of the user's speech.

82. A method according to claim 80 or 81 , wherein the first and second speaker recognition processes use different background models.

83. A method according to one of claims 81 and 82, wherein at least one of the models of the user's speech or background models comprises a Hidden Markov Model. 84. A method according to one of claims 81 - 83, wherein at least one of the models of the user's speech or background models comprises a Gaussian Mixture Model.

85. A method according to claim 84, wherein the Gaussian Mixture Model uses factor analysis.

86. A method according to claim 84 or 85, wherein the first and second speaker recognition processes use Gaussian Mixture Models with different numbers of

Gaussians. 87. A method according to any of claims 80 - 82, wherein the first and second speaker recognition process use different verification methods.

88. A method according to any of claims 58 - 87, further comprising performing an antispoofing process on at least one of the first and second portions of the received signal.

89. A method according to claim 88, wherein the antispoofing process comprises computing a likelihood ratio based on a feature vector obtained from the respective portion of the received signal. 90. A method according to claim 89, wherein the feature vector comprises one or more metric selected from a spectral ratio, a low frequency ratio, a feature vector squared Mahalanobis distance.

91. A method according to claim 90, comprising performing respective antispoofing processes on the first and second portions of the received signal to obtain first and second antispoofing scores respectively.

92. A method according to claim 91 , comprising determining that the user is not a registered user if the first or second antispoofing score exceeds a respective threshold.

93. A method according to claim 91 , comprising determining that the user is not a registered user if a function of the first and second antispoofing score exceeds a respective threshold. 94. A method according to one of claims 88 - 93, and further according to any one of claims 58, 62 or 64, wherein the measure relating to the quality of the respective sample comprises the respective antispoofing score obtained from the respective portion of the received signal. 95. A method according to one of claims 91 - 93, comprising combining the first and second output results and the first and second antispoofing scores to obtain the combined output result indicating the likelihood that the user is a registered user.

96. A method according to claim 95, comprising combining the first and second output results and the first and second antispoofing scores in a classifier.

97. A method according to claim 95, comprising combining the first and second output results and the first and second antispoofing scores in a neural network.

98. A method according to any one of claims 58 - 97, wherein the first portion of the received signal comprises a trigger phrase and the second portion of the received signal comprises a command.

99. A method according to any one of claims 58 - 98, wherein the first portion of the received signal corresponds to a first time window and the second portion of the received signal corresponds to a second time window, and wherein the first time window does not overlap the second time window.

100. A method according to any one of claims 58 - 98, wherein the first portion of the received signal corresponds to a first time window and the second portion of the received signal corresponds to a second time window, and wherein the first time window at least partially overlaps the second time window.

101. A method according to claim 100, wherein the second time window comprises the first time window.

102. A method according to any one of claims 58 - 101 , comprising performing at least one further speaker recognition process on at least one further portion of the received signal to obtain at least one respective further output result; and

combining the at least one further output result with the first and second output results to obtain the combined output result indicating a likelihood that the user is a registered user.

103. A method according to any one of claims 58 - 102, further comprising performing speech recognition on at least the first portion of the received signal.

104. A method according to any one of claims 58 - 103, further comprising providing feedback to the user based on the combined output result.

105. A method according to claim 104, wherein the feedback comprises audible, visual or haptic feedback.

106. A method according to claim 104, comprising allowing or preventing a further action by the user based on the combined output result.

107. A device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the device is configured to:

perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result;

perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and

combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user. 108. A device as claimed in claim 107, wherein the device comprises a mobile telephone, an audio player, a video player, a PDA, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller. 109. A device as claimed in claim 107 or 108, further configured for performing speech recognition on at least a portion of the received signal.

110. A device as claimed in claim 107, 108 or 109, further configured for transferring at least a portion of the received signal to a remote device for speech recognition.

11 1. A device as claimed in claim 110, further configured for receiving a result of the speech recognition.

112. An integrated circuit device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the integrated circuit device is configured to:

perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result;

perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and

combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

113. An integrated circuit device as claimed in claim 1 12, wherein the first and second speaker recognition processes use at least one user or background model stored in said device. 114. An integrated circuit device as claimed in claim 1 12 or 1 13, wherein the first and second speaker recognition processes use at least one user or background model stored in a separate integrated circuit device.

115. A computer program product, comprising a computer-readable tangible medium, and instructions for performing a method according to any one of claims 58 to 106.

1 16. A non-transitory computer readable storage medium having computer-executable instructions stored thereon that, when executed by processor circuitry, cause the processor circuitry to perform a method according to any one of claims 1 to 48.

1 17. A non-transitory computer readable storage medium having computer-executable instructions stored thereon that, when executed by processor circuitry, cause the processor circuitry to perform a method according to any one of claims 58 to 106.

Description:
VOICE USER INTERFACE Technical Field The embodiments described herein relate to a method and system for use in a voice user interface, for example for allowing a user to control the operation of a device using speech.

Background of the invention

Voice user interfaces are provided to allow a user to interact with a system using their voice. One advantage of this, for example in devices such as smartphones, tablet computers and the like, is that it allows the user to operate the device in a hands-free manner.

In one typical system, the user wakes the voice user interface from a low-power standby mode by speaking a trigger phrase. Speech recognition techniques are used to detect that the trigger phrase has been spoken and, separately, a speaker recognition process is used to confirm that the trigger phrase was spoken by a registered user of the device.

The voice user interface may then provide a prompt to the user, to confirm that the system is active, and the user may then speak a command, which can be recognised by the voice user interface using speech recognition techniques.

The voice user interface may then act on that spoken command. For example, if the spoken command asks for publicly available information, the spoken command may be recognised, and used to generate a query to an internet search engine in order to be able to supply that information to the user.

However, in other cases, for example if the spoken command relates to personal information, the level of authentication provided by the speaker recognition process may be considered insufficient for the voice user interface to act on that command. In such cases, the user may be asked to provide an additional form of authentication, for example by entering a PIN number or password through a keypad of the device, or by providing additional biometric authentication, such as a fingerprint scan.

This means that the user is no longer able to operate the device in a hands-free manner.

Summary of the invention According to the embodiments described herein, there is provided a method and a system which reduce or avoid one or more of the disadvantages mentioned above.

According to a first aspect of the invention, there is provided a method of processing a received signal representing a user's speech, the method comprising: performing a first speaker recognition process on a first portion of the received signal, to obtain a first output result; performing a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and combining the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

According to another aspect of the invention, there is provided a device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the device is configured to: perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result; perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

According to a further aspect of the invention, there is provided an integrated circuit device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the integrated circuit device is configured to: perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result; perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

According to another aspect of the invention, there is provided a method of processing a received signal representing a user's speech, the method comprising: performing a first speaker recognition process on a first portion of the received signal, to obtain a first output result; performing a second speaker recognition process on a second portion of the received signal, to obtain a second output result; combining the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user; determining if the indicated likelihood that the user is a registered user is higher than a threshold value; performing a speech recognition process on the second portion of the received signal to obtain a command contained in the second portion of the received signal; and acting on the obtained command if the indicated likelihood is higher than the threshold value. In another aspect, the present invention provides a device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the device is configured to: perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result; perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user. The invention also provides an integrated circuit device for processing a received signal representing a user's speech, for performing speaker recognition, wherein the integrated circuit device is configured to: perform a first speaker recognition process on a first portion of the received signal, to obtain a first output result; perform a second speaker recognition process on a second portion of the received signal that is different from the first portion of the received signal, to obtain a second output result, wherein the second speaker recognition process is different from the first speaker recognition process; and combine the first and second output results to obtain a combined output result indicating a likelihood that the user is a registered user.

The invention also provides a non-transitory computer readable storage medium having computer-executable instructions stored thereon that, when executed by processor circuitry, cause the processor circuitry to perform any of the methods set out above.

Brief description of the drawings

For a better understanding of the invention, and to show more clearly how it may be carried into effect, reference will now be made, by way of example only, to the accompanying drawings in which:

Figure 1 is a schematic view of an electronic device; Figure 2 is a further schematic diagram of an electronic device; Figure 3 is a flow chart, illustrating a method;

Figure 4 is a plot illustrating a step in the method;

Figure 5 is a schematic diagram illustrating a step in the method;

Figure 6 is a plot illustrating a step in the method; Figure 7 is a plot illustrating a step in the method; Figure 8 is a plot illustrating a further step in the method;

Figure 9 is a schematic diagram illustrating a first method; and Figure 10 is a schematic diagram illustrating a second method. Detailed description

For clarity, it will be noted here that this description refers to speaker recognition and to speech recognition, which are intended to have different meanings. Speaker recognition refers to a technique that provides information about the identity of a person speaking. For example, speaker recognition may determine the identity of a speaker, from amongst a group of previously registered individuals, or may provide information indicating whether a speaker is or is not a particular individual, for the purposes of identification or authentication. Speech recognition refers to a technique for determining the content and/or the meaning of what is spoken, rather than recognising the person speaking.

Figure 1 shows a device in accordance with one aspect of the invention. The device may be any suitable type of device, such as a tablet computer, a games console, a remote control device, a domestic appliance including a domestic temperature or lighting control system, a toy, a machine such as a robot, or the like, but in this illustrative example the device is a smartphone 10. The smartphone 10 may, by suitable software, be used as the control interface for controlling any other further device or system.

The smartphone 10 includes a screen 12 for displaying information to a user, a sound inlet 14, for allowing sound to be detected by a microphone, and a jack socket 16, or other port or receptacle, for allowing an accessory to be connected to the device. Figure 2 is a schematic diagram showing the smartphone 10. In this example, the smartphone 10 includes a microphone 20, which may for example be located close to the sound inlet 14 shown in Figure 1. Electronic signals generated by the microphone 20 are passed to a signal processing block 22, which performs initial signal processing of the signals, for example converting analog signals received from the microphone 20 into digital signals.

The smartphone 10 also includes an accessory interface 24, which may for example be located close to the jack socket 16 shown in Figure 1. The jack socket 16 and the interface 24 may be suitable for allowing a headset accessory to be connected thereto, and signals received from a microphone on such an accessory are also passed to the signal processing block 22, which performs initial signal processing of the signals. The signal processing block 22 is connected to a processor 26, which performs methods as described herein on the basis of data and program instructions stored in a memory 28.

The processor 28 is connected to an interface 30, which is itself connected to an antenna 32, allowing signals to be transmitted and received over an external network to remote devices. In other examples, the device performing the processes described herein may receive the required input signals in a suitable form, without needing to perform any prior signal detection or signal processing and thus not requiring the device to comprise signal processing block 22. In some examples, some of the processing described below may be performed on an external device communicated with via an external network, for example a remote computing server or a server in a home network. In other examples, all of the processing described below may be performed in a single device, without requiring the device to comprise any interface to any external device or network.

Figure 3 is a flow chart, illustrating a method of operation of a voice user interface according to one embodiment.

As described in more detail below, the process shown in Figure 3 is performed after a user has registered with the system, for example by providing one or more sets of voice samples that can be used to form one or more model of the user's speech.

Typically, the registration or enrolment process requires the user to provide speech inputs, and then uses these speech inputs to form a model of the user's speech, starting from a particular background model defined in a prior development phase. Thus, the background model and the speech inputs are the inputs to the enrolment process that is used to form the model of the user's speech. Subsequently, during verification, as described in more detail below, further speech inputs are compared with the model of the user's speech, and with a background model, in order to provide an output. The output may for example be a numerical value indicating a likelihood that the speech inputs received during the verification phase were provided by the same user that provided the speech inputs during enrolment. The numerical value indicative of the likelihood may be for example a log likelihood ratio (LLR) or may be some more indirect indication, for example a metric of distance of extracted features of the speech sample from some one- or multi-dimensional threshold. The voice user interface may spend the majority of its time in a standby state, in order to save power. A voice activity detection block may be provided, for determining when sounds that are detected by a microphone represent speech. In some embodiments, signals that are received from a microphone are stored. Then, when the voice activity block determines that the sounds that are detected by the microphone represent speech, those stored signals are analysed as described below.

In step 50, a signal is received from one or more microphone, and the signal represents a first voice segment, that is, the signal represents the first part of a user's speech.

In step 52, the signal representing the first voice segment is passed to a low power trigger phrase detector, which may for example be implemented in a processor (such as the processor 26 in the embodiment shown in Figure 2) within the device, or may be implemented in a separate device, for example a computing server in a home or remote network.

The trigger phrase detector uses speech recognition techniques for determining whether the first voice segment contains a specific predetermined phrase, referred to herein as a trigger phrase or pass phrase. This is a phrase that the user is required to speak, in order to fully activate the voice user interface.

If the trigger phrase detector fails to recognise the trigger phrase at step 52, the process returns to step 50, in which the system continues monitoring the received signal for voice segments.

If it is determined at step 52 that the first voice segment contains the trigger phrase, the process passes to step 54, in which a speaker recognition process is performed on the first voice segment. The speaker recognition process that is performed on the first voice segment operates with a first user model. Because the user is expected to be speaking a trigger phrase that is known in advance, the first user model may use text-constrained, or text- dependent, speaker recognition. That is, during an enrolment process performed by the user when first activating the speaker recognition feature of the device, the user was required to speak the trigger phrase multiple times. The enrolment process uses as its starting point a particular background model, which may for example be based upon the speech inputs from a large sample of other users, and the user's speech inputs are then used in forming the first user model. More specifically, features of the user's speech, such as Mel frequency Cepstrum Coefficient (MFCC) features may be used in forming the first user model.

The output of step 54 may for example be a numerical score (in the form of a likelihood ratio, or a distance, or in any other form). This numerical score relating to the first voice segment, or trigger phrase, is denoted here by ST. In step 56, a further signal is received from the one or more microphone, and this signal represents a second voice segment, that is, the signal represents the second part of a user's speech. This second voice segment may follow immediately on from the first voice segment. Alternatively, the system may provide a visual or audible prompt to the user on detecting the trigger phrase at step 52, and the second voice segment may then follow that prompt.

In step 58, a speaker recognition process is performed on the second voice segment.

The speaker recognition process that is performed on the second voice segment differs from the speaker recognition process that was performed on the first voice segment in step 54.

Each speaker recognition process uses a particular background model and a model of the user's speech as its inputs, and compares the relevant voice segment with these models, using a specified verification method to arrive at the output. Features of the user's speech, such as Mel frequency Cepstrum Coefficient (MFCC) features, are obtained from the relevant voice segment, and these features are compared with the features of the background model and the relevant user model. Thus, each speaker recognition process can be considered to comprise the background model, the user model, and the verification method or engine that are used. The speaker recognition processes performed on the first and second voice segments may differ in one or more of these components of the process.

For example, the speaker recognition processes may use the same model of the user's speech (for example, by using just one enrolment session and technique), but may use different verification methods for the first and second voice segments. As one example, the background model and user model may be Hidden Markov Models (HMMs), with the background model being a Universal Background Model (UBM) adapted to human speech, and the user model being adapted to that specific user's speech, but not adapted to any phrase in particular. Then the Text Constrained method used on the trigger phrase may use a forced alignment method to force the HMMs to go through the path indicated by the trigger phrase (a fixed sequence of states in the HMM as defined in the UBM), while the Text Independent system used on the second or command phrase may look for the sequence giving the best alignment without forcing anything. Another example is the case where the UBM and user model are Gaussian Mixture Models (GMMs). The same GMM models can be used in a simple GMM-UBM system that will be fast and low power, for example for the trigger phrase, and then used in a more complex GMM system for example incorporating Factor Analysis, that considers the same speaker models and UBM (and that needs more computational cost and power, but obtains much more accuracy), for the command.

Alternatively, the methods may use different models of the user's speech (also referred to as "user models"), which implies that the methods use different enrolment sessions or processes.

One way to obtain different user models is to have different engines operating on the same set of input audio data during the enrolment process. That is, input audio data is used to form a user model during an enrolment process, as described above. In practice, this is achieved by applying the input audio data to a set of mathematical equations that have certain associated parameters as constants in the equations. Different engines, which may for example be tuned for different purposes, can be obtained by using a different set of equations, including by setting different values for these parameters or by employing a different class of algorithm. For example the input could be a GMM-UBM that goes to an enrolment process to get a user adapted GMM, or to an enrolment process that turns the GMM-UBM into a supervector and builds a Support Vector Machine (SVM) as user model.

Another way to obtain different user models for the speaker recognition processes performed on the first and second voice segments is to use different input data but a common engine during the enrolment process. A third way to obtain different user models for the speaker recognition processes performed on the first and second voice segments is to use different input data during the enrolment process and to use different engines operating on the input data.

When it is desired to obtain different user models for the speaker recognition processes performed on the first and second voice segments by using different input data, one possibility is to use two different audio inputs during the enrolment process to train the respective speaker models. For example, the audio inputs used to form the user model that is used in the speaker recognition process performed on the first voice segment may be audio inputs in which the user speaks the predetermined trigger phrase, so that this becomes a text-constrained speaker recognition process, while the audio inputs used to form the user model that is used in the speaker recognition process performed on the second voice segment may be audio inputs in which the user speaks (or reads aloud) any phrases of their choosing (or a predefined text or set of phrases that is designed to have high phonetic variability), so that this becomes a text-independent speaker recognition process.

A second possibility is to use different background models in order to form the different user models that are used in the speaker recognition processes performed on the first and second voice segments. One specific possibility is to use two different Gaussian Mixture Models (GMMs) as the background models, and hence in the derived user model, by using different numbers of Gaussian components in the models. This may be useful because reducing the number of Gaussian components makes the process faster, while increasing the number of Gaussian components makes the process more accurate.

A third possibility for obtaining the different user models for the speaker recognition processes performed on the first and second voice segments is to use different audio inputs during the enrolment process and to use these to modify respective different background models. The output of step 58 may for example be a numerical score (in the form of a likelihood ratio, or a distance, or in any other form). This numerical score relating to the second voice segment, which may for example be a command, is denoted here by Sc.

In step 60, the results of the speaker recognition processes performed on the first and second voice segments are combined, in order to obtain a combined output result indicating a likelihood that the user is the enrolled user. The combined output result indicative of the likelihood may be for example a log likelihood ratio (LLR) or may be some more indirect indication, for example a metric of distance of extracted features of the speech sample from some one- or multi-dimensional threshold or nominal point or volume in a multi-dimensional speech parameter space.

The combined output result may be obtained from the separate results of the speaker recognition processes performed on the first and second voice segments by any suitable method. For example, the combined output result may be a weighted sum SF of the results of the speaker recognition processes performed on the first and second voice segments. That is, in general terms: s F = as T + β≤ο + Y

The weighting factors α, β, and γ may be constant and determined in advance.

Alternatively, the step of combining the results of the speaker recognition processes performed on the first and second voice segments, to obtain a combined output result, may use quality measures to determine how the results should be combined, in order to improve the reliability of the decision. That is, separate quality measures are obtained for the first and second voice segments, and these quality measures are then used as further inputs to the process by which the results are combined.

These quality measures may for example be based on properties of the first and second voice segments, for example the trigger phrase and the command. Certain triggers will be more suitable for use in voice biometrics than others because they are longer in duration, or because they contain more phonetic variability and thus they provide more information to differentiate speakers. Certain commands will be more suitable for use in voice biometrics than others for the same reasons. Other aspects, such as the presence of non-stationary noise in either the first and second voice segments may make one voice segment more reliable than the other.

In one embodiment there is defined a set of quality measures, namely a set of quality measures QT for the trigger and a set of quality measures Qc for the command, and the values of weighting factors α, β, and γ are set based on the quality measures. Then a weighted sum SF will be obtained as a function of these quality measures: s F = a(Q T , QC)ST + P(QT, QC)SC + Y(QT, QC)

The functions that map the quality measures QT, QC to the weighting factors α, β, and γ are part of the system design and are thus obtained and defined during a development phase, before the system is deployed for user enrolment or verification. The values returned by these functions in use after the development phase will vary from sample to sample as the quality measures QT, Qc vary from sample to sample.

The functions may be obtained during the development phase on the basis of exercising the system with a large number of speech samples arranged to have a range of different values of the quality measures.

The form of the functions may be defined before the development phase, and coefficients or optimised to provide the best fit. In some embodiments, the functions may not be algebraic functions but may comprise the form of a look-up table containing optimised coefficients optimised over ranges of value of the quality measures or fixed values applied to optimised ranges of quality measures. More generally a function may be the result of some more complex algorithm characterised by some coefficients and delivering a value dependent on the quality measures.

In some embodiments the combined score may be a non-linear combination of the scores SF and sc, which may for example be represented in the form

S F = a(Q T , Qc, ST)ST + P(QT, QC, SC )SC + Y(QT, QC) where the each weighting factor a or β may depend continuously or non-continuously on the respective score. More generally, the combined score may be any function of the scores, ST and Sc, that are obtained from the speaker recognition processes performed on the first and second voice segments, and of the quality measures, QT and Qc, that apply to those voice segments. That is:

where f may be any function.

The values of the scores, ST and Sc, and of the quality measures, QT and Qc, may be applied to a neural network, which then produces a value for the combined score SF

When determining the weights to be given to the results of the first and second speaker recognition processes, different quality measures can be considered.

One suitable quality measure is the Signal to Noise Ratio (SNR), which may for example be measured in the input trigger and in the input command separately. In the case of non-stationary noise, where the SNR varies rapidly, a higher weight can be given to the result obtained from the input speech segment that has the higher SNR.

Another suitable quality measure is the net-speech measure. As discussed in connection with the illustrated embodiment, the weight that is given to the score obtained from the command can be increased according to the amount of speech in the command. That is, the total length of the fragments in the command that actually contain speech, excluding non-speech segments, is measured, for example in time units such as seconds, and this is used to form the weight to be applied to the command, relative to the weight applied to the trigger.

A further alternative quality measure is a saturation measure. This determines the amount of the audio input that is saturated, this is, where part of the input audio is beyond the dynamic range of the sensor and the pre-processing stages that process the audio before it reaches the speaker recognition system. This usually happens when the input level is too loud for the system. Saturation is a non-linear effect that generates unexpected harmonics in the signal, and reduces significantly the speaker recognition accuracy since all signals affected by saturation are similar from the speaker recognition point of view, and very distinct from non-saturated signals. Thus, it is possible to measure the amount of audio input that has been saturated in the trigger and in the command. Then, a higher weight is given to the less saturated portion of audio. Saturation can be measured in several ways, but one typical way of measuring it is indicating the percentage of the frames (the number of windows of a certain length, for example 10 ms) that contains saturated audio samples. This percentage is usually calculated over those frames that are labelled as speech by the system (that is, those frames that will be processed by the speaker recognition system).

A further alternative type of quality measure is a measure related to how well the input matches the model, that is, the level of fit between the input and the background models. Universal Background Models (UBM) for speaker recognition are typically statistical models that try to model the universe of inputs that are expected from the universe of speakers. It is expected that the UBM is a good model to describe any input that may be fed into the speaker recognition system. If the UBM is not a close model to an input, we expect the decision of the speaker recognition system to be less reliable, since the input is not similar to anything the system has seen before.

One example of this type of measure is a measure of the likelihood of the data for the text-dependent and text-independent UBM. If one segment of the input has the expected likelihood values (for example those observed on a large development dataset) and the other segment has values below the expected likelihood values, more weight is given to the former system, since it is more capable of describing its input data.

Another example of a quality measure related to how well the input matches the model concerns a divergence between the prior and posterior values of hidden variables. Thus, HMM, GMM and Factor analysis systems use hidden or latent variables in order to explain the input data to the system. When treated in a Bayesian way, there is a prior on these latent variables. Given the input data, a posterior can be obtained. If the divergence between the prior and posterior is large, this means that the input data is not similar to what the model would expect and the system output may not be reliable. This information, measured in both the trigger and the command, can be used to adjust the weights that are given to the results obtained from the speaker recognition processes performed on the trigger and on the command.

A further alternative type of quality measure is a measure provided by an external module of the device that works with the voice biometrics solution. For example, a measure of this type of may be obtained where the device includes a beamformer. A beamformer may provide measures of the Direct to Reflected Ratio, for each segment of the input signal. If one segment of the input signal (for example the first voice segment that might be the trigger of the second voice segment that might be the command) seems less affected by reverberation or indirect reflections, the system may increase the weight of that segment. This variation may for example happen when the relative positions of the user and the device vary. The system may thus give more weight to a portion of speech according to a measure of a direction from which a respective portion of speech was received, in order to weight more heavily a signal portion more directly received from the user. Somewhat similarly, a beamformer may provide measures of the Signal to Interference ratio of the received signals. Then, when there is more than one source of sounds (for example the desired speaker and some directional noise or other interfering speakers), the system can give more weight to the segments that are less affected by the interferers.

A further measure of this type may be obtained where the device includes a proximity sensor. For example, a proximity sensor can determine how far the user was from the microphone when speaking the first and second voice segments, i.e. the range from which the respective portion of the received signal was received. This information can be used to give more weight to the speaker recognition results obtained on voice segments that were uttered from a shorter distance.

During the verification phase, in one embodiment the method may detect the start and the end of the trigger and of the command, and then extract the quality measures and the scores for the trigger and the command, using the corresponding background models and user models obtained during enrolment, and these background models and/or user models may be for the trigger and the command. The quality measures are used to determine the weighting factors, based on the functions learnt during the development stage. Then the weighting factors are used to obtained a combined result from the separate results obtained by performing the first and second speaker recognition processes on the trigger phrase and the command respectively.

Particularly, in one embodiment, the weighting factors α, β and γ may be determined based on the particular trigger phrase considered and the amount of user speech available in the command, nc. For this purpose, a development phase is needed. During the development phase, optimal values are obtained for the weighting factors a, β, Y are obtained for different lengths of net-speech nc (that is, the amount of actual user speech) in the command, considering always the same trigger phrase. Once the trigger is fixed, the optimal weighting factors for a given value of nc, that is a(nc), (r\c), Y(nc) may be selected according to certain criteria. For example, Linear Logistic Regression can be used to determine the optimal values of the weighting factors.

Linear Logistic Regression applies Logistic Regression to the linear combination of the scores to obtain the combined score SF, thus: s F = a(n c )s T + $(n c )sc + γ(η 0 )

The Logistic Regression tries to determine the true value that the decision Θ of the system should take (Θ = 1 for hypothesis Hi , that is a match, and Θ = 0 for hypothesis H2, that is no-match) from the score through the logistic function:

The output of the Logistic Function can be interpreted as the probability that the input segment is a match to the speaker model, given the scores for the trigger and the command, and the net-speech length of the command. Note that, in a Bayesian framework, this is only true for a flat prior, that is P(Hi) = P(H2) = 0.5. However, for different priors, it is still possible to include prior information in the Logistic Function. Figure 4 shows how this sigmoid function P(Hi | SF), that is P(Hi | ST, SC, nc), asymptotically approaches 1 or 0 as the combined score SF increases or decreases.

Thus:

in the limit, as (SF→ -∞), P(Hi | SF ) = 0 and

in the limit, as (s F →∞), P(Hi | s F ) = 1 .

Scaling or biasing the inputs to this function (as altering the weighting factors will in general do), will shape the sigmoid accordingly. Specifically, changing the weighting factors a(nc) and (r c) will shape the function so that the slope will be more or less steep, and changing the bias weighting factor Y(nc) will move the function along the horizontal axis. In order to determine the optimal values for the weighting factors, or fusion coefficients, the development process needs, as training data, a large number (for example in the thousands) of samples of scores of the text-constrained and text-independent speaker recognition systems for a particular nc and trigger phrase, and the decisions associated with these scores. Every training sample / ' is a set of values {ST, SC, nc, Θ},, where Θ = 1 for a match, and Θ = 0 for a no-match. This set has been extracted from an actual user interaction with the VUI. Then Linear Logistic Regression determines the optimal set of coefficient values that best predicts the true value of Θ with P(Hi | ST, SC, nc).

Specifically, this is achieved by minimizing the cross-entropy between the true underlying distribution of the output decision Ρ(θ) (observed decisions) and the model P(Hi I ST, SC, nc). Note that the cross-entropy minimization process does not set any constraint in the fusion weights, and so their values are not bounded.

This process is done for several nc values, so that a set of fusion coefficients is obtained for each nc. In practice, it is more useful to agglomerate the samples that have similar values for nc, rather than those that have exactly the same value of nc. For this purpose, K intervals of nc values can be defined, and the input samples can be pre-classified according to the interval that their nc falls into.

Figure 5 illustrates this development process. As mentioned above, there are a large number of training samples 160, and these are passed to a pre-classifier, where they are classified based on the interval that their value of nc falls into. Thus, (K-1) thresholds are defined, and for values of nc that are less than a first threshold rii , the samples are passed to a first linear logistic regression block 164.1 ; for values of nc that are less than a first threshold ηκ, but greater than the previous threshold rik-i , the samples are passed to a k th linear logistic regression block 164.k; and for values of nc that are greater than the last threshold ηκ-ι , the samples are passed to a K th linear logistic regression block 164. K.

Then, as shown at 166, a function is carried out, designed to map every value of nc, including those seen and not seen during development, to obtain the corresponding fusion coefficients 168. Finally, a calibration operation 170 is performed, so that the threshold 172 is adjusted to the desired operating point. Although this step can alternatively be included in the Linear Logistic Regression, this separate calibration enables the setting of constraints to the fusion weight values, facilitating their modelling.

A simple non-linear mapping using step functions could be considered, so that for each interval of nc values considered for pre-classification, a set of fusion coefficients is defined as follows:

{a(n c ), β(η 0 ), γ(η 0 )} = {αι , βι , γι } n c < Πι

{a(n c ), β(η 0 ), γ(η 0 )} = {a k , βκ, γκ } n (k -i) ≤ n c < n k

{a(n c ), β(η 0 ), γ(η 0 )} = {α κ , βκ, γκ } η -ΐ) ≤ n c

An example of this piece-wise constant mapping is presented in the table below, where six intervals have been defined, noting that nc = 0 is a special case, in which there is no command.

A regression model can be used for the mapping as well. The use of a regression model to estimate the fusion weights from the net-speech is more natural, since net- speech is a continuous variable rather than a discrete one.

The fusion weights obtained from Logistic regression do not have any constraint, and so regression models may not fit very well. The weights may therefore be scaled and biased in such a way as to obtain a better fit.

Figure 6 is a plot of the values in the table above, showing the weights applied to the score obtained from the text-constrained (TC) speaker recognition process (i.e. the weight a(nc) applied to the score obtained from the command) and to the score obtained from the text-independent (Tl) speaker recognition process (i.e. the weight β(ηο) applied to the score obtained from the trigger), for the six ranges of values of the net-speech present in the command (i.e. nc). For each of these ranges, the scores are shown at the average value of the net-speech for all of the inputs in the respective range for the particular set of samples actually used to generate these weight values. As would be expected, the weight applied to the score obtained from the command increases relative to the weight applied to the score obtained from the trigger, as the amount of net-speech present in the command increases. To facilitate the task of building a regression model in step 166 of Figure 5, it is possible to set a constraint to the weights. The offset term y(nc) in the fusion weights translates into a movement of the threshold that is used to distinguish between a match condition and a no-match condition. Since a calibration stage (shown at 170 in Figure 5) is used to set the desired threshold, this offset term is not needed.

Also, the scale of the fusion weights a(nc), β(ηο) is only important for calibration, as far as the relationship α(ηο)/β(ηο) is maintained. Therefore, ignoring the scale of a(nc) and β(ηο) and ignoring the offset term y(nc), it is possible to set a constraint for the weights, namely:

a(n c ) + β(ηο) = 1

Figure 7 is another plot of the values from the table above, showing the weights applied to the score obtained from the text-constrained (TC) speaker recognition process (i.e. a(nc)) and to the score obtained from the text-independent (Tl) speaker recognition process (i.e. β(ηο)), for the six ranges of values of the net-speech present in the command (i.e. nc), after applying the constraint that a(nc) + β(ηο) = 1 , while maintaining the ratio α(ηο)/β(ηο).

This constraint makes the values of a(nc) and β(ηο) more reasonable, since the tendency to increase of one translates in the tendency to decrease of the other, avoiding ranges of nc where both increase or decrease, which make difficult modelling these weights.

It is possible to use a regression model for the ratio α(ηο)/β(ηο), rather than for each weight separately. In one embodiment, a linear regression model is used to estimate the ratio α(ηο)/β(ηο) for any given value of nc. In fact, a specific embodiment, uses a model that is linear with respect to since we expect asymptotic behaviour for very large values of nc. Thus, values of parameters a and b are obtained that provide the best fit to a line of the form: α(η 0 )/β(η 0 ) = a.n c "1 + b

Figure 8 is a plot of the values from the table above, converted into the form required by this regression equation. That is, for each of the ranges of values of nc for which values of a(nc) and β(ηο) were obtained, the average value of the ratio α(ηο)/β(ηο) is plotted against nc "1 , the reciprocal of the average value of the net-speech for all of the inputs in the respective range Then, a best-fit straight line is found, which in this case gives values of parameters a = 0.7289 and b = 0.855, and therefore: a(n c )/p(ric) = 0.7289.nc 1 + 0.855.

In this illustrated case, the values were obtained for a particular set of triggers. In one alternative, separate values can be obtained for each trigger, and the regression can be performed separately for each trigger, leading to different terms in the regression for each trigger.

Then, for any future input values of nc that are obtained from received voice

commands, the linear model can be used to find a value for the ratio a(nc)^(nc), and then values for the separate fusion weights a(nc) and (r c) can be calculated using the constraint that a(nc) + (r\c) = 1 .

As an alternative to this linear regression technique, a non-linear regression

techniques, for example as the map to a step function such as that previously presented, or a more complex non-linear function, could be used. As a further alternative to the process described above, the values of nc could be included directly in the Linear Logistic Regression process, avoiding the need for performing a pre-classification. In this case, the Logistic Function o() is applied to nc before inputting it to the Linear Logistic Regression, so that o(c.nc + d) takes values between 0 and 1 , and these values are used to weight the input samples, for the Linear Logistic Regression. The output model of the logistic regression then is capable of providing the fusion coefficients for any input value nc. This is known as using "side information" in the Linear Logistic Regression. This also eliminates the need for a final calibration stage, although in practice it may be preferable to perform a final calibration to obtain the threshold value. In addition to the determination of the fusion coefficients, during development, the text- constrained speaker recognition system may be adapted to the trigger phrase using some or all of the same samples of the trigger phrase.

In addition, or alternatively, the trigger detection system may be adapted to the trigger phrase.

During enrolment, the user may provide samples of the same trigger phrase used in development for creating the user voiceprint for the text-constrained voice biometrics system, and may also provide text-independent samples for creating the user voiceprint for the text-independent voice biometrics system. The samples of the trigger phrase may also be used to adapt and tune the trigger detector.

So far, it has been assumed that the text-constrained and text-independent voice biometrics engines that operate on the first and second voice segments operate independently. However, they may share information to provide more robust responses. For example, in an embodiment in which the engines that operate on the first and second voice segments are identical, except for the background models that they use, the text-independent engine operating on the second voice segment may use partial or complete information from the first voice segment (i.e. the trigger) to obtain a more accurate score

So far, it has been implied that the text-constrained and text-independent voice biometrics engines operate on first and second voice segments which are non- overlapping. However in some embodiments it may be advantageous to operate the later check on a second voice segment which comprises some or all of the first voice segment, i.e. the two voice segments analysed are overlapping rather than non- overlapping. For instance, the first voice segment may be analysed using a relatively fast and simple speaker recognition engine, whereas the second voice segment may be analysed using a more complex but more reliable speaker recognition algorithm, and the result of the latter may be made even more reliable by increasing the effective length of the sample analysed. Thus in some embodiments the first and second voice segments may be different but overlapping.

In some embodiments a further authentication process may be performed in parallel with the trigger or command speaker authentication, and the corresponding

authentication results may be combined in a similar fashion to the above.

This parallel authentication process may be an authentication process based on different characteristics of speech, for example a time-domain based method. In some embodiments the parallel authentication process may be one sensitive to spectral or other characteristics symptomatic of an attempt to spoof the system by playback or direct injection techniques, i.e. be an antispoofing technique.

An exemplary antispoofing technique is based on computing a likelihood ratio (LR). It i extracted from a feature vector, y computed from the testing signal, and two Gaussian models N(y; μ(ηοη-) 5 ροοί, ∑(non-)s P oof), one that represents non-spoof data and other that represents spoof data:

where μ οοί and ∑ sp0 of are the mean vector and the diagonal covariance matrix for the spoof model, and μηοη-spoof and ∑ n0 n-spoof are the mean vector and the diagonal covariance matrix for the non-spoof model, which are typically also speaker dependent and they are typically obtained during enrolment.

The antispoofing feature vector is composed of different metrics, for example by the spectral ratio, low frequency ratio and feature vector squared Mahalanobis distance. In this example, NAS=3. Alternatively other metrics could also be included or one or two of the metrics may be replaced by other metrics or omitted entirely.

The spectral ratio may for example be the ratio between the signal energy from 0 to 2 kHz and from 2 kHz to 4 kHz. Thus, given a frame I of the audio access x(n), the spectral ratio may be calculated as: where X(f,l) is the Fast Fourier Transform (FFT) value of the frame I and the f frequency bin of the audio signal, and NFFT is the number of points of FFT (256 samples, for example).

After computing eq. (2) for all the frames, the average value of the spectral ratios (SRaudio) may be calculated as the mean of the spectral ratios of the frames whose modulation index is above a given threshold (for example 0.75). Frames with a modulation index above a given threshold usually correspond to speech signals, such that typically by calculating the mean of the spectral ratios of frames with a modulation index above a given threshold results in calculating the mean describing the parts of the audio signal comprising speech. The frames can be created from the audio signal using a window length of 20 msec, with shift of 10 msec, for example.

The low frequency ratio may e.g. be computed as the ratio between the signal energy from 100 Hz to 300 Hz and from 300 Hz to 500 Hz. Given a frame I, it may be calculated as: After computing eq. (3) for all the frames, the average value of the spectral ratios (LFRaudio) may be calculated as the mean of the low frequency ratios of the frames whose modulation index is above a given threshold (for example 0.75). The frames can be created using a window length of 20 msec, with shift of 10 msec, for example. Finally, the feature vector squared Mahalanobis distance may be computed between the average MFCC vectors (e.g. with dimension NAS-MFCC) along the time obtained from the speaker recognition testing signal received in the audio access(es), and the one observed during enrolment. A standard deviation diagonal matrix is typically also required to compute the distance (which is typically computed during or after enrolment). A standard deviation diagonal matrix may e.g. be computed as disclosed in the European patent application EP-2860706A. An alternative, improved way of using the result of an Antispoofing process is described here. In this example, the voice first and second segments, which may be the trigger and the command as discussed previously, are subject to separate antispoofing detection processes (which may be the same or different), to obtain two antispoofing output scores, one for the trigger and one for the command. These scores may then be integrated with the speaker recognition scores.

One way of using the antispoofing output scores is to use them as a filter.

In this case, where we have two different antispoofing scores (one for the trigger Γτ and one for the command rc), the system may reject the user when one of them is over a very high threshold (Γτ > e™ OR rc > suggesting that it is very likely that the input trigger or command is a spoof. The system may also reject the user if both the trigger and the command antispoofing scores are over certain lower threshold (Γτ > e-rjL AND rc > ecL, with e-m > e-r_ and ecH

An alternative would be to apply the same fusion method described in this application for speaker recognition to fuse the antispoofing scores and reject the user if the resulting score is over a certain threshold: r F = O T ^ASTC + Y

Note that, in this case, the fusion weights will not be the same as those obtained for speaker recognition, but they can be obtained as function of quality measures, in the same way as explained for speaker recognition.

A further option is to use the antispoofing scores as a quality measure in the speaker recognition process described previously. In this case the fusion weights for speaker recognition will be modified according to the antispoofing output for the trigger and the command. The antispoofing scores are thus used in a similar manner to the net-speech in the previously-described embodiment, or as we would use any other quality measure. In general it is a good idea to combine this approach with the use of the antispoofing output scores as a filter, so that, if the input is clearly a spoof it is directly rejected instead of using the antispoofing scores only to modify the weights.

A third option is to use the antispoofing scores as additional scores for the speaker recognition task, and fuse them with the speaker recognition scores. This approach is advantageous if we expect there to be correlation between the speaker recognition and antispoofing scores. In this case, before fusing the speaker recognition scores for the trigger and the command, we fuse the trigger speaker recognition and antispoofing scores, and we fuse the command speaker recognition and antispoofing scores, obtained as output of one or more speaker recognition systems and one or more antispoofing systems (for simplicity the equations below are presented considering only one speaker recognition system and one antispoofing system for trigger and one speaker recognition system and one antispoofing system for the command), so that the new scores for trigger and the command are: ρτ = f T (ST, r T )

Pc = fc (Sc ,r c )

The trigger and command fusion functions may be identical or different, and they may be a linear fusion, which in general is the most reasonable approach when the inputs are assumed to be uncorrelated, or any other fusion method. Particularly, the trigger and command fusion score could be obtained using a classifier that is capable of modelling the correlations that may appear between the multiple speaker recognition and anti-spoofing scores. To do so, for each trigger input or command input, a score vector can be built using each score as an entry of the vector, for example for the trigger and the case of having one speaker recognition and one anti-spoofing score:

For N scores, this vector is a point in an N dimensional space. Using several thousand of samples as development data, a classifier can be trained to properly classify the input vectors of scores into the two classes of interest: user (so the output of the system should be a match) or impostor/spoof. This classifier may be a Gaussian classifier with two classes (this is sometimes known as Gaussian Back End), or may use more complicated models, as GMMs. It also may be a SVM or other type of classifier. In general the classifier will output a new score on how likely is the input vector of scores to belong to the class of the user, or ultimately, the input to be a match. This score may be again in the form of a likelihood ratio, a distance or something else, and this score will be used directly used as ρτ (in the case of the trigger) for the later fusion of trigger and command.

Exactly the same process would be applied for the command, using as the score vector and obtaining pc. Note that the score vectors considered for the command may contain the same number of scores as the score vectors for the trigger, or a different number of scores (i.e., antispoofing may be used for the trigger only, or a different number of speaker recognition systems and anti-spoofing systems may be used for the trigger and the command).

This third option can also be combined with the use of the antispoofing output scores as a filter, as described above.

The use of the antispoofing scores as a quality measure can also be combined with the use of the antispoofing scores as additional scores for the speaker recognition task, particularly if the systems that are used to obtain quality measures are not considered for obtaining the scores ρτ and pc, and vice-versa.

Thus, various embodiments have been described above, for arriving at a combined result of the speaker recognition.

In step 62, it is determined based on this combined result whether the user is authenticated. For example, it may be determined that the user is authenticated if the combined result obtained as a function of the separate results exceeds a threshold value.

Figure 9 is a schematic diagram, illustrating a first embodiment of the authentication process that is generally as described above.

Thus, a first background model 1 10 for use in a text-constrained (TC) speaker recognition process and a second background model 1 12 for use in a text-independent (Tl) speaker recognition process are taken as starting points. During an initial enrolment, user speech samples are used to form a text-constrained user voiceprint (that is, the set of coefficients that define the user model) 1 14 and a text-independent user voiceprint 1 16.

A trigger detection block 1 1 8 detects that a trigger phrase has been spoken and a text- constrained speaker recognition or voice biometrics process 120 is performed, based on the first voice segment (namely the user speech from the trigger phrase), the first background model 1 10, and the text-constrained user voiceprint 1 14, to produce a score ST. Also, a text-independent speaker recognition or voice biometrics process 122 is performed, based on the second voice segment (namely the user speech received after the trigger phrase, which is expected to be a command), the second background model 1 12, and the text-independent user voiceprint 1 16, to produce a score Sc. A first set of quality measures (QT) 124 is obtained from the first voice segment, and a second set of quality measures (Qc) 126 is obtained from the second voice segment.

The functions that map the quality measures QT, QC to the weighting factors α, β, and γ have been obtained during a development phase and are stored at 128. Thus, the values of the quality measures QT, QC are used to obtain values of the weighting factors a(Q T , Qc), β(Οτ, Qc), and Y(Q T , QC) as shown at 130.

The values of the weighting factors α(Οτ, Qc), β(Οτ, Qc), and Y(QT, QC) are then used to determine how to fuse the scores ST, SC, as shown at 1 32. This fused score can be used to make a decision, as shown at 1 34, as to whether the first and second voice segments were obtained from the registered user.

Figure 10 is a schematic diagram, illustrating a second embodiment of the

authentication process that is generally as described above. Features that are the same as features of the process shown in Figure 9 are indicated by the same reference numerals.

Thus, a first background model 1 10 for use in a text-constrained (TC) speaker recognition process and a second background model 1 12 for use in a text-independent (Tl) speaker recognition process are taken as starting points. During an initial enrolment, user speech samples are used to form a text-constrained user voiceprint (that is, the set of coefficients that define the user model) 1 14 and a text-independent user voiceprint 1 16.

A trigger detection block 1 18 detects that a trigger phrase has been spoken and a text- constrained speaker recognition or voice biometrics process 120 is performed, based on the first voice segment (namely the user speech from the trigger phrase), the first background model 1 10, and the text-constrained user voiceprint 114, to produce a score ST. Also, a text-independent speaker recognition or voice biometrics process 122 is performed, based on the second voice segment (namely the user speech received after the trigger phrase, which is expected to be a command), the second background model 112, and the text-independent user voiceprint 1 16, to produce a score Sc.

A voice activity detector 140 is used to obtain a measure of the net speech nc contained in the second voice segment.

The functions that map the quality measures QT, QC to the weighting factors α, β, and γ have been obtained during a development phase and are stored at 128. Thus, the values of the net speech factor nc is used to obtain values of the weighting factors a(nc), β(ηο), and y(nc) as shown at 142.

The values of the weighting factors a(nc), β(η), and y(nc) are then used to determine how to fuse the scores ST, SC, as shown at 132. This fused score can be used to make a decision, as shown at 134 in Figure 10, as to whether the first and second voice segments were obtained from the registered user.

The decision illustrated as 134 in Figure 10 is equivalent to the decision shown as 62 in Figure 3. This authentication result from this block 62 can then be used for any desired purpose. For example, the result may be passed to a further decision block 64, to be discussed in more detail below. More generally, if the user is authenticated, a decision may be made to accept that the user is the registered user of the device, as shown at step 74, and this decision may for instance prompt some physical feedback to the user, for example audible, visual or haptic feedback, or some other default action that may occur without further speech input from the user, or allow a response some other input from the user, for instance via a keyboard, to execute some command. In the example shown in Figure 3, if the user is not authenticated based on the combined result, the process passes to step 68. In this example, if the voice biometric input is not considered sufficient to authorise the user, a second authentication factor is requested. For example, the user may be asked to enter a PIN number or password through a keypad of the device, or to provide additional biometric authentication, such as a fingerprint scan.

In step 68, it is determined based on this second authentication factor whether the user is authenticated. This authentication result can then be used for any desired purpose. For example, the result may be passed to a further decision block 70, to be discussed in more detail below. More generally, if the user is authenticated, a decision may be made to accept that the user is the registered user of the device, as shown at step 74 as discussed above. In the example shown in Figure 3, if the user is not authenticated based on the second authentication factor, the process passes to step 72, and the user is rejected. The form that this rejection will take will depend on the action that the user was trying to perform.

The decision to accept or reject the user will therefore have a high degree of reliability, because it takes account of more of the user's speech, compared with a system in which the authentication is performed based only on the trigger phrase.

The example shown in Figure 3 relates to a situation in which the user is attempting to send a speech command to the device, in order to control an aspect of the operation of the device.

Thus, it is expected that the second voice segment, received in step 56, is a command uttered by the user. In step 76, a speech recognition process is performed on the second voice segment. In some embodiments, this may be achieved by transmitting data representing the speech to a speech recognition engine located remotely from the device (for example, in the cloud), using the interface 30 of the device 10. In other embodiments, the speech recognition process is performed in the device 10. The speech recognition process obtains the content and meaning of the second voice segment. In step 78 of this example embodiment, it is determined whether the command is such that it requires authentication. This determination may be made on the basis of a predefined list of commands requiring authentication or not requiring authentication, or it may be made on the basis of data or processing modules requested by the command. For example, if the spoken command asks for publicly available information, it may be determined at step 78 that no authentication is required, and hence the process passes to step 80, in which the content of the command may be used to generate a query to an internet search engine in order to be able to supply that information to the user. However, in other cases, for example if the spoken command relates to personal information, it may be determined at step 78 that authentication is required. In that case, the process passes to step 64, in which it is determined whether the user has been authenticated based on the results of the speaker recognition process. If the user has not been authenticated, the process passes to step 70, in which it is determined whether the user has been authenticated, based on the combination of the speaker recognition process and the second authentication factor, as described above.

If the user has not been authenticated, the process passes to step 72, and that command is rejected. If the user has been authenticated, the process passes to step 80, and the command is executed.

The decision to execute the command, or not to execute the command, may be communicated to the user, for example by providing audible, visual or haptic feedback to the user.

In the example shown in Figure 3, the process of authentication and the process of speech recognition are performed in parallel, in order to save time.

However, in other examples, these processes may be performed sequentially, with the performance of one possibly being conditional on the result of the other.

For example, the process of performing the speech recognition may be performed in all cases, with process of performing speaker recognition being initiated only if it is determined in step 78 that the command is one that requires authentication of the user before that command is performed. As another example, the speaker recognition process may be performed in all cases, with the speech recognition process being initiated only if it is determined in step 62 (or in step 68) that it is the registered user who is speaking. As a further example, the result of the first speaker recognition process may be compared against a threshold (perhaps a low threshold that is relatively easily satisfied), with the speech recognition process of step 76 being performed only if that first speaker recognition process provides a preliminary decision that it is the registered user who is speaking.

The examples described above refer to a first voice segment (for example representing a trigger phrase) and one second voice segment (for example representing a command), with the authentication decision being made based on the speaker recognition processes performed on those two voice segments.

In further embodiments, for example for use in situations in which there is an extended interaction between the user and the voice user interface, or the user is expected to speak for a longer period of time, the reliability of the process of authentication may be further improved by using more of the user's speech as an input.

For example, separate speech inputs, which are provided by the user in response to prompts from the voice user interface following a trigger phrase, might be considered as second, third, fourth etc voice segments. Similarly, a longer period of speech might be divided into second, third, fourth etc voice segments.

In such cases, a third speaker recognition process might be performed on the third speech voice segment, a fourth speaker recognition process might be performed on the fourth voice segment, and so on. The results of these processes can then be combined. For example a combined result can be obtained by forming a weighted sum of the results from the separate processes. In that case, an interim authentication result can be output after performing the second speaker recognition process, with updated authentication results being output after performing the third and fourth speaker recognition processes, and so on. Alternatively, a result can be obtained based on the second voice segment, with a new result being based on the second and third voice segments considered together, and a further new result being based on the second, third and fourth voice segments all being considered together, and so on, perhaps with older voice segments being discarded as the process continues.

Thus, the process of authenticating the speaker can be performed continuously.

The skilled person will thus recognise that some aspects of the above-described apparatus and methods, for example the calculations performed by the processor may be embodied as processor control code, for example on a non-volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. For many applications embodiments of the invention will be implemented on a DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) or FPGA (Field

Programmable Gate Array). Thus the code may comprise conventional program code or microcode or, for example code for setting up or controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly the code may comprise code for a hardware description language such as Verilog™ or VHDL (Very high speed integrated circuit Hardware Description Language). As the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communication with one another. Where appropriate, the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware

Embodiments of the invention may be arranged as part of an audio processing circuit, for instance an audio circuit which may be provided in a host device. A circuit according to an embodiment of the present invention may be implemented as an integrated circuit.

Embodiments may be implemented in a host device, especially a portable and/or battery powered host device such as a mobile telephone, an audio player, a video player, a PDA, a mobile computing platform such as a laptop computer or tablet and/or a games device for example. Embodiments of the invention may also be implemented wholly or partially in accessories attachable to a host device, for example in active speakers or headsets or the like. Embodiments may be implemented in other forms of device such as a remote controller device, a toy, a machine such as a robot, a home automation controller or suchlike.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim, "a" or "an" does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference signs in the claims shall not be construed so as to limit their scope.