GB2517212A - A Computer Generated Emulation of a subject - Google Patents

A Computer Generated Emulation of a subject Download PDF

Info

Publication number
GB2517212A
GB2517212A GB1314711.1A GB201314711A GB2517212A GB 2517212 A GB2517212 A GB 2517212A GB 201314711 A GB201314711 A GB 201314711A GB 2517212 A GB2517212 A GB 2517212A
Authority
GB
United Kingdom
Prior art keywords
subject
vector
response
model
speech
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB1314711.1A
Other versions
GB201314711D0 (en
GB2517212B (en
Inventor
Balakrishna Venkata Jagannadha Kolluru
Vincent Ping Leung Wan
Bjorn Dietmar Rafael Stenger
Roberto Cipolla
Javier Latorre-Martinez
Langzhou Chen
Ranniery Da Silva Maia
Kayoko Yanagisawa
Norbert Braunschweiler
Loannis Stylianou
Robert Arthur Blokland
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Europe Ltd
Original Assignee
Toshiba Research Europe Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Research Europe Ltd filed Critical Toshiba Research Europe Ltd
Priority to GB1314711.1A priority Critical patent/GB2517212B/en
Publication of GB201314711D0 publication Critical patent/GB201314711D0/en
Priority to US14/458,556 priority patent/US9959368B2/en
Priority to EP14181166.1A priority patent/EP2849087B1/en
Publication of GB2517212A publication Critical patent/GB2517212A/en
Priority to US15/923,566 priority patent/US11144597B2/en
Application granted granted Critical
Publication of GB2517212B publication Critical patent/GB2517212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • G06T13/403D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L13/00Devices or apparatus for measuring differences of two or more fluid pressure values
    • G01L13/04Devices or apparatus for measuring differences of two or more fluid pressure values using floats or liquids as sensing elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/211Selection of the most significant subset of features
    • G06F18/2113Selection of the most significant subset of features by ranking or filtering the set of features, e.g. using a measure of variance or of feature cross-correlation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/06Transformation of speech into a non-audible representation, e.g. speech visualisation or speech processing for tactile aids
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/02Methods for producing synthetic speech; Speech synthesisers
    • G10L13/027Concept to speech synthesisers; Generation of natural phrases from machine-based concepts
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • G10L13/086Detection of language

Abstract

A system for emulating a subject in the form of a computer generated talking head to allow a user to interact therewith. The system comprises a processor 3, user interface (GUI) and a personality storage section 7 containing information created by or about the subject, preferably from social media websites, emails. The GUI displays 19 a talking head which comprises the subjects face and appears to output speech from the mouth of the face. The GUI includes a receiver for receiving a query 15 from the user and the talking head is configured to respond to the query. A dialogue section 4 of the processor generate a response to the query inputted by the user, the response is created from the information contained in the personality storage section. The response is converted 5 into a sequence of acoustic units and a statistical model is used to determine probability distributions which correlate an acoustic unit to an image vector and speech vector. The output 17 comprises a synchronized sequence of speech and image vectors which appears to make the GUI head talk. Preferably a set of rules are applied to the dialogue section. Expressions 6 may also be included into the response outputted. Alternatively the output may be in the form of text and the response being derived from converting the query into a word vector, as shown in fig.5b.

Description

I
A Cornpicler Generated Emulation fif a Subject
FIELD
Embodiments described herein relate generally to a computer emulation of a subject.
BACKGROUND
The ability to be able to emulate a subject such that a subject's voice, face and dialogue intelligence are emulated, has a wide variety of uses such a providing a human-like interface to a quei-y system through to providing a personalised avatar which can represent the subject.
BRIEF DESCRIPTION OF TilE DRAWINGS
Systems and methods in accordance with non-limiting embodiments will now be described with reference to the accompanying figures iii winch; Figure 1 is a scitenialic of a system for computer generating a head, which can he used to represent an emulated subject Figure 2 is a flow diagram showing the steps for the emulated subject to respond to a user query iii accordance with an embodiment Figure 3 is a flow diagram showing the basic steps for training a system in accordance with an embodiment; Figure 4 is a schematic of a system lbr emulating a subject in accordance with an embodiment; Figure 5a is a flow diagi-am showing the steps for an emulated subject to iespond to a user query in accordance with a further embodiment and Figure Sb shows the dialogue intelligence steps of figure 5a in more detail; Figure 6 is a flow diagram showing the basic stcps for rendering au animating a generated head to represent the suhjcct in accordance with an embodiment of the invention; Figure? is a schematic of a Gaussian probability fLu etion; Figure 8 is a schematic of the clustering data arrangement used in a method in accordance with an embodiment of the present invention; Figure 9 is a flow diagram demonstrating a method of training a head generation system; Figure 10 is a schematic of decision trees used by embodiments in accordance with the present invention; Figure 11 is an image model which can be used with method and systems iii accordance with embodiments of the present invention; Figure 12(a) is a varialion on the model of figure 11; Figure 12(b) is a variation on the model of figure 12(a); Figure 13 is a flow diagram showing the training of the model of figures 12(a) and (b); Figure 14 is a schematic showing the basics of the training described with reference to figure 13; Figure 15 is a schematic of a system for extracting art expressive synthesis vector; Figure 16 is a schematic of a system lbr extracting expressive features using different levels of knowledge information; Figure 17 is a schematic of a system for extracting expressive features using cascading neural networks to model different levels of knowledge; and Figure 18 is a schematic of an expression deriving section in a system in accordance with an embodiment.
DETAILED DESCRIPTION
In an embodiment, a system for emulating a subject is provided. The system allows a user to interact with a computer generated talking head with the subject's face and voice; said system comprising a processor, a user interface and a personality storage section, the user interface being configured to emulate the subject, by displaying a talking head which comprises the subject's face and output speech from the mouth of the face with the subject's voice, the user interface further comprising a receiver for receiving a query from the user, the emulated subject being configured to respond to the query received from the user, the processor comprising a dialogue section or system and a talking head generation section, wherein said dialogue section is configured to generate a response to a query inputted by a user from the user interface and generate a response to be outputted by the talking head, the response being generated by retrieving infonuation from said personality storage section, said personality storage section comprising content created by or about the subject, and said talking head generation section is configured to: convefl said response into a sequence of acoustic units, the talking head generation section further comprising a statistical model, said statistical model comprising a plurality of model parameters, said model parameters being derived from said personality storage section, the model parameters describing probability distributions which relate an acoustic unit to an image vector and speech vector, said image vector comprising a plurality of parameters which define the subject's face and said speech vector comprising a plurality of parameters which define the subject's voice, the talking head generation section being further configured to output a sequence of speech vectors and image vectors which are synchronised such that the head appears to talk.
In a further embodiment, the head outputs an expressive response such that said face and voice demonstrate expression, said processor thrther comprising an expression deriving section configured to determine the expression with which to output the geneiated response, and wherein tile said model parameters describe probability distributions which relate an acoustic unit to an image vector and speech vector for an associated expression.
Systems in accordance with the above embodiments, allow the capture of a subject's personality. In an embodiment, the personality is captured by defining a personality as a combination of speech, face, expression and dialogue intelligence. En systems in accordance with embodiments of the present invention, the speech and face of a subject can be parameterised. In further embodiments, the expression which a subject displays both facially and vocally can also be parameterised. By capturing this information it is possible to generate a personality file with the speech and face of the subject and even the facial and vocal exprcssions which they spceifieally use whcn talking. By establishing a database of information concerning the subject it is possible to construct dialogue intelligence which is also to he added to the personality file, Thus the suhject can he emulated since a talking head is provided with the subject's face and speech, the head outputs the answers based on information provided by or about the subject.
Thus, the subject can intei-act with other people via the synthetic audiovisual face and voice -a synthetic speech, sounding like the subject themselves -a synthetic face looking like the subject themselves and talking in synchronization with the generated speech.
In an embodiment, the user will also provide the system with various locations fbr information about them such as, they twitter feed, Facehook posts, access to certain e-mails, access to posts made on particular wehsites etc. The system may he provided with details of where to seek factual infoimation about the user such as from company websites, Facebook page, Linkedjn profile etc. The system can be used for a number of different applications, for example: -Automated tourist-guide application. Most tourist information is available either as a book or a pdf; whilst there are a few VH'-rendered audio guides, our system can handle such prepared information with ease while being able to answer any questions one may have during their stay -A Personality banking tool for users to create digital replica of themselves that can act on their behalf when the user is absent (as in one banks their personality for future use) -A memoir for tile user's progeny to interact with peopk in distant future -A human versioning tool: imagine a user talking to a version of themselves who is 20 years younger -An acting tutor -A customizable, bespoke interactive avatar for a company; this avatar can answer questions relating to various products, their advantages and related aspects. Using synthetic audiovisual bespoke reading with (or without) expression CAT as the basis for an interactive face, along with dialog intelligence derived from product information, it will make a viable product -A dialogue training system for people with communication impairment (autism, deafness etc.) -A Tutor for social interactions (interviewing, flirting, customer interaction, etc.) -Dialogue trainer for foreign language learning -Virtual friends/partners/long distance relationships -Interactive dialogue with celebrity's avatar -Virtual face for robots / home robotics -Entertainment productions: TV/Internet shows with single character or multiple characters interacting The nature of the infonnation captured for training the dialogue intelligence will depend on the application for the system.
The manual]y captured personality can he captured in a file such as an XML file.
In further embodiments, the face and/or voice may be expressive.
The dialogue intelligence may be derived from a number of sources, for example posts collected from social media websites, e-mails and other content from or about the subject. The dialogue section/system may be configured to navigate a set of rules stored in said personality storage section to generate the response. In another embodiment, the dialogue system is configured to retrieve a response from said personality storage section by searching information which has been stored in the said personality storage section in an unstructured form.
The dialogue system may be configured to search said information stored iii an unstructured form using a word-vector or n-gram search model. In further embodiment, a rule based approach and a free form search may he combined, for example where the dialogue system is configured to understand said query and based on said understanding select to generate said response using a set of rules stored in said personality storage section or by searching information stored in a non-hierarchical form. The dialogue system may search the rule based answers and then search the non-hierarchical form data if no suitable response is found in the rule based data.
Expression can be built into the system in a number of different ways. In one embodiment, the model parameter in each probability distribution in said associated expression is expressed as a weighted sum of parameters of the same type, and wherein the weighting used is expression dependent, such that converting said sequence of acoustic units to a sequence of image vectors comprises retrieving the expression dependent weights for said selected expression.
In a further embodiment, the parameters are provided in clusters and each cluster comprises at least one sub-cjuster, wherein said expression dependent weights are retrieved for each cluster such that there is one weight per sub-cluster.
The above has described a system where the output is generated using a talking head. However; other forms of output may be possible.
In a fUrther embodiment, a system is provided for creating a response to an inputted user query, said system comprising: a personality file section, said personality file section comprising a plurality of documents stored in an unstructured font; a query conversion section configured to convert said queiy into a word vector; a first comparison section configured to compare said word vector generated from said query with word vectors generated from the documents in said personality file section and output identified documents; a second comparison section configured to compare said word vector selected from said qiieiy and passages from said identified documents and to rank said selected passages, said ranking being based on the number of matches between said selected passage and said query; and a concatenation section adapted to concatenate selected passages together using sentence connectors, whe]-ein said sentence coiincctors arc chosen from a plurality of sentence connectors, said sentence connectors being chosen on the basis of a statistical model.
The documents may be any of the above described text sources such as twitter feeds, e-mails etc. The above system may be combined with the talking head generation as described above or it may simply be used to output a text response.
1 5 The ranking of the selected passages is based on a norinalised measure of the number of matches between said selected passage and sad query. F he sentence connectors may be chosen using a language model. In a lhrther enibodinient, the system is configured to set a predetermined size for the response. For example, the system may he configured to select a response having a length of approximately 15 words or a further set value.
In a further embodiment the system is configured to output an expressive response such that said face and voice demonstrate expression, said processor thrther comprising an expression deriving section configured to determine the expression with which to output the generated response, and wherein the said model parameters describe probability distributions which relate an acoustic unit to an image vector and speech vector for an associated expression.
In a further embodiment, a system for generating a personality tile is provided, said personality file being used Lo store itiforniation relating to the speech, face and dialogue intelligence of a subject such that the subject can he einu]aled, said personality file being suored in said personality storage section, the system for generating a personality file comprising: an interface for inputting information identifying content created by or about the subject; an audio-visual recording system configured to record the voice and face of a subject, when reading known text, while using a range of different emotions; and a processor being configured to: curate said information identif'ing content created by or about said user, said curation comprising organising said content into documents and building an ii-gram language model tbr said documents and also a word vector model for each document; and produce a statistical mode!, said statistical model comprising a pkirality of model parameters describing probability distributions which relate an acoustic unit to an image vector and speech vector, said image vector comprising a plurality of parameters which define the subject's face and said speech vector comprising a plurality of parameters which define the subject's voice, the processor being configured to train said statistical model such that a sequence of speech vectors and image vectors which are synchronised when outputted cause the generated head to appear to talk.
in an embodiment, a method lbr emulating a subject is provided that allows a user to interact with a computer generated talking head with the subject's face arid voice; the method comprising: receiving a user inputted query; generating a response to a query inputted by a user from the user interface and generate a response to be outputted by the talking head, the response being generated by retrieving information from said personality storage section, said personality storage section comprising content created by or about the subject; and outputting said response by displaying a talking head which comprises the subject's face and output speech from the mouth of the face with the subject's voice, wherein said talking head outputs said response by: converting said response into a sequence of acoustic units using a statistical model, said statistical model comprising a plurality of model parameters, the model parameters describing probability disti-ibutions which relate an acoustic unit to an image vector and speech vector, said image vector comprising a plurality of parameters which define the subject's face and said speech vector comprising a plurality of parameters which define the subject's voice, the talking head appearing to talk by outputting a sequence of speech vectors and image vectors which are synchronised.
Since some methods in accordance with embodiments can be implemented by software, some embodiments encompass computer code provided to a general purpose computer on any
B
suitable canier medium. The carrier medium can comprise any storage medium such as a floppy disk, a (21) ROM, a magnetic device or a programmable memory device, or any transient medium such as any signal e.g. an electrica[, optical or microwave signal.
Figure 1 is a schematic of a system for emulating a subject. The head of the subject to he emulated is displayed, the head can talk such that speech is outputted by the head and the lips of the head move in synchronisation with the outputted speech. Further, the head is expressive in that, in an embodiment, both the tone of the voice outputted by the head and the expression exhibited by the face of the head demonstrate an emotion.
The system I comprises a processor 3 which comprises a program, having 3 sections: a dialogue section 4, an expression deriving section 6 and a talking head generation section 5. The storage 7 stores data which is used by dialogue section 4, the expression deriving section 6 and the talking head generation sectionS to render the head on display 19.
The text to speech system 1 further comprises an input module 11 and an output module 13.
The input module 11 is connected to an input for data relating to the speech to be output by the head and the emotion or expression with which the text is to be output. The type of' data that is input may take many forms, which will be described in more detail latei-. The input 15 may be an interface that allows a user to directly input data. Alternatively, the input may be a receiver for receiving data from an external storage medium or a network.
Connected to the output module 13 is output is audiovisual output 17. The output 17 comprises a display 19 which will display the generated head.
In use, the system 1 receives data through data input 15. The programS executed on ptocessor 3 converts inputted data into speech to be output by the head and the expression, which the head is to display. The program accesses the storage to select parameters on the basis of the input data. The program renders the head. ftc head when animated moves its lips in accordance with the speech to be output arid displays the desired expression The head also has an audio output which outputs an audio signal containing the speech. The audio speech is synchronised with the lip or mouth movement of the head.
Figure 2 is a flow diagram showing the steps which are perfoimed by the apparatus of figure 1.
In step S200 1. The subject to be emulated will have a pre-stored profile which will be referred to as a personality file. Flow this information is gathered will be described with reference to figure 3. 1'he system will allow a user to converse with an emulated subject. The subject can be someone who is alive today and is providing the emulation in their absence, the subject may have died and the emulation allows a user to converse with a subject who has deceased, the subject may also have been ercatcd, for example the dialogue may be derived from one subject, but the appearance and/or voice may be derivcd from another subject.
The user interface maybe provided in a number of different ways. For example, in one embodiment, the user interface allows a user to speak directly to the emulated subject, for example the user interface may comprise an automatic speech recognition system which can convert the spoken language into a form to be processed by the dialogue management section.
The user interface may also comprise a gesture interface which will allow the system to recognise the user's gestures for example, the user sitting in position to talk the emulation of the subject, the user shaking their head or performing some other gesture which can be used by the system to control the subject's response.
in a further embodiment, a simpler iiitcrfhec is provided where the user will type the question into the system.
The user interfaceS2001 will then fonvard the user input into the dialogue management section S2003. First, the dialogue management section will apply latent semantic analysis in order to understand the query from the user interface 82001. The dialogue management system in accordance with an embodiment of the present invention will be described with reference to figures 5a and Sb.
After response is generated by dialogue management system 82003, the expression extraction section analyses the query in step 82005. This system may determine that no expression is to be using the output query. This subject is then emulated in step 82007.
The system described with reference to figure 2, accesses a personality file of the subject which is collected and/or collated as described with reference to figure 3.
Figure 3 is a flow diagram showing the basic steps that are used to collect the data in order to emulate the subject. The subject will read known text in the subjects voice will be recorded. The subjects face will also be captured during the reading of some of this text. However, generally, to train system it will not be necessary to capture as many images as the amount of data required to train the actual voice output. This training of the system to capture facial expression and vocal output will be described in more detail with reference to figures 13 and 14.
Next, data to construct the part of the personality file which is used for the dialogue intcliigeneclmanagcment section will be collected. In one embodiment, this may be achieved by providing the system with specified data such as details of the subject. The user may also provide any information that they specifically wish to be output by the system.
In an embodiment, the subject will provide the system with pointers to data to build the dialogue intelligence. These pointers could range from selected Emails, social media entries such as Facebook, Twitter, FAQ documents to product related infonnation and so on. The dialogue intelligence module can be configured to use a rule-based approach or an automatic approach.
In a rule-based approach, the user provides data in a question-answer fonnat. Once the query from an end user (person interacting with the system) matches a question, its pre-deterinined auiswcr will the response spoken by the system.
In the automatic version, the system employs a combination of infoimation retrieval and automatic sumrnarisation teelmiques to locate an appropriate area of response and fonn a formal response, respectively.
There ale three stages for dialogue intelligence in automatic version: data collation, data curation and response generation. The data collation and data curation steps may be performed when constructing the personality file: 1) Data collection helps the system "personalise" the talking head. This step involves user providing the data to the system and could include information in the form of a. Personal content such as Bmails, personal articles about a certain subject (or even themse'ves) which they would want the system to know when used in future) b. FAQ or sales information about products c. Social media entries such as Facebook posts, blogs, tweets etc. 2) The step of data curation prepares the data for statistical information processing: processing the data into enable them to handle a user-query in a word-vector space models and extract relevant areas from the entire data.
a. A word vector can be established for each document. Each dimension of the word vector represents a word of the vocabulary in the language of the document. Such a vocabulary may be set by an external input, For example, word-vectors may comprise dimensions set by a vocabulary of 64,000 words.
S In fiwtlier embodiments the vocabulary may be restricted, for example, based on words found in the data provided to the system. lit an embodiment, the system uses a word vector which has dimensions nfl 0,000 words. The weighting applied to each dimension can be based on measures such as term frequency -inverse document frequency tf-idf which isa measure of the frequency of a 1 0 term in a document normalised by a measure of the frequency of the term measured across all of the collected documents.
b. build an n-gram language model based on a vocabulary (a list of 1 million or so most used words) to build a language model for data, Once an initial model is built, this intelligence can be subsequently ameliorated by adding more information, as deemed required by the user, by interpolating it with a generic language model, In an embodiment, language models ale typically stored as trigrams. In one embodiment, a combination of LMs is used. Here, a big generic model l.M is built which is used as a background LM. This is built from a massive text from a corpus. Next, smaller LMs on the user-specific text are created. The models can then be interpolated and weighted appropriately; the personality-based smaller LM is typically give higher weight.
Figure 4 shows a more detailed diagram of the system described with reference to figure 1.
Figures 5a and 5b show the processing steps which take place in the method of generating a response.
The human interface 2101 comprises two parts, an input section 2103 which can receive an input of text, speech, gestural other input and an output section 2105 when the subjects elation is displayed. These are connected to the dialogue system 2107. The dialogue system 2107 takes the inputted query and generates the response. The dialogue system liaises with dialogue intelligence unit 2109. The dialogue system feeds the response to the expressive visualisation text-to-speech part 2105 of the interface. This takes inputs from section 2109 which generates the subject's voice in section 2111 which generates the subject's face. How the face and voice are synthesised will be described with reference to figures 6 to 14.
The operation of the expression deriving section 6, in accordance with an embodiment, will be described with reference to figures 15 to 18. As the parameters from the expression deriving section 6 are supplied directly to the head generation section 5, the head generation section will be described next to aid understanding of the type of parameters which need to be inputted from [he expression deriving section 6.
In the flow-chart of figure Sa, the query generated in step S2051 will output to a decision point in step S2053 to determine whether the response provided by the system will be derived from a manual process or whether it will be derived from an automatically generated textual response.
Whether a manual or automatically generated response is used may depend on the settings of the system. For example, the system can be set up as adopting a rule-based approach based on the nature of the enquiry. For example, if the query relates to a commonly asked question, a manual mapping response may be derived. On the other hand if the system is set to automatic response, the data-nining-summarisation aspects generate an appropriate response.
First, a situation where manuni response generation is used would be discussed. In this case, in step S2055, the query enters a section where there is a manually created mapping from a question to a specific answer (in the form of the text). This mapping defines different domains setting a course of conversation. It can be implemented as a set of options in AIMIL, for example in a system such as ALICE or chatbot.
If in step S21J53, it is determined not to use the manual mapping, the system will progress to the automatic system in step S2057.
Figure Sb is a flow diagram that shows a possible method of automatically generating a response in accordance with an embodiment. Here, a qucry is sent to the user database based on a word-vector mode]. As described iii relation to figure 3, word-vectors are generated from documents provided to the personality fi]e. The query can he modified to a word vector using the same dimensions and weighting criteria.
In this word vector model, the query is constructed as a vector in step S2071 and the documents or inputs which are to be searched corresponding to the query are also converted into a vector form. Relevant documents are then selected, using a first comparison section, on the basis of matching the word vector with that of the document vectors in accordance with step 82073. If a F! term in the query appears in a file to be searched then the component of the vector relating to that word will have a non-zero weighting. One possible model of weighting the components of the vector is to use the teim-frequency-inverse document frequency model of TF-IDF model.
In step S2075, the documents, which have bee]] selected are then subdivided into passages and relevant passage from each document are then selected. The passages can be selected, using a second comparison section, by constructing word vectors where the weightings are established using the term frequency -inverse sentence frequency wherein the term frequency is normalised based on the frequency of the word within the document. Once the weightings are established, the vectors can be compared as before.
The output of step S2075 provides sentences that have similarity scores representing their similarity to the word vector of the query. These sentences are then ranked on the basis of these scores and the sentences with the highest scores are selected to form the response in step S'2077.
Finally in step S2079, a combination of extractive sunln)arisation (excerpts from the actual text) and non-extractive summarisation (add more information to phrases selected from extractive techniques) are used to produce the response. There are many possible sentence connectors, "and. for, by, before, however" etc. In accordance with an embodiment, the sentence connectors are chosen using a language model. Combinations of the selected sentences with sentence connectives are generated, in a concatenation section, and the perplexity of the total phrase is estimated with sentence connectors that give highest likelihood scores being chosen.
Also the length of response will determine the number of phrases that will be selected. If the average length of a response is 15 words, then phrases with chosen such that they are most relevant to the query from across the document until their cumulative length is about 12-14 words and then these different phrases arc combined thr a single response.
To illustrate the above, the following example is used: User queiy: How did you resolve the issue of a feuding family in your times? F The search of the personality file database (comprising of tweets, Facebook entries and personal emails) fetches us the following: 1. Please resolve all issues amicably as it is affecting our reputation 2. Regarding the recent feud for family wealth 3.1]oved watching Family Feud episode yesterday 4. ... you must spend time with your family but during our times The sentence-ranking algorithm picks up sentences that have maximum impact" words.
As the ranking score is normalised by the length of a sentence, sentences that are both of a good length (not too long, not too short) and contain more vocabulaiy words are desired.
By these criterion, sentences 4. and 3. are ranked lower than 1. and 2.; hi an embodiment, the two sentences could bejoined to make an answer or more relevant parts of sentences 1. & 2 could be combined using sentence connectives: For example, "Resolve all issues amicably, *like*, the recent feud for thniily sveal th..." Regardless whether the system has used the manual step, S2055 or the automatic response generation step 82057, the response is provided in step S2059.
In step S206 1, a thither decision point is reached as to whether to use emotion. This question point may be set dependent on the use of the system or whether manual the money will or automatic response generation route has been used. Usage of emotion is totally based on the setup of the system. It can be configured on the basis of user requirement. Sonic usages of the system will not need emotions (e.g., FAQ or Sales related information) . At other times when emotion is needed (e.g., a user's personal avatar reading out fiom a personal blog or email), the system can be configure to crnotc.
If it is decided that no emotion is to he applied in the output, then the system will proceed to step S2065. Here, the text-to-speech output will be constructed. If it is decided that emotion should be used, the response to be output is evaluated in step S2063. The emotion which the text to be output with can be derived from the text itself. This may be a simple system where the recognition of certain words e.g. happy, etc are automatically tagged with an emotion. In a thrther embodiment, a statistical method is used to drive emotion from the text, this will be F described in more detail with reference to figures 15 to 18. The output of step S2063 is also provided to the expressive visual iTS system in step S2065. Next, the head is rendered in step 52067.
Figure 6 is a schematic of the bask process For animating and rendering the head. In step 5201, the response is received Jltn the dialogue section 4 described above.
In this specific embodiment, the input will be in the form of text 5203. However, the input does not need to be a text input, it can be any type of signal which allows the head to be able to output speech. For example, the input could be selected from speech input, video input, combined speech and video input. Another possible input would be any form of index that relates to a set of face/speech already produced, or to a predefined text/expression, e.g. an icon to make the system say "I don't know", "call you repeat that please?" etc. When text is received as an input, it is then converted into a sequence of acoustic units which may be phonemes, graphemes, context dependent phonemes or graphenies and words or part thereof The output of the expression deriving section 6 can be inputted at step 5205 and used directly in the rendering/synthesis or the input can be converted to "expression weights" in step 5207 which are used directly in the rendering/synthesis of the current embodiment.
In step S213, the text and exprcssion weights are input into an acoustic model which in this embodiment is a cluster adaptive trained HMM or CAT-HMM.
The text is then converted into a sequence of acoustic units. These acoustic units may be phonemes or graphemes. The units may be context dependent e.g. triphones, quinphones etc. which take into account not only [he phoneme which has been se[ected but the proceeding and following phonemes, the position of the phone in the word, the number of syllables in the word the phone belongs to, etc. The text is converted into the sequence of acoustic units using techniques which are well-known in the art and will not be explained further here.
There are many models available for generating a face. Some of these rely on a parameterisation of the face in terms of, for example, key points/features, muscle structure etc. Thus, a face can be defined in terms of a "face" vector of the parameters used in such a face model to generate a face. [his is analogous to the situation in speech synthesis where output speech is generated from a speech vector. In speech synthesis, a speech vector has a probability of being related to an acoustic unit, there is not a one-to-one correspondence. Similarly, a face vector only has a probability of being related to an acoustic unit. Thus, a face vector can be manipulated in a similar manner to a speech vector to produce a talking head that can output both speech and a visual representation of a character speaking. Thus, it is possible to treat the face vector in the same way as the speech vector and train it from the same data.
The probability distributions are looked up which relate acoustic units to image parameters. In this embodiment, the probability distributions will be Gaussian distributions which are defined by means and variances. Although it is possible to use other distributions such as the Poisson, Student-t, Laplacian or Gamma distributions some of which are defined by variables other than the mean and variance.
Considering just the image processing at first, in this embodiment, each acoustic unit does not have a definitive one-to-one correspondence to a "face vector" or "observation" to use the terminology of the art. Said face vector consisting of a vector of parameters that define the gesture of the face at a given frame. Many acoustic units are pronounced in a similar manner, are affected by surrounding acoustic units, their location in a word or sentence, or are pronounced differently depending on the expression, emotional state, accent, speaking style etc of the speaker. Thus, each acoustic unit only has a probability of being related to a face vector and text-to-speech systems calculate many probabilities and choose the most likely sequence of observations given a sequence of acoustic units.
A Gaussian distribution is shown in figure 7. Figure 7 can be thought of as being the probability distribution of an acoustic unit relating to a face vector. For example, the speech vector shown as X has a probability l'l of cori-esponding to the phoneme or other acoustic unit which has the distribution shown iii figure 7.
The shape and position of the Gaussian is defined by its mean and variance. These parameters ale detennined during the training of the system.
These parameters ale then used in a model in step 5213 which will be termed a "head model".
The "head model" is a visual or audio visual version of the acoustic models which are used in speech synthesis. In this description, the head model is a Hidden Markov Model (HMM).
However, oilier models could also be used.
The memory of the talking head system will store many probability density functions i-elating an to acoustic unit i.e. phoneme, grapheme, word or part thereof to speech parameters. As the Gaussian distribution is generally used, these are generally referred to as Gaussians or components.
In a Hidden Markov Model or other type of head model, the probability of all potential face vectors relating to a specific acoustic unit must be considered. Then the sequence of face vectors which most likely corresponds to the sequence of acoustic units will be taken into account. This implies a global optimization over all the acoustic units of the sequence taking into account the way in which two units affect to each other. As a result, it is possible that the most likely face vector for a specific acoustic unit is not the best face vector when a sequence of acoustic units is considered.
In the flow chart of figure 6, a single stream is shown for modelling the image vector as a "compressed expressive video model". In sonic embodiments, there will be a plurality of different states which vill each be modelled using a Gaussian. For example, in an embodiment, the talking head system comprises multiple strcams. Such streams might represent parameters for only the mouth, or only the tongue or the eyes, etc. The streams may also be further divided into classes such as silence (sil), shoit pause (pau) and speech (spe) etc. In an embodiment, the data from each of the streams and classes will be modelled using a HMM. The 1-1MM may comprise different numbers of states, for example, in an embodiment, 5 state FIMMs may be used to model the data from some of the above streams and classes. A Gaussian component is determined fbr each HMM state.
The above has concentrated on the head outputting speech visually. however, the head may also output audio in addition to the visual output. Returning to figure 3, (lie "head mode]" used to produce the image vector via one or more streams and in addition produce speech vectors via one or more streams, In figure 6 audio streams are shown which are, spectrum, Log FO and BAP/ Cluster adaptive training is an extension to hidden Markov model text-to-speech (HMM-TTS).
HMM-TTS is a parametric approach to speech synthesis which models context dependent speech units (CDSU) using I-IMMs with a finite number of emitting states, usually five.
Concatenating the 1-IMIvIs and sampling from them produces a set of parameters which can then be re-synthesized into synthetic speech. Typically, a decision tree is used to clustei the CDS'U to handle sparseness in the training data. For any given CDSU the means and variances to be used in the FTh'th4s may be looked up using the decision tree.
CAT uses multiple decision trees to capture style-or emotion-dependent information. This is done by expressing each parameter in terms of a sum of weighted parameters where the weighting is derived from step S207. The parameters are combined as shown in figure 8.
Ihus, in an embodiment, the mean of a Gaussian with a selected expression (for either speech or face parameters) is expressed as a weighted aiim of independent means of the Gaussians.
-Eqn.l
where g is the mean of component in in with a selected expression s, e ft p} is the index for a cluster with P the total number of clusters, 4s) is the expression dependent interpolation weight of the / cluster for the expressions; Pcfr,,i) is the mean for component in in cluster!. In an embodiment, one of the clusters, for example, cluster 1=1, all the weights are always set to 1.0. This cluster is called the bias cluster'. Each cluster comprises at least one decision free. There will be a decision tree for each component in the cluster. In order to simp1if' the expression, c (n, {i} indicates the general leaf node index for the component in iii the mean vectors decision free for cluster! ,with N the total number of leaf nodes across the decision trees of all the clusters. The details of the decision trees will be explained later.
For the head model, the system looks up the means and variances which will be stored in an accessible manner. The head model also receives the expression weightings from step S207. It will be appreciated by those skilled in the ait that the voice character stic dependent weightings may be looked up before or after the means are looked up.
The expression dependent means i.e. using the means and applying the weightings, are then used in a head model in step S213.
The face characteristic independent means are clustered. In an embodiment, each cluster comprises at least one decision tree, the decisions used in said trees are based on linguistic, phonetic and prosodic variations, In an embodiment, there is a decision tree for each component which isa member of a cluster. Prosodic, phonetic, and linguistic contexts affect the facial gesture. Phonetic contexts typically affects the position arid movement of the mouth, and prosodic (e.g. syllable) and linguistic (e.g., part of speech of words) contexts affects prosody such as duration (rhythm) and other parts of the face, e.g., the blinking of the eyes.
Each cluster may comprise one or more sub-clusters where each sub-cluster comprises at least one of the said decision trees.
The above can either be considered to retrieve a weight for each sub-cluster or a weight vector for each cluster, the components of the weight vector being the weightings for each sub-cluster.
The following configuration may be used in accordance with an embodiment of the present 1 5 invention. To model this data, in this embodiment, 5 state HMMs are used. The data is separated into three classes for this example: silence, short pause, and speech. In this particular embodiment, the allocation of decision trees and weights per sub-cluster are as follows.
hi tins particular embodiment the following streams are used per cluster: Spectrum: 1 stream, 5 states, I tree per state x 3 classes LogFO: 3 streams, S states per stream, I tree per state and stream x 3 classes BAP: 1 stream, 5 states, I tree per state x 3 classes VID: I stream, 5 states, 1 tree per state x 3 classes Duration: 1 stream, 5 states, I tree x 3 classes (each tree is shared across all states) Total: 3x31 = 93 decision trees For the above, the following weights are applied to each stream per expression chai'acteristic: Spectrum: 1 stream, 5 states, I weight per stream x 3 classes LogFO: 3 streams, 5 states per stream, 1 weight per stream x 3 classcs RAP: I stream, 5 states, 1 weight per stream x 3 classes VII).' I stream, 5 states, 1 weight per stream x 3 classes Duration 1 stream, 5 states, I weight per state and stream x 3 classes Total: 3x1 1 33 weights.
As shown in this example, it is possible to allocate the same weight to different decision trees (VID) or more than one weight to the same decision tree (duration) or any other combination.
As used herein, decision trees to which tile same weighting is to be applied are considered to form a sub-cluster.
In one embodiment, the audio streams (spectrum, logP0) are not used to generate the video of the talking head during synthesis but are needed during training to align the audio-visual stream with the text.
The following table shows which streams are used for alignment video and audio in accordance with an embodiment of the present invention.
Stream Used for aiignmcnt Used for video Used for audio synthesis synthesis Spectrum Yes No Yes LogFO Yes No Yes BAP No No Yes (but may be omitted) VID No Yes No Duration Yes Yes Yes In an embodiment, the mean of a Gaussian distribution with a selected voice characteristic is expressed as a weighted sum of the means of a Gaussian component, where the summation uses one mean from each cluster, the mean being selected on the basis of the prosodic, linguistic and phonetic context of the acoustic unit which is currently being processed.
The training of the model used iii step 8213 will be explained in detail with reference to figures 9 to I I. Figure 2 shows a simplified model with four streams, 3 related to producing the speech vector (1 spectrum, I Log FO and Iduration) and one related to the face/VID parameters, (However, it should be noted from above, that many embodiments will use additional streams and multiple streams may be used to model each speech or video parameter. For example, in this figure BAP stream has been removed for simplicity. This corresponds to a simple pulse/noise type of excitation. However the mechanism to include it or any other video or audio stream is the same as for represented streams.) These produce a sequence of speech vectors and a sequence of face vectors which are output at step S215.
the speech vectors are then fed into the speech generation unit in step S2 17 which converts these into a speech sound file at step S219. Thc thee vectors are then fed into face image generation unit at step S221 which converts these parameters to vidco in step S223. The video and sound files are then combined at step S225 to produce the animated talking head.
Next, the training of a system in accordance with an embodiment of the present invention will be described with reference to figure 9.
In image processing systems which ate based on Hidden Markov Models (HMMs), the FIMM is often expressed as: = (A,B,1m) Eqn. 2 where A = {a} and is the state transition probability distribution, B = (b is the state output probability distribution and H = {g,}1 is the initial state probability distribution and where N is the number of states in the FPvIM.
As noted above, the face vector parameters can be derived from a HMM in the same way as the speech vector parameters.
in the current enlboduneilt, the state transition probability distribution A and the initia' state probability distribution are deteiinined in accordance with procedures known in the art.
Therefore, the remainder of this description will be concerned with the state output probability distribution.
Generally in talking head systems the state output vector or image vector oQ) from an in" Gaussian component in a model set Al is P(oQtn,s, 1)= N(o(tp,L) Eqn.3 where p' and Z,, are the mean and covariance of the mUI Gaussian component for speakers.
The aim when training a conventional talking head system is to estimate the Model parameter set Al which maxinuses likelihood for a given observation sequence. In the conventional model, there is one single speaker from which data is collected and the emotion is neutral, therefore the model parameter set isp"11, =p, and £,, -I,,, for the all components in.
As it is not possible to obtain the above model set based on so called Maximum Likelihood (jvfL) criteria purely analytically, the problem is conventionally addressed by using an iterative approach known as the expectation maximisation (EM) algorithm which is often referred to as the Baum-Welch algorithm. Here, an auxiliary function (the "Q" function) is derived: = Tm (t)log p(oQ),rnJt4) flij Eqn 4 where yr,, (0 is the posterior probability of component in generating the observation o(t given the current model parameters M and Mis the new parameter set. After each iteration, the paramcter set Al' is replaced by the new parameter set M which maxirnises Q(M, M'). p(oW, in Al) is a generative model such as a 0MM, HIVIM etc. In the present embodiment a 1-1MM is used which has a state output vector of: P(o(tin, s, .M) = N(oQ); ji, E1) Eqn. 5 Where MN} , 7' } and s} arc indices for component, time and expression respectively and where MV, 7, and S are the total number of components, frames, and speaker expression respectively. Here data is collected from one speaker, but the speaker will exhibit different expressions.
The exact form of and t depends on the type of expression dependent transforms that are applied. In the most general way the expression dependent transforms includes: -a set of expression dependent weights -a expression-dependent cluster -a set of linear transforms After applying all the possible expression dependent transforms in step 211, the mean vector and covariance matrix) of the probability distribution m for expression s become = A 2*JLC(W,) + -b Eqn6 -(AflT in \ r(rn) L(rn) r{ni) I Eqn.7 wherep,I)are the means of cluster I for component in as described in Eqn. 1, 4x) is the mean vector for component in of the additional cluster for the expression s, which will be described later, and A,)and b) are the linear transformation matrix and the bias vector associated with regression class r(n) for the expression s.
R is the total number of regression classes and rØ )c i R} denotes the regression class to which the component in belongs.
If no linear transformation is applied, A,)and b3) become an identity matrix and zero vector respectively! For reasons which will be explained later, in this embodiment, the covarianees are clustered and arranged into decision trees where v(m) {i v} denotes the leaf node in a covariance decision tree to which the co-variance matrix of the component m belongs and V is the total number of variance decision tree leaf nodes.
Using the above, the auxiliaiy function can be expressed as: Q(M,M') = - Q)ogj± + oQ)-2)T;oi)-))}± c hI.1. S Eqn 8 where C is a constant independent of M Thus, using the above and substituting equations 6 and 7 in equation 8, the auxiliary function shows that the model parameters may be split into four distinct parts.
The first part are the parameters of the canonical model i.e. expression independent means and the expression independent covariance {i'k} the above indices it and k indicate leaf nodes of the mean and variance decision trees which will be described later. The second part are the expression dependent weights where s indicates expression and i the cluster index parameter. The third part are the means of the expression dependent cluster Pmx) and the fourth part me the CMLLR constrained maximum likelihood linear regression transforms where s indicates expression and d indicates component or expression regression class to which component in belongs.
In detail, for determining the ML estimate of tile mean, the following procedure is performed.
To simplify the following equations it is assumed that no Iineai' transform is applied.
If a linear transform is applied, the original observation vectors {o(O} have to be substituted by the transformed vectors {ô) Q) = A0oQ) + brn) } Eqn. 9 Similarly, it will be assumed that there is no additional cluster. The inclusion of that extra el tislcr during the training is just equivalent to adding a linear transform on which A) is the identity matrix and = First, the auxiliary function of equation 4 is differentiated with respect to p as follows: UQ(M;C1) a. = -0nn >
I
Eqn. 10 Where = > = fli,i,j ?fl.,i r(jn.,i)=n..
c(m,fl=v Eqn. II with G7 and k (in) accumulated statistics = ) y(t, s)AY E' s) 23 t,q(rn) v(rn) jq(n) F t,s = 7, rn)Ev(m)(tY Eqn. 12 By maximizing the equation in the noimal way by setting the derivative to zero, the following formula is achieved for the ML estimate of j.t,, i.e. R,: = G; -Il #11; Eqo, 13 It should be noted, (hat theME estimate of, also depends on p where k does not equal n. The index n is used to represent leaf nodes of decisions trees of mean vectors, whereas the index k represents leaf modes of eovariancc decision trees. Therefore, it is necessary to perform the optimization by iterating over all Jn until convergence, This can be perfonned by optimizing all ii,, simultaneously by solving the following equations.
C11... C1N Pi GN1..: CNN I4N Eqa. 14 However, if the training data is small or N is quite large, the coefficient matrix of equation 7 cannot have full rank. This problem can be avoided by using singular value decomposition or other well-known matrix factorizatioii techniques.
The same process is then pcrfbrmed in order to perform an ML estimate of the covariances i.e. tile auxiliary function shown in equation (8) is differentiated with respect to Ek to give: t,ss'n y1(t, s)O(t) o(t)T = v(m)=k k t,sin y1(t, s) v(tn)=k Eqn. 15 Where ôt) = O(t) -Eqn. 16 The ML estimate for expression dependent weights and the expression dependent linear transform can also be obtained in tile same manner i.e. differentiating the auxiliary function with respect to the parameter for which the M1 estimate is required and then setting the value of the differential toO.
For the expression dependent weights this yields A?) -( > y1(t, s)MYM;.) t. rn q( in)=q > y1(t, s)]'IE1o(t) t,Ifl-Eqn. 17 In an embodiment, the process is performed in an iterative manner. This basic system is explained with reference to the flow diagram of figure 9.
In step S3O a plurality of inputs of video image are received. In this illustrative example, 1 speaker is used, but the spcakcr exhibits 3 different emotions when speaking and also speaks with a neutral expression. The data both audio and video is collected so that there is one set of data for the iieulrai expression and three further sets of data, one for each of the three expressions.
Next, in step S303, an audiovisual model is trained and produced for each of the 4 data sets.
The input visual data is parameterised to produce training data. Possible methods are explained in relation to the training for the image model with respect to figure 14. The training data is collected so that there is an acoustic unit which is related to both a speech vector and an image vector. In this embodiment, each of the 4 models is only trained using data from one face.
A cluster adaptive mode! is initialised and trained as follows: In step S305, the number of clusters P is set to V + I, where V is the number of expressions (4).
In step S307, one cluster (cluster 1), is determined as the bias cluster. In an embodiment, this will be the cluster for neutral expression. The decision flees for the bias cluster and the associated cluster mean vectors are initialised using the expression which in step S303 produced the best model. In this example, each face is given a tag "Expression A (neutral)", "Expression B", "Expression C" and "Expression D", here The covarianee matrices, space weights for multi-space probability distributions (MSD) and their parameter sharing structure are also initialised to those of the Expression A (neutral) model.
Each binary decision tree is constructed in a locally optimal fashion stailing with a single root node representing all contexts. In this embodiment, by context, the following bases are used, phonetic, linguistic and prosodic. As each node is created, the next optimal question about the context is selected. The question is selected on the basis of which question causes the maximum increase in likelihood and the terminal nodes generated in the training examples.
Then, the set of terminal nodes is searched to find the one which can be split using its optimum question to provide the largest increase in the total likelihood to the training data. Providing that this increase exceeds a threshold, the node is divided using the optimal question and two new terminal nodes are created. The process stops when no new terminal nodes can be formed since ally fui'ther splitting will not exceed the threshold applied to the likelihood split.
This process is shown for example in figure 10. l'he nih terminal node in a mean decision tree i divided into two new terminal iiodcsnand ni by a question q. The likelihood gain achieved by this split can be calculated as follows: = It ( ill 4rbçn) + inS(n) Eqn. 18 Where SQ) denotes a set of components associated with node n. Note that the terms which are constant with respect to p, are not included.
Where C is a constant term independent of ti,,. The maximum likelihood of p° is given by equation 13 Thus, the above can be written as: ( > Ct)) 7Th cS (ii) Equ. 19 Thus, the likelihood gained by splitting node n into,and fl is given by: S4n; q) = L'(4) + £(n) -Eqn. 20 Using the above, it is possible to construct a decision tee for each cluster where the tree is trranged so that the optimal qucsi ion is asked first in the tiee and the decisions at-c arranged in hierarchical order according to the likelihood of splitting. A weighting is then applied to each duster.
Decision trees might be also constructed for variance. The covariance decision trees are constructed as follows: If the case terminal node in a covariance decision tree is divided into two new terminal nodes k and k by question q, the cluster covarianee matrix and the gain by the split are expressed as follows: >ii 2flE(7) rn,t,s v ( iii) = /c = vm(t) Tm,t S v (in) = k Eqn. 21 v (ni) = k Eqn. 22 where D is constant independent of {k}. Therefore the increment in likelihood is = £(kt) +L(k±) -Eqo. 23 hi step 8309, a specific expression tag is assigned to each of 2,...,P clusters e.g. clusters 2, 3, 4, and 5 are for expressions B, C, 1) and A respectively. Note, because expression A (neutral) was used to initialise the bias cluster it is assigned to the last cluster to be initiaflsed.
Tn step S3 11, a set of CAT interpolation weights are simply set to 1 or 0 according lo the assigned expression (referred to as "voicetag" helow) as: 1.0 ifl=0 = 1.0 if voieetag(s) = i 0,0 otherwise In this embodiment, there are global weights per expression, per stream. For each expression/stream combination 3 sets of weights are set: for silence, image and pause.
In step S3 13, for each cluster 2 (P-I) in turn the clusters are initialised as follows. The face data ibr the associated expression, e.g. expression B for cluster 2, is aligned using the mono-speaker model for the associated face trained in step 8303. Given these alignments, the statistics are computed and the decision tree and mean values foi the cluster are estimated. The mean values for the cluster are computed as the normalised weighted sum of the cluster means using the weights set in step S3 11 i.e. in practice this results in the mean values for a given context being the weighted sum (weight I in both cases) of the bias cluster ineaii for that context and the expression B model mean for that context iii cluster 2.
In step 8315, the decision trees are then rebuilt for the bias clustcr using all the data from all 4 faces, and associated means and variance parameters re-estimated.
After adding the clusters for expressions B, C and D the bias cluster is re-estimated using all 4 expressions at the same time hi step 8317, Cluster P (Expression A) is now initialised as for the other clusters, described in step S313, using data only from Expression A. Once the clusters have been initialised as above, the CAT model is then updated/trained as follows.
In step 8319 the decision trees are re-constructed cluster-by-cluster from cluster I to P. keeping the CAT weights fixed. In step S32 1, new means and variances are estimated in the CAT model. Next in step S323, new CAT weights are estimated for each cluster. In an embodiment, the process loops back to 8321 until convergence. The parameters and weights are estimated using maximum likelihood calculations performed by using the auxiliaty function of the Baum-Welch algorithm to obtain a better estimate of said parameters.
As previously described, the parameters are estimated via an iterative process.
In a further embodiment, at step S'323, the process loops back to step 8319 so that the decision trees are reconstructed during each iteration until convergence.
In a further embodiment, expression dependent transforms as previously described are used.
Here, the expression dependent transforms are inserted after step S323 such that the transforms are applied and the transformed model is then iterated until convergence. In an embodiment, the transforms would be updated on each iteration.
Figure 10 shows clusters ito P which ale in the forms of decision trees. In this simplified example, there are just four terminal nodes in cluster I and three terminal nodes in cluster P. It is impoitant to note that the decision trees need not be symmetric i.e. each decision tree can have a different iiumber of terminal nodes. the number of terminal nodes and the number of branches iii the tree is deteimined purely by the log likelihood splitting which achieves the maxiniutn split at the first decision and then the questions arc asked in order of the question which causes the larger split. Once the split achieved is below a threshold, the splitting of a node terminates.
The above produces a canonical model which allows the following synthesis to be performed: 1. Any of the 4 expressions can be synthesised using the final set of weight vectors colTesponding to that expression 2. A random expression can be synthesised from the audiovisual space spanned by the CAT model by setting the weight vectors to arbitrary positions.
The above methods demonstrate a system that allows a computer generated head to output speech in a natural manner as the hcad can adopt and adapt to different expressions. The clustered thrm of the data allows a system to be built with a small footprint as the data to run the system is stored in a very efficient manner, also the system can easily adapt to new expressions as described above while requiring a relatively small amount of data.
The above has explained in detail how CAT-HIMM is applied to render and animate the head.
As explained above, the face vector is comprised of a plurality of face parameters. One suitable model for supporting a vector is an active appearance model (AAM), although other statistical models may be used.
AnAAM is defincd on a mcsh ofV vertices. The shapeofthemodei, s yj,T; defines the 2D position (x,; y) of each mesh vertex and is a linear model given by: Al S = S +>_:S I Eqn. 2.1 where s0 is the mean shape of the model, s, is the t mode ofM linear shape modes and c, is its corresponding parameter which can be considered to be a "weighting parameter".. The shape modes and how they are trained vil1 be described in more detail with reference to figure 14.
However, the shape modes can be thought of as a set of facial expressions. A shape for the face may be generated by a weighted sum of the shape modes where the weighting is provided by parameter c.
By defining the outputted expression in this manner it is possible for the face to express a continuum of expressions.
Colour values arc then included in the appearance of the model, by a = (ii; gi; b;; r2; g2; b2; r?; gp; bp)T; where (ri; gi; b) is the RGB representation of the /t of thc F pixels which project into the mean shape s. Analogous to the shape model, the appearance is given by: Al a = ao + Eqn. 2.2 where a0 is the mean appearance vector of the model, and a is the r appearance mode.
In this enthodiment, a combined appearance model is used and the parameters c1 in equations 2.1 and 2.1 are the came and control both shape and appearance.
Figure il shows a schematic of such an AAM! Input into the model are the parameters in step S 1001. These weights are then directed into both the shape model 1003 and the appearance model 1005.
Figure 11 demonstrates the modes s, si sM of the shape model 1003 and the modes a0, a1 aM of the appearance model. The output 1007 of the shape model 1003 and the output 1009 of the appearance model are combined in step 51011 to produce the desired face image.
The parameters which arc input into this model can be used as the Ihec vector referred to above
in the description accompanying figure 6 above.
The global nature of AAMs leads to some of the modes handling variations which are due to both 3D pose change as well as local deformation, Tn this embodiment AAM modes arc used which correspond purely to head rotation or to other physically meaningful motions. This can be expressed mathematically as:
K M
S = o + >j siJose + > cjsVf0n11 i=1 Bqn. 2.3 In this embodiment, a similar expression is also derived for appearance. Howevet; the coupling of shape and appearance in AAMs makes this a difficult problem. To address this, during training, first the shape components are derived which model srw} by recording a short training sequence of head rotation with a fixed neutral expression and applying PCA to the observed mean normalized shapes s-se -Next § is projected into the pose variation space spanned by rC to estimate the parameters {c1}f in equation 2.3 above: pose Eqn. 2.4 I-laying found these paramctcrs the pose compoient is renmved from each training shape to obtain a pose norniafized training shape 5*: -8pose hqn. 2.5 If shape and appearance were indeed independent then the deformation components could be found using principal component analysis (PCA) of a training set of shape samples normalized as in equation2.S, ensuring that only modes orthogonal to the pose modes are found.
However, there is no guarantee that the parameters calculated using equation (2.4 are the same for the shape and appearance modes, which means that it may not be possible to reconstruct training examples using the model derived from them.
To overcome this problem the mean of each {c1} of the appearance and shape parameters is computed using: I / spo50 aTaPose 2 cIISrI2 + jPnSep Egn. 2.6 The model is then constructed by using these parameters in equation 2.5 and finding the deformation modes from samples of the complete training set.
In further embodiments, the model is adapted for accommodate local deformations such as eye blinking. This can be achieved by a modified version of time method described in which model blinking are learned from a video containing blinking with no other head motion.
Directly applying the method taught above for isolating posc to remove these blinking modes from the training set may introduce artefacts. The reason for this is apparent when considering the shape mode associated with blinking in which the majority of the movement is in the cyclid.
This means that if the eyes are in a different position relative to the centroid of the face (for example if the mouth is open, lowering the centroid) then the eyelid is moved toward the mean eyelid position, even if this artificially opens or closes the eye. Tnstead of computing the parameters of absolute coordinates in equation 2.6, relative shape coordinates are implemented using a Laplacian operator: 1," r iT TI b1ink' AT blink a a -2 l.[j(sPlhhlo)[2 Equ. 2.7 The Laplacian operator L() is defined on a shape sample such that the relative position, ô, of each vertex ? within the shape can be calculated from its original position i using --2
JEW
Eqn. 2.8 where IV is a one-neighbourhood defined on the AAM mesh and d is the distance between vertices i andj in the mean shape. This approach correctly normalizes the training samples for blinking, as relative motion within the eye is modelled instead of the position of the eye within the face.
Further embodiments also accommodate for the fact that different regions of the face can he moved nearly independently. It has been explained above that the modes are decomposed into pose and deformation components. This allows further separation of the deformation components according to the local region they affect. The model can be split into /? regions and its shape can be modelled according to: = 0 + pose + i=1 j=1 iEi Eqn. 2.9 where I is the set of component indices associated with region /. In one embodiment, modes for each region are learned by only considering a subset of the model's vertices according to manually selected boundaries marked in the mean shape. Modes are iteratively included up to a maximum number, by greedily adding the mode corresponding to the region which allows the model to represent the greatest proportion of the observed variance in the training set.
An analogous model is used for appearance. Linearly blending is applied locally neat' the region boundaries, This approach is used to splil. Ihe face into an upper and lower half. The advantage of this is that changes in mouth shape during synthesis cannot lead to artefacts in the upper half of the face. Since global modes are used to model pose there is no risk of the upper and lower halves of the face having a different pose.
Figure 12(a) demonstrates the enhanced AAM as described above. As for the AAM of figure 11, the input weightings for the AAM of figure 12(a) can form a face vector to be used in the algorithm described with reference to figure 6.
However, here the input parameters ci are divided into parameters for pose which are input at S1051, parameters for blinking 51053 and parameters to mode] deformation in each region as input at S 1055. In figure 12, regions Ito Rare shown.
Next, these parameters are fed into the shape model 1057 and appearance model 1059. Here: the pose parameters are used to weight the pose modes 1061 of the shape model 1057 and the pose modes 1063 of the appearance model; the blink parameters are used to weight the blink mode 1065 of the shape model 1057 and the blink mode 1067 of the appearance model; and the regional deformation parameters are used to weight the regional deformation modes 1069 of the shape model 1057 and the regional deformation modes 1071 of the appearance model.
As for figure II, a generated shape is output in step S 1073 and a generated appearance is output in step S 1075. The generated shape and generated appearance are then combined iii step S 1077 to produce the generated image.
Since the teeth and tongue are occluded in many of the training examples, the synthesis of these regions may cause significant artefacts. To reduce these artefacts a fixed shape and texture for the upper and lower teeth is used. The displacements of these static textures are given by the displacement of a vertex at the centre of the upper and lower teeth respectively. The teeth arc rendered beJbrc the rest of the face, ensuring that the correct occlusions occur.
Figure 12(b) shows an amendment to figure 12(a) where the static artefacts are rendered first, Aficr the shape and appearance have been generated in steps Si 073 and SI 075 respectively, the position of the beth arc determined in step S1081. In an embodiment, the teeth are determined to he at a position which is relative to a fixed visible point on the face. The teeth are then rendered by assuming a fixed shape and texture for the teeth in step S 1083. Next the rest of the face is rendered in step SI 085, Figure 13 is a flow diagram showing the training of the system in accordance with an embodiment of the present invention. Training images al-c collected in step SI 301. In one embodiment, the training images are collected coveting a lange of expressions. For example, audio and visual data may be collected by using cameras arranged to collect the subject's facial expression and microphones Lo collect audio, The subject who wishes to be emulated by the system can read out sentences and will receive instructions on the emotion or expression which needs to be used when reading a particular sentence.
S The data is selected so that it is possible to select a set of flames from tile training images winch correspond to a set of common phonemes in each of the emotions. In some embodiments, about 7000 training sentences are used. However, much of this data is used to train the speech model to pmduce the speech vector as previously described.
In addition to the training data described above, further training data is captured to isolate the modes due to pose change. For example, video of the speaker rotating their head may be captured while keeping a fixed neutral expression.
Also, video is captured of the speaker blinking while keeping the rest of their face still.
In step S 1303, the images for building the AAM are selected. In an embodiment, only about frames arc required to build the AAM. The images are selected which allow data to be collected over a range of flames where the subject exhibits a wide range of emotions. For example, frames may be selected where the subject demonstrates different expressions such as different mouth shapes, eyes open, closed, wide open etc. In one embodiment, frames are selected which correspond to a set of common phonemes in each of the emotions to be displayed by the head.
Iii further embodiments, a larger number of flames could be use, for example, all of the frames in a long video sequence. In a yet further embodiment frames may be selected where the subject has performed a set of facial expressions which roughly correspond to separate groups of muscles being activated.
In step 51305, the points of interest on the frames selccied in step SI 303 are labelled. In an embodiment this is done by visually identifkring key points on the face, for example eye corners, mouth corners and moles or blemishes. Some contours may also be labelled (for example, face and hair silhouette and lips) and key points may be generated automatically from these contours by equidistant subdivision of the contours into points.
In other embodiments, the key points are found automatically using trained key point detectors.
In a yet further embodiment, key points are found by aligning multiple face images automatically. In a yet further embodiment, two or mare of the above methods can be combined with hand labelling so that a semi-automatic process is pi-ovided by inferring sonic of the missing information from labels supplied by a user during the process.
In step S1307, the flames which were captured to model pose change are selected and an AAM is built to model pose alone.
Next, in step S1309, the frames which were captured to model blinking are selected AAM modes are constructed to mode blinking alone.
Next, a further AAM is built using all of the frames selected including the ones used to model pose and blink, but before building the model, the effect of k modes was removed from the data as described above.
Frames where the AAM has performed poorly ate selected. These frames ate then hand labelled and added to the training set. The process is repeated until there is little further improvement adding new images.
The AAM has been trained once all AAM parameters for the modes -pose, blinking and deformation have been established.
Figure 14 is a schematic of how the AAM is constructed. The training images 1361 are labelled and a shape model 1363 is derived. The texture 1365 is also extracted for each face model.
Once the AAM modes and parameters are calculated as explained above, tIme shape model 1363 and the textuie model 365 are combined to generate the face 136.
In one embodiment, the AAM patatneters and their first time derivates are used at the input for a CAT-HMM training algorithm as previously described.
In a further embodiment, the spatial domain of a previously trained AAM is extended to fUrther domains without affecting the existing model, For example, it may be employed to extend a model that was trained only on tIme face legion to include hair and ear regions in order to add more rca lism.
A set of N training images for an existing AAM are known, as are the original model coefficient vectors jcj" c RAI for these images. The regions to be included in the model are then labelled, resulting in a new set of N Iraining shapes frp' and appearances. Given the original model with Mrnodes, the new shape modes s1}'1, should satis' the following constraint: T 17 (exL\1' C1 S1 (\Si) CNT SMT (ext)T Eqn. 2.10 which states that the new modes can be combined, using the original model coefficients, to reconstruct the extended training shapes 17r, Assuming that the number of training samples N is larger than the number of modes M, the new shape modes can be obtained as the least-squares solution. New appearance modes are found analogously.
In an embodiment, the head generating system requ res input from the expression deriving section. Figure 15 shows one embodiment for training the expression deriving section to extract expression from the training data. Training data 251 is provided with text mid speech corresponding to the text input. The training data can be the same training data that is used to train the above CAT model. In one embodiment, the training data is the same as the CAT training data.
It is assumed that each utterance iii the training data 251 contains unique expressive information. This unique expressive informatioi can be determined froni the speech data and can be read from the transcription of the speech, i.e. the text data as well. In the training data, the speech sentences and text sentences are synchronized as shown in Figure 15.
An "expressive linguistic feature extraction" block 253 is provided which converts each text sentence in the training data into a vector which will be termed an expressive linguistic feature vector.
Any text sentences can be converted as a linguistic ftaturc through expressive linguistic feature extraction block 253, and all the possible expressive linguistic features construct a first space 255 which will be called an expressive linguistic space. Each transcription of the training sentence can be viewed as a point in this expressive linguistic space. The expressive linguistic feature vector should catch the emotion information in text sentences.
During training, as well as extracting expressive linguistic features from the text, an "expressive synthesis feature extraction" block 257 is provided which converts each speech sentence into a vector which will be called an expressive synthesis feature vector.
Any speech sentences can be converted as an expressive synthesis feature through "expressive synthesis feature extraction" block 257, and all the possible expressive synthesis features construct an expressive synthesis space 259. The requirement to the expressive synthesis tèature is that it should catch tile unique expressive information of original speech sentence; meanwhile, this expressive information can be re-generated in the synthesis process.
Given the linguistic features from transcription of training data and the synthesis features from training speech sentences, methods and systems in accordance with embodirnertts of the present invention train a transformation 261 to transform a linguistic feature vector in linguistic feature space 255 to a synthesis feature vector in synthesis feature space 259.
In the synthesis stage, the "expressive linguistic feature extraction" block 253 converts the text to be synthesized into a linguistic feature vector in linguistic feature space 255, then through the transformation block 261, the linguistic feature is mapped to a synthesis feature in expressive synthesis space 259. This synthesis feature vector contains the emotion information in original text data and can be used by the head generation section of figure 6, directly to synthesize the expressive speech.
in an embodiment, machine learning methods, e.g. neui'al network (NN) are used to provide the transthrmation block 261 and train the tninsformations from expressive linguistic space 255 to expressive synthesis space 259. For each sentence in the training data 251, the speech data is used to generate an expressive synthesis feature vector in synthesis feature space 259 and the transcription of the speech data is used to generate an expressive linguistic feature in linguistic feature space 255. Using the linguistic features of the training data as the input ofNN and the synthesis features of the training data as the target output, the parameters of the NN can be updated to learn the mapping from linguistic feature space to synthesis feature space.
The "linguistic feature extraction" block 253 converts the text data into a linguistic feature vector. This feature vector should contain the discriminative information, i.e. if two text data contains different emotion, their linguistic features should be distinguishable in the linguistic features space.
In one embodiment, Bag-of-word (l3oW)/word-vector space models are be used to generate the linguistic feature. BoW methods express the text data as vector of word frequencies. The dimension of the vector is equal to the size of vocabulary and each element contains the frequency of a particular word in vocabulary. Different well-developed BoW technologies can be applied, e.g. latent semantic analysis (LSA), probabilistic latent semantic analysis (pLSA), latent Diriclilet allocation (LDA) etc. Through these technologies, the original word frequency vector whose dimension is equal to vocabulary size can be compacted in very low dimension.
1 5 In a further embodiment, in order to model the emotion information in text data more accurately, different levek of knowledge from the text data are used to generate the linguistic features.
In one embodiment, not only the word level information, but also the lower level information such as full context phone sequence and the lugher level information such as part-of-speech (POS), narration styles are to be used to generate the linguistic features.
To combine the information from the different levels together, in one embodiment, a parallel structure is used as shown in figure 15. In the parallel structure, the features in different levels are extracted separately, and then the features in different levels are concatenated to one big vector to be the input for the transformation block.
Figure 16 illustrates a parallel structure tbr extracting linguistic features whkh may be used in a system in accordance with an embodiment. Text data are convened into a word frequency vector in step 55301. Next, an TIDA model 5303 with words as units is used at step 55305 to convert the word frequency vector into a word level feature vector. In step S5305, variantial posterior dirichlet parameters are estimated through an inference process.
At the same time, text data is converted as a sequence of full context phones in step S5307. This full context phone sequence is converted into a full context phone level feature vector in S53 11 using a LDA model 5309 with full context phones as unils.
Then the word level feature vector and the fill context phone level feature vector are concatenated as linguistic features to form the linguistic feature vector iii S53 13. The feature vector is then mapped via the NN in S5315 to (lie expression parameters to be used in the system of figure 6.
Figure 16 is used to show an example of how to extract linguistic features. In further embodiments, higher level knowledge such as PUS, narration sty]e and any other useful information from text data can be integrated into linguistic feature.
Further, BoW methods other than LDA can be used to extract linguistic feature as well.
Linguistic features determined from different levels of information can also be combined using a hierarchical structure as well. In one embodiment of such a hierarchical structure, linguistic features with different levels of knowledge are incorporated into the system with a cascade of NNs, as shown in figure 17.
In figure 17, the linguistic feature I and linguistic feature 2 represent linguistic features deteimined from different levels of knowledge, e.g. word level feature, full context phone level feature etc. Feature I is used as input 3SlofNNl. Then, the output 353 ofNNl is combined with feature 2 as input 355 of NN2 to generate the acoustic feature at output 357.
Returning to figure 15, the expressive synthesis feature extraction block 257 is used to represent the expressive intbrmatioii of the speech data. Each point in the expressive synthesis feature space 259 represerfis unique expressive infbrmation in spceeh.
In an embodiment, the above described head generation system uses "expression weights" to introduce expression into both the expression on the face and the speech. The expression deriving section described above with reference to figures 15 to 17 can output these expression dependent weights directly.
This allows expressiveness dependent HMM parameters to be represented as the linear interpolation of cluster models and the interpolation weights for each cluster HMM model are used to represent the expressiveness information.
l'herefow, the training data can be classified into groups and the group dependent CAT weights can be estimated using all the training sentences in this group. IfNtraining sentences are classified into Mgroups (MccN), the (raining data can be expressed as Mpoints in the CAT weight space.
In an embodiment, the NN used as transformation to map the linguistic features into the synthesis features and the CAT model which is used to construct the expressive synthesis feature space, can be trained jointly. The joint training process can be described as follows 1. Jnitia CAT model training to generate initial canonical model MO and the initial CAT weight set A which is composed of the CAT weights for all the training sentences, set iteration number 1=0 2. Given the expressive linguistic features of training scntcnccs and the CA!' weight set of training sentences A, , the NN for iteration i, i.e. NW1 is trained using least square error criterion.
3. Using the expressive linguistic features of training sentences as input. NA5 generate output CAT weight set of training sentences 0 4. A,*1 = 0. Given A,+, re-train the CAT canonical model M1+, , to maximize the likelihood of training data 5. I = 1+1 if algorithm converged, goto 6, else go to 2 6.end Through the process mentioned above, the NN and the CAT model are updated jointly which can improve performance at the synthesis stage.
Ihis joint ti-aining process is not limited to NH and CAT models, In generaF a ti-ansforination from linguistic feature space to synthesis ibatnie space other than NN and the methods to construct the synthesis feature space other than CAT can be updated using joint training iii the ame framework.
The above has described the training for the system. The text to speech synthesis will now be described with reference to figure 18.
The synthesis system shown in figure 18 comprises an expressive linguistic feature extraction block 401 which extracts an expressive feature vector from the response generated by the dialogue section in an expressive linguistic space 403 as described with refrrence to the training. The process for extracting this vector in the synthesis stagc is identical to the process described in the training stage.
The expressive feature vector is then mapped via transformation block 405 to an expressive synthesis vector in an expressive synthesis space 407. The transformation block 405 has been trained as described above.
The determined expressive synthesis vector is then used directly as an input to the head generating section 409. As described above, in one embodiment the transformation block 405 maps the expressive linguistic feature vector directly to CAT weights in the expressive synthesis feature space 407.
In a method in accordance with an embodiment, there is no need to prepare special training data or lequire human intcraetion to assess training data. Further, the text to be synthesized is converted into the linguistic feature vector directly. ibis linguistic feature vector contains much more emotion information than a single emotion ID. The transformation block converts a linguistic feature vector into an expressive synthesis feature with same emotion. Further, this synthesis feature can be used to synthesize the speech with same emotion as in original text data.
If in expressive synthesis feature space, each training sentence is related to a unique synthesis feature vector, the unique emotion information in each sentence is Jearned by the transformation, e.g. NN. It can provide the user with very rich emotion resources for synthesis.
The training sentences when in the synthesis Ibature space can be classified into groups and all the training sentences in one group share the emotion information. Through this way, the training of transformation is improved since the number of patterns which need to be learnt is reduced. Therefore the transformation being estimated can be more robust. Choosing a sentence based synthesis feature or group based synthesis feature, tuning the number of groups for training data, may achieve a balance between tile expressiveness and robusthess for synthesis performance more easily in methods in accordance with embodiments of the invention.
in the above method, hard decision emotion recognition can be avoided and this will reduce errors. The possible outputs of a NN are infinite. It means that the proposed method potentially can generate infinite difThrent synthesis features which are i-elated to different emotions fbr F synthesis. Further, the above method can achieve the balance between expressiveness and robustness easily.
In the above synthesis process, the emotion information of the text data does not need to be known or explicitly recognized by a human or from other sources. The training is completely automatic. The above method aims at building an expressive synthesis system without the need for a human to tag training data with emotions. During the synthesis process, there is no need for any classification of the emotions attributed to the input text. The proposed method can potentially i-educe the cost of the training of expressive synthesis system. Meanwhile generate more expressive speech in synthesis process.
In the above embodiment, a mulli-diiiiensional continuous expressive speech synthesis space is defined such that eveiy point iii the space defines parameters for an expressive speech synthesis system. Also, a mapping process is trained which can map text features to a point n expressive space which then defines parameters for an expressive speech synthesis process.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed the novel methods and apparatus described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the fonn of methods and apparatus described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms of modifications as would Ih]l within the scope and spirit of the inventions.

