Speech synthesizer and method for speech synthesis

By using processors, neural networks and human interaction feedback loop training data in the speech synthesis system, combined with deep learning models, the problem of difficulty in simulating human intonation and emotion in existing systems is solved, and more natural and vivid speech generation is achieved.

CN118786479APending Publication Date: 2024-10-15SIEMENS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380024367.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-05-17
Filing Date
2023-03-23
Publication Date
2024-10-15
Patent Text Reader

Abstract

The invention relates to a speech synthesizer and a method for speech synthesis. Sound with corresponding emotional modeling can be artificially created by a first proposed speech synthesizer and / or a first proposed method for speech synthesis using a KI with a generic algorithm and at least one feedback loop caused by communication with a human listener.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a speech synthesizer and a method for speech synthesis. Background Art

[0002] There are an increasing number of applications in which it would be advantageous if, in addition to the textual output of the solution proposed by a computer-aided system—see, for example, navigation systems—the spoken language output module also reproduced the solution already calculated by the system.

[0003] Natural language human-computer interaction is becoming more and more popular and is also becoming technically feasible due to deep learning algorithms. However, for natural communication between humans and computers, emotional modeling of the vocal range is also necessary. Since the understanding of emotions conveyed by intonation, that is to say also for synthetic reproduction, is not yet very clear, the input parameters and models required for this are a technical challenge. For example, a significant majority of listeners recognize whether a purely acoustically reproduced speaker smiles during his speech.

[0004] Computer-assisted systems with spoken output use speech synthesis and speech synthesizers and methods for speech synthesis.

[0005] Speech synthesis is understood to be the artificial generation of human speech sounds. Text-to-speech systems already exist, which convert continuous text into an acoustic speech output. These systems use a robot voice in principle, which recites the text.

[0006] Various techniques for speech synthesis can be used here, signal generation on the one hand and signal modeling on the other hand. Signal modeling uses speech recordings, wherein the problem of generating a natural intonation and / or emotion modeling is a special problem for each form of speech synthesis. Summary of the invention

[0007] The object of the present invention is to provide a speech synthesizer which improves existing systems with regard to intonation and / or emotion modeling of artificial speech.

[0008] This object is achieved by the subject matter of the invention as defined in the description and the claims.

[0009] Accordingly, the subject matter of the invention is a speech synthesizer comprising the following modules, at least one processor and at least one neural network with a KI on which the general algorithm is programmed:

[0010] - at least one microphone module with recording function,

[0011] - at least one storage module which stores the transcripts of natural and / or artificial spoken speech in the form of acoustic data and forwards them via a suitable interface to at least one

[0012] - a processor that receives, analyzes and processes the acoustic data of the storage module, wherein the processor is configured so that the processor has at least one speech analysis module that analyzes and processes natural language so that correct statements are expressed in terms of content,

[0013] - wherein at least one of the processors is configured such that it also has an emotion module which takes over the emotion modeling of statements in the artificial speech,

[0014] - wherein the two modules are connected to a neural network having an artificial intelligence KI providing suggestions for emotion modeling in terms of the content of statements, wherein the KI formulates the suggestions for emotion modeling based on corresponding training data and a general algorithm, the training data being generated at least in part by human interaction, and

[0015] -Finally, the speaker module, used to reproduce the synthesized speech.

[0016] The general insight of the invention is that by means of general algorithms, programming and corresponding feedback loops in particular with human interaction, a solution for emotional modeling of speech can be provided in such equipped speech synthesizers by means of KI, which solution enables the generation of intonations that appear very natural.

[0017] In the operation of the speech synthesizer, a learning process may first be performed to supplement the training data of the KI by utilizing feedback from human listeners.

[0018] Compared to known speech emotion recognition (SER) systems, which recognize and map emotions in a machine-like manner by means of convolutional neural networks via frequency, volume, melody, etc., the speech synthesizer introduced here for the first time uses a feedback loop with human listeners, so that the training data for the KI used actually not only include machine-detectable and technically measurable data, but are also based on feedback with human listeners. This results in a clear difference, since the prosody, assigned by humans, allows for significantly more nuanced and more profound statements than the technical machine detection by known programs such as SER that have been used so far.

