Reinforcement learning agent for multi-dimensional dialogue act selection
The multi-dimensional dialogue system employs RL models and an Evaluation Agent to manage multifunctional utterances by selecting and combining candidate actions, enhancing dialogue success and scalability by allowing efficient adaptation to new domains and tasks.
Patent Information
- Application Number
- GB2021016601
- Authority / Receiving Office
- GB · GB
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-11-17
AI Technical Summary
Current dialogue systems face challenges in effectively managing multifunctional utterances, where multiple communicative functions are combined, leading to conflicts between dialogue acts from different dimensions, requiring an Evaluation Agent to select a final combination of candidate dialogue acts, but existing solutions struggle with scalability and complexity as domains expand.
A multi-dimensional dialogue system with Reinforcement Learning (RL) machine learning models for each dialogue act dimension, combined with an Evaluation Agent to select and combine candidate actions, using a masking layer to restrict dialogue combinations and normalize action probabilities, allowing for efficient training and adaptation to new domains.
The system improves dialogue success rates and scalability by learning strategic dialogue act combinations, facilitating efficient adaptation to new tasks and domains through transfer learning, and provides more natural and effective system responses.
Smart Images

Figure 00000001_0000 
Figure 00000002_0000 
Figure 00000003_0000
Abstract
Description
Field Embodiments described herein relate generally to a method and device for generating a response in a dialogue system. Background Dialogue systems, for example task-oriented Spoken Dialogue Systems (SDS), include systems that can continuously interact with a human to help the human accomplish a task through the use of speech. These tasks can include information search, customer support, e-commerce, physical environment control, and human-robot interaction. 10 Dialogue systems can include a component that tracks what has happened in a dialog by incorporating information regarding current and previous user inputs (i.e. user turns) and system outputs (i.e. system turns) into a ‘dialogue state’. 1— An action selection component of the dialogue system selects an action from a fixed set of actions based on a dialogue policy and the dialogue state. 15 Utterances within a dialogue often have more than one communicative function. For example: moving the task forward, giving and eliciting feedback, and managing who has the right to speak (i.e. turn management). An utterance with more than one communicative function is referred to as a multifunctional utterance. The ISO 24617-2 Annotation Standard is designed to support multifunctional utterances and defines an 20 annotation scheme comprising multiple dimensions where each dimension is dedicated to a different aspect of the dialogue process. A multi-dimensional dialogue system has been developed where the decision making process is driven by several dialogue policies instead of one. This approach reflects the multi-functional nature of human dialogue behaviour. In this case each Dialogue Act (DA) 25 agent has its own dialogue policy with an action set and each Dialogue Act (DA) agent generates at most one candidate dialogue act. Multifunctional utterances require the combination of dialogue acts from a number of different dimensions. However, some dimensions cannot be considered to be fully independent. For example, some dialogue acts from different dimensions may be in conflict with each other such that only one of them should be outputted. Consequently, an Evaluation Agent (EA) is needed to select a final combination of candidate dialogue acts. 5 Arrangements will be understood and appreciated more fully from the following detailed description, made by way of example only and taken in conjunction with drawings in which: Fig. 1 shows a dialogue system according to an example; Fig. 2 shows a multi-dimensional action selection component according to an example; 10 Fig. 3A shows an example implementation of a Reinforcement Learning (RL) machine learning model; Fig. 3B shows a second example implementation of a Reinforcement Learning (RL) machine learning model; Fig. 4A shows an implementation of an Evaluation Agent 205 according to an example; 15 Fig. 4B shows a representation of a vector of action probabilities according to an example; Fig. 4C shows an implementation of an Evaluation Agent 205 according to a second example; Fig. 5 shows a method of generating a system utterance according to an example; 20 Fig. 6 shows a method of training a multidimensional action selection component according to an example; Fig. 7 shows a comparison of the dialogue success rate for a multi-dimensions system using a hand-coded Evaluation Agent and an Evaluation Agent according to examples described herein; 25 Fig. 8A shows a method of transfer learning using the multi-dimensional action selection component according to an example; Fig. 8B shows a method of transfer learning using the multi-dimensional action selection component according to a second example; Fig. 9 shows a schematic of the hardware that can be used to implement methods in 30 accordance with embodiments. Detailed Description According to a first aspect there is provided a computer-implemented method as recited in claim 1. In an embodiment the dialogue system comprises a microphone for receiving the utterance. 5 In an embodiment the dialogue system comprises a speaker, and the method further comprises outputting the system response via a speaker. In an embodiment the output action comprises the first candidate action and the second candidate action. In an embodiment the output action comprises the first candidate action or the second 10 candidate action. In an embodiment the output action comprises none of the first candidate action and the second candidate action, preferably wherein the output action indicates no response is to be generated. In an embodiment the first machine learning model, the second machine learning model 15 and the third machine learning model are trained independently using a single, same, reward signal. In an embodiment the first machine learning model implements a first dialogue policy, the second machine learning model implements a second dialogue policy and the third machine learning model implements a third dialogue policy. 20 In an embodiment the natural language generator is a template-based natural language generator. In an embodiment the dialogue state comprises a data structure that comprises items that have been mentioned during the dialogue between the system and the user. In an embodiment each dialogue dimension is associated with a different aspect of the 25 dialogue process and is associated with a plurality of actions for responding to said aspect of the dialogue process. In an embodiment a dialogue dimension comprises dimensions defined according to the ISO 25617-2 Annotation Standard. In an embodiment information identifying the dialogue state is the dialogue state. In an embodiment information identifying the dialogue state is a feature set extracted from the dialogue state. In an embodiment generating information identifying the dialogue state comprises 5 generating a first instance of information identifying the dialogue state; generating a second instance of information identifying a dialogue state; and wherein the first candidate action is selected based on the first instance of information identifying the dialogue state; and the second candidate action is selected based on the second instance of information identifying the dialogue state. 10 In an embodiment the first instance of information identifying the dialogue state and the second instance of information identifying the dialogue state comprises different sets of dialogue state features. In an embodiment the system response is generated by a natural language generator. In an embodiment the system response is an utterance. 15 In an embodiment selecting the output action comprises: generating a vector of values comprising an indication, for each combination of the first candidate action and / or the second candidate action, of an estimated cumulative reward associated with selecting the respective combination as the system response given the dialogue state; and selecting the output action based on the vector of values. 20 In an embodiment the vector of values is generated using a function parameterised by a first set of trainable weights, wherein an input to the function is the information identifying the dialogue state and an output of the function is the estimated cumulative reward for each combination. In an embodiment the function is a linear function. 25 In an embodiment the third machine learning model comprises a linear layer configured to implement the linear function. In an embodiment the linear layer is implemented using an (artificial) neural network. In an embodiment selecting the output action based on the vector of values comprises: converting the vector of values to a probability distribution to generate a vector of action probabilities; and selecting the output action based on the vector of action probabilities. In an embodiment the vector of values is converted to a probability distribution by 5 applying a softmax function to the vector of values. In an embodiment the probability distribution is a normalised probability distribution. In an embodiment converting the vector of values to the probability distribution to generate the vector of action probabilities comprises: converting the vector of values to a vector of converted action values, wherein the vector of converted action values 10 comprises values greater than or equal to zero; forming a vector of masked converted action values by setting a first action value in the vector of converted action values equal to zero based on a predetermined criteria; and normalizing the vector of masked converted action values to form the vector of action probabilities. In an embodiment the vector of converted action values only contains values greater 15 than or equal to zero. In an embodiment the vector of masked probabilities is formed by a masking layer configured to take, as an input, the vector of converted action values, and provide, as an output, the vector of masked probabilities. In an embodiment the predetermined criteria comprises at least one on: a list of 20 combinations that are non-sensical, and / or a list of combinations that are not supported by downstream components, such as a Natural Language Generator. In an embodiment setting the first action value equal to zero disables the combination of the first candidate action and / or the second candidate action. In an embodiment the first dialogue dimension is different to the second dialogue 25 dimension. In an embodiment the user is a human user. In an embodiment the dialogue system comprises a microphone and receiving the utterance from the user comprises: generating a representation of human speech received via the microphone. In an embodiment the dialogue state is updated based on the utterance and a previous instance of the dialogue state. In an embodiment the dialogue system comprises a speaker and the method further comprises outputting, via the speaker, the system response, such that the system 5 response can be heard by the user. According to a second aspect there is provided a computer-implemented method for training a dialogue system, the method comprising: generating a system response according to the method described above; providing the system response to the user; and training the first machine learning model, the second machine learning model, and 10 the third machine learning model using reinforcement learning. In an embodiment the user is a simulated user. In an embodiment training the first machine learning model, the second machine learning model and the third machine learning model using reinforcement learning comprises: determining a cumulative reward; and training the first machine learning model, the second machine learning model and the third machine learning model based on the cumulative reward. In an embodiment the first machine learning model, the second machine learning model and the third machine learning model are trained using Monte Carlo Control with linear value function approximation. 20 In an embodiment the first machine learning model, the second machine learning model and the third machine learning model are trained separately. In an embodiment the cumulative reward is a sum of individual rewards obtained between providing the system response and finishing the dialogue. In an embodiment the first machine learning model is configured to estimate a first 25 estimated cumulative reward for the first candidate output action based on a first function parameterised by a first set of trainable weights; and wherein: training the first machine learning model based on the cumulative reward comprises: determining a difference between the cumulative reward and the first estimated cumulative reward; and updating the first set of trainable weights based on the difference. 30 In an embodiment the difference is the mean squared error. In an embodiment updating the first set of trainable weights comprises determining a weight change for each weight in the first set of weights using gradient descent and based on the difference. In an embodiment the first set of trainable weights are updated to minimise the difference 5 between the cumulative reward (i.e. the “true” cumulative reward) and the first estimated cumulative reward. In an embodiment the third machine learning model is configured to estimate a second estimated cumulative reward for the output action based on a second function parameterised by a second set of trainable weights; and: training the third machine 10 learning model based on the cumulative reward comprises: determining a difference between the cumulative reward and the second estimated cumulative reward; and updating the second set of trainable weights based on the difference. In an embodiment the cumulative reward is based on a sum of rewards, the sum of rewards comprising a first reward generated for providing the system response. 15 In an embodiment the first reward comprises a sum of a first component and a second component, wherein the first component provides a penalty to discourage long dialogues, and a second component provides a reward for completing a predefined goal. In an embodiment the method further comprises receiving a second utterance in response to providing the system response; generating a second system response 20 according to the method for generating the response in the dialogue system, wherein the utterance in the method for generating the response in the dialogue system is the second utterance and the system response generated by the method for generating the response in the dialogue system is the second system response; generating a second reward based on the second system response; calculating the cumulative reward based 25 on a sum of the first reward and the second reward. In an embodiment the sum of the first reward and the second reward is a discounted sum such that the value of the second reward in the sum is reduced by a discount factor. In an embodiment the dialogue system comprises a first hyper-parameter configured to control an amount of exploration of: a first dialogue policy implemented by the first 30 machine learning model, a second dialogue policy implemented by the second machine learning model, and a third dialogue policy implemented by the third machine learning model and wherein: the first hyper-parameter has a first value during a first dialogue, the first dialogue comprising the utterance and the system response, the method further comprising: determining whether the first dialogue is complete and in response to determining that the first dialogue is complete: modifying the first hyper-parameter such 5 that the amount of exploration of: the first dialogue policy, the second dialogue policy and the third dialogue policy within a state-action space is less than during the first dialogue; and retraining the dialogue system with a second dialogue. In an embodiment each of the first machine learning model, the second machine learning model and the third machine learning model comprise a conversion layer configured to 10 convert a vector of action values to a vector of converted action values, wherein the conversion layer is controlled according to the temperature hyper-parameter and wherein, modifying the first hyper-parameter comprises reducing a value of the temperature hyper-parameter such that it is closer to 1. In an embodiment an output of the first machine learning model is represented using 15 one-hot encoding. In an embodiment the output of the first machine learning model comprises a first vector, wherein the first vector comprises a plurality of entries, wherein each entry is associated with a different action from the first set of actions and wherein the entry associated with the first candidate action comprises information indicating that the candidate action has 20 been selected by the first machine learning model and the other entries in the plurality of entries comprise information indicating that the candidate actions associated with the other entries have not been selected by the first machine learning model. According to a third aspect there is provided a device as recited in claim 15. In an embodiment the device is further configured, when selecting the output action, to: 25 generate a vector of values comprising an indication, for each combination of the first candidate action and / or the second candidate action, of an estimated cumulative reward associated with selecting the respective combination as the system response given the dialogue state; and select the output action based on the vector of values. In an embodiment the device is further configured to generate the vector of values using 30 a function parameterised by a first set of trainable weights, wherein an input to the function is the information identifying the dialogue state and an output of the function is the estimated cumulative reward for each combination. In an embodiment the function is a linear function. In an embodiment the device is further configured, when selecting the output action based on the vector of values, to: convert the vector of values to a probability distribution to generate a vector of action probabilities; and select the output action based on the 5 vector of action probabilities. In an embodiment the device is further configured, when converting the vector of values, to: convert the vector of values to a vector of converted action values, wherein the vector of converted action values comprises values greater than or equal to zero; form a vector of masked converted action values by setting a first action value in the vector of 10 converted action values equal to zero based on a predetermined criteria; and normalise the vector of masked converted action values to form the vector of action probabilities. In an embodiment the first dialogue dimension is different to the second dialogue dimension. According to a fourth aspect there is provided a training system for training a dialogue 15 system, the training system comprising the device for generating the response in the dialogue system discussed above, the training system configured to: generate a system response using the device for generating the response in the dialogue system discussed above; provide the system response to the user; and train the first machine learning model, the second machine learning model, and the third machine learning model using 20 reinforcement learning. In an embodiment the training system is further configured, when training the first machine learning model, the second machine learning model and the third machine learning model using reinforcement learning, to: determine a cumulative reward; and train the first machine learning model, the second machine learning model and the third 25 machine learning model based on the cumulative reward. In an embodiment the first machine learning model is configured to estimate a first estimated cumulative reward for the first candidate output action based on a first function parameterised by a first set of trainable weights; and wherein the training system is further configured, when training the first machine learning model based on the 30 cumulative reward, to: determine a difference between the cumulative reward and the first estimated cumulative reward; and update the first set of trainable weights based on the difference. In an embodiment the third machine learning model is configured to estimate a second estimated cumulative reward for the output action based on a second function parameterised by a second set of trainable weights; and wherein the training system is further configured, when training the third machine learning model based on the 5 cumulative reward, to: determine a difference between the cumulative reward and the second estimated cumulative reward; and update the second set of trainable weights based on the difference. In an embodiment the cumulative reward is based on a sum of rewards, the sum of rewards comprising a first reward generated for providing the system response. 10 In an embodiment the training system is further configured to: receive a second utterance in response to providing the system response; generate a second system response using the device for generating a response in a dialogue system discussed above, wherein the utterance received by the device is the second utterance and the system response generated by the device is the second system response; generate a second reward 15 based on the second system response; calculate the cumulative reward based on a sum of the first reward and the second reward. In an embodiment the dialogue system comprises a first hyper-parameter configured to control an amount of exploration of: a first dialogue policy implemented by the first machine learning model, a second dialogue policy implemented by the second machine 20 learning model, and a third dialogue policy implemented by the third machine learning model and wherein: the first hyper-parameter has a first value during a first dialogue, the first dialogue comprising the utterance and the system response, the training system further configured to: determine whether the first dialogue is complete and in response to determining that the first dialogue is complete: modify the first hyper-parameter such 25 that the amount of exploration of: the first dialogue policy, the second dialogue policy and the third dialogue policy within a state-action space is less than during the first dialogue; and retrain the dialogue system with a second dialogue. According to a fifth aspect there is provided a non-transitory computer-readable medium comprising computer program instructions suitable for execution by a processor, the 30 instructions configured, when executed by the processor, cause the processor to carry out the methods discussed above. Fig. 1 shows a dialogue system according to an example. The dialogue system comprises a Dialogue Act Tagger Component, 100, a Dialogue State Tracking Component 101, an Action Selection Component 102, and a Natural Language Generator 103. The Dialogue Act Tagger Component 100 is configured to obtain information identifying a user input, optionally a spoken user input (e.g. received via a microphone). 5 Alternatively the user input may be in the form of text. In an example where a spoken user input is received via a microphone, Automatic Speech Recognition (ASR) is performed by an Automatic Speech Recognition Component (not shown) in order to recognize the user’s speech and convert it to text. In one example the Automatic Speech Recognition Component is implemented using the 10 Google® Web Speech API. CM 15 20 25 An input to the Dialogue Act Tagger Component 100 is user input text. The Dialogue Act Tagger Component 100 is configured to identify one or more dialogue act tags based on the user input text and output the identified dialogue act tags to the Dialogue State Tracking Component 101. The Dialogue Act Tagger Component 100 is also configured to output the user input text to the Dialogue State Tracking Component 101. The Dialogue Act Tagger Component is used for recognising domain-independent dialogue acts like greeting and thanking, required by the Action Selection Component 102. Optionally the Dialogue Act Tagger Component 100 is a generic dialogue act tagger. The Dialogue State Tracking Component 101 is configured to generate and update a dialogue state after each received utterance. In an example the Dialogue State Tracking Component 101 takes the user text and the recognized dialogue act tags (both outputted by the Dialogue Act Tagger 100) as input and produces an updated dialogue state, which contains the recognized dialogue act tags. In an example, the Dialogue State Tracker Component 101 is configured to recognise updates to the user’s goal, given: the user utterance (passed on by the Dialogue Act Tagger Component 100) and the current dialogue state (stored from the previous turn). In an example, a representation of the dialogue state takes the form of a data structure that comprises items that have been mentioned during a dialogue between the system and a user. In a further example the representation of the dialogue state 101 comprises, 30 structured information about the dialogue so far, such as the user goal. In another example the dialogue state stores information by providing slots. In a specific example where the dialogue system is used in the restaurant search domain the dialogue state comprises a ‘goal’ constraint that is represented by 3 slots: food, area and price range (e.g. cheap, moderate, or expensive). At the beginning of the dialogue, each slot is empty, and the slots are populated by the Dialogue State Tracking Component 101 as more information is gathered from the user. 5 In another example the Dialogue State Tracking Component 101 an Action State Update model for dialogue state tracking as described in: “Svetlana Stoyanchev, Simon Keizer, and Rama Doddipatla, ‘Action state update approach to dialogue management,’ in ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2021, pp. 7398-7402”, which is incorporated herein by reference. 10 Put more generally, the dialogue state maintained by the Dialogue State Tracking Component 101 comprises information identifying the system’s beliefs about the user goal and optionally a dialogue history, including previously discussed items. The Dialogue State Tracking Component 101 is configured to output the representation of the dialogue state to the Action Selection Component 102. 15 The Action Selection Component 102 is configured to receive the representation of the dialogue state and generate information indicating a system response based on a dialogue policy of the action selection component and the received representation of the dialogue state. In an example the action selection component 102 is implemented according to the examples of the multi-dimensional action selection component 20 described below. The Action Selection Component 102 is configured to output information identifying the dialogue acts that are to form the system response. As will be discussed in more detail below, the system response may take the form of a multifunctional utterance. The Natural Language Generator 103 is configured to receive the output information of 25 the Action Selection Component 102 (i.e. information identifying the dialogue acts that are to form the system response) and is configured to generate a system response in the form of an utterance. Optionally the Natural Language Generator 103 is a template-based Natural Language Generator (NLG). In an example the template-based Natural Language Generator 103 30 is implemented as described in: “Reiter, E., & Dale, R. (2000). Building Natural Language Generation Systems (Studies in Natural Language Processing). Cambridge: Cambridge University Press”. In one example, the natural language system response (i.e. the generated utterance) is outputted via a speaker in the form of an audio waveform so that the system response can be received by a human user. Optionally, when the output of the Natural Language Generator 103 is a natural language utterance in text form, the output of the Natural 5 Language Generator 103 is converted from text to speech, optionally using the Google® Web Speech API, before being outputted via the speaker. In the example shown in Fig. 1 the dialogue system is used in the restaurant search domain and receives an input utterance of: “I am looking fora cheap restaurant". Using the functionality of the Dialogue State Tracking Component 101, the Action Selection 10 Component 102, and the Natural Language Generator 103, the dialogue system provides a response to the user recommending a restaurant (e.g. the dialogue system provides a system response of “Prezzo is a popular Italian restaurant"). Although the dialogue system is discussed above in relation to the restaurant search domain, it is emphasized that the dialogue system can be adapted for many uses. One 15 possible use is information retrieval. However, other uses are possible. For example: information collection, trouble shooting, customer support, e-commerce, physical environment control, and human-robot interaction. Fig. 2 shows a multi-dimensional action selection component according to an example. The multi-dimensional action selection component shown in Fig. 2 comprises information 20 identifying the dialogue state 201 (e.g. received from the Dialogue State Tracking Component 101). As discussed above, the information identifying the dialogue state 201 comprises the system beliefs about a user goal and a dialogue history, including previously discussed items (e.g. previous user and system utterances). In a further example the information identifying the dialogue state 201 is a set of features 25 extracted from the full dialogue state. In this context a feature is a property or characteristic of the full dialogue state. In a further example, the information identifying the dialogue state 201 comprises a plurality of feature sets (e.g. a first feature set, a second feature set, and a third feature set), wherein each set of features is associated with a different Dialogue Act (DA) agent 30 (as will be discussed in more detail below). Optionally, the feature sets in the plurality of feature sets may overlap. That is to say, two feature sets in the plurality of feature sets may include a common feature. The multi-dimensional action selection component further comprises a first Dialogue Act (DA) agent 202, a second Dialogue Act (DA) agent 203 and a third Dialogue Act (DA) agent 204. Each of the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203 5 and the third Dialogue Act (DA) agent 204 are configured to access the information identifying the dialogue state 201 which, as discussed above, includes a feature set extracted from the full dialogue state that is uniquely associated with the respective Dialogue Act (DA) agent. Each of the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203 10 and the third Dialogue Act (DA) agent 204 are also associated with a different dimension from the dialogue act taxonomy described in the ISO 24617-2 Annotation Standard. A brief introduction to the standard is provided below. However, a more comprehensive description is also provided in “Bunt, Harry & Petukhova, Volha & Traum, David & Alexandersson, Jan. (2017). Dialogue Act Annotation with the ISO 24617-2 Standard. 15 10.1007 / 978-3-319-42816-1_6”, which is incorporated herein by reference. CXI i The ISO 24617-2 annotation standard has been designed for the annotation of spoken, written and multimodal dialogue with information about the dialogue acts that make up a dialogue. A dialogue act is defined as communicative activity of a dialogue participant, interpreted as having a certain communicative function and semantic content. As 20 discussed above, utterances in a dialogue often have more than one communicative function. In order to capture the different aspects of the dialogue process, the ISO 24617-2 annotation standard defines the concept of ‘dimensions’. Dimensions specified in the ISO 24617-2 annotation standard include, but are not limited to, the Task dimension, the Auto-Feedback dimension and the Social Obligations 25 Management (SOM) dimension. Other dimensions include turn-taking and taskmanagement. The Task dimension relates to dialogue acts that move the task or activity forward which motivates the dialogue. For example, when the multi-dimensional action selection component is used in the restaurant search domain, the task dimension is responsible 30 for recommending a restaurant. More generally the task dimension relates to actions that focus on the underlying task or activity (e.g. information navigation, tutoring, negotiation, etc.). The Auto-Feedback dimension relates to dialogue acts that provide or elicit information about the current speaker’s processing and the addressee’s previous utterances (e.g. asking the user to repeat / rephrase their previous input after a processing problem). The Auto-Feedback dimension may be used to indicate non-understanding of a user input 5 when a speech recognition component (upstream from the multi-dimensional action selection component) does not return any results. An example output generated from an action in the Auto-Feedback dimension could be: “I did not quite get that, could you please repeat?’’. Actions in the Auto-Feedback dimension could also be used to provide articulate feedback in the form of explicit or implicit confirmation when the system is 10 unsure about the user’s input. An example output in this case could be: “Expensive, you said?’’. The Social Obligations Management (SOM) dimension relates to dialogue acts for dealing with social conventions such as greeting, introducing oneself, apologizing, and thanking. 15 CXI 25 In the system of Fig. 2, each dimension is associated with an action set of possible summary actions (referred to throughout as actions). Summary actions are underspecified dialogue acts that may require additional information from the dialogue state to be mapped to fully specified dialogue acts. For example, the summary action ‘REQUEST’ is mapped to a dialogue act of type ‘request’ by determining which slot is requested, based on the dialogue state, e.g. request(area). Similarly, the summary action ‘OFFER’ is mapped to a full dialogue act by determining which venue should be offered. The mapping of summary actions to dialogue acts is performed by the Dialogue Act (DA) agents. In an example summary actions are mapped to dialogue acts using fixed heuristics (e.g. using a predetermined mapping). The dialogue acts generated by the Dialogue Act (DA) agents are used by the Natural Language Generator 103, to generate system utterances. As discussed above, each Dialogue Act (DA) agent generates a dialogue act based on the selected action and optionally using additional information from the dialogue state. In some cases the policy of the Dialogue Act (DA) agent selects an action that in some 30 cases corresponds directly to a dialogue act (without required additional information, e.g. ACCEPT_THANKING). In other cases the Dialogue Act (DA) agent selects a summary action that requires additional information to form a complete dialogue act (e.g. REQUEST). Advantageously, using summary actions instead of fully specified dialogue acts reduces the size of the action sets used by the policy of a Dialogue Act (DA) agent and therefore improves the ease and speed of training the Dialogue Act (DA) agent. In an example the dialogue acts implemented by the system are at least partially based 5 on some standard, such as ISO 24617-2. However, these standards tend to focus on the dialogue act type / communicative function only and aim to be domain independent. As a result, in a further example the system implements dialogue acts that are specific to the domain the system is used in. In an example, a dialogue act implemented by the system requires a semantic content, optionally represented as a list of slot-value pairs (such as 10 food=Chinese, area=citycentre). In an example the range of slot-value pairs is described in a domain ontology. The specific dialogue acts implemented by the system is a matter for the system design since several dialogue system components have to support this set of dialogue acts, for example: the components for natural language understanding and generation, as well as the state tracking and action selection (policy) components. 15 In a specific example: the task dimension is associated with an action set comprising: ‘OFFER’, ‘ANSWER’, ‘REQUEST’ and ‘NONE’ actions, the Auto-Feedback dimension is 1" associated with an action set comprising: ‘IMPL-CONFIRM’, ‘EXPL-CONFIRM’, ‘AUTO_NEGATIVE’ and ‘NONE’ actions, and the Social Obligations Management (SOM) dimension is associated with an action set comprising: ‘ACCEPT_THANKING’, '1— 20 ‘RETURN_GOODBYE’ and ‘NONE’. In this example the ‘OFFER’ action may generate an output utterance comprising an offer for meeting the goal (e.g. where the multi-dimensional action selection component is used in the restaurant search domain, an ‘OFFER’ action could result in an output utterance of: “How about the Rice Boat?”, the ‘Rice Boat’ being the nameof a restaurant). 25 The ‘ANSWER’ action may generate an output utterance comprising an answer to a question (e.g. “The address of the Rice Boat is...”). The ‘REQUEST’ action may generate an output utterance requesting more information (e.g. “What price range did you have in mind?”). The ‘IMPL-CONFIRM’ action may be used to generate an output utterance that implicitly confirms that the system has understood an input (e.g. “Okay. Indian Food...”, 30 implicitly confirming that the system has understood the input request relates to Indian food). The ‘EXPL-CONFIRM’ action may be used to generate an output utterance that explicitly confirms that the system has understood the user input (e.g. “You want Indian Food, is that right?”). The ‘AUTO_NEGATIVE’ action may be used to generate an output utterance that conveys that the system is unsure about the user’s input (e.g. “I did not quite catch that, could you please rephrase?”). The ‘ACCEPT_THANKING’ action and the ‘RETURN_GOODBYE’ action are self-explanatory. An example utterance based on the ‘ACCEPT_THANKING’ action may include: “You’re welcome” and an example utterance based on ‘RETURN_GOODBYE’ may include: “Have a nice day”. In an 5 example the ‘NONE’ action causes the selection of a predetermined dialogue act (e.g. in an example the ‘NONE’ action causes the dialogue system to select the ‘autoNegative’ dialogue act).. In the specific example above, the action sets comprise specific actions. However, it is emphasised, for the avoidance of any doubt, that the respective action sets may 10 comprise other actions that are not explicitly discussed above. In the multi-dimensional action selection component of Fig. 2 the first Dialogue Act (DA) agent 202 is associated with the ‘Task’ dimension, the second Dialogue Act (DA) agent 203 is associated with the ‘Auto-feedback’ dimension and the third Dialogue Act (DA) agent 204 is associated with the ‘Social Obligations Management (SOM)’ dimension. 15 Advantageously, these three agents (corresponding to the three dimensions) are considered the minimum required for a task-oriented multi-dimensional dialogue system. Although three Dialogue Act (DA) agents are shown in Fig. 2, it is emphasised that any number of Dialogue Act (DA) agents greater than one could be provided. Considering the first Dialogue Act (DA) agent 202 in more detail. The first Dialogue Act 20 (DA) agent 202 is associated with the ‘Task’ dimension and is configured to generate a candidate action based on the information identifying the dialogue state 201 and the dialogue policy being implemented by the first Dialogue Act (DA) agent 202. The dialogue policy associated with the first Dialogue Act (DA) agent 202 is used to select a candidate action from the set of possible actions based on the input information 25 identifying the dialogue state 201. As discussed above, the set of possible actions comprises a plurality of summary actions. Summary actions are underspecified dialogue acts that may require additional information from the dialogue state to be mapped to fully specified dialogue acts. In an example actions are mapped to full dialogue acts, using additional information from the 30 dialogue state. In a further example actions in the set of possible actions correspond to communicative functions from the ISO 24617-2 annotation standard. The first Dialogue Act (DA) agent 202 comprises a Reinforcement Learning (RL) machine learning model, or put in other words, a machine learning model that is trained using Reinforcement Learning (RL). As known in the art, Reinforcement Learning (RL) is a type of machine learning in where the policy of the machine learning model (i.e. which action is selected when in a given state) is learnt from the rewards (also referred to as reinforcement) that are generated for previous episodes. 5 Training each of the machine learning models in the Dialogue Act (DA) agents will be discussed in more detail below. However, in brief, during training, the first Dialogue Act (DA) agent 202 is configured to learn an action value function that estimates the cumulative reward obtained when starting in state S (corresponding to the information identifying the dialogue state 201) and selecting an output action from the set of possible 10 actions for the specific dimension (i.e. the ‘Task’ dimension). As will be discussed below in more detail, the Reinforcement Learning (RL) machine learning model of the first Dialogue Act (DA) agent 202 uses a reward signal (e.g. generated based on interactions with a (simulated) user) fortraining the parameters of the action value function in order to better estimate the cumulative reward associated with taking an action from a given 15 state. During inference, the first Dialogue Act (DA) agent 202 is configured to generate an output candidate action from the set of possible actions associated with the ‘Task dimension’ based on the input Dialogue State 201 and a learnt dialogue policy. In particular, the machine learning model of the first Dialogue Act (DA) agent 202 is 20 configured to determine a cumulative reward associated with selecting each of the actions in the action set given the current state S (which corresponds to the information identifying the dialogue state 201). The machine learning model is further configured to select a (single) candidate action for the Task dimension based on the estimated cumulative rewards. 25 An example implementation of the first Reinforcement Learning (RL) machine learning model (also referred to as the first machine learning model), will be discussed in more detail in relation to Fig. 3A. Fig. 3A shows an example implementation of a Reinforcement Learning (RL) machine learning model. 30 In an example the Reinforcement Learning (RL) machine learning model of the first Dialogue Act (DA) agent 202 may contain a number of stages. In one example the machine learning model of the first Dialogue Act (DA) agent 202 comprises a linear layer 302 of trainable parameters. The input to the linear layer 302 comprises the information identifying the dialogue state 301 (e.g. a set of features representing the full dialogue state, optionally a set of features representing the full dialogue state that is uniquely associated with the first Dialogue Act (DA) agent 202). 5 The linear layer 302 is configured to generate an expected long-term cumulative reward associated with selecting an action from the action set given the current state (i.e. given the current dialogue state). In this case the linear layer 302 implements the action value function. In one example the linear layer is implemented using an (artificial) neural network. In one example the linear layer is a neural network with a single hidden layer. 10 Ina further example the linear layer is implemented using more than one hidden layers. The output of the linear layer 302 comprises a vector of values 303 (also referred to as a vector of action values), where each value indicates an extent to which an action (from the set of actions associated with the relevant dimension) maximises the long-term cumulative reward. Optionally the value indicate the long-term cumulative reward 15 associated with taking each action. CXI i As will be discussed in more detail below, during training of Reinforcement Learning (RL) machine learning model the reward signal is used to update the trainable parameters of the linear layer such that the expected return (i.e. the cumulative reward) is closer to the actual return received. 20 In an example, the machine learning model of the first Dialogue Act (DA) agent 202 also comprises a conversion layer 304. The output of the linear layer 302 (i.e. the vector of action values 303) is an input to the conversion layer 304. The conversion layer 304 is configured to convert the vector of action values, where each value could take a value between negative infinity and positive infinity into a vector of 25 converted action values 305 that takes any value greater than or equal to 0. In an example the conversion layer 304 calculates eyi for each input action value, y(, in the vector of action values 303. In effect, converting all action values to values equal greater than or equal to zero. yi In an embodiment the conversion layer 304 calculates e r for each input action value, yh 30 in the vector of action values 303, where t is a temperature hyperparameter. As known in the art, a hyper-parameter is parameter that is chosen to control the learning process. In particular the temperature hyper-parameter is used to control the level of exploration during training of the dialogue policy implemented by the Reinforcement Learning (RL) machine learning model. A high temperature is used during earlier stages of training and causes actions (from the set of possible actions that are associated with the dimension) to be selected more randomly. Whereas a lower temperature is used during later stages 5 of training and causes the estimated values to be followed more closely (i.e. choose high-value actions with higher probability). The temperature hyper-parameter therefore controls the exploration vs. exploitation of the dialogue policy. In the equation above, e is the standard exponential function and t is the temperature hyper-parameter that takes a value between 0 and infinity. As the temperature hyper-10 parameters approaches infinity the probability distribution becomes a uniform distribution. As will be discussed in more detail below, specifically when discussing the training of multi-dimensional action selection component, the temperature hyperparameter may be varied throughout training. In one example the temperature hyperparameter is fixed, optionally to 1, during inference. 15 The output of the conversion layer 304 is a vector of converted action values 305. The vector of converted action values 305 is inputted into a masking layer 306. The masking layer 306 is coupled to the output of the conversion layer 304. The masking layer 306 is configured to disable actions in the vector of converted action values 305 (e.g. by setting their associated value to zero) to generate a vector of masked converted 20 action values 307. In an example the masking layer 306 in the first Dialogue Act (DA) agent disables an action if, for example, the selected summary action cannot be mapped to a full dialogue act because the required information is missing in the full dialogue state or the output action is not supported by downstream components (e.g. the Natural Language Generator 103). The output of the masking layer 306 is coupled to an input of 25 a normalisation layer 308. The normalisation layer 308 is configured to receive the vector of masked converted action values 307. The normalisation layer 308 is configured to normalise the values in the vector of masked converted action values 307 to generate a vector of action probabilities where the sum of the probabilities equals 1. Put in other words, the masked 30 converted action values 307 (which could take any value greater than or equal to zero) are normalised to a probability distribution where the masked actions have probability zero. In an example, normalising the values in the vector of masked converted action values 307 comprises dividing each action value in the vector of masked converted action values 307 by a sum of the action values in the vector of masked converted action values 307. The output of the normalisation layer 308 is a vector of action probabilities. 5 The first Dialogue Act (DA) agent 202 is further configured to select a candidate output action from the set of actions based on the vector of action probabilities. In one example the output of the first Dialogue Act (DA) agent 202 comprises a one-hot representation indicating a selected action from the set of possible actions (e.g. where a binary T indicates the selected action and a binary ‘0’ indicates an unselected action). 10 The action may be selected based on values in the vector of action probabilities (e.g. by selecting the action associated with the highest probability or by sampling the actions based on the probability distributions in the vector of action probabilities). CM 15 The example discussed in relation to Fig. 3A shows a machine learning model comprising a masking layer 306. However, it is emphasized that masking layer 306 is optional. In this case the vector of converted action values 305 is input into the normalisation layer 308. Optionally, when no masking layer is present the functionality of the conversion layer 304 and the normalisation layer 308 can be combined in a softmax layer. As known in the art, a softmax function is a function that turns a vector of K real values 20 into a vector of K real values that sum to 1. The input values can be positive, negative, zero, or greater than one, but the softmax transforms them into values between 0 and 1, so that they can be interpreted as probabilities. In this case, the softmax layer is configured to convert the action values indicating the long-term cumulative reward (i.e. the vector of action values 303) in to a normalized probability distribution. The output of 25 the softmax layer comprises the vector of action probabilities, wherein each probability is associated with a different action in the set of possible actions and each probability indicates a likelihood that the given action maximises the long-term cumulative reward. In an example, the softmax layer implements the softmax equation: aCyJ = ——— where a is the softmax function, y is the input vector (i.e. the vector of action values 303), 30 n is the size of the input vector, e is the standard exponential function. In an example a temperature hyperparameter is used as discussed above, in this case the softmax layer Xi implements: o-(yi) = —where t is the temperature hyper-parameter that takes a Re value between 0 and infinity. In a further example, where the masking layer 306 is present the functionality of the conversion layer 304 (i.e. converting action values to numbers greater than or equal to 5 zero) and the masking layer 306 is be combined in one layer. Fig. 3B shows a second example implementation of a Reinforcement Learning (RL) machine learning model. In Fig. 3B same reference numerals as Fig. 3A are used to denote same components. Fig. 3B further comprises a modified masking layer 350. The modified masking layer 350 is configured to receive the vector of action values 303 10 comprising the estimated cumulative reward, Q(s,a), for taking action a in state s. First the exp(Q(s,a) / -r) values are computed for all actions (where t is the temperature hyperparameter and ‘exp’ is the exponential function). Then the mask (mask(s,a)) is applied (i.e. mask(s,a)* exp(Q(s,a) / -r)), setting some of these values to zero, thereby generating a second vector of action values 352. Finally, the resulting values (i.e. the 15 values in the second vector of action values 352) are normalised to a probability distribution (where the masked actions have probability zero) by the normalisation layer 308 as discussed above. In the example of Fig. 2, the output of the Reinforcement Learning (RL) machine learning model of the first Dialogue Act (DA) agent comprises an indication that the ‘OFFER’ 20 summary action has been selected from the set of possible actions as a system response, in the ‘Task’ dimension, in response to the information identifying the dialogue state 201. Put in other words the output of the first Dialogue Act (DA) agent 202 comprises an indication that the action for the ‘Task’ dimension is the ‘OFFER’ summary action. 25 In addition to outputting an indication of the selected candidate action, the first Dialogue Act (DA) agent 202 is also configured to output a candidate dialogue act associated with the selected candidate action. In an example, the first Dialogue Act (DA) agent 202 generates a candidate dialogue act based on the selected candidate action and the information identifying the dialogue state 201. 30 As discussed above, the multi-dimensional dialogue system of Fig. 1 also comprises the second Dialogue Act (DA) agent 103 and the third Dialogue Act (DA) agent 104. The second Dialogue Act (DA) agent 103 the third Dialogue Act (DA) agent 104 comprise similar Reinforcement Learning (RL) machine learning model as discussed above in relation to the first Dialogue Act (DA) agent 102. However it will be appreciated that the actions are selected from a different set of actions, since each of the Dialogue Act (DA) 5 agents are associated with a different dimension of the ISO 24617-2 annotation standard and therefore select candidate actions from different sets of possible actions. Furthermore, in the case where each Dialogue Act (DA) agent uses a different feature set extracted from the dialogue state, it will be appreciated that the information identifying the dialogue state 101 for each Dialogue Act (DA) agent will be a different feature set 10 (optionally with overlapping features). Considering the second Dialogue Act (DA) agent 203 in more detail. 15 CXI 20 Training the second Dialogue Act (DA) agent 203 comprises learning an action value function that estimates the cumulative reward obtained when starting in state S (corresponding to the information identifying the dialogue state 201) and selecting an output action from the set of possible actions for the specific dimension (i.e. the ‘Autofeedback’ dimension). As will be discussed below in more detail, the Reinforcement Learning (RL) machine learning model of the second Dialogue Act (DA) agent 203 uses the reward signal (i.e. the same reward signal as the first Dialogue Act (DA) agent 202) to train the parameters of the linear layer which implement the action value function. Although training the second Dialogue Act (DA) agent 203 is based on a common reward signal, it is emphasized that the training is independent. During inference, the second Dialogue Act (DA) agent 203 is configured to generate an output candidate action from the set of possible actions associated with the ‘Autofeedback’ dimension based on the input information identifying the dialogue state 201 25 and the learnt dialogue policy. In particular, the machine learning model of the second Dialogue Act (DA) agent 203 is configured to determine a cumulative reward associated with selecting each of the actions in the action given the current state S (which corresponds to the information identifying the dialogue state 201). The machine learning model is further configured to select a (single) candidate action for the ‘Auto-feedback’ 30 dimension based on the estimated cumulative rewards. In the example of Fig. 2, the output of the second Dialogue Act (DA) agent 203 comprises an indication that the ‘IMPL-CONFIRM’ (i.e. implied confirmation) action has been selected as a system response, in the ‘Auto-feedback’ dimension, responsive to the information identifying the dialogue state 201. The summary action selected by the second Dialogue Act (DA) 203 agent is outputted to the Evaluation Agent 205 which determines whether this candidate action becomes final. As discussed above, the second Dialogue Act (DA) agent 202 is also configured to generate and output a 5 candidate dialogue act based on the candidate action, which in the example of Fig. 2 is the ‘IMPL-CONFIRM’ action, and the information identifying the dialogue state 201. The third Dialogue Act (DA) agent 204 is configured in a similar way to the first Dialogue Act (DA) agent 202 and the second Dialogue Act (DA) agent 203, but instead is associated with the ‘Social Obligations Management (SOM)’ dimension. 10 In the example of Fig. 2, the output of the third Dialogue Act (DA) agent 204 comprises an indication that the ‘ACCEPT_THANKING’ action has been selected as a system response, in the Social Obligations Management (SOM)’ dimension, responsive to the information identifying the dialogue state 201. The summary action selected by the third Dialogue Act (DA) 204 agent is outputted to the Evaluation Agent 205 which determines 15 whether this candidate action becomes final. The third Dialogue Act (DA) agent 204 is also configured to output a candidate dialogue act based on the generated candidate action, which in the example of Fig. 2 is the ‘ACCEPT_THANKING’ action, and the information identifying the dialogue state 201. The multi-dimensional action selection component of Fig. 2 also comprises an Evaluation 20 Agent 205. The Evaluation Agent 205 is configured to select a combination of actions suggested by the Dialogue Act (DA) Agents (i.e. the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203 and the third Dialogue Act (DA) agent 204). By providing a means to select between candidate actions and combine actions the system in Fig. 2 is able to generate multi-functional system utterances (i.e. utterances which 25 convey more than one dialogue act), thereby improving both the naturalness and the effectiveness of the system response. In Fig. 2 information identifying the candidate action selected by each of the Dialogue Act (DA) agents is provided as an input to the Evaluation Agent 205. In an example each Dialogue Act (DA) agent is configured to generate at most one candidate action in every 30 turn. The Evaluation Agent 205 is configured to generate a combination of these candidate actions as a system output. Fig. 4A shows an implementation of an Evaluation Agent 205 according to an example. The Evaluation Agent 205 comprises a fourth Reinforcement Learning (RL) machine learning model comprising a linear layer 402, a conversion layer 404, a masking layer 406, and a normalization layer 408. The Evaluation Agent 205 is communicatively coupled to the output of each Dialogue Act (DA) agent (i.e. the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203, and the third Dialogue Act (DA) 5 agent 204). The output of each Dialogue Act (DA) agent comprises a vector indicating, using 1-hot encoding, which action from the set of possible actions (associated with the dimension of the Dialogue Act (DA) agent) has been selected as the candidate action. In this case the size of the output vector from a particular Dialogue Act (DA) agent corresponds to 10 the number of actions in the set of possible actions for the associated dimension. The Evaluation Agent 205 is configured to concatenate the output vectors from each of the Dialogue Act (DA) agents to form an input vector 401. In the example of Fig. 1 where there are three Dialogue Act (DA) agents, the input vector 401 comprises three concatenated one-hot vectors. In this case there are 23 = 8 15 possible dialogue combinations that could be selected as an output of the Evaluation Agent 205. The fourth Reinforcement Learning (RL) machine learning model of the Evaluation Agent 205 has a similar structure as discussed above in relation to the machine learning models of the Dialogue Act (DA) agents. In particular, the fourth Reinforcement Learning (RL) 20 machine learning model comprises a linear layer 402 of trainable parameters that transforms the input vector 401 into a vector of action values 403 that estimate the longterm cumulative reward for each possible combination of the input dialogue act candidates. The vector of action values 403 is an input to a conversion layer 404. The output of the linear layer 402 (i.e. comprising a vector of action values 403) is 25 inputted to a conversion layer 404. The conversion layer 404 is configured to convert action values in the vector of action values 403 that could take any value between negative infinity and positive infinity into a vector of converted action values 405 comprising values greater than or equal to zero. The output of the conversion layer 404 (i.e. the vector of converted action values 405) is coupled to an input of the masking layer 30 406 (i.e. the masking layer 406 is configured to receive the vector of converted action values 405). The conversion layer 404 may implement the same conversions as discussed in relation to the conversion layer 304 of Fig. 3A. The masking layer 406 is configured to disable a number of the output candidate action combinations by setting their values to zero to generate a vector of masked converted action values 407. In one example, the masking layer is configured to disable candidate action combinations that result in a conflict. For example, it would not make sense to ask 5 a question and say goodbye. Consequently some combinations of actions are determined to be non-sensical and therefore represent a conflict based on normal speaking convention. In one example, the combinations of actions disabled by the masking layer are pre-determined and / or hard-coded. In another example, the masking layer is configured to ensure that the Evaluation Agent 10 205 only allows single dialogue acts or a combination of ‘IMPL-CONFIRM’ in the (‘Auto feedback’ dimension) with ‘OFFER’ or the ‘REQUEST’ actions (in the ‘Task’ dimension). The table below shows the specific combinations that are permitted by the masking layer 406 according to this specific example. An example of the utterances that may be generated based on the combination of actions is also provided. 17 01 24 Task Auto-Feedback SOM Example Utterance OFFER How about the Rice Boat? OFFER IMPL-CONFIRM The Rice Boat is a nice Indian restaurant ANSWER The address of the Rice Boat is... REQUEST What price range did you have in mind? REQUEST IMPL-CONFIRM Okay, Indian food. What price range did you have in mind? EXPL-CONFIRM You want Indian food, is that right? AUTO_NEGATIVE 1 did not quite catch that, could you please rephrase? ACCEPT_THANKING You’re welcome RETURN_GOODBYE Have a nice day NONE NONE NONE 15 Although the table above shows specific combinations of actions from different dimensions it emphasized that other combinations of other action could be permitted. In a further example the set of actions associated with the ‘Social Obligations Management (SOM)’ dimension includes an ‘APOLOGY’ action and a permitted combination includes ‘APOLOGY’ + ‘AUTO_NEGATIVE’, which may cause the utterance: “I’m sorry, I did not quite get that". The masking layer 406 of the Evaluation Agent 205 represents an elegant way to restrict the range of dialogue combinations that the agent can select, for example to match input requirements of down-stream components such as the Natural Language Generator 103. Furthermore, the masking layer can also speed up training of the multi-dimensional action selection component since the component does not need to learn the combinations that are in conflict (e.g. the combinations that are non-sensical). The output of the masking layer 406 is a vector of masked converted action values 407. The output of the masking layer 406 is coupled to a normalization layer 408. The normalization layer 408 is configured to normalize the action values present in the vector of masked converted action values 407 such that their sum equals 1 and therefore present a probability of the action maximizing the long term cumulative reward. The output of the normalization layer 408 is an output vector of action probabilities. Fig. 4B shows a representation of an output vector of action probabilities according to an example. As discussed in relation to Fig. 2, the three dimensions for which candidate dialogue acts are generated for include: ‘Task’, ‘Auto-feedback’ and ‘Social Obligations Management (SOM)’. Fig. 4B shows the probabilities associated with the combination of candidate actions for each of the respective dimensions. For example, Fig. 4B shows that the combination of the candidate action for the ‘Task’ dimension (i.e. ‘OFFER’) and the candidate action associated with the ‘Auto-feedback’ dimension (i.e. ‘IMPL-CONFIRM’) is associated with the highest probability of maximising the long-term cumulative reward. Fig. 4B also shows an entry associated with a blank state (i.e. ‘—‘). This is the probability associated with no selection of any candidate action. This is akin to generating no response. Finally Fig. 4B also shows a plurality of action combinations that are associated with no (i.e. ‘0’) probability (e.g. ‘Auto-feedback’ + ‘SOM’) due to the masking layer 406. As discussed in relation to Fig. 3A, the masking layer 406 is optional. In this case the functionality of the conversion layer 404 and the normalization layer 408 can be combined in a softmax layer, which optionally implements a temperature hyperparameter. Alternatively, in the case where a masking layer is present, the functionality of the conversion layer 404 and the masking layer 406 can be combined in a modified masking layer. Fig. 4C shows an implementation of an Evaluation Agent 205 according to a second example. In Fig. 4C same reference numerals as Fig. 4A are used to denote same 5 components. Fig. 4C further comprises a modified masking layer 450. The modified masking layer 450 is configured to receive the vector of action values 403 comprising the estimated cumulative reward, Q(s,a), for taking action a in state s. First the exp(Q(s,a) / -r) values are computed for all actions (where t (tau) is the temperature hyperparameter and ‘exp’ is the exponential function). Then the mask (mask(s,a)) is 10 applied (i.e. mask(s,a)* exp(Q(s,a) / -r)), setting some of these values to zero, thereby generating a second vector of action values 452. Finally, the resulting values (i.e. the second vector of action values 452) are normalised to a probability distribution (where the masked actions have probability zero) by the normalisation layer 408 as discussed above. 15 After generating the output vector of action probabilities the Evaluation Agent 205 is configured to select a combination of one or more candidate actions by sampling from the resulting probability distribution (i.e. the probability distribution of the output vector). Considering the example of Fig. 2, this results in the Evaluation Agent 205 selecting the combination of action ‘OFFER’ from the ‘Task’ dimension and ‘IMPL-CONFIRM’ from the 20 ‘Auto-feedback’ dimension as the output actions, but not the ‘ACCEPT_THANKING’ action from the ‘Social Obligations Management (SOM)’ dimension. After selecting a combination of candidate actions the Evaluation Agent 205 is configured to generate a combination of dialogue acts by retrieving the dialogue acts generated by the Dialogue Act (DA) agents associated with actions that form the final combination of 25 actions generated by the Evaluation Agent 205. In the example of Fig. 2, the combination of candidate actions is ‘OFFER’ from the ‘Task’ dimension and ‘IMPL-CONFIRM’ from the ‘Auto-feedback’ dimension. In this case the Evaluation Agent 205 is configured to generate a combination of dialogue acts by retrieving and combining the candidate dialogue act outputted by the first Dialogue Act (DA) agent 202 (that is associated with 30 the ‘OFFER’ action) with the candidate dialogue act outputted by the second Dialogue Act (DA) agent 203 (that is associated with the ‘IMPL-CONFIRM’ action). The combination of dialogue acts is outputted by the Evaluation Agent 205. The output of the Evaluation Agent 205 is coupled to a Natural Language Generator (e.g. Natural Language Generator 103) that is configured to generate a multi-functional system utterance based on the combination of one or more dialogue acts selected and output by the Evaluation Agent 205. 5 For example, the multifunctional utterance generated by the Natural Language Generation (NLG) module could be: “Prezzo is a popular Italian restaurant" in response to a user input of: “I am looking for a cheap Italian Restaurant". In this case the utterance generated by the system includes both an ‘OFFER’ dialogue act (i.e. “Prezzo”) and an ‘IMPL-CONFIRM’ dialogue act (“...is a popular Italian restaurant”, implicitly confirming to 10 the user that the dialogue system has understood that the user wants Italian food). As discussed above, like each of the other Reinforcement Learning (RL) machine learning models, the fourth Reinforcement Learning (RL) machine learning model comprises a linear layer 402 of trainable model parameters. As will be discussed in more detail below, the model parameters of the Reinforcement Learning (RL) machine learning 15 model for each of the Dialog Act Agents and the Evaluation Agent 205 are optimized based on online interactions with a (simulated) user. In particular the model parameters of each of the Reinforcement Learning (RL) machine learning model are optimized based on a common reward signal obtained from a (simulated) user. During interactions with a (simulated) user the four agents (i.e. the first Dialogue Act (DA) agent 202, the second 20 Dialogue Act (DA) agent 203, the third Dialogue Act (DA) agent 204 and the Evaluation Agent 205) receive the same shared reward and update their parameters (i.e. the model parameters for the linear layer) based on the rewards with the goal to obtain a policy that achieves the maximal long term cumulative reward. Furthermore, like each of the other Reinforcement Learning (RL) machine learning models, the fourth Reinforcement 25 Learning (RL) machine learning model comprises a conversion layer 404 that is associated with a temperature hyper-parameter. In an example each of the agents (i.e. the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203, the third Dialogue Act (DA) agent 204 and the Evaluation Agent 205) use the same value of temperature hyper-parameter in their respective conversion layers. 30 Fig. 5 shows a method of generating a system utterance according to an example. The method begins in step 501 by receiving a user utterance. In one example the utterance is from a human user and is captured via a microphone. In this case Automatic Speech Recognition is performed on the user input in order to recognize the user’s speech and convert it to text. In one example the Google® Web Speech API is used for Automatic Speech Recognition. In step 502 the dialogue state is updated based on the user utterance received in step 501. In one example the dialogue state is updated by the dialogue state tracking 5 component 101. In step 503 a first candidate action in a first dimension is generated. In an example, the first candidate action is generated by the first Dialogue Act (DA) agent 202 as discussed above. In step 504 a second candidate action in a second dimension is generated. In an 10 example, the second candidate action is generated by the second Dialogue Act (DA) agent 203 as discussed above. In step 505 a third candidate action in a third dimension is generated. In an example, the third candidate action is generated by the third Dialogue Act (DA) agent 204 as discussed above. The method of Fig. 5 shows the first candidate action, the second candidate action and the third candidate action being generated in parallel. This indicates that the generation of each candidate action is independent. However, for the avoidance of doubt it is emphasized that steps 503, 504, 505 could be implemented serially or in parallel. In step 506 one or more final dialogue acts are generated by selecting a combination of 20 the first candidate action, the second candidate action and the third candidate action. For the avoidance of any doubt, one combination of these actions includes none of the candidate actions. In an example the final dialogue acts are selected by the Evaluation Agent 205 as discussed above. In particular, a combination of the candidate actions is selected and a combination of one or more final dialogue acts is generated based on the 25 dialogue acts associated with the selected actions. As discussed above, each of the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203, the third Dialogue Act (DA) agent 204 and the Evaluation Agent 205 comprise machine learning models with trainable parameters. The method shown in Fig. 5 relates to an inference phase. Consequently the parameters of the machine learning 30 models are fixed (i.e. not changing in use). In an example the inference phase shown in Fig. 5 takes place after training the various machine learning models (as will be discussed in more detail below). In another example the trainable parameters are retrieved from storage, where the trainable parameters were stored after a training phase (at a different time). In step 507 a system response is generated based on the final dialogue acts selected in step 506. In an example, the final dialogue act is converted to a natural language system response using the Natural Language Generator 103. In step 508 the natural language response is outputted. In one example, the output of the Natural Language Generator 103 is in text form and is converted from text to speech, optionally using the Google® Web Speech API. The system response is subsequently outputted via a speaker. In the example above, the machine learning models of the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent203, the third Dialogue Act (DA) agent 204 and the Evaluation Agent (EA) 205 are pre-trained. That is to say that the trainable parameters of the machine learning models are obtained during a training phase (optionally at a different time) and used by the machine learning models for inference. Training the trainable parameters of the multi-dimensional action selection component will now be discussed in detail. Each of the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203, the third Dialogue Act (DA) agent 204 and the Evaluation Agent (EA) 205 are trained using reinforcement learning. In brief, Reinforcement Learning (RL) is a framework that enables agents to reason about sequential decision making as an optimization process. Problems are formulated as a Markov Decision Process (MDP), with a state, S, and a set of agent actions, A. A basic Reinforcement Learning (RL) agent interacts with its environment in discrete time steps. At each time, t, the agent receives the current state, st, and reward rt. The policy then chooses an action, at, from the set of available actions, which is subsequently sent to the environment. The environment moves to a new state, st+1, and the reward, rt+1, associated with the transition (st,at,st+i) is determined. The goal of a Reinforcement Learning (RL) agent is to learn a policy: n : A xS -> [0,1], n{a,s) = Pr(at = a | st = s) which maximizes the expected cumulative reward. A more detailed discussion of reinforced learning is provided in “Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018”, which is incorporated herein by reference. As discussed above, each of the Dialogue Act (DA) agents and the Evaluation Agent comprise a linear layer. In an example the linear layer is a single layer of (artificial) neurons and is configured to generate an output based on a linear combination of the inputs. The linear layer is configured to generate an indication, for each action, of the 5 expected return (i.e. the cumulative reward) when starting from state S (i.e. the input to the machine learning model), following the current policy n, and taking action, a. For the Dialogue Act (DA) agents the state, S, corresponds to the dialogue state of the system (i.e. the dialogue state maintained by the Dialogue State Tracking Component 101) and the actions are the candidate actions in the action set for the particular 10 dimension (i.e. the dimension which the machine learning model is configured to provide candidate actions for). In a further example, the state, S, (i.e. the input to the machine learning model) is a set of features extracted from the full dialogue state maintained by Dialogue State Tracking Component 101. For the Evaluation Agent the state, S, corresponds to the candidate actions selected by 15 the Dialogue Act (DA) agents and the actions are the combinations of candidate actions. The linear layer is configured to generate a value for the action value function. Put in other words, the linear layer is configured to generate the expected return (i.e. the cumulative reward) associated with each action in the action set, based on the input state. 20 Consequently, the output of the linear layer comprises a value, for each action in the action set, indicating the expected return (i.e. the cumulative reward) for taking that action. For example, in the case of the linear layer in the first Dialogue Act (DA) agent 202, that is associated with the ‘Task’ dimension, the output of the linear layer comprises a value of the action value function (i.e. the expected return / cumulative reward 25 associated with taking an action) for each of the: ‘OFFER’, ‘ANSWER’, ‘REQUEST’, ‘NONE’ actions. As discussed above, each of the Dialogue Act (DA) agents and the Evaluation Agent (EA) also comprise a conversion layer (or a softmax layer) that is controlled by a temperature hyperparameter. In an example the candidate action is generated by 30 sampling the probability distribution generated by at least normalizing the converted action values(optionally after masking the action values), where the probability distribution indicates the likelihood of each action in the action set maximising the long term cumulative reward. In reinforcement learning there is a trade-off between exploitation and exploration (i.e. whether the machine learning model continues to do what it has done, or whether it tries a new action in a state, thereby exploring the state-action space). In one example, the machine learning models of the Dialogue Act (DA) agents and the Evaluation Agent use 5 Boltzmann exploration. In Boltzmann exploration actions are sampled from the softmax distribution applied to the estimated values of the action value function. As discussed above, the conversion layer is controlled by a temperature hyper-parameter. A high temperature is used during earlier stages of training and causes actions (from the set of possible actions that are 10 associated with the dimension) to be selected more randomly. Whereas a lower temperature is used during later stages of training and causes the estimated values to be followed more closely (i.e. choose high-value actions with higher probability). In an example, the temperature hyper-parameter is decayed linearly, gradually reducing the level of exploration until the policy (of the reinforcement learning machine learning 15 models) only selects actions with the highest expected returns (i.e. associated with the highest estimated cumulative reward). Fig. 6 shows a method of training a multidimensional action selection component according to an example. In an example the trainable weights of the machine learning models (specifically the 20 weights of the linear layers for each Dialogue Act (DA) agent and the Evaluation Agent) are initialized, optionally with random values. In step 601 a dialogue is started. In an example, a dialogue is started between the system and a simulated user. A simulated user is configured to generate utterances and / or dialogue acts based on a goal. 25 In an example, starting a dialogue in step 601 comprises randomly initializing a user goal from the domain ontology, and providing the user goal to the simulated user. For example, in the restaurant search domain a user goal may be to find a cheap Italian restaurant and get its phone number. In general the user goal comprises constraints (e.g. slot-value pairs) and requests (e.g. slots to get the value for). 30 In an example the simulated user is implemented using an agenda-based user simulator as described in: “Jost Schatzmann, Blaise Thomson, Karl Weilhammer, Hui Ye, Steve Young, “Agenda-Based User Simulation for Bootstrapping a POMDP Dialogue System” in Human Language Technologies 2007: The Conference of the North American Chapter of the Association for Computational Linguistics: Companion Volume, Short Papers, Rochester, New York, Apr. 2007, pp. 149-152, Association for Computational Linguistics”, which is incorporated herein by reference. 5 In step 602 an utterance is generated by the simulated user and the generated utterance is provided to the dialogue system being trained (i.e. the dialogue system as discussed in relation to Fig. 1 comprising the Dialogue State Tracking Component 101, the Action Selection Component 102 (implemented using the multi-dimensional action selection component being trained), and the Natural Language Generator 103). 10 In step 603 the dialogue state is updated (e.g. by the Dialogue State Tracking Component 101) in response to receiving the utterance from the simulated user. In an example a dialogue act is generated by the simulated user, and the simulated dialogue act is passed to a retrieval based natural language generator to generate a user utterance, which is then passed to the Action State Update Model (ASU) to update the 15 dialogue state. In step 604 a system response is generated. As discussed above, each Dialogue Act (DA) agent obtains information identifying the dialogue state (e.g. a feature set extracted from the complete dialogue state) and estimates an expected return (i.e. a cumulative reward) associated with taking each of the actions in the action set when starting from 20 the current state. The expected return is estimated using an action value function. The action value function is implemented using a linear layer (e.g. an artificial neural network) where the output of the action value function (i.e. the cumulative reward) is generated according to a linear combination of the input feature set. The linear combination being based on the trainable weights, which for the first training iteration is the initialized 25 weights. Optionally, the estimated cumulative reward associated with the candidate action is stored for future use. Each Dialogue Act agent generates a candidate action, and the Evaluation Agent generates a combination of the candidate actions. After generating the combination of candidate actions the Evaluation Agent generates a combination of dialogue acts by 30 combining the dialogue acts associated with each action in the combination of candidate actions as discussed above. In a first example, generating a system response in step 604 comprises generating an utterance. In this case, the combination of dialogue acts associated with the combination of candidate actions is subsequently provided to a Natural Language Generator (e.g. Natural Language Generator 103) which generates a natural language utterance. In an example generating a system response comprises performing steps 503 to 508 as discussed in relation to Fig. 5. In step 605 the system response generated in step 604 is provided to the simulated user. In step 606 a reward signal is calculated, and the reward generated when starting from a state, s, and taking action, a, (e.g. selecting the candidate action from the action set) is stored, optionally in a storage. This reward value will subsequently be used to determine a cumulative reward for the dialogue. The reward signal is calculated after each turn of the system (i.e. after each time the system generates an utterance in response to the simulated user). As is common in reinforcement learning, the generated rewards are used to train the machine learning model (i.e. to encourage / discourage a certain behaviour of the machine learning model). In an example the reward signal comprises two components: a reward generated by the simulated user and an internally generated reward. In an example, the simulated user gives a reward of +100 upon task completion. In the restaurant search domain, this is when the dialogue system has recommended a restaurant matching the user’s preferences (as specified in the user goal provided to the simulated user in step 601) and has provided all requested information about this restaurant. In addition, the user issues a penalty when the system fails to respond to a thanking action or inserts a social act when it is not called for (-5 for each occurrence). This is to force the system to learn basic reactive social behaviour. In a further example more sophisticated social patterns could be encouraged through the design of the reward signal. The second component of the reward signal is an internally generated reward. Internally, a penalty of -1 is applied for each turn (to encourage shorter dialogues) and a penalty of -25 is applied when a ‘processing problem’ is encountered and the system does not signal this to the user with a feedback act. A processing problem is recorded in the dialogue state when speech recognition or natural language understanding fails, i.e., returns no results. During training, such processing problems are simulated randomly in 5% of the user turns, where the original simulated user act is discarded. The reward signal at each turn (i.e. when selecting action a in state s) is calculated by 5 summing the user generated reward and the internal reward. In step 607 it is determined whether the dialogue has finished. In Reinforcement Learning terminology, the dialogue represents an episode (i.e. a sequence of states, actions and rewards, which ends in a terminal state). In one example, the dialogue is finished when the simulated user says “goodbye" and the system responds with a ‘returnGoodbye’ 10 dialogue act. In an example a simulated user is configured to say “goodbye" when the goal is completed. Optionally after first thanking the system. 20 In another example, the dialogue is finished when the user ‘hangs up’. In the case where the multi-dimensional action selection component is trained using a telephone-based application, the user ‘hangs up’ by terminating the phone call (i.e. disconnecting the communication link from the user to the system). Alternatively, in the case the multidimensional action selection component is trained in a software system, the user ‘hangs up’ by clicking a button on a user interface or inputting a typed command (e.g. “<hangup>”) into an interface. If the dialogue has finished the method proceeds to step 608. In step 608 the learnable weights of the multidimensional action selection component are trained. The weights of the linear layer (implementing the action value function) are updated after every dialogue / episode, based on the reward signal received throughout the dialogue. The policies (of each machine learning model) coordinate their actions only indirectly through the shared rewards, i.e., each policy operates independently without any direct 25 communication with other policies. Put in other words, each of the Dialogue Act (DA) agents and the Evaluation Agent (EA) are trained individually, based on a common reward signal. In one example the Dialogue Act (DA) agents and the Evaluation Agent (EA) are trained simultaneously using Monte Carlo Control reinforcement learning with linear value 30 function approximation. Monte Carlo Control reinforcement learning is described in “Richard S. Sutton and Andrew G. Barto, Reinforcement Learning: An introduction, the MIT Press, second edition, 2018”, which is incorporated herein by reference. In brief, Monte Carlo Control reinforcement learning uses the Monte Carlo method (i.e. repeated random sampling to obtain numerical estimates). In Monte Carlo Control reinforcement learning, for each state action pair (s, a) that appears in the episode, a return (i.e. a cumulative reward) is calculated. The cumulative reward for this state action, 5 is appended to a list of cumulative rewards for the same state action pair (i.e. if the episode generates the same state action pair twice, there will be a list comprising two values of the cumulative reward). The cumulative reward is then averaged to obtain the “true” cumulative reward associated with taking action a in state s. As discussed above, in step 606, it is only the instantaneous value of the reward signal 10 that is calculated and stored. As a result, during step 608, a cumulative reward is generated for each state-action pair once the dialogue (in natural language processing terminology) or equivalently in this example, the episode (in reinforcement learning terminology) has terminated. To do this the sum of rewards received in the sequence between the respective state 15 action pair and the terminal state is calculated. Optionally a discounted reward formula is used where a discount factor is applied to reduce the effect of future rewards on the value of the cumulative reward (e.g. to prevent infinite cumulative rewards). The cumulative reward for the state action pair based on the reward signal is then used to update the trainable parameters of the Dialogue Act (DA) agents and the Evaluation 20 Agent (EA). We define two terms for ease of understanding. A “true” cumulative reward is the cumulative reward obtained during a dialogue / episode with the simulated user. An “estimated” cumulative reward is the cumulative reward estimated by action-value function implemented by the linear layer. 25 As discussed above, the machine learning model (specifically the linear layer) is configured to generate an estimate of the cumulative reward for taking a given action from a given state. In an example, a linear function (specified by the trainable weights) is used to generate an action value for each action given the input state. After calculating the “true” cumulative return it is possible to obtain a loss value (i.e. a 30 difference between the “true” cumulative reward and the “estimated” cumulative reward). The loss is then used to update the trainable parameters of the machine learning model (specifically the weights of the linear layer). In an example, training the machine learning model of each Dialogue Act (DA) agent and Evaluation Agent (EA) comprises minimizing the mean-squared error between the “true” cumulative reward and “estimated” cumulative reward. In this example, the mean-squared error is calculated in step 608 and the trainable weights of the machine learning 5 model (specifically the linear layer) are updated using stochastic gradient decent. Considering the example illustrated in Fig. 2 and assuming Fig. 2 represents a dialogue during the training phase. In this example the action generated by the first Dialogue Act (DA) agent 202 (associated with the ‘Task’ dimension) is ‘OFFER’. The action generated by the second Dialogue Act (DA) agent 203 (associated with the ‘Auto-feedback’ 10 dimension) is ‘IMPL-CONFIRM’. The action generated by the third Dialogue Act (DA) agent 204 (associated with the ‘Social Obligations Management (SOM)’ dimension) is ‘ACCEPT_THANKING’. The combination of actions generated by the Evaluation Agent 205 is ‘OFFER’ + ‘IMPL-CONFIRM’. During training, a “true” cumulative reward is generated based on: 1) the instantaneous 15 reward (generated by the simulated user in response to ‘OFFER’ + ‘IMPL-CONFIRM’) and 2) the subsequent instantaneous rewards received for other utterances in the dialogue up to the termination of the dialogue. Each of the Dialogue Act (DA) agents and the Evaluation Agents (EA) are trained separately based on the common reward signal (i.e. each of the agents are trained using 20 the same “true” cumulative reward). Considering the first Dialogue Act (DA) agent 202. The machine learning model (specifically the linear layer) of the first Dialogue Act (DA) agent 202 estimated a cumulative reward for the ‘OFFER’ action given the input state (e.g. features extracted from the full dialogue state) according to the trainable weights of the linear layer. The 25 weights of the machine learning model (representing the “estimated” action value function since it generates an “estimated” cumulative reward) are subsequently trained according to a difference between the previously generated “estimated” cumulative reward calculated for the ‘OFFER’ action given the input state and the “true” cumulative reward calculated above. 30 Considering the third Dialogue Act (DA) agent 204. The machine learning model (specifically the linear layer) of the third Dialogue Act (DA) agent 204 estimated a cumulative reward for the ‘ACCEPT_THANKING’ action based on the input state (e.g. features extracted from the full dialogue state) according to the trainable weights of the linear function. From the perspective of the third Dialogue Act (DA) agent 204, the Dialogue Act (DA) agent ‘believes’ that the “true” cumulative reward calculated above was generated for 5 the ‘ACCEPT_THANKING’ action (i.e. it is unaware that the Evaluation Agent 205 did not select the ‘ACCEPT_THANKING’ action). As a result, the weights of the machine learning model in the third Dialogue Act (DA) agent (representing the “approximate” action value function for the ‘Social Obligations Management (SOM)’ dimension) are subsequently trained based on a difference between the “true” cumulative reward and 10 the “estimated” cumulative reward estimated for the ‘ACCEPT_THANKING’ action. Considering the Evaluation Agent (EA) 205. The Evaluation Agent (EA) 205 has a different state to any of the Dialogue Act (DA) agents (which may each have different sets of features as input, but all derived from a common full dialogue state representation as discussed above). In particular, the state for the Evaluation Agent (EA) 205 is based 15 on the candidate actions outputted by the various Dialogue Act (DA) agents (e.g. the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203, and the third Dialogue Act (DA) agent 204). Consequently, the machine learning model of the Evaluation Agent (EA) is configured to generate an “estimated” cumulative reward for the state {OFFER’ ■ ‘IMPL — CONFIRM’ ■ 20 ‘ACCEPT THANKING'} and the action {'OFFER' + ' IMPL - CONFIRM'}. It is noted, that the combination of actions (i.e. ‘OFFER’ + ‘IMPL-CONFIRM’) are subsequently used to generate a combination of dialogue acts as discussed above, which is then used to generate the reward. The difference between this “estimated” cumulative reward and the “true” cumulative reward, generated above is used to train the learnable weights of the 25 linear function approximating the action value function in the Evaluation Agent (EA) 205. Summarising the above, in this example the “true” cumulative reward generated above is associated with the following {state, action) pairs: {information identifying the dialogue state_l, ‘OFFER') - for the first Dialogue Act (DA) agent 202, {information identifying the dialogue state_2, ‘IMPL — CONFIRM') -30 for the second Dialogue Act (DA) agent 203, {information identify ing the dialogue state _3, ‘ ACCEPT_THANKI NG’) - for the third Dialogue Act (DA) agent 204 and {‘OFFER’ ■ ‘IMPL - CONFIRM' ■ ‘ACCEPT THANKING', ‘OFFER + IMPL - CONFIRM') for the Evaluation Agent 205. As discussed above, the information identifying the dialogue state may, in one example, be different sets of features extracted from a common (i.e. same) full dialogue state representation, as indicated by the labels 1, 2 and 3. A weight update is generated for each weight in the machine learning model, of each Dialogue Act (DA) agent and the Evaluation Agent (EA), based on the difference between the (common) “true” cumulative reward and the “estimated” cumulative reward generated by each of the Dialogue Act (DA) agents and the Evaluation Agent (EA). As discussed above, the weights of each linear layer are updated to minimise the mean-squared error between the “true” cumulative reward and “estimated” cumulative reward. Optionally, the weight updates for each weight, of each linear layer are calculated using stochastic gradient decent. In step 608 the weights of each linear layer in each of the Dialogue Act (DA) agent and the Evaluation Agent (EA) are updated according to the calculated weight updates. The method then proceeds to step 609. In step 609 the temperature hyper-parameter is controlled. As discussed above, in an example the temperature hyper-parameter of each conversion layer (e.g. the conversion layer of the first Dialogue Act (DA) agent 202, the conversion layer of the second Dialogue Act (DA) agent 203, the conversion layer of the third Dialogue Act (DA) agent 204 and the conversion layer of the Evaluation Agent (EA) 205) is decayed linearly, gradually reducing the level of exploration as the number of dialogues (or equivalently, episodes in reinforcement learning terminology) increases. In an example, the weights are updated (in step 608) based on a learning rate hyperparameter that controls the amount of change to the weights that results from a given determined error. In this case, step 609 also comprises gradually reducing the value of the learning rate hyper-parameter as the number of dialogues increases. In an example both hyper-parameters (i.e. the temperature hyper-parameter and the learning rate hyper-parameter) are decayed after each training dialogue to arrive at a minimum level. After adjusting the hyper-parameters the method proceeds to step 610. In step 610 it is determined whether the number of training dialogues equals a maximum number of training dialogues. In essence, step 610 comprises determining whether the training phase has completed. In an example the maximum number of training dialogues is predetermined (i.e. set before beginning the method of Fig. 6). If it is determined in step 610 that the number of dialogues equals a maximum number of training dialogues, then the training is finished / complete as shown by step 611. Optionally, once the training is completed the trainable weights of the each Dialogue Act (DA) agent and the Evaluation Agent (EA) are stored for future use. As will be explained further below, the trainable weights of each Dialogue Act (DA) agent may be stored with an indication of which dimension they were generated for, thereby allowing modular systems to be generated where pre-generated weights for various dimensions are reused. If it is determined in step 610 that the number of dialogues does not equal a maximum number of dialogues, then the method proceeds to step 601 where a new dialogue is started with the simulated user. In an example, step 601 further comprises incrementing a value of the number of training dialogues. In the method of training discussed above, step 601 (starting a dialogue), step 602 (generating a user utterance) and step 603 (updating a dialogue state) involve passing user utterance / text to the dialogue system and then making use of the Action State Update model. Likewise, in the example discussed above, step 604 comprises generating a system response in the form of an utterance. In another example the multi-dimensional action selection component is trained by passing (simulated) user dialogue acts to the dialogue system, using a rule-based state update model. In this case, in steps 601 and 602 the (simulated) user generates a user dialogue act and in step 603 the dialogue state is updated based on the user dialogue act according to a rule-based state update model. In an example, the simulated user generates dialogue acts, which are turned into dialogue act hypotheses with confidence scores using a semantic error model. The Dialogue State is subsequently updated with the top hypothesis based on hand-crafted rules. In an example the simulated user takes dialogue acts as an input. Consequently, generating a system response in step 604 comprises providing the combination of dialogue acts associated with the combination of candidate actions (i.e. without generating an utterance based on the combination of dialogue acts) to the simulated user. In this case the functionality of the Natural Language Generator is not required as part of the method of training. Using dialogue acts directly (i.e. without generating and / or processing utterances) can speed up training of the multi-dimensional action selection component and use less resources by virtue of not requiring an Action State Update model, or a Natural Language Generator component for training. Although the method of training discussed above used a simulated user, it is emphasized, for the avoidance of any doubt, that the multi-dimensional action selection component, could instead be trained based on a dialogue with a physical user (i.e. an actual human) or information representing interactions between human users (e.g. a corpus of data). However, advantageously, using a simulated user speeds up the training process. Furthermore, although the method of training discussed above uses a specific approach to reinforcement learning (i.e. Monte Carlo control with linear value function approximation) it is emphasized, for the avoidance of any doubt, that other reinforcement learning approaches to training the reinforcement learning model could be used. A number of these are described in “Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018”, which is incorporated herein by reference. For example, the machine learning models could be trained using the State-action-reward-state action (SARSA) algorithm. In particular, the multi-dimensional action selection component could be trained using other Reinforcement Learning (RL) techniques such as: Gaussian Process State-action-reward-state action (GP-SARSA), and / or Deep Q Learning (DQN). Finally, in the method of training discussed above a specific reward function (i.e. to generate the reward signal) was used. Other reward functions could be used. Fig. 7 shows a comparison of the dialogue success rate for a multi-dimensions system using a hand-coded Evaluation Agent and an Evaluation Agent according to examples described herein. A test was performed to evaluate the impact that a trainable Evaluation Agent (such as those described herein) can have on the overall dialogue policy optimization process (of the whole system). The test involved training 10 sets of dialogue policies (i.e. completing 10 training runs). Each training run involved training 3 policies in the system that uses a 17 01 24 hand-coded Evaluation Agent (i.e. policies of the first Dialogue Act (DA) agent 202, the second Dialogue Act (DA) agent 203 and the third Dialogue Act (DA) agent 204) and 4 policies in the system that uses an Evaluation Agent according to examples described herein (i.e. policies of the first Dialogue Act (DA) agent 202, the second Dialogue Act 5 (DA) agent 203, the third Dialogue Act (DA) agent 204 and the Evaluation Agent 205). Fig. 7 shows the learning curves for policy optimizations over 40000 simulated training dialogues for both systems. Each curve shows the sliding window success rates over the last 100 dialogues during training, averaged over the 10 training runs. As will be noted from Fig. 7, both systems converge to a comparable performance level 10 of around 95% average success rate. However between 5000 and 15000 dialogues, the performance level of the version that uses the trainable Evaluation Agent (i.e. the embodiments described herein) is considerably better. The results of evaluating the fully trained policies (e.g. after 40000 training dialogues) over 3000 test dialogues is shown in the table below, which indicates that system with 15 the trained Evaluation Agent (e.g. as in embodiments described herein) gets a better success rate than the system with the hand-coded evaluation agent. System Success Rate Average Length Average Reward Trained Evaluation Agent 96.8% 9.52 85.56 Hand-coded Evaluation Agent 95.4% 9.42 84.98 The system with the trained Evaluation Agent (i.e. as in exampled described herein) was tested as part of a spoken dialogue system in a crowd-sourced human user evaluation. The results for the fully trained system (that includes a trained evaluation agent) are 20 shown below, wherein the subjective partial and full completion rates (%), as well as average scores (1-6) for perceived understanding, speech recognition, appropriateness of the system responses, and naturalness are obtained from a questionnaire that subjects were asked to fill out after each dialogue. Number of Dialogues 199 Average Length 5.88 Partial Completion 78.89% Full Completion 79.90% Understanding 3.76 Recognition 3.86 System Responses 3.93 Naturalness 3.71 As will be appreciated from the above, examples described herein offer better performance than systems with Hand-coded Evaluation Agents. Furthermore, action selection components that are implemented according to examples described herein have the advantage that they are easier to train as dialogue systems become more 5 complex, for example due to the inclusion of more Dialogue Act (DA) agents to support additional dimensions or by extending the action sets of the individual Dialogue Act (DA) agents in the multi-dimensional system. In contrast to the examples described herein, it becomes increasingly more tedious and requires increasing deeper knowledge of the dialogue act taxonomy in order to scale hand-coded / rule-based Evaluation Agents. 10 Using an Evaluation Agent (EA) that can be trained automatically from online interactions and jointly with the Dialogue Act (DA) agents in the system, provides a more scalable and reliable method for building a multi-dimensional system. A generic methodology for automatically learning the combination process (as described herein) is therefore preferable in the long run. 15 CXI 20 25 30 Furthermore, it is common for hand-coded Evaluation Agents to only select single dialogue act candidates from one dimension / Dialogue Act (DA) agent (i.e. some hand-coded Evaluation Agents are not configured to selected combinations of actions from different dimension). Therefore, these hand-coded Evaluation Agents do not generate multi-functional utterances (i.e., utterances which convey more than one dialogue act) in the principled way that the ISO 24617-2 annotation standard offers, limiting the system responses in terms of both naturalness and effectiveness. In contrast, the embodiments described herein select a combination of one or more dialogue acts based on a policy learnt using Reinforcement Learning (RL). Furthermore, the masking mechanism described herein is used to control the range of possible combinations, in particular to accommodate down-stream components. Advantageously, the Evaluation Agent (EA) described herein opens up opportunities to learn the strategic and stylistic aspects of selecting dialogue act combinations, directly from dialogue interactions. More generally, the embodiments described herein help to push the agenda for developing inter-operable dialogue system components that comply with the ISO 24617-2 standard, and can this streamline the production of dialogue systems for a wide range of applications. In summary, multi-dimensional policy models facilitate training multiple policies / agents to perform action selection in dialogue as opposed to using a single policy model. Such a model facilitates the outputting of a combination of dialogue acts, where multiple agents are trained to handle various aspects of the dialogue. In the examples described above a trainable Evaluation Agent (EA) is provided that that is trained along with the multiple Dialogue Act (DA) agents to decide the next action based on a common reward signal. The selected action can be an action decided by a single Dialogue Act (DA) agent or a 5 combination of actions from multiple Dialogue Act (DA) agents in the multi-dimensional system. In the examples described herein the Evaluation Agent (EA) is trained, as opposed to being hand-crafted / hand-coded. As can be seen from the experimental results provided above, the trainable Evaluation Agent (EA) reduces the complexity and helps improve dialogue success when compared to a hand-crafted Evaluation Agent. 10 Another issue with previous dialogue systems is their scalability to new domains and applications. Previous dialogue systems generally scale poorly as domains are expanded with new slots (i.e. new pieces of information being tracked by the dialogue state) and as new applications emerge that require new, task-specific system actions. This is in-part due to the lack of availability of in-domain annotated datasets. 15 One approach to solve this problem is to use transfer learning techniques to efficiently develop dialogue systems for new domains with limited or no data in the target domain. Advantageously, the multi-dimensional action selection component presented herein is particularly well suited for transfer learning. In particular, the multi-dimensional action selection component according to examples presented herein opens up opportunities for 20 efficient adaptation of dialogue managers to new tasks and domains. For example, the Auto-feedback and Social Obligations Management (SOM) dimensions are considered to be domain and task independent ,and therefore the dialogue policies for these dimensions may be transferred (form previously trained models), leaving only the policy for the ‘Task’ dimension to be trained from scratch in the target domain. 25 Fig. 8A shows a method of transfer learning using the multi-dimensional action selection component according to an example. The method of Fig. 8A will be discussed in relation to adapting a multi-dimensional action selection component for a new use-case within a domain (e.g. within a restaurant search domain). In particular, the method of Fig. 8A will be discussed in relation to an example 30 where the action set of the ‘Task’ agent is extended to include slot-specific actions. However, it is emphasised that the approach to transfer learning could be used for adapting the multidimensional action selection component to a new domain (e.g. from a hotel search domain to the restaurant search domain). Furthermore, the approach to transfer learning discussed below could be used when adding new actions that extend the behaviour of the system (e.g. when extending a restaurant search system to a restaurant booking system). 5 In an example, the action set of the ‘Task’ agent is extended by replacing the summary action ‘REQUEST’ for requesting a slot in the dialogue state by separate request actions for each slot. In an example where the dialogue state comprises a slot for the type of food (TYPE), the price range (PRICERANGE) and the area to search within (AREA), the action set is expanded to include ‘REQUEST-AREA’, ‘REQUEST-FOOD’, ‘REQUEST-10 PRICERANGE’. For ease of understanding we define the following terminology. A source scenario is a scenario (e.g. a use-case within a domain, or the domain itself) for which the trainable weights of the multi-dimensional action selection component were originally generated. A target scenario is the new scenario in which the multi-dimensional action selection 15 component is being used (i.e. the new domain or the new use-case). CXI i Whereas in the source scenario the policy may select the REQUEST summary action, after which heuristics determine which slot is requested, in the target scenario according to an example the dialogue policy may select a request action for a particular slot, for example selecting the ‘REQUEST-AREA’ action to request more information about the 20 area slot. Therefore, in the target scenario with extended action set, the system learns automatically which slot to request, rather than relying on heuristics as in the source scenario. As discussed above, in the restaurant search domain, this means that the ‘REQUEST’ summary action is replaced by the three slot-specific request actions, corresponding to 25 the slots food, area, and price range (i.e. ‘REQUEST-AREA’, ‘REQUEST-FOOD’, ‘REQUEST-PRICERANGE’). Going back to the original action sets outlined in the Table discussed above, the action set of the ‘Task’ agent therefore grows from 4 actions (OFFER, REQUEST, ANSWER, NONE) to 6 actions (OFFER, REQUEST-FOOD, REQUEST-AREA, REQUEST-30 PRICERANGE, AN-SWER, NONE), and the set input features for the Evaluation Agent (EA) is also extended to cover the new action set of the ‘Task’ agent.. Consequently both the ‘TASK’ agent and the Evaluation Agent (EA) must be retrained for the target scenario. In particular to account for the new actions available in the ‘TASK’ dimension. In step 801 a multi-dimensional action selection component is generated. This step may 5 include initiating a multi-dimensional action selection component in software. In step 802 the trainable weights of a Dialog Act (DA) Agent are obtained. In an example, the Dialog Act (DA) Agent is associated with a dimension that is not specific to the source scenario (e.g. the dimension is domain independent). As discussed above, domainindependent dimensions can include the ‘Auto-feedback’ dimension and the ‘Social 10 Obligations Management (SOM)’ dimension. Optionally the trainable weights of these agents are retrieved from storage from when the machine learning models were trained for the source scenario. CM 15 In another example, obtaining pre-trained weights for a Dialogue Act (DA) agent comprises training the multi-dimensional system for the source scenario (e.g. according to Fig. 6). In this case the ‘Task’ Dialogue Act (DA) agent uses a summary action (i.e. ‘REQUEST’) for requesting slots. This yields 4 trained policies, corresponding to the 3 conversational dimensions plus the evaluation agent. Out of these, the domain independent dialogue policies for ‘Auto-feedback’ and ‘SOM’ are subsequently re-used for the target scenario. 20 In step 803 the multi-dimensional action selection component is trained for the target scenario. In this case the Task agent uses the extended action set (comprising ‘REQUEST-AREA’, ‘REQUEST-FOOD’, ‘REQUEST-PRICERANGE’). The dialogue policies for the domain / use-case independent dimensions are reused and the multidimensional action selection component is retrained (e.g. according to Fig. 6) so that the 25 system uses the extended action set in the ‘Task’ dimension. It has been observed that by reusing policies in this way, the multi-dimensional action selection components can increase training speeds (i.e. obtain a higher conversation success rate in a smaller number of training dialogues). Fig. 8B shows a method of transfer learning using the multi-dimensional action selection 30 component according to a second example. Step 850 comprises training a multidimensional action selection component for a source scenario. Step 851 comprises storing the trained policies that are transferrable to the target scenario. Step 852 comprises training the multi-dimensional action selection component for a target scenario, re-using and adapting the pre-trained transferrable policies. Fig. 9 shows a schematic of the hardware that can be used to implement methods in accordance with embodiments. The hardware comprises a computing system 900. In 5 this particular example, the components of the system will be described together. However, it will be appreciated that the components are not necessarily co-located. Components of the computing system 900 include, but are not limited to, a processing unit 913 (such as a Central Processing Unit, CPU, otherwise referred to as a ‘processor’), a system memory 901, a system bus 911 that couples various system components 10 including the system memory 901 to the processing unit 913. The system bus 911 may be any of several types of bus structure including a memory bus or memory controller, a peripheral bus and a local bus using any of a variety of bus architecture etc. The computing system 900 may also comprises a memory 915 connected to the system bus 911. The memory 915 may be an external memory. 15 The system memory 901 comprises computer storage media in the form of volatile / or non-volatile memory such as Read-Only Memory (ROM). The system memory 901 stores computer-readable instructions which, when executed by the processing unit 913 (e.g. a processor), causes the processing unit 913 (also referred to as the ‘processor’) to implement the functionality described herein, in particular implementing at least one 20 of: the system as discussed in relation to Fig. 1, the multi-dimension action selection component as described in relation to Fig. 2, the method of Fig. 5 (inference), the method of Fig. 6 (training) and / or the method of Fig. 8A or Fig. 8B (transfer learning). The system memory 901 may also comprise an operating system 905, application programs 907 and program data 909 that are in use by the processing unit 913. In an 25 embodiment the system memory 901 also comprises a Basic Input Output System (BIOS) 903 containing routines that help transfer information between the elements within the computer, such as during start-up is typically stored in system memory 901. The computing system further comprises an interface 925 that is communicatively connected to the system bus 911. In an embodiment the interface 925 comprises 30 functionality to communicate via a wired and / or wireless connection, specifically for receiving information from and transmitting information to other devices. Additionally or alternatively, the interface 925 comprises an audio input (e.g. a microphone) for receiving user input (e.g. utterances) and an audio output (e.g. a speaker) for providing a system response to a user. Additionally or alternatively the interface 925 comprises a means for receiving text input data from a device configured to generate text data (e.g. a keyboard). In another embodiment the interface 925 may be a user interface in various forms that allows a user to interact with the system. For example, by generating commands and / or questions and receiving responses. In the example of Fig. 9, a video interface 917 is provided. The video interface 917 comprises a Graphics Processing Unit (GPU) 919 which is communicatively connected to a graphics processing memory 921. Graphics Processing Unit (GPU) 919 is particularly well suited to the training of the machine learning models, such as neural network training, due to its adaptation to data parallel operations. Therefore, in an embodiment, the processing for training the machine learning models may be divided between CPU 913 and GPU 919. It should be noted that in some embodiments different hardware may be used for the training the machine learning models and for performing the state updates. For example, the training of the machine learning models may occur on one or more local desktop or workstation computers or on devices of a cloud computing system, which may include one or more discrete desktop or workstation GPUs, one or more discrete desktop or workstation CPUs, e.g. processors having a PC-oriented architecture, and a substantial amount of volatile system memory, e.g. 16GB or more. While, for example, the performance of the dialogue may use mobile or embedded hardware, which may include a mobile GPU as part of a system on a chip (SoC) or no GPU; one or more mobile or embedded CPUs, e.g. processors having a mobile-oriented architecture, or a microcontroller-oriented architecture, and a lesser amount of volatile memory, e.g. less than 1GB. For example, the hardware performing the dialogue may be a voice assistant system 120, such as a smart speaker, or a mobile phone including a virtual assistant. The hardware used for training the machine learning models of the Dialogue Act (DA) agents and the Evaluation Agent may have significantly more computational power, e.g. be able to perform more operations per second and have more memory, than the hardware used for performing tasks using the agent. The computing system 900 may be realised as part of a mobile phone comprising a virtual assistant, a smart speaker, an embedded device, a desktop computer, a laptop computer or a server. Although Fig. 9 shows a specific example of the hardware that can be used to implement the methods described herein, it will be appreciated that this is just one example and other arrangements could also be used. While certain arrangements have been described, the arrangements have been 5 presented by way of example only, and are not intended to limit the scope of protection. The inventive concepts described herein may be implemented in a variety of other forms. In addition, various omissions, substitutions and changes to the specific implementations described herein may be made without departing from the scope of protection defined in the following claims. 10
Claims
1. A computer-implemented method for generating a response in a dialogue system, wherein the dialogue system is for conducting a dialogue with a user, the method comprising: receiving an utterance from a user;updating a dialogue state based on the utterance;generating information identifying the dialogue state;selecting, by a first dialogue act agent, a first candidate action from a first set of candidate actions, using a first machine learning model and the information identifying the dialogue state, wherein the first set of candidate actions is associated with a first dialogue dimension;selecting, by a second dialogue act agent, a second candidate action from a second set of candidate actions, using a second machine learning model and the information identifying the dialogue state, wherein the second set of candidate actions is associated with a second dialogue dimension;disabling, by an evaluation agent, using a third machine learning model, a first output action comprising a first combination of the first candidate action and / or the second candidate action;selecting, by the evaluation agent, a second output action using: the third machine learning model, the first candidate action and the second candidate action, wherein the second output action comprises: a second combination of the first candidate action and / or the second candidate action; andgenerating a system response based on the second output action.
2. The computer-implemented method according to claim 1, wherein selecting the second output action comprises:generating a vector of values comprising an indication, for each combination of the first candidate action and / or the second candidate action, of an estimated cumulative reward associated with selecting the respective combination as the system response given the dialogue state; andselecting the second output action based on the vector of values.
3. The computer-implemented method according to claim 2, wherein the vector of values is generated using a function parameterised by a first set of trainable weights, wherein an input to the function is the information identifying the dialogue state and an output of the function is the estimated cumulative reward for each combination.17 01 244. The computer-implemented method according to claim 3, wherein the function is a linear function.
5. The computer-implemented method according to any of claims 2 to 4, wherein selecting the second output action based on the vector of values comprises:converting the vector of values to a probability distribution to generate a vector of action probabilities; andselecting the second output action based on the vector of action probabilities.
6. The computer-implemented method according to claim 5, wherein converting the vector of values to the probability distribution to generate the vector of action probabilities comprises:converting the vector of values to a vector of converted action values, wherein the vector of converted action values comprises values greater than or equal to zero;forming a vector of masked converted action values by setting a first action value in the vector of converted action values equal to zero based on a predetermined criteria; andnormalizing the vector of masked converted action values to form the vector of action probabilities.
7. The computer-implemented method according to any preceding claim, wherein the first dialogue dimension is different to the second dialogue dimension.
8. A computer-implemented method for training a dialogue system, the method comprising:generating a system response according to the method of claim 1;providing the system response to the user; andtraining the first machine learning model, the second machine learning model, and the third machine learning model using reinforcement learning.
9. The computer-implemented method according to claim 8, wherein training the first machine learning model, the second machine learning model and the third machine learning model using reinforcement learning comprises:determining a cumulative reward; andtraining the first machine learning model, the second machine learning model and the third machine learning model based on the cumulative reward.17 01 2410. The computer-implemented method according to claim 9, wherein:the first machine learning model is configured to estimate a first estimated cumulative reward for the first candidate output action based on a first function parameterised by a first set of trainable weights; and wherein:training the first machine learning model based on the cumulative reward comprises:determining a difference between the cumulative reward and the first estimated cumulative reward; andupdating the first set of trainable weights based on the difference.
11. The computer-implemented method according to claim 10, wherein:the third machine learning model is configured to estimate a second estimated cumulative reward for the second output action based on a second function parameterised by a second set of trainable weights; and wherein:training the third machine learning model based on the cumulative reward comprises:determining a difference between the cumulative reward and the second estimated cumulative reward; andupdating the second set of trainable weights based on the difference.
12. The computer-implemented method according to claims 9 or 10, wherein the cumulative reward is based on a sum of rewards, the sum of rewards comprising a first reward generated for providing the system response.
13. The computer-implemented method according to claim 12, further comprising: receiving a second utterance in response to providing the system response; generating a second system response according to the method of claim 1, wherein the utterance in the method of claim 1 is the second utterance and the system response generated by the method of claim 1 is the second system response;generating a second reward based on the second system response;calculating the cumulative reward based on a sum of the first reward and the second reward.
14. The computer-implemented method according to any of claims 8 to 13, wherein: the dialogue system comprises a first hyper-parameter configured to control an amount of exploration of: a first dialogue policy implemented by the first machine17 01 24learning model, a second dialogue policy implemented by the second machine learning model, and a third dialogue policy implemented by the third machine learning model and wherein:the first hyper-parameter has a first value during a first dialogue, the first dialogue comprising the utterance and the system response, the method further comprising:determining whether the first dialogue is complete and in response to determining that the first dialogue is complete:modifying the first hyper-parameter such that the amount of exploration of: the first dialogue policy, the second dialogue policy and the third dialogue policy within a state-action space is less than during the first dialogue; andretraining the dialogue system with a second dialogue.
15. A device for generating a response in a dialogue system, wherein the dialogue system is for conducting a dialogue with a user, the device configured to:receive an utterance from a user;update a dialogue state based on the utterance;generate information identifying the dialogue state;select, by a first dialogue act agent, a first candidate action from a first set of candidate actions, using a first machine learning model and the information identifying the dialogue state, wherein the first set of candidate actions is associated with a first dialogue dimension;select, by a second dialogue act agent, a second candidate action from a second set of candidate actions, using a second machine learning model and the information identifying the dialogue state, wherein the second set of candidate actions is associated with a second dialogue dimension;disable, by an evaluation agent, using a third machine learning model, a first output action comprising a first combination of the first candidate action and / or the second candidate action;select, by the evaluation agent, a second output action using: the third machine learning model, the first candidate action and the second candidate action, wherein the second output action comprises: a second combination of the first candidate action and / or the second candidate action; andgenerate a system response based on the second output action.
16. The device according to claim 15, wherein the device is further configured, when selecting the second output action, to:17 01 24generate a vector of values comprising an indication, for each combination of the first candidate action and / or the second candidate action, of an estimated cumulative reward associated with selecting the respective combination as the system response given the dialogue state; andselect the second output action based on the vector of values.
17. The device according to claim 16, wherein the device is further configured to generate the vector of values using a function parameterised by a first set of trainable weights, wherein an input to the function is the information identifying the dialogue state and an output of the function is the estimated cumulative reward for each combination.
18. The device according to claim 17, wherein the function is a linear function.
19. The device according to any of claims 16 to 18, wherein the device is furtherconfigured, when selecting the second output action based on the vector of values, to:convert the vector of values to a probability distribution to generate a vector of action probabilities; andselect the second output action based on the vector of action probabilities.
20. The device according to claim 19, wherein the device is further configured, when converting the vector of values, to:convert the vector of values to a vector of converted action values, wherein the vector of converted action values comprises values greater than or equal to zero;form a vector of masked converted action values by setting a first action value in the vector of converted action values equal to zero based on a predetermined criteria; andnormalise the vector of masked converted action values to form the vector of action probabilities.
21. The device according to any preceding claim, wherein the first dialogue dimension is different to the second dialogue dimension.
22. A training system for training a dialogue system, the training system comprising the device according to claim 15, the training system configured to:generate a system response using the device of claim 15;provide the system response to the user; and17 01 24train the first machine learning model, the second machine learning model, and the third machine learning model using reinforcement learning.
23. The training system according to claim 22, wherein the training system is further configured, when training the first machine learning model, the second machine learning model and the third machine learning model using reinforcement learning, to:determine a cumulative reward; andtrain the first machine learning model, the second machine learning model and the third machine learning model based on the cumulative reward.
24. The training system according to claim 23, wherein:the first machine learning model is configured to estimate a first estimated cumulative reward for the first candidate output action based on a first function parameterised by a first set of trainable weights; and wherein the training system is further configured, when training the first machine learning model based on the cumulative reward, to:determine a difference between the cumulative reward and the first estimated cumulative reward; andupdate the first set of trainable weights based on the difference.
25. A non-transitory computer-readable medium comprising computer programinstructions suitable for execution by a processor, the instructions configured, when executed by the processor, cause the processor to carry out the method of claim 1.