Claims (20)

  1. CLAIMS: 1 -A system for emulating a subject, to allow a user to interact with a computer generated talking head with the subject's face and voice; said system comprising a processor, a user interface and a personality storage section, the user interface being configured to emulate the subject, by displaying a talking head which comprises the subject's face and output speech from the mouth of the face with thc subject's voice, the user interface fu!ther comprising a reecivcr for receiving a query from the uscr, the emulated subject bcing configured to rcspond to the query received from the user, the processor comprising a dialogue section and a talking head generation section, wherein said dialogue section is configured to generate a response to a query inputted by a user from the user inierface and generate a response to be outputted by the talking head, the response being generated by retrieving information from said personality storage section, said personality storage section comprising content created by or about the subject, and said talking head generation section is configured to: convert said response into a sequence of acoustic units, the talking head generation section further comprising a statistical model, said statistical model comprising a plurality of model parameters, said mode.! parameters being derived flom said personality storage section, the model parameters describing probability distributions which relate an acoustic unit to an image vectoi and speech vector, said image vector comprising a plurality of parameters which define the subject's face and said speech vector comprising a plurality of parameters which define the subject's voice, the tajking head geneiation section being further configured to output a sequence of speech vectors anti image vectors which arc synehronised such that the head appears to talk.
  2. 2. A system according to claim 1, wherein the content created by or about the subject comprises posts collected from social media websites, e-rnails and other content from or about the subject which has been provided to the personality storage section.
  3. 3. A system according to claim 1, wherein the dialogue section is configured to navigate a set of rules stored in said personality storage section to generate the response.
  4. 4. A system according to claim 1, wherein the dialogue section is configured to retrieve a response from said personality storage section by searching information which has been stored in said personality storage section in an unstructured form.
  5. 5. A system according to claim 4, wherein said dialogue section is configured to search said infonnation stoied in a non-hierarchkal fonn using a word-vector or n-gram search model.
  6. 6. A system according to claim 1, wherein the dialogue section is configured to interpret said query and based on said interpreL lion select to generate said response ILsing a set of rules stored in said personality storage section or by searching information stored in an unstructured form.
  7. 7. A system for creating a response to an inputted user query, said system comprising: a personality file storage section, said personality file storage section comprising a plurality of documents stored in an unstructured form; a query conversion section configured to convert said query into a word vector; a first comparison section configured to compare said word vector generated from said query with word vectors generated from the documents in said personality file storage section and output identified documents; a second comparison section configured to conipale said word vector selected from said query and passages from said identified documents and to rank said seiected passages, said ranking being based on the number of matches between said selected passage and said query; and a concatenation section adapted to concatenate selected passages together using sentence connectors, wherein said sentence connectors are chosen from a plurality of sentence connectors, said sentence connectors being chosen on the basis of a statistical model.
  8. 8. A system according to claim 7, wherein the said ranking is based on a normalised measure of the number of matches between said selected passage and said query.
  9. 9. A system according to claim 7, wherein said sentence connectors are chosen using a language model.
  10. 10. A system according to claim 7, wherein the system is configured to set a predetermined size for the response.
  11. II. A system according to claim 1, configured to output an expressive response such that said face and voice demonstrate expression, said processor further comprising an expression deriving section configured to determine the expression with which to output the generated response, and wherein the said model parameters describe probability distributions which relate an acoustic unit to an image vector and speech vector for an associated expression.
  12. U. A system according to claim Ii, wherein the model parameter iii each probability distribution iii said associated expression is expressed as a weighted sum of paranieters of the same type, and wherein the weighting used is expression dependent, such that converting said sequence of acoustic units to a sequence of image vectors comprises retrieving the expression dependent weights for said selected expression.
  13. 13. A system according to claim 12, wherein the parameters are provided in clusters and each cluster comprises at least one sub-cluster, wherein said expression dependent weights are retrieved for each cluster such that there is one weight per sub-cluster.
  14. 14. A system according to claim 11, wherein said expression deriving section is configured to extract expressive features from said response to form an expressive linguistic feature vector constructed in a first space and map said expressive linguistic feature vector to an expressive synthesis feature vector that is constructed iii a second space, said expressive linguistic feature vector being related to the model parameters of said acoustical model.
  15. 15. A system according to claim 14, wherein said expression deriving section is configured to extract expressive features from said response to form an expressive linguistic feature vector constructed in a first space and map said expressive linguistic feature vector to the said expression dependent weights.
  16. 16. A system accoiding to claim 1, wherein said image vector comprises parameters which allow the face to be constructed from a weighted sum of modes using weighting parameters, and wherein the modes represent recoiistructions of a face or part thereof.
  17. 17. A system according to claim 16, wherein the modes comprise modes to represent shape and appearance of the face.
  18. 18. A system according to claim 16, wherein the same weighting parameter is used tbr a shape mode and its correspoiiding appearance mode.
  19. 19. A system for generating a personality file, said personality file being used to store information relating to the speech, face and dialogue iatelligence of a subject such that the subject can be emulated using a system in accordance with claim 1, said personality file being stored in said personality storage section, the system for generating a personality file comprising: an interfitce for inputting information identidng content created by or about the subject; an audio-visual recording system configured to record the voice and face of a subject, when reading known text, while using a range of different emotions; and a processor being configured to: curate said information identil'ing content created by or about said user, said curation comprising organising said content into documents and building an n-gram language model for said documents and also a word vector model for each document; and produce a statistical modd, said statistical model comprising a plurality of model parameters describing probability distributions which relate an acoustic unit to an image vector and speech vector, said image vector comprising a plurality of parameters which define the subject's face and said speech vector comprising a plurality of parameters which define the subject's voice, the processor being configured to train said statistical model such that a sequence of speech vectors and image vectors which are synchronised when outputted cause the generated head to appear to talk.
  20. 20. A method for emulating a subject, to allow a user to interact with a computer generated talking head with the subject's face and voice; the method comprising: receiving a user inputted query; generating a response to a query inputted by a user from the user interface and generate a response to be outputted by the talking head, the response being generated by retrieving information from said personality storage section, said personality storage section comprising content created by or about the subject; and outputting said response by displaying a talking head which comprises the subject's face and output speech from the mouth of the face with the subject's voice, wherein said talking head outputs said response by: converting said response into a sequence of acoustic units using a statistical model, said statistical model comprising a plurality of model parameters, the model parameters describing probability distributions which rclatc an acoustic unit to an image vector and speech vector, said image vector comprising a plurality of parameters which define the subject's thee and said speech vector comprising a plurality of parameters which define the subject's voice, the talking head appearing to talk by outputting a sequence of speech vectors and image vectors which are synchronised.