[0019] The feedback loop used by the speech synthesizer in the learning mode is therefore based on feedback from data that is already known and available in libraries and / or programs in various programming languages, but at least also on estimates of human listeners. For example, it has been found that human listeners can - of course with restrictions - but clearly accurately classify whether a purely acoustically reproduced speaker smiles while speaking. This human ability is detected by the speech synthesizer proposed here and converted into data that can be processed digitally and can be used for speech synthesis via KI.

[0020] The prototype of the speech synthesizer has resulted in a significant improvement in the naturalness of the synthesized speech thus produced. This is due in particular to the fact that the pitch contour, i.e. the course of the pitch, has resulted in artificial speech, especially in Western languages, but not so much in Asian languages, being more vivid and more emotional, due to training with human interaction in the KI.

[0021] The computer architecture used in natural language processing and / or generation (NLP) is a neural network based on deep learning models.

[0022] Conventional libraries and / or programs that also form the basis for the speech synthesizer described here can, for example, include speech processing models, in particular here autoregressive speech processing models, such as GPT “Generative Pre-trained Transformer”. This represents a series of natural language processing (NLP) models GPT 1 to GPT 3, in which deep learning is used in order to generate and / or process natural language.

[0023] For example, common libraries that can be used when configuring at least one processor and / or programming KI are Python, LIWC "Linguistic Inquiry Word Count", which has been used for computer linguistics applications. For example, the emotion assignment by the general algorithm of KI has been performed so far with the aid of BERT, GPT3, GitHub and / or Copilot and supplemented by the speech synthesizer presented here.

[0024] By supplementing the training data for speech synthesis by feedback and feedback loops with human listeners, the training data pool of the KI described herein is arbitrarily enlarged, since machine-undetectable queries answerable by human listeners not only in terms of content, but also simply in terms of intonation, such as "How likely is it that the candidate has passed the oral interview?" or "Was the candidate hired?" can be included in the training of the KI. Therefore, the speech synthesizer is equipped with one or more microphones.

[0025] The training data are generated by the human listener, in particular also depending on the emotions assigned to the recordings. For example, it is checked whether the speaker is smiling, speaking authentically, whether one "believes" what the speaker says, or whether uncertainty can be detected in the intonation. This can be done in conjunction with the content and / or independently of the content, for example by listening to unfamiliar human speech. The training data can then be transferred arbitrarily to different content, which, for example, does not correspond in terms of any words and does not correspond in meaning, but requires the same intonation of the human speaker.

[0026] This is then used to train KI to recognize which content the intonation goes with.

[0027] However, for example, specific emotional situations can also be assigned to specific contents regarding intonation: In this case, the following emotions can be assigned to the corresponding acoustic data with varying degrees of accuracy:

[0028] Does the speaker express admiration, delight, fear, annoyance, approval, sympathy, confusion, curiosity, desire, disappointment, disapproval, disgust, shame, excitement, anxiety, gratitude, sorrow, happiness, affection, nervousness, optimism, pride, conviction? If so, to what extent?

[0029] In this case, for example, a human listener can indicate his or her perception using a numerical value from 1 to 10.

[0030] In order to detect these human emotions and convert them into machine-processable data, so-called modules for detecting human emotions are provided. For example, a human listener can operate various input modules while listening. Thus, a person can sit in front of a series of regulators and sliders, each of which represents a different emotion. Thus, a person can - while the person is listening - move the regulators "gratitude, disapproval, anger, anxiety, irony, happiness ..." and so on steplessly, and in this way provide the data that the KI needs for training in the general method. The same input can also be made by a human via a touch screen and / or a keyboard.

[0031] For training, human speakers are recorded in various situations and analyzed accordingly, wherein a value can be assigned to each emotion, so that the training data for intonation combined with the analyzed content of the statements can assign data to as many moods as possible.

[0032] From these training data generated by human listeners with the aid of microphones and simultaneous classification, KI can suggest a intonation for a specific content in conjunction with the content, which can then be reproduced very realistically by the loudspeaker.

[0033] The training data for KI is thus generated through a feedback loop of human speech with human listeners on the one hand, and through a feedback loop of synthetically generated speech with human listeners on the other hand.

[0034] In this context, it is advantageous if one or more microphones that are part of the speech synthesizer have one or more filters that accurately detect the pitch of the spoken speech, whether it is synthesized or human. Suitable filters for recording can meet various requirements regarding noise selection and are known to those skilled in the art.