GB1314711.1A 2013-08-16 2013-08-16 A Computer Generated Emulation of a subject Active GB2517212B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
GB1314711.1A GB2517212B (en) 2013-08-16 2013-08-16 A Computer Generated Emulation of a subject
US14/458,556 US9959368B2 (en) 2013-08-16 2014-08-13 Computer generated emulation of a subject
EP14181166.1A EP2849087B1 (en) 2013-08-16 2014-08-15 A computer generated emulation of a subject
US15/923,566 US11144597B2 (en) 2013-08-16 2018-03-16 Computer generated emulation of a subject

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB1314711.1A GB2517212B (en) 2013-08-16 2013-08-16 A Computer Generated Emulation of a subject

Publications (3)

Publication Number Publication Date
GB201314711D0 GB201314711D0 (en) 2013-10-02
GB2517212A true GB2517212A (en) 2015-02-18
GB2517212B GB2517212B (en) 2018-04-25

Family

ID=49301825

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1314711.1A Active GB2517212B (en) 2013-08-16 2013-08-16 A Computer Generated Emulation of a subject

Country Status (3)

Country Link
US (2) US9959368B2 (en)
EP (1) EP2849087B1 (en)
GB (1) GB2517212B (en)

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9378735B1 (en) * 2013-12-19 2016-06-28 Amazon Technologies, Inc. Estimating speaker-specific affine transforms for neural network based speech recognition systems
US9787819B2 (en) * 2015-09-18 2017-10-10 Microsoft Technology Licensing, Llc Transcription of spoken communications
US10394803B2 (en) 2015-11-13 2019-08-27 International Business Machines Corporation Method and system for semantic-based queries using word vector representation
US11736756B2 (en) * 2016-02-10 2023-08-22 Nitin Vats Producing realistic body movement using body images
US9864743B2 (en) * 2016-04-29 2018-01-09 Fujitsu Limited Textual emotion detection
US10789546B2 (en) 2016-06-23 2020-09-29 International Business Machines Corporation Cognitive machine learning classifier generation
US10789538B2 (en) 2016-06-23 2020-09-29 International Business Machines Corporation Cognitive machine learning classifier generation
US10740374B2 (en) * 2016-06-30 2020-08-11 International Business Machines Corporation Log-aided automatic query expansion based on model mapping
JP6767224B2 (en) 2016-09-29 2020-10-14 株式会社東芝 Communication devices, communication methods, and communication programs
CN108475438B (en) * 2016-10-31 2022-04-12 谷歌有限责任公司 Learning-based embedded face reconstruction
US10540967B2 (en) * 2016-11-14 2020-01-21 Xerox Corporation Machine reading method for dialog state tracking
US11205103B2 (en) 2016-12-09 2021-12-21 The Research Foundation for the State University Semisupervised autoencoder for sentiment analysis
KR102342066B1 (en) * 2017-06-21 2021-12-22 삼성전자주식회사 Method and apparatus for machine translation using neural network and method for learning the appartus
CN107977674B (en) * 2017-11-21 2020-02-18 Oppo广东移动通信有限公司 Image processing method, image processing device, mobile terminal and computer readable storage medium
JP2019159826A (en) * 2018-03-13 2019-09-19 富士通株式会社 Display control program, display control device, and display control method
KR102136464B1 (en) * 2018-07-31 2020-07-21 전자부품연구원 Audio Segmentation Method based on Attention Mechanism
KR102079453B1 (en) * 2018-07-31 2020-02-19 전자부품연구원 Method for Audio Synthesis corresponding to Video Characteristics
US11520821B2 (en) * 2018-11-27 2022-12-06 Rovi Guides, Inc. Systems and methods for providing search query responses having contextually relevant voice output
AU2020211809A1 (en) * 2019-01-25 2021-07-29 Soul Machines Limited Real-time generation of speech animation
US11955120B1 (en) 2019-01-31 2024-04-09 Alan AI, Inc. Systems and methods for integrating voice controls into applications
US11935539B1 (en) * 2019-01-31 2024-03-19 Alan AI, Inc. Integrating voice controls into applications
US11568645B2 (en) 2019-03-21 2023-01-31 Samsung Electronics Co., Ltd. Electronic device and controlling method thereof
CN111831798A (en) * 2019-04-19 2020-10-27 北京三星通信技术研究有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
US10937417B2 (en) * 2019-05-31 2021-03-02 Clinc, Inc. Systems and methods for automatically categorizing unstructured data and improving a machine learning-based dialogue system
US11289067B2 (en) * 2019-06-25 2022-03-29 International Business Machines Corporation Voice generation based on characteristics of an avatar
US11151979B2 (en) * 2019-08-23 2021-10-19 Tencent America LLC Duration informed attention network (DURIAN) for audio-visual synthesis
CN110838287B (en) * 2019-10-16 2022-04-19 中国第一汽车股份有限公司 Corpus processing method and device of chat robot in vehicle-mounted environment and storage medium
EP3866117A4 (en) 2019-12-26 2022-05-04 Zhejiang University Voice signal-driven facial animation generation method
US11921711B2 (en) * 2020-03-06 2024-03-05 Alibaba Group Holding Limited Trained sequence-to-sequence conversion of database queries
JP6843409B1 (en) * 2020-06-23 2021-03-17 クリスタルメソッド株式会社 Learning method, content playback device, and content playback system
US11463657B1 (en) 2020-11-10 2022-10-04 Know Systems Corp. System and method for an interactive digitally rendered avatar of a subject person
US11140360B1 (en) 2020-11-10 2021-10-05 Know Systems Corp. System and method for an interactive digitally rendered avatar of a subject person
US11582424B1 (en) 2020-11-10 2023-02-14 Know Systems Corp. System and method for an interactive digitally rendered avatar of a subject person
CN114374664B (en) * 2021-12-15 2022-09-23 海南大学 Emotional content DIKW mapping and transmission method based on fairness guide

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5983190A (en) * 1997-05-19 1999-11-09 Microsoft Corporation Client server animation system for managing interactive user interface characters
US5987415A (en) * 1998-03-23 1999-11-16 Microsoft Corporation Modeling a user's emotion and personality in a computer user interface
WO2007098560A1 (en) * 2006-03-03 2007-09-07 The University Of Southern Queensland An emotion recognition system and method
WO2008134625A1 (en) * 2007-04-26 2008-11-06 Ford Global Technologies, Llc Emotive advisory system and method
US20120280974A1 (en) * 2011-05-03 2012-11-08 Microsoft Corporation Photo-realistic synthesis of three dimensional animation with facial features synchronized with speech

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0543329B1 (en) 1991-11-18 2002-02-06 Kabushiki Kaisha Toshiba Speech dialogue system for facilitating human-computer interaction
JP3040945B2 (en) * 1995-11-29 2000-05-15 松下電器産業株式会社 Document search device
US7725307B2 (en) * 1999-11-12 2010-05-25 Phoenix Solutions, Inc. Query engine for processing voice based queries including semantic decoding
US7747611B1 (en) * 2000-05-25 2010-06-29 Microsoft Corporation Systems and methods for enhancing search query results
US6766316B2 (en) * 2001-01-18 2004-07-20 Science Applications International Corporation Method and system of ranking and clustering for document indexing and retrieval
US20100085363A1 (en) 2002-08-14 2010-04-08 PRTH-Brand-CIP Photo Realistic Talking Head Creation, Content Creation, and Distribution System and Method
US7373300B1 (en) 2002-12-18 2008-05-13 At&T Corp. System and method of providing a spoken dialog interface to a website
US7617176B2 (en) * 2004-07-13 2009-11-10 Microsoft Corporation Query-based snippet clustering for search result grouping
US7702611B2 (en) * 2005-01-07 2010-04-20 Xerox Corporation Method for automatically performing conceptual highlighting in electronic text
JP4635659B2 (en) 2005-03-14 2011-02-23 富士ゼロックス株式会社 Question answering system, data retrieval method, and computer program
US8275803B2 (en) 2008-05-14 2012-09-25 International Business Machines Corporation System and method for providing answers to questions
US20110250575A1 (en) * 2010-04-13 2011-10-13 enVie Interactive LLC System And Method For Providing A Visual Representation Of A User Personality Within A Virtual Environment
US8954425B2 (en) * 2010-06-08 2015-02-10 Microsoft Corporation Snippet extraction and ranking
US20120290509A1 (en) 2011-05-13 2012-11-15 Microsoft Corporation Training Statistical Dialog Managers in Spoken Dialog Systems With Web Data
JP5866728B2 (en) * 2011-10-14 2016-02-17 サイバーアイ・エンタテインメント株式会社 Knowledge information processing server system with image recognition system
GB2501062B (en) 2012-03-14 2014-08-13 Toshiba Res Europ Ltd A text to speech method and system
GB2501067B (en) 2012-03-30 2014-12-03 Toshiba Kk A text to speech system
US9785883B2 (en) * 2012-04-27 2017-10-10 Excalibur Ip, Llc Avatars for use with personalized generalized content recommendations
US9208788B2 (en) * 2012-07-27 2015-12-08 Nuance Communications, Inc. Method and apparatus for responding to a query at a dialog system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5983190A (en) * 1997-05-19 1999-11-09 Microsoft Corporation Client server animation system for managing interactive user interface characters
US5987415A (en) * 1998-03-23 1999-11-16 Microsoft Corporation Modeling a user's emotion and personality in a computer user interface
WO2007098560A1 (en) * 2006-03-03 2007-09-07 The University Of Southern Queensland An emotion recognition system and method
WO2008134625A1 (en) * 2007-04-26 2008-11-06 Ford Global Technologies, Llc Emotive advisory system and method
US20120280974A1 (en) * 2011-05-03 2012-11-08 Microsoft Corporation Photo-realistic synthesis of three dimensional animation with facial features synchronized with speech

Also Published As

Publication number Publication date
US20150052084A1 (en) 2015-02-19
US9959368B2 (en) 2018-05-01
GB201314711D0 (en) 2013-10-02
EP2849087A1 (en) 2015-03-18
GB2517212B (en) 2018-04-25
EP2849087B1 (en) 2019-01-16
US20180203946A1 (en) 2018-07-19
US11144597B2 (en) 2021-10-12

Similar Documents

Publication Publication Date Title
US11144597B2 (en) Computer generated emulation of a subject
US20230316643A1 (en) Virtual role-based multimodal interaction method, apparatus and system, storage medium, and terminal
US9959657B2 (en) Computer generated head
US9361722B2 (en) Synthetic audiovisual storyteller
US9916825B2 (en) Method and system for text-to-speech synthesis
CN105895087B (en) Voice recognition method and device
US20140210831A1 (en) Computer generated head
CN115329779B (en) Multi-person dialogue emotion recognition method
CN109801349B (en) Sound-driven three-dimensional animation character real-time expression generation method and system
Lian et al. Context-Dependent Domain Adversarial Neural Network for Multimodal Emotion Recognition.
US11455472B2 (en) Method, device and computer readable storage medium for presenting emotion
Dahmani et al. Conditional variational auto-encoder for text-driven expressive audiovisual speech synthesis
KR101738142B1 (en) System for generating digital life based on emotion and controlling method therefore
CN116704085A (en) Avatar generation method, apparatus, electronic device, and storage medium
Barbulescu et al. Which prosodic features contribute to the recognition of dramatic attitudes?
CN107943299B (en) Emotion presenting method and device, computer equipment and computer readable storage medium
Filntisis et al. Photorealistic adaptation and interpolation of facial expressions using HMMS and AAMS for audio-visual speech synthesis
Oralbayeva et al. Data-Driven Communicative Behaviour Generation: A Survey
JP6222465B2 (en) Animation generating apparatus, animation generating method and program
D’alessandro et al. Reactive statistical mapping: Towards the sketching of performative control with data
Kolivand et al. Realistic lip syncing for virtual character using common viseme set
Harwath Learning spoken language through vision
Sompalyam et al. LipCraft: Building a Visual Speech Recognition System with Machine Learning and Streamlit
Prabha et al. Audio to Sign Language Translation using NLP
Sakhare et al. Intelligent Conversational Agents Based Custom Question Answering System