[0035] It is also advantageous if one or more microphones have a device for also detecting breathing noises. For example, it is provided that the microphone comprises two or more channels, via which speech on the one hand and breathing noises on the other hand are recorded simultaneously, but on different tracks, so that the two recordings can be listened to separately or in combination in a feedback loop.

[0036] Furthermore, it is advantageous if one or more microphones identify the precise position of the speaker so that, in the case of otherwise identical pitches, i.e. the pitch contour, different acoustic data are provided for speech directed confidently and head-on towards the microphone than for speech directed backwards, perhaps even with the head held in a lowered position and / or away from the microphone, for processing via KI.

[0037] The storage module for storing the generated acoustic data is advantageously configured so that the acoustic data are converted into machine-readable data. For example, the storage module may have a program for compressing data.

[0038] According to an advantageous embodiment, the storage module is designed so that the data can be compared with the acoustic data already stored, so that data which are duplicates and therefore do not generate multiple values ​​for training the KI are at least not forwarded, in particular but are separated, for example. These data can then still be stored at another location or can also be deleted.

[0039] In connection with the present invention, a "processor" may be understood to mean, for example, a machine and / or an electronic circuit. A processor may be, in particular, a main processor (CPU), a microprocessor or a microcontroller, for example, an application-specific integrated circuit or a digital signal processor, possibly in combination with a storage unit for storing program instructions, etc. A processor may also be, for example, an IC (Integrated Circuit), in particular an FPGA (Field Programmable Gate Array) or an ASIC (Application-Specific Integrated Circuit), or a DSP (Digital Signal Processor) or a graphics processor GPU (Graphics Processing Unit).

[0040] The processor may also be understood as a virtualized processor, a virtual machine or a soft CPU. For example, it may also be a programmable processor, which is equipped with configuration steps for executing the method according to the present invention, or is configured with configuration steps so that the programmable processor implements the features of the method or module according to the present invention or other aspects and / or sub-aspects of the present invention.

[0041] In conjunction with the present invention, "module" can be understood as, for example, devices such as microphones, cameras and / or storage units for storing acoustic and / or visual data. For example, a processor is specifically set up to perform digital representations so that the KI performs functions in order to implement or realize pattern analysis, pattern recognition and / or pattern prediction and / or the steps of the method according to the present invention. For example, the corresponding module can also be constructed as a separate or independent module. For this reason, the corresponding module can, for example, include other elements. These elements are, for example, one or more interfaces (such as database interfaces, communication interfaces-such as network interfaces, WLAN interfaces) and / or evaluation units (such as another processor) and / or storage units. For example, data can be exchanged (such as received, transmitted, sent or provided) by means of an interface. With the aid of an evaluation unit, data can be compared, checked, processed, distributed or calculated, for example, in a computer-aided and / or automated manner. With the aid of a storage unit, data can be stored, called or provided, for example, in a computer-aided and / or automated manner.

[0042] Furthermore, the subject matter of the invention is a method for speech synthesis comprising the following method steps:

[0043] a) play back synthetic and / or human speech,

[0044] b) simultaneously detecting in real time one / more human responses to said speech,

[0045] c) converting the detected data into machine-processable data,

[0046] d) store data,

[0047] e) Repeat steps a) to d),

[0048] f) forwarding the data as training data to a neural network, the neural network being configured such that the neural network provides a solution for speech synthesis by means of general programming and taking into account the data,

[0049] g) implementing, by a suitably configured processor, the suggestions for speech synthesis generated by the KI,

[0050] h) Output the synthesized speech.

[0051] The repetition period of method steps a) to d) is arbitrary and may be between 1 and 10,000, in particular between 1 and 1000 or 1 and 100 repetitions.

[0052] "Prosody" is the sum of those phonetic properties of speech that are not bound to phonemes and / or phonemes as the smallest fragments, but to more comprehensive phonetic units. The following properties belong to this: word and sentence stress, lexical sounds that rest on word syllables in tonal languages. Prosody includes the typical phonetic melody, pitch and / or intonation of speech.

[0053] An artificial speech is generated by the speech synthesizer and / or the method for speech synthesis taking into account prosody.

[0054] Thus, any technically undetectable data can be used in conjunction with the speech for training the KI, such as: speech melody, intonation in conjunction with the content, which in turn allows inferences about eye contact, facial expressions, head gestures and, in particular, data that are not detectable at all in terms of sensory technology, such as

[0055] “Does the human / synthetic speech appear realistic?” or

[0056] “Does the human / synthetic speech appear awkward?” “Nervous?” “Focused?” “Calm?” “Friendly?” “Does its mindset change during the speech?” “Does it maintain a constant speaking rate?”

[0057] It should also be possible to draw these inferences from synthesized speech so that the synthesized speech appears as natural as possible.

[0058] In this case, in the case of the proposed speech synthesizer and / or in the case of the proposed method for speech synthesis, no explicit understanding of the emotion modeling in the vocal range is required; instead, reliance is placed on feedback through human interaction. Here, it is only important that the emotion can be recognized in the artificial voice, rather than understanding how this occurs.

[0059] In addition, indirect emotions can also be detected through acoustic data, such as "Does the human speaker use many or few filler words?" "Does this change during speech?" "When do the filler words appear?" "In the case of specific content such as "Uh, well, clearing throat...", when do the speech pauses occur? How does the speech melody relate to the content?

[0060] The learning process can be distinguished from the application. KI is based on known tools for speech synthesis and expands these tools with data generated by human interaction.

[0061] In this context, it is advantageous if a classification of the various learned emotional colors is provided so that a quick definition on the user's side is possible.

[0062] By using the speech synthesizer proposed here for the first time and / or the method proposed here for speech synthesis for the first time with a KI having a general algorithm and at least one feedback loop induced by communication with a human listener, voices with corresponding emotion modeling can be artificially created.

Claims

1. A speech synthesizer comprising the following modules, at least one processor and at least one neural network with a KI on which a general algorithm is programmed: - at least one microphone module with recording function, - at least one storage module which stores the transcripts of natural and / or artificial spoken speech in the form of acoustic data and forwards them via a suitable interface to at least one - a processor that receives, analyzes and processes the acoustic data of the storage module, wherein the processor is configured so that the processor has at least one speech analysis module that analyzes and processes natural language so that correct statements are expressed in terms of content, - wherein at least one of the processors is configured such that it also has an emotion module which takes over the emotion modeling of statements in the artificial speech, - wherein two modules are connected to a neural network having an artificial intelligence KI providing suggestions for emotion modeling in terms of the content of statements, wherein the KI formulates the suggestions for emotion modeling based on corresponding training data and a general algorithm, the training data being generated at least in part by human interaction, and -Finally, the speaker module, for reproducing the synthesized speech.

2. A speech synthesizer according to claim 1, wherein the speech synthesizer comprises a speech processing model, and the speech processing model uses a deep learning architecture to generate human-like text.

3. A speech synthesizer according to any one of claims 1 or 2, comprising an interface to a library.

4. A speech synthesizer according to any of the preceding claims, comprising a module for detecting human emotions, a series of regulators which can be respectively assigned to different emotions. 5 . The speech synthesizer according to claim 1 , comprising at least one microphone module having at least one filter for noise selection. 6 . The speech synthesizer according to claim 1 , comprising at least one microphone module which records both speech and respiratory noises.

7. A speech synthesizer according to any one of the preceding claims, comprising at least one storage module adapted to compare detected data with already existing data.

8. A speech synthesizer according to any one of the preceding claims, comprising at least one storage module adapted to compress incoming data.

9. A method for speech synthesis, comprising the following method steps: i) playback of synthetic and / or human speech, j) detecting in real time one / more human responses to said speech, k) converting the detected data into machine-processable data, l) store data, m) Repeat steps a) to d), n) forwarding the data as training data to a neural network, the neural network being configured such that the neural network provides a solution for speech synthesis by means of general programming and taking into account the data, o) implementing, by a suitably configured processor, the suggestions for speech synthesis generated by the KI, p) Output the synthesized speech.

10. The method of claim 9, wherein human responses in terms of emotions such as admiration, delight, fear, annoyance, approval, sympathy, confusion, curiosity, desire, disappointment, disapproval, disgust, shame, excitement, anxiety, gratitude, grief, happiness, love, nervousness, optimism, pride, recognition, etc. are detected during a speech.

11. The method of claim 10, wherein the degree of human response in terms of emotion is detected.

12. A method according to any one of claims 9 to 11, wherein filler words in a speech are detected.

13. The method according to any one of claims 9 to 12, wherein breathing noises of a speaker are detected.

14. The method according to any one of claims 9 to 13, wherein method steps a) to d) are repeated 1 to 1000 times.

15. The method according to any one of claims 1 to 14, wherein a classification of various learned emotion modelings is provided.