GROUNDED MULTIMODAL AGENT INTERACTIONS

Information

  • Patent Application
  • 20230122202
  • Publication Number
    20230122202
  • Date Filed
    November 02, 2021
    3 years ago
  • Date Published
    April 20, 2023
    a year ago
Abstract
Aspects of the present disclosure relate to grounded multimodal agent interactions, where a user input is processed using a multimodal machine learning model to generate model output. The model output may then be processed to affect the behavior of an application, for example to enable a user to control the application and/or to facilitate user interactions with a conversational agent, among other examples. In some instances, at least a part of the model output may be executed or parsed, for example to call an application programming interface or function of the application. Thus, use of a multimodal machine learning model according to aspects described herein may enable the use of user-provided natural language input to affect the behavior of an application accordingly.
Description
BACKGROUND

A user may provide natural language input for processing by a conversational agent. Similarly, the conversational agent may generate natural language output that is provided in response to the user, thereby enabling the user and the conversational agent to communicate. However, interactions between the user and the conversational agent may thus be restricted to natural language, which may result in reduced utility of the conversational agent to the user and/or limited richness of such interactions.


It is with respect to these and other general considerations that embodiments have been described. Also, although relatively specific problems have been discussed, it should be understood that the embodiments should not be limited to solving the specific problems identified in the background.


SUMMARY

Aspects of the present disclosure relate to grounded multimodal agent interactions, where a user input is processed using a multimodal machine learning model to generate model output. The model output may then be processed to affect the behavior of an application, for example to enable a user to control the application and/or to facilitate user interactions with a conversational agent, among other examples. In some instances, at least a part of the model output may be executed or parsed, for example to call an application programming interface or function of the application. Thus, use of a multimodal machine learning model according to aspects described herein may enable the use of user-provided natural language input to affect the behavior of an application accordingly.


This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.





BRIEF DESCRIPTION OF THE DRAWINGS

Non-limiting and non-exhaustive examples are described with reference to the following Figures.



FIG. 1 illustrates an overview of an example system for grounded multimodal agent interactions according to aspects described herein.



FIG. 2A illustrates an overview of an example method for affecting an application based on model output from a multimodal machine learning model according to aspects described herein.



FIG. 2B illustrates an overview of an example method for generating a multimodal response according to aspects described herein.



FIG. 3 illustrates an overview of an example method for controlling a conversational agent using a multimodal generative platform according to aspects described herein.



FIG. 4 illustrates an overview of an example method for controlling a video game application using a multimodal generative platform according to aspects described herein.



FIG. 5 is a block diagram illustrating example physical components of a computing device with which aspects of the disclosure may be practiced.



FIGS. 6A and 6B are simplified block diagrams of a mobile computing device with which aspects of the present disclosure may be practiced.



FIG. 7 is a simplified block diagram of a distributed computing system in which aspects of the present disclosure may be practiced.



FIG. 8 illustrates a tablet computing device for executing one or more aspects of the present disclosure.





DETAILED DESCRIPTION

In the following detailed description, references are made to the accompanying drawings that form a part hereof, and in which are shown by way of illustrations specific embodiments or examples. These aspects may be combined, other aspects may be utilized, and structural changes may be made without departing from the present disclosure. Embodiments may be practiced as methods, systems or devices. Accordingly, embodiments may take the form of a hardware implementation, an entirely software implementation, or an implementation combining software and hardware aspects. The following detailed description is therefore not to be taken in a limiting sense, and the scope of the present disclosure is defined by the appended claims and their equivalents.


In examples, a user and a conversational agent interact using natural language, where user input is processed using a generative machine learning model to generate natural language output. The natural language output may then be provided in response to the user input. However, using a generative machine learning model in such a way may limit the utility of the conversational agent, for example to contexts in which natural language interactions alone can achieve an objective of a user. Further, as a result of being restricted only to natural language communication, such interactions may lack richness or depth, which may therefore also diminish the associated user experience. For instance, a conversational agent interacting solely using natural language may be unable to affect an application state to facilitate user interactions with the application.


Accordingly, aspects of the present disclosure relate to grounded multimodal agent interactions. In examples, a generative multimodal machine learning model processes user input and generates multimodal output. For example, a conversational agent according to aspects described herein may receive user input, such that the user input may be processed using the generative multimodal machine learning model to generate multimodal output. The multimodal output may comprise natural language output and/or programmatic output, among other examples. The multimodal output may be processed and used to affect the state of an associated application. For example, at least a part of the multimodal output may be executed or may be used to call an application programming interface (API) of the application. A generative multimodal machine learning model (also generally referred to herein as a multimodal machine learning model) used according to aspects described herein may be a generative transformer model, in some examples. In some instances, explicit and/or implicit feedback may be processed to improve the performance of multimodal machine learning model.


In examples, user input and/or model output is multimodal, which, as used herein, may comprise one or more types of content. Example content includes, but is not limited to, written language (which may also be referred to herein as “natural language output”), code (which may also be referred to herein as “programmatic output”), images, video, audio, gestures, visual features, intonation, contour features, poses, styles, fonts, and/or transitions, among other examples. Thus, as compared to a machine learning model that processes natural language input and generates natural language output, aspects of the present disclosure may process input and generate output having any of a variety of content types.


It will be appreciated that all inputs and outputs for a content agent and its associated machine learning model need not be multimodal in nature. Rather, an input or output may have a single content type. For example, a user may provide input to a conversational agent that is only natural language, such that the conversational agent provides programmatic output in response, among other examples. Thus, a machine learning model according to aspects described herein may be termed to be multimodal as a result of its ability to process multiple content types. For instance, in the above example, the machine learning model interoperates between natural language and programmatic content types.


As a result of the multimodal nature of a machine learning model used by a conversational agent as described herein, a user may interact with the conversational agent to affect an application state. Examples include, but are not limited to, manipulating one or more parameters of the application, causing interactions similar to those offered by a control surface of an application (e.g., relating to a user interface element, a gesture, a keystroke, mouse input, or a menu item), causing execution of an API call, or manipulating or otherwise controlling generation of one or more types of content (e.g., textual, visual, and/or auditory content). Additional examples of such aspects are discussed in greater detail below.


Returning to the above example of multimodal interactions associated with natural language and programmatic content, natural language input received from a user may be processed to generate programmatic output, such that at least a part of the programmatic output may be executed. For example, a user may provide an instruction as natural language input, such that the machine learning model generates programmatic output that causes an application to behave as instructed by the user. For instance, the programmatic output may be a series of programmatic steps that are executed or otherwise performed by the application, thereby performing one or more complex tasks associated with an application. Similarly, the machine learning model may generate natural language output in addition to or as an alternative to such programmatic output. In some examples, such natural language output may itself be in the form of programmatic output, for example comprising code similar to a comment or a “print” or “echo” function.


While a machine learning model may be fine-tuned for one or more specific scenarios (examples of which are discussed in greater detail below), aspects of the present application may be performed using a machine learning model that has not been specialized for such a specific scenario. As an example, a multimodal machine learning model may be primed or grounded using a prompt or other context to bias the machine learning model toward a specific behavior. For example, a prompt may provide one or more multimodal examples that illustrate a relationship between multiple content types. Thus, a prompt may be designed or generated to increase the likelihood that a model exhibits a specific behavior. In some examples, one or more such prompts may be distributed and/or (re)used in specific contexts, such that the same machine learning model may be used to reproduce different behaviors in different scenarios (e.g., where each scenario may have an associated prompt).


Returning to the above example of natural language and programmatic content, a prompt in such an example may include a text comment and an associated code segment, thereby priming the machine learning model to process similar natural language input and generate similar programmatic output. While example prompts are described, it will be appreciated that any of a variety of techniques may be used to prime a machine learning model to perform the multimodal processing aspects described herein. For instance other techniques may be used to associate two types of content (e.g., other than a comment and associated code). Similarly, it will be appreciated that, in some examples, a machine learning model may not be primed or grounded as described above, as may be the case when a machine learning model has been fine-tuned for a given scenario.


In examples, a context may be maintained for interactions with a conversational agent. For example, a context may include a prompt as well one or more instances of user input and associated model output. Thus, such a context may enable a conversational agent to learn from previous interactions with a user, for example to correct machine learning model behavior, define new behaviors, and/or perform introspection on previous behavior, among other examples. Any of a variety of techniques may be used to maintain a context associated with a conversational agent, for example in association with a specific user, a specific user session, a specific set of users, or more generally for a larger population of users. As another example, a context may include a predetermined number of previous interactions or a machine learning model may have a limited attention with which such context affects model output generated by the machine learning model.


As used herein, a conversational agent may perform processing based on model output, for example as may be generated based on user input associated with a user. For example, the conversational agent may be a virtual assistant or a non-player character (NPC). Some examples, the conversational agent may have a visual manifestation (e.g., a virtual avatar or graphical representation), aspects of which may be controlled based on model output according to aspects described herein. In other examples, the conversational agent may be functionality integrated into an application, such that it may not have a visual manifestation. For example, a user may provide natural language input into a text box or as spoken dialogue to the application, such that the input is processed (e.g., by a conversational agent of the application) to affect behavior of the application accordingly.


In example interactions between a user and a conversational agent according to aspects described herein, user input may be received, an indication of which may be provided to a multimodal machine learning model in association with a prompt, such that the machine learning model generates model output accordingly. As noted above, the user input and the resulting model output need not be the same content type. Rather, in some examples, at least a part of the model output may be a content type that is different from the user input. The model output is processed to affect the behavior of an application, thereby enabling user control of various aspects of an application using natural language input (or any of a variety of alternative or additional types of input, in other examples).


For instance, model output obtained from a multimodal machine learning model may include programmatic output that is executed to control the behavior of the application. As an example, natural language user input may be received indicating a user request to cause an NPC to jump, move, or follow an avatar of the user, among other examples. Accordingly, the user input is processed by the multimodal machine learning model according to aspects described herein to generate programmatic output that includes a set of programmatic steps, which, when executed, cause the NPC to implement the user-requested behavior. Similar techniques may be applied to affect the behavior of an application, for example executing the programmatic output to control various functionality of the application accordingly.


In an example where the user requests that the NPC jump, the generated programmatic output may include a first programmatic step that calls a “jump” function associated with the NPC and a second programmatic step that, after a predetermined amount of time, causes the NPC to stop jumping. The programmatic output may include multiple programmatic steps. For example, in an instance where the user requests that the NPC follows the user’s avatar, the generated programmatic output may include a first programmatic step that determines a location of the user avatar, a second programmatic step that causes the NPC to move toward the determined location, and a third programmatic step that causes the first and second programmatic steps to be executed after a predetermined time period. Thus, the generated programmatic output may result in a loop that periodically updates the location of the NPC based on the location of the user’s avatar. As such, aspects described herein enable a user to invoke complex application functionality using natural language input, which may be tedious or difficult to achieve via a user interface or may otherwise be unavailable to the user altogether.


As noted above, the user input and/or model output may form a context that is used in subsequent interactions with the conversational agent. As an example, when a subsequent user interaction is received, a context is provided in association with the subsequent user interaction, which includes the prompt in addition to the previous user input and/or model output. Accordingly, subsequent model output is received, which may similarly be processed to the model output discussed above. Thus, subsequent user interactions with the conversational agent may be iterative in nature, where context is maintained to enable a user to correct machine learning model behavior, define new behaviors of the machine learning model and associated output, and/or request that the machine learning model perform introspection on previous behavior, among other examples. As noted above, a context may not be maintained in other examples.


In some instances, a model may fail to generate adequate model output. For example, it may be determined that a confidence level associated with the model output is below a predetermined threshold. As another example, while a multimodal machine learning model may attempt to generate content having a specific content type, the generated content may be invalid. Returning to the example or programmatic output, the resulting model output may be syntactically and/or semantically invalid, such that it is not usable to affect application behavior. For example, the model output may not conform to a specific API or may reference a user interface element or other functionality that does not exist. In such instances, an indication may be provided that a user input was not understood correctly or the user may be prompted to reformulate the provided input, among other examples. In some examples, the user input and associated model output may be stored for subsequent use as training data so as to improve model performance in the future.


As noted above, a multimodal machine learning model may be fine-tuned in some examples, for example to incorporate additional and/or more specific knowledge for a given scenario. As an example, the multimodal machine learning model may be trained using content associated with a specific scenario or domain in which it will likely be used. In the example of programmatic output, the machine learning model may be trained using relevant documentation, libraries, and code examples. Thus, in addition to or as an alternative to using a prompt to prime the machine learning model, such tuning may be used to facilitate interoperability between user input and model input having various content types. Additionally, training data generated as a result of user interactions with a conversational agent may be used to improve model performance, for example based on inputs and outputs that are logged in instances where the machine learning model fails to generate adequate model output.


Thus, aspects of the present disclosure enable more natural user interactions with a conversational agent that extend beyond simpler natural language conversation. Further, as compared to slot filling or other natural language processing techniques that map natural language input to specific application behaviors, generated model output may be more dynamic, as a machine learning model may effectively learn from user interactions and subsequently generate corrected model output accordingly. Further, rather than rigidly filling slots according to tokens identified within user input, generated model output may be adapted for any of a variety of scenarios as a result of associated prompts, context, and/or fine-tuning. In general, aspects of the present disclosure enable a user experience having tangible, technical results stemming from the application of multimodal machine learning model output to affect the behavior of an application as a result.


Aspects of the present disclosure may enable interactive development and debugging. For example, user input may be processed to generate programmatic model output, which may be executed or otherwise used to affect application behavior according to aspects described herein. Such processing may enable a user to observe an effect of the generated programmatic model output, such that the user may provide subsequent user input to correct the behavior of the machine learning model. As a result, subsequent output from the machine learning model may be improved as compared to the previous model output (e.g., by virtue of a context maintained in association with the user’s interaction with the conversational agent). Similarly, user input may result in model output that exhibits new behaviors that would not have previously been generated by the machine learning model. For example, user input may correct model output syntax, API calls, or other content. As another example, the resulting model output and associated processing may enable a user to access functionality of an application that may not otherwise be (easily) accessible to a user, for example as a result of combining functionality associated with multiple controls and/or control surfaces of the application.


Aspects of the present disclosure may be used to control a video game application. As an example, functionality and/or other parameters of the video game application may be controlled based on user input (e.g., which may be received as natural language input). For example, the user input may be processed to generate model output associated with one or more API calls, user interface elements, or other commands of the video game. Similar to the above-discussed debugging aspects, a user may iteratively refine behavior exhibited by the conversational agent in instances where model output and resulting behavior is not what the user expects. In some instances, model output may ultimately yield a macro, where functionality of the video game application is combined in response to a user input, such that the user may invoke the macro to affect behavior of the video game application accordingly.


As another example, a prompt may define a persona associated with a conversational agent of a video game, such as an NPC, narrator, or virtual assistant. As used herein, a persona of a conversational agent may be associated with a dialogue tone, role, objective or goal, personality, one or more mannerisms or animations, and/or physical appearance, among other examples. For example, an NPC may have a role of shopkeeper or guide, while further having an associated objective (e.g., to sell as many items as possible or to help the user complete a task). Thus, the role of the NPC may remain substantially constant or may gradually evolve during gameplay, while the objective of the NPC may be comparatively more dynamic (e.g., according to a given context).


Further, two or more NPCs may each have the same or similar roles while having different objectives, or vice versa. As another example, an NPC may have multiple objectives that may be consistent with one another or may conflict with one another. In such as an example, one objective may therefore receive a higher weight or greater attention as compared to another objective (e.g., depending on the context). Thus, the prompt may include an indication as to an NPC’s attitude, tone, role, or objective, among other such persona attributes.


A “user” as used herein may be a developer of a video game application (e.g., utilizing interactive debugging and/or defining a persona of an NPC) and/or a player of the video game application (e.g., interacting with the video game application and/or one or more NPCs therein), among other examples. For instance, the player may manipulate an application state or environment of the video game application using natural language input according to aspects described herein.


It will be appreciated that a prompt need not be restricted to linguistic priming and may alternatively or additionally include mannerisms, actions, or states (e.g., as may be defined linguistically and/or programmatically), among other examples. In a further example, a prompt may include code or other programmatic definitions associated with dynamically accessing one or more variables or other aspects of the video game application.


In some instances, a first part of the prompt may define a general persona for the conversational agent, while a second scenario-specific part may define more specific aspects (e.g., as may be associated with scenarios such as a scene, locale, map, or specific storyline). In such instances, the first part may be used to generate model output for the conversational agent in multiple scenarios, while which scenario-specific part is used as the second part may vary based on scenario. For example, as a character transitions from one scenario to another in a video game application, the prompt may be updated to substitute a first scenario-specific part with a second scenario-specific part (e.g., while maintaining the same general persona part). In some instances, such a transition may similarly cause an associated context to be truncated, abridged, or reset.


Similarly, a context associated with a conversational agent may be maintained across multiple such scenarios, thereby enabling user interactions with the conversational agent to utilize knowledge of past interactions. For example, such aspects may be used when an NPC is present at in multiple scenarios of a story. In such examples, part of a past context may be used as a future prompt.


Accordingly, the behavior of the NPC may be controlled according to model output generated by a machine learning model. The model output may include natural language output, programmatic output (e.g., to affect conversational agent movement), audio output and/or intonation output (e.g., to affect speech of the conversation agent), image output (e.g., to affect an associated texture), and/or video output (e.g., to affect an associated animation), among other examples. It will be appreciated that a single multimodal machine learning model need not be used to generate all of these and other content types. Rather, a set of such multimodal machine learning models may be used, where each machine learning model may have at least a partially overlapping set of associated content types.


As an example, in instances where model output is used to control various visual and/or auditory aspects of an NPC (e.g., animations, facial expressions, intonation, etc.), the associated machine learning model may have been trained according to video training data in which movement of a subject of the video is annotated according to a skeletal model and dialogue is annotated according to an associated intonation, both of which may further be associated with the natural language meaning of the dialogue.


As a result of defining such aspects of a conversational agent using a prompt (and, in some examples, associated context), it may be possible to efficiently generate multiple conversational agents, for example each having different attitudes, roles, objectives, and/or mannerisms, even though the same multimodal machine learning model may be used for each of the conversational agents.


It will be appreciated that aspects of the present application need not be limited to user interactions with an application of a computing device. For example, similar techniques may be applied to user interaction with any of a variety of other devices, such as virtual assistants, smart home devices, robots, and/or animatronic devices, among other examples.



FIG. 1 illustrates an overview of an example system 100 for grounded multimodal agent interactions according to aspects described herein. As illustrated, system 100 comprises multimodal generative platform 102, computing device 104, computing device 106, and network 108. In examples, multimodal generative platform 102, computing device 104, and/or computing device 106 communicate via network 108, which may comprise a local area network, a wireless network, or the Internet, or any combination thereof, among other examples.


While system 100 is described in an example where processing is performed using a machine learning model that is remote to computing devices 104 and 106 (e.g., at multimodal generative platform 102), it will be appreciated that, in other examples, at least some aspects described herein with respect to a multimodal generative platform may be performed locally to computing device 104 and/or computing device 106.


Multimodal generative platform 102 is illustrated as comprising request processor 110, machine learning engine 112, prompt store 114, and training data store 116. In examples, request processor 110 receives a request from computing device 104 and/or computing device 106 (e.g., from model interaction manager 120 and model interaction manager 126, respectively) to generate model output (e.g., as may be generated by machine learning engine 112). For example, the request may include an indication of user input and/or a prompt or context, among other examples. In some instances, the request includes an indication of a prompt stored by prompt store 114 or, as another example, model interaction manager 120 may request a prompt from prompt store 114, which may subsequently be provided in a request to generate model output.


Machine learning engine 112 may comprise a multimodal machine learning model according to aspects described herein. For example, machine learning engine 112 may include a multimodal machine learning model that was trained using a training data set having a plurality of content types (e.g., associated with one or more types of user input that may be received from computing device 104 and/or 106, as well as one or more types of model output to be generated in response). Thus, given content of a first type, machine learning engine 112 may generate content of the first type and/or content of the second type.


Multimodal generative platform 102 is further illustrated as comprising prompt store 114, which may facilitate distribution of prompts with which model output may be generated according to aspects described herein. For example, a prompt stored by prompt store 114 may have an associated version, such that prompts used by computing device 104 and/or computing device 106 may be updated accordingly. In other instances, prompt store 114 stores a prompt (and, in some examples, an associated context) in association with a specific user or group of users (e.g., of computing device 104 and/or computing device 106), or a given application (e.g., video game application 118 and/or video game application 124), among other examples.


Training data store 116 may store training data associated with machine learning engine 112. In examples, training data store 116 is updated based on instances when it is determined that model output of machine learning engine 112 is inadequate (e.g., based on an associated confidence level or an indication received from model interaction manager 120 and/or model interaction manager 126, among other examples), such that machine learning engine 112 may subsequently be retrained to improve its performance.


As illustrated, computing device 104 includes video game application 118, model interaction manager 120, and context store 122. Similarly, computing device 106 includes video game application 124, model interaction manager 126, and context store 128. Aspects are described below with reference to computing device 104. However, computing device 106 may be similar to computing device 104, and, as such, aspects of computing device 106 are not necessarily re-described below in detail.


In examples, video game application 118 may be a native application or a web-based application. As another example, video game application 118 may operate substantially locally to computing device 104 or may operate according to a server/client paradigm in conjunction with one or more game servers (not pictured).


Video game application 118 may implement one or more conversational agents according to aspects described herein. For example, such conversational agents may be implemented as NPCs, virtual assistants, or as functionality of video game application 118 that enables model output-based control of video game application 118 in response to received user input. It will be appreciated that, in other examples, aspects of video game application 118 (as well as model interaction manager 120 and/or context store 122, in some examples) need not be local to computing device 104 and may instead by implemented remotely, for example by one or more game servers (not pictured).


Accordingly, model interaction manager 120 may process received user input to facilitate the generation of model output according to aspects described herein. For example, model interaction manager 120 may determine a prompt with which the received user input can be processed (e.g., as may be associated with a conversational agent of video game application 118), such that an indication of the determined prompt and the user input is provided to multimodal generative platform 102 (e.g., where it is received by request processor 110 and processed by machine learning engine 112 to generate model output). In response, model interaction manager 120 receives generated model output. In examples, at least a part of the user input and/or generated model output may be stored in context store 122 as context (e.g., in association with the conversational agent for which the user input was received), such that the context may be used in subsequent requests for model output from multimodal generative platform 102.


Model interaction manager 120 may process the model output to affect the behavior of video game application 118 according to aspects described herein. For example, the model output may include any of a variety of types of content, each of which may affect certain aspects of video game application 118. As an example, the model output may include programmatic output, which may be executed, parsed, or otherwise processed by model interaction manager 120 (e.g., as one or more API calls or function calls). As another example, the model output may include natural language output, which may be presented to a user of computing device 104 (e.g., as dialog of an NPC, as an alert or message, or as content of video game application 118).


As noted above, the model output may control any of a variety of other aspects of video game application 118, for example relating to textures, animations, and/or the intonation of spoken dialog, as well as mannerism, actions, poses, and/or states of an NPC. Thus, while example processing and associated content types are described, it will be appreciated that model interaction manager 120 may use any of a variety of techniques to process multimodal model output according to aspects of the present disclosure.


In some instances, model interaction manager 120 may determine that the model output is inadequate, as may be the case when the model output has an associated confidence level that is below a predetermined threshold, an indication of an error or other issue is received from multimodal generative platform 102 in addition to or as an alternative to the model output, or processing of at least a part of the model output fails (e.g., as may be the case when the model output includes code or other output that is syntactically or semantically incorrect), among other examples. In such instances, model interaction manager 120 may provide a failure indication to the user, for example indicating that the user may retry or reformulate the user input, that the user input was not correctly understood, or that the requested functionality may not be available. While example issues and associated issue handling techniques are described, it will be appreciated that any of a variety of other issues and/or issue handling techniques may be encountered / used in other examples.


As noted above, the same machine learning model (e.g., machine learning engine 112) may be used to control or otherwise provide multiple NPCs or virtual assistants, each of which may have a different associated persona (by virtue of an associated prompt, as discussed above). In such examples, model interaction manager 120 may determine a different prompt for each NPC or virtual assistant. Further, at least a part of the prompt may change depending on the state of video game application 118 (e.g., as a user progresses through a story, depending on a map, as a user increases a level associated with the user’s account, etc.).


System 100 is illustrated as having computing device 104 and computing device 106 to illustrate that machine learning engine 112 may be used by multiple computing devices to generate any of a variety of model outputs associated with video game application 118 and video game application 124, respectively. In examples, prompts and/or context used by model interaction managers 120 and 126 may be different or may be similar (e.g., as may be the case when context is shared among a set of users or computing devices 104 and 106 share the same user). In other examples, multimodal generative platform 102 may have a context store in which conversational agent context may be stored.


In some instances, multimodal generative platform 102 may include multiple machine learning engines, for example associated with different video game applications (e.g., as may be the case when a machine learning engine has been fine-tuned for a given scenario), such that request processor 110 may determine a machine learning engine with which to process a request received from model interaction manager 120 and/or model interaction manager 126. Further, while aspects are described with respect to generating model output using a single multimodal generative machine learning model, it will be appreciated that, in other examples, multiple such models may be used. For example, a first multimodal generative machine learning model may have an associated first set of content types, while a second multimodal generative machine learning model may have an associated second set of content types, at least some of which may be different from the first set of content types.



FIG. 2A illustrates an overview of an example method 200 for affecting an application based on model output from a multimodal machine learning model according to aspects described herein. In examples, aspects of method 200 are performed by a model interaction manager, such as model interaction manager 120 or model interaction manager 126 discussed above with respect to FIG. 1.


Method 200 begins at operation 202, where a prompt is obtained for multimodal generation. For example, the prompt may be obtained from a prompt store of a multimodal generative platform (e.g., prompt store 114 of multimodal generative platform 102). As another example, an application may be distributed with a set of prompts from which the prompt may be obtained. In a further example, at least a part of the prompt may be user-provided, for example as may be the case when a user is creating or revising a prompt for use with a given application. Thus, it will be appreciated that a prompt may be obtained according to any of a variety of techniques.


At operation 204, user input is received. Example user inputs include, but are not limited to, natural language input (e.g., textual input or spoken input), programmatic input, and/or gestural input, among any of a variety of other interactions with an application. In some instances, the received user input may be multimodal, for example including multiple content types.


Flow progresses to operation 206, where an indication of the user input and the prompt are provided to a multimodal generative platform (e.g., multimodal generative platform 102). In examples, the received user input may be processed prior to providing it to the multimodal generative platform, for example to perform automated speech recognition or to perform gesture recognition. In other examples, such processing may instead be performed by the multimodal generative platform.


Moving to operation 208, a response is received from the multimodal generative platform. In examples, the response comprises model output that was generated by a machine learning engine (e.g., machine learning engine 112). In some instances, the model output may itself be multimodal or at least a part of it may have a different associated content type than the user input that was provided at operation 206. In other instances, at least a part of the model output may have the same content type as the provided user input.


At operation 210, the response is processed to affect application behavior accordingly. In examples, the processing performed at operation 210 depends on a content type of the model output. For example, if the model output includes natural language output, the natural language output may be presented to the user (e.g., as text or as spoken dialogue). As another example, if the model output includes programmatic output, the programmatic output may be parsed or otherwise executed. In some instances, the model output includes multiple content types, such that operation 210 includes identifying multiple subparts therein and processing each subpart accordingly. In other instances, the model output may be programmatic output in which natural language output is encapsulated, such that executing, parsing, or otherwise processing the programmatic output will result in presentation of the natural language output to the user. While method 200 is described using the example of natural language output and/or programmatic output, it will be appreciated that similar techniques may be applied to any of a variety of content types.


In some instances, operation 210 may comprise determining that the model output is inadequate and handling such an identified issue accordingly. As discussed above, a failure indication may be presented to the user, for example indicating that the user may retry or reformulate the user input, that the user input was not correctly understood, or that the requested functionality may not be available. While example issues and associated issue handling techniques are described, it will be appreciated that any of a variety of other issues and/or issue handling techniques may be encountered / used in other examples.


Flow progresses to operation 212, where an updated context is generated. For example, the context may be updated in a context store, such as context store 122 or context store 128 discussed above with respect to FIG. 1. The updated context may include the prompt obtained at operation 202, the user input that was received at operation 204, and/or the response that was received at operation 208, among other examples. As discussed above, a context may maintain only a part of previous conversational agent interactions, such that later interactions (e.g., beyond a predetermined number of interactions or after a predetermined time) may be omitted. Operation 212 is illustrated using a dashed box to indicate that, in some examples, operation 212 may be omitted. For instance, a context may not be maintained, such that subsequent conversational agent interactions similarly utilize the prompt that was obtained at operation 202.


Eventually, flow progresses to operation 214, where subsequent user input is received. Accordingly, an indication of the received user input and context (or, in instances where a context is not maintained, the prompt obtained at operation 202) is provided to the multimodal generative platform. Aspects of operations 214 and 216 are similar to those discussed above with respect to operations 204 and 206, and are therefore not necessarily re-described in detail. In the described examples, the machine learning engine may not maintain a state associated with operations of method 200. Rather, any such state may be maintained by virtue of the context generated at operation 212 and/or the prompt that was obtained at operation 202. Thus, usage of the machine learning engine to generate associated model output may be said to be “zero-shot” in some examples.


Flow returns to operation 208, where a response is received from the multimodal generative platform based on the provided user input, such that it may be processed at operations 210 and 212 accordingly. Thus, flow may loop between operations 208-216 to process user input and enable conversational agent interactions using a multimodal machine learning model according to aspects described herein.



FIG. 2B illustrates an overview of an example method 250 for generating a multimodal response according to aspects described herein. In examples, aspects of method 250 are performed by a multimodal generative platform, such as multimodal generative platform 102 discussed above with respect to FIG. 1.


As illustrated, method 250 begins at operation 252, where a generation request is received. For example, the request may be received from a model interaction manager, such as model interaction manager 120 or model interaction manager 126 discussed above with respect to FIG. 1. In examples, the request is received as a result of performing aspects of operation 206 or operation 216 discussed above with respect to method 200 in FIG. 2A. The request may include an indication of user input, as well as a prompt and/or context.


At operation 254, the request is processed to generate model output. For example, the request may be processed using a multimodal machine learning model of a machine learning engine, such as machine learning engine 112. In examples, processing the request comprises determining a machine learning model from a set of machine learning models, as may be the case when an application from which the request was received at operation 252 is associated with a specific machine learning model.


Flow progresses to operation 256, where a response is provided to the request that was received at operation 252. For example, the request may include the model output that was generated at operation 254. In some examples, the response may additionally or alternatively include a confidence level associated with the model output or an indication that the model output is inadequate.


At determination 258, it is determined whether to update training data associated with the machine learning engine. For example, the determination may comprise evaluating a confidence level associated with the model output that was generated at operation 254. In other examples, an indication may be received from a model interaction manager. Thus, it will be appreciated that it may be determined to update training data in any of a variety of scenarios.


Accordingly, if it is determined to update the training data, flow branches “YES” to operation 260, where at least a part of the request that was received at operation 252 is stored as training data in association with the generated model output. For example, the training data may be stored in a training data store, such as training data store 116 discussed above with respect to FIG. 1. As a result, the machine learning engine may be retrained using the training data, thereby improving model performance in the future. Flow then terminates at operation 262. Similarly, if it is instead determined not to update the training data, flow branches “NO” and also terminates at operation 262.



FIG. 3 illustrates an overview of an example method 300 for controlling a conversational agent using a multimodal generative platform according to aspects described herein. In examples, aspects of method 300 are performed by a model interaction manager (e.g., model interaction manager 120 or model interaction manager 126 in FIG. 1) to affect behavior of a video game application (e.g., video game application 118 or video game application 124).


In the context of a video game application, the conversational agent may be an NPC, for example having a visual representation that is presented to a user. As another example, the conversational agent may be a virtual assistant or a narrator, which may not have an associated visual representation. While example conversational agents are described, it will be appreciated that any of a variety of other conversational agents may be used in other examples.


Method 300 begins at operation 302, where a prompt is determined for multimodal generation. For example, the prompt may be obtained from a prompt store of a multimodal generative platform (e.g., prompt store 114 of multimodal generative platform 102) or a game server, among other examples. As another example, the video game application may be distributed with a set of prompts from which the prompt may be obtained. In a further example, at least a part of the prompt may be user-provided, for example as may be the case when a user is creating or revising a prompt for use with the video game application.


As noted above, a prompt may have multiple parts, where a first part of the prompt defines a general persona for the conversational agent, while a second part defines more specific aspects (e.g., as may be associated with a scene, locale, map, or specific storyline). In such instances, operation 304 may comprise generating a prompt having a general part and one or more scenario-specific parts, where the scenario-specific parts are selected from a set of scenario-specific parts. In some instances, the set of scenario-specific prompts may be associated with the general part of the prompt, for example such that each different prompt may have a different associated set of scenario-specific parts. In other instances, the set of scenario-specific prompts may be used in association with multiple prompts, as may be the case when multiple NPCs each have a different general persona and but are intended to have similar scenario-specific parameters for the same scenario. Thus, it will be appreciated that a prompt may be determined according to any of a variety of techniques.


At operation 304, a user interaction associated with the conversational agent is identified. Example user interactions include, but are not limited to, natural language input (e.g., textual input or spoken input, as may be specifically directed to the conversational agent or more generally provided by a user), input associated with a player avatar, gestural input, mouse input, and/or keyboard input, among any of a variety of other interactions. In some instances, the identified user interaction may be multimodal, for example including both natural language input and player avatar input.


Operation 304 is illustrated using a dashed box to indicate that, in some examples, operation 304 may be omitted. For example, behavior of the conversational agent may be controlled according to method 300 even in instances where user interactions are not received. In some examples, aspects of operation 300 may be performed as a result of a conversational agent becoming visible to a user, in response to the occurrence of an event within the video game application, and/or after a predetermined amount of time has elapsed. Thus, it will be appreciated that any of a variety of triggers maybe used and, further, such triggers need not be directly related to a user interaction with the video game application.


Flow progresses to operation 306, where a request is provided to a multimodal generative platform (e.g., multimodal generative platform 102). In examples, the request includes the prompt that was determined at operation 302 and, in instances where user interaction is identified, an indication of the identified user interaction. In examples, the user interaction may be processed prior to providing it to the multimodal generative platform, for example to perform automated speech recognition or to perform gesture recognition. In other examples, such processing may instead be performed by the multimodal generative platform.


Moving to operation 308, a response is received from the multimodal generative platform. In examples, the response comprises model output that was generated by a machine learning engine (e.g., machine learning engine 112). In some instances, the model output may itself be multimodal or at least a part of it may have a different associated content type than the prompt and/or indication of a user interaction that was provided at operation 306. In other instances, at least a part of the model output may have the same content type as what was provided at operation 306.


At operation 310, the response is processed to control the behavior of the conversational agent accordingly. In examples, the processing performed at operation 310 depends on a content type of the received model output. For example, if the model output includes natural language output, the natural language output may be presented to the user (e.g., as text or as spoken dialogue). As another example, if the model output includes programmatic output, the programmatic output may be parsed or otherwise executed to affect the appearance and/or behavior of the conversational agent within the video game application. In some instances, the model output includes multiple content types, such that operation 310 includes identifying multiple subparts therein and processing each subpart accordingly. In other instances, the model output may be programmatic output in which natural language output is encapsulated, such that executing, parsing, or otherwise processing the programmatic output will result in presentation of the natural language output to the user.


While method 300 is described using the example of natural language output and/or programmatic output, it will be appreciated that similar techniques may be applied to any of a variety of content types. For example, model output received at operation 308 may include textures, animations (e.g., avatar animations or facial animations), intonation information for spoken dialogue, sound effects, or other content usable to affect the behavior of the conversational agent (e.g., textually, aurally, or visually) of the video game application.


In some instances, operation 310 may comprise determining that the model output is inadequate and handling such an identified issue accordingly. As discussed above, a failure indication may be presented to the user, for example indicating that the user may retry or reformulate a user interaction, that the user interaction was not correctly understood, or that the requested functionality may not be available (e.g., as may be the case when programmatic output is syntactically or semantically incorrect for a given video game application). While example issues and associated issue handling techniques are described, it will be appreciated that any of a-+ variety of other issues and/or issue handling techniques may be encountered / used in other examples.


Flow progresses to operation 312, where an updated context is generated. For example, the context may be updated in a context store, such as context store 122 or context store 128 discussed above with respect to FIG. 1. The updated context may include the prompt determined at operation 302, the user interaction that was identified at operation 304, and/or the response that was received at operation 308, among other examples. As discussed above, a context may maintain only a part of previous conversational agent interactions, such that later interactions (e.g., beyond a predetermined number of interactions or after a predetermined time) may be omitted. Operation 312 is illustrated using a dashed box to indicate that, in some examples, operation 312 may be omitted. For instance, a context may not be maintained, such that subsequent conversational agent interactions similarly utilize the prompt that was obtained at operation 302.


In the context of conversational agents of a video game application, certain conversational agents may establish a history with a user, such that the conversational agent has knowledge of previous interactions with the user. By contrast, other conversational agents may not have such history, as may be the case with one-off conversational agents or conversational agents that are recurring (and may therefore have different scenario-specific prompt parts in different scenarios) but need not have knowledge of past interactions.


Eventually, flow progresses to operation 314, where a subsequent user interaction is identified. Similar to operation 304, operation 314 is illustrated using a dashed box to indicate that, in other examples, a user interaction need not be identified. Aspects of operation 314 are similar to those discussed above with respect to operation 304 and are therefore not necessarily re-described in detail. For example, flow may progress to operation 306 as a result of any of a variety of other triggers. As illustrated, flow returns to operation 306, where a request is provided to the multimodal generative platform.


Thus, flow may loop between operations 306-314 to process user interactions and enable conversational agent interactions using a multimodal machine learning model according to aspects described herein (e.g., using a prompt and/or context, as may be maintained by operation 312). As noted above, aspects of method 300 may be provided for multiple conversational agents of a video game application, such that each conversational agent may exhibit at least slightly different behavior even though the same machine learning engine is used to generate the model output.



FIG. 4 illustrates an overview of an example method 400 for controlling a video game application using a multimodal generative platform according to aspects described herein. In examples, aspects of method 400 are performed by a model interaction manager (e.g., model interaction manager 120 or model interaction manager 126 in FIG. 1) to affect behavior of a video game application (e.g., video game application 118 or video game application 124).


It will be appreciated that a video game application may provide any of a variety of controls, including, but not limited to, user interface elements, keyboard input, mouse input, controller input, gesture input, and/or voice input. Thus, in addition to such controls, aspects of method 400 may enable a user to access similar functionality via a multimodal machine learning model, for example using natural language input, where the resulting model output is processed according to aspects described herein to control the video game application as directed by the user.


Method 400 begins at operation 402, where a prompt is determined for multimodal generation. For example, the prompt may be obtained from a prompt store of a multimodal generative platform (e.g., prompt store 114 of multimodal generative platform 102) or a game server, among other examples. As another example, the video game application may be distributed with a set of prompts from which the prompt may be obtained. In a further example, at least a part of the prompt may be user-provided, for example as may be the case when a user is creating or revising a prompt for use with the video game application. In some instances, different prompts may be associated with different aspects of the video game application, as may be the case when different controls and/or functionality are available in different scenarios.


At operation 404, a user interaction with the video game application is received. Example user interactions include, but are not limited to, natural language input (e.g., textual input or spoken input), input associated with a player avatar, gestural input, mouse input, and/or keyboard input, among any of a variety of other interactions. In some instances, the received user input may be multimodal, for example including both natural language input and gestural input.


Flow progresses to operation 406, where an indication of the user input and the prompt are provided to a multimodal generative platform (e.g., multimodal generative platform 102). In examples, the received user input may be processed prior to providing it to the multimodal generative platform, for example to perform automated speech recognition or to perform gesture recognition. In other examples, such processing may instead be performed by the multimodal generative platform.


Moving to operation 408, a response is received from the multimodal generative platform. In examples, the response comprises model output that was generated by a machine learning engine (e.g., machine learning engine 112). In some instances, the model output may itself be multimodal or at least a part of it may have a different associated content type than the prompt and/or indication of user input that was provided at operation 406. In other instances, at least a part of the model output may have the same content type as what was provided at operation 406.


At operation 410, the response is processed to control the behavior of the video game application accordingly. In examples, the processing performed at operation 410 depends on a content type of the received model output. For example, if the model output includes natural language output, the natural language output may be presented to the user (e.g., as text or as spoken dialogue). As another example, if the model output includes programmatic output, the programmatic output may be parsed or otherwise executed to control functionality of the video game application. For example, the programmatic output may include one or more API calls, may identify one or more user interface elements for actuation, or may include executable code to achieve functionality similar to that of other controls offered by the video game application. In some instances, the model output includes multiple content types, such that operation 410 includes identifying multiple subparts therein and processing each subpart accordingly. In other instances, the model output may be programmatic output in which natural language output is encapsulated, such that executing, parsing, or otherwise processing the programmatic output will result in presentation of the natural language output to the user.


While method 400 is described using the example of natural language output and/or programmatic output, it will be appreciated that similar techniques may be applied to any of a variety of content types. For example, model output received at operation 408 may include macros, game objects, or other content usable to affect operation of the video game application responsive to the user interaction what was received at operation 404, other examples of which are discussed above. For example, a game object received at operation 408 may be processed and imported into an application state of the video game application, thereby enabling a user to create or, in other examples, manipulate game objects using natural language input (whereas arriving at a similar result using other, more traditional functionality may involve a high degree of manual interactions with various controls provided by the video game application).


In some instances, operation 410 may comprise determining that the model output is inadequate and handling such an identified issue accordingly. As discussed above, a failure indication may be presented to the user, for example indicating that the user may retry or reformulate a user interaction, that the user interaction was not correctly understood, or that the requested functionality may not be available (e.g., as may be the case when programmatic output is syntactically or semantically incorrect for a given video game application). While example issues and associated issue handling techniques are described, it will be appreciated that any of a variety of other issues and/or issue handling techniques may be encountered / used in other examples.


Flow progresses to operation 412, where an updated context is generated. For example, the context may be updated in a context store, such as context store 122 or context store 128 discussed above with respect to FIG. 1. The updated context may include the prompt determined at operation 402, the user interaction that was received at operation 404, and/or the response that was received at operation 408, among other examples. As discussed above, a context may maintain only a part of previous conversational agent interactions, such that later interactions (e.g., beyond a predetermined number of interactions or after a predetermined time) may be omitted. Operation 412 is illustrated using a dashed box to indicate that, in some examples, operation 412 may be omitted. For instance, a context may not be maintained, such that subsequent conversational agent interactions similarly utilize the prompt that was obtained at operation 402.


Eventually, flow progresses to operation 414, where a subsequent user interaction is received. Aspects of operation 414 are similar to those discussed above with respect to operation 404 and are therefore not necessarily re-described in detail. As illustrated, flow returns to operation 406, where a request is provided to the multimodal generative platform. Thus, flow may loop between operations 406-414 to process user interactions to control game application functionality using a multimodal machine learning model according to aspects described herein (e.g., using a prompt and/or context, as may be maintained by operation 412).



FIGS. 5-8 and the associated descriptions provide a discussion of a variety of operating environments in which aspects of the disclosure may be practiced. However, the devices and systems illustrated and discussed with respect to FIGS. 5-8 are for purposes of example and illustration and are not limiting of a vast number of computing device configurations that may be utilized for practicing aspects of the disclosure, described herein.



FIG. 5 is a block diagram illustrating physical components (e.g., hardware) of a computing device 500 with which aspects of the disclosure may be practiced. The computing device components described below may be suitable for the computing devices described above, including devices 104 and/or 106, as well as one or more devices associated with multimodal generative platform 102 discussed above with respect to FIG. 1. In a basic configuration, the computing device 500 may include at least one processing unit 502 and a system memory 504. Depending on the configuration and type of computing device, the system memory 504 may comprise, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories.


The system memory 504 may include an operating system 505 and one or more program modules 506 suitable for running software application 520, such as one or more components supported by the systems described herein. As examples, system memory 504 may store prompt store 524 and model interaction manager 526. The operating system 505, for example, may be suitable for controlling the operation of the computing device 500.


Furthermore, embodiments of the disclosure may be practiced in conjunction with a graphics library, other operating systems, or any other application program and is not limited to any particular application or system. This basic configuration is illustrated in FIG. 5 by those components within a dashed line 508. The computing device 500 may have additional features or functionality. For example, the computing device 500 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 5 by a removable storage device 509 and a non-removable storage device 510.


As stated above, a number of program modules and data files may be stored in the system memory 504. While executing on the processing unit 502, the program modules 506 (e.g., application 520) may perform processes including, but not limited to, the aspects, as described herein. Other program modules that may be used in accordance with aspects of the present disclosure may include electronic mail and contacts applications, word processing applications, spreadsheet applications, database applications, slide presentation applications, drawing or computer-aided application programs, etc.


Furthermore, embodiments of the disclosure may be practiced in an electrical circuit comprising discrete electronic elements, packaged or integrated electronic chips containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. For example, embodiments of the disclosure may be practiced via a system-on-a-chip (SOC) where each or many of the components illustrated in FIG. 5 may be integrated onto a single integrated circuit. Such an SOC device may include one or more processing units, graphics units, communications units, system virtualization units and various application functionality all of which are integrated (or “burned”) onto the chip substrate as a single integrated circuit. When operating via an SOC, the functionality, described herein, with respect to the capability of client to switch protocols may be operated via application-specific logic integrated with other components of the computing device 500 on the single integrated circuit (chip). Embodiments of the disclosure may also be practiced using other technologies capable of performing logical operations such as, for example, AND, OR, and NOT, including but not limited to mechanical, optical, fluidic, and quantum technologies. In addition, embodiments of the disclosure may be practiced within a general purpose computer or in any other circuits or systems.


The computing device 500 may also have one or more input device(s) 512 such as a keyboard, a mouse, a pen, a sound or voice input device, a touch or swipe input device, etc. The output device(s) 514 such as a display, speakers, a printer, etc. may also be included. The aforementioned devices are examples and others may be used. The computing device 500 may include one or more communication connections 516 allowing communications with other computing devices 550. Examples of suitable communication connections 516 include, but are not limited to, radio frequency (RF) transmitter, receiver, and/or transceiver circuitry; universal serial bus (USB), parallel, and/or serial ports.


The term computer readable media as used herein may include computer storage media. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules. The system memory 504, the removable storage device 509, and the non-removable storage device 510 are all computer storage media examples (e.g., memory storage). Computer storage media may include RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the computing device 500. Any such computer storage media may be part of the computing device 500. Computer storage media does not include a carrier wave or other propagated or modulated data signal.


Communication media may be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.



FIGS. 6A and 6B illustrate a mobile computing device 600, for example, a mobile telephone, a smart phone, wearable computer (such as a smart watch), a tablet computer, a laptop computer, and the like, with which embodiments of the disclosure may be practiced. In some aspects, the client may be a mobile computing device. With reference to FIG. 6A, one aspect of a mobile computing device 600 for implementing the aspects is illustrated. In a basic configuration, the mobile computing device 600 is a handheld computer having both input elements and output elements. The mobile computing device 600 typically includes a display 605 and one or more input buttons 610 that allow the user to enter information into the mobile computing device 600. The display 605 of the mobile computing device 600 may also function as an input device (e.g., a touch screen display).


If included, an optional side input element 615 allows further user input. The side input element 615 may be a rotary switch, a button, or any other type of manual input element. In alternative aspects, mobile computing device 600 may incorporate more or less input elements. For example, the display 605 may not be a touch screen in some embodiments.


In yet another alternative embodiment, the mobile computing device 600 is a portable phone system, such as a cellular phone. The mobile computing device 600 may also include an optional keypad 635. Optional keypad 635 may be a physical keypad or a “soft” keypad generated on the touch screen display.


In various embodiments, the output elements include the display 605 for showing a graphical user interface (GUI), a visual indicator 620 (e.g., a light emitting diode), and/or an audio transducer 625 (e.g., a speaker). In some aspects, the mobile computing device 600 incorporates a vibration transducer for providing the user with tactile feedback. In yet another aspect, the mobile computing device 600 incorporates input and/or output ports, such as an audio input (e.g., a microphone jack), an audio output (e.g., a headphone jack), and a video output (e.g., a HDMI port) for sending signals to or receiving signals from an external device.



FIG. 6B is a block diagram illustrating the architecture of one aspect of a mobile computing device. That is, the mobile computing device 600 can incorporate a system (e.g., an architecture) 602 to implement some aspects. In one embodiment, the system 602 is implemented as a “smart phone” capable of running one or more applications (e.g., browser, e-mail, calendaring, contact managers, messaging clients, games, and media clients/players). In some aspects, the system 602 is integrated as a computing device, such as an integrated personal digital assistant (PDA) and wireless phone.


One or more application programs 666 may be loaded into the memory 662 and run on or in association with the operating system 664. Examples of the application programs include phone dialer programs, e-mail programs, personal information management (PIM) programs, word processing programs, spreadsheet programs, Internet browser programs, messaging programs, and so forth. The system 602 also includes a non-volatile storage area 668 within the memory 662. The non-volatile storage area 668 may be used to store persistent information that should not be lost if the system 602 is powered down. The application programs 666 may use and store information in the non-volatile storage area 668, such as e-mail or other messages used by an e-mail application, and the like. A synchronization application (not shown) also resides on the system 602 and is programmed to interact with a corresponding synchronization application resident on a host computer to keep the information stored in the non-volatile storage area 668 synchronized with corresponding information stored at the host computer. As should be appreciated, other applications may be loaded into the memory 662 and run on the mobile computing device 600 described herein.


The system 602 has a power supply 670, which may be implemented as one or more batteries. The power supply 670 might further include an external power source, such as an AC adapter or a powered docking cradle that supplements or recharges the batteries.


The system 602 may also include a radio interface layer 672 that performs the function of transmitting and receiving radio frequency communications. The radio interface layer 672 facilitates wireless connectivity between the system 602 and the “outside world,” via a communications carrier or service provider. Transmissions to and from the radio interface layer 672 are conducted under control of the operating system 664. In other words, communications received by the radio interface layer 672 may be disseminated to the application programs 666 via the operating system 664, and vice versa.


The visual indicator 620 may be used to provide visual notifications, and/or an audio interface 674 may be used for producing audible notifications via the audio transducer 625. In the illustrated embodiment, the visual indicator 620 is a light emitting diode (LED) and the audio transducer 625 is a speaker. These devices may be directly coupled to the power supply 670 so that when activated, they remain on for a duration dictated by the notification mechanism even though the processor 660 and other components might shut down for conserving battery power. The LED may be programmed to remain on indefinitely until the user takes action to indicate the powered-on status of the device. The audio interface 674 is used to provide audible signals to and receive audible signals from the user. For example, in addition to being coupled to the audio transducer 625, the audio interface 674 may also be coupled to a microphone to receive audible input, such as to facilitate a telephone conversation. In accordance with embodiments of the present disclosure, the microphone may also serve as an audio sensor to facilitate control of notifications, as will be described below. The system 602 may further include a video interface 676 that enables an operation of an on-board camera 630 to record still images, video stream, and the like.


A mobile computing device 600 implementing the system 602 may have additional features or functionality. For example, the mobile computing device 600 may also include additional data storage devices (removable and/or non-removable) such as, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 6B by the non-volatile storage area 668.


Data/information generated or captured by the mobile computing device 600 and stored via the system 602 may be stored locally on the mobile computing device 600, as described above, or the data may be stored on any number of storage media that may be accessed by the device via the radio interface layer 672 or via a wired connection between the mobile computing device 600 and a separate computing device associated with the mobile computing device 600, for example, a server computer in a distributed computing network, such as the Internet. As should be appreciated such data/information may be accessed via the mobile computing device 600 via the radio interface layer 672 or via a distributed computing network. Similarly, such data/information may be readily transferred between computing devices for storage and use according to well-known data/information transfer and storage means, including electronic mail and collaborative data/information sharing systems.



FIG. 7 illustrates one aspect of the architecture of a system for processing data received at a computing system from a remote source, such as a personal computer 704, tablet computing device 706, or mobile computing device 708, as described above. Content displayed at server device 702 may be stored in different communication channels or other storage types. For example, various documents may be stored using a directory service 722, a web portal 724, a mailbox service 726, an instant messaging store 728, or a social networking site 730.


A model interaction manager 720 may be employed by a client that communicates with server device 702, and/or multimodal machine learning engine 721 may be employed by server device 702. The server device 702 may provide data to and from a client computing device such as a personal computer 704, a tablet computing device 706 and/or a mobile computing device 708 (e.g., a smart phone) through a network 715. By way of example, the computer system described above may be embodied in a personal computer 704, a tablet computing device 706 and/or a mobile computing device 708 (e.g., a smart phone). Any of these embodiments of the computing devices may obtain content from the store 716, in addition to receiving graphical data useable to be either pre-processed at a graphic-originating system, or post-processed at a receiving computing system.



FIG. 8 illustrates an exemplary tablet computing device 800 that may execute one or more aspects disclosed herein. In addition, the aspects and functionalities described herein may operate over distributed systems (e.g., cloud-based computing systems), where application functionality, memory, data storage and retrieval and various processing functions may be operated remotely from each other over a distributed computing network, such as the Internet or an intranet. User interfaces and information of various types may be displayed via on-board computing device displays or via remote display units associated with one or more computing devices. For example, user interfaces and information of various types may be displayed and interacted with on a wall surface onto which user interfaces and information of various types are projected. Interaction with the multitude of computing systems with which embodiments of the invention may be practiced include, keystroke entry, touch screen entry, voice or other audio entry, gesture entry where an associated computing device is equipped with detection (e.g., camera) functionality for capturing and interpreting user gestures for controlling the functionality of the computing device, and the like.


As will be understood from the foregoing disclosure, one aspect of the technology relates to a system comprising: at least one processor; and memory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations. The set of operations comprises: receiving, at a video game application, a user input comprising natural language; determining, based on the received user input, a model output associated with a multimodal machine learning model; and executing at least a part of the model output to control functionality of the video game application. In an example, determining the model output comprises: providing, to a multimodal generative platform, an indication of the user input; and receiving, from the multimodal generative platform, the model output. In another example, the set of operations further comprises determining a prompt for priming the multimodal machine learning model; and the indication of the user input further comprises the determined prompt. In a further example, the set of operations further comprises: storing the received user input and the determined model output as part of a context. In yet another example, the set of operations further comprises: receiving a second user input; determining, based on the second user input and the context, a second model output associated with the multimodal machine learning model; and executing at least a part of the second model output to control functionality of the video game application. In a further still example, the received user input and the second user input are the same; and the first model output and the second model output are different. In another example, the part of the model output is programmatic content that includes a set of programmatic steps that are executed to control the functionality of the video game application. In a further example, the multimodal machine learning model is associated with a set of content types, the set of content types including natural language content and programmatic content.


In another aspect, the technology relates to a method for controlling a conversational agent of a video game application. The method comprises: determining a prompt associated with the conversational agent; determining, using the prompt to prime a multimodal machine learning model, a model output associated with the multimodal machine learning model; and processing the model output to affect the behavior of the conversational agent of the video game application. In an example, the model output is determined in response to a trigger associated with the conversational agent. In another example, the method further comprises identifying a user interaction with the conversational agent; and the model output is further determined based in part on the identified user indication. In a further example, the method further comprises: identifying a second user interaction with the conversational agent; determining, based on the second user interaction and a context, a second model output associated with the multimodal machine learning model; and processing the second model output to further affect the behavior of the conversational agent of the video game application. In yet another example, processing the model output comprises executing at least a part of the model output to control the conversational agent. In a further still example, the prompt is used to prime the multimodal machine learning model and determining the prompt associated with the conversational agent comprises: identifying a general part of the prompt that is associated with the conversational agent; and identifying a scenario-specific part of the prompt that is associated with a scenario of the video game application.


In a further aspect, the technology relates to a method for controlling a video game application using model output of a multimodal machine learning model. The method comprises: receiving, at a video game application, a user input having a first content type; determining, based on the received user input and a prompt associated with the video game application, a model output associated with a multimodal machine learning model, wherein the multimodal machine learning model is associated with the first content type and a second content type; and executing at least a part of the model output to control functionality of the video game application. In an example, the method further comprises: storing the received user input and the determined model output as part of a context; receiving a second user input; determining, based on the second user input and the context, a second model output associated with the multimodal machine learning model; and executing at least a part of the second model output to control functionality of the video game application. In another example, the received user input and the second user input are the same; and the first model output and the second model output are different. In a further example, identifying a general part of the prompt that is associated with the video game application; and identifying a scenario-specific part of the prompt that is associated with a current scenario of the video game application. In yet another example, determining the model output comprises: providing, to a multimodal generative platform, an indication of the received user input and the prompt; and receiving, from the multimodal generative platform, the model output. In a further still example, the functionality of the video game that is controlled by executing the part of the model output is associated with functionality of the video game application that is accessible using video game controller input.


Another aspect of the technology relates to a system comprising: at least one processor; and memory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations. The set of operations comprises: determining a prompt that defines a persona associated with a conversational agent of a video game application, wherein at least a part of the prompt is associated with a scenario of the video game application; determining, for the conversational agent based on the prompt, a model output of a multimodal machine learning model; and controlling the conversational agent of the video game application according to the determined model output. In an example, the persona associated with the conversational agent specifies one or more of: a tone for natural language output of the model output; a role of the conversational agent for the natural language output; an objective of the conversational agent for the natural language output; a personality of the conversational agent for the natural language output; a mannerism of the conversational agent for visual presentation by the video game application; or a physical appearance of the conversational agent for visual presentation by the video game application. In another example, the mannerism of the conversational agent is programmatically defined. In a further example, the persona includes a programmatic definition usable to dynamically access a variable of the video game application. In yet another example, the determined prompt further comprises at least a part of a context associated with a user of the video game application. In a further still example, controlling the conversational agent of the video game application comprises executing at least a part of the model output to affect a behavior of the conversational agent according to the determined model output. In another example, the scenario is a first scenario; the prompt is a first prompt; and the set of operations further comprises: identifying a transition from the first scenario of the video game application to a second scenario; in response to identifying the transition: determining an updated prompt that includes a general prompt part from the first prompt and another scenario-specific part associated with the second scenario of the video game application; determining, for the conversational agent based on the updated prompt, a second model output of a multimodal machine learning model; and controlling the conversational agent of the video game application according to the second model output. In yet another example, determining the updated prompt further comprises a subpart of a context associated with user interaction with the conversational agent.


In another aspect, the technology relates to a method for managing a state associated with a conversational agent of a video game application. The method comprises: determining a prompt that defines a persona associated with a conversational agent of a video game application, wherein the prompt comprises a general part and a first scenario-specific part that is associated with a first scenario of the video game application; identifying a transition from the first scenario of the video game application to a second scenario; and in response to identifying the transition to the second scenario: determining an updated prompt for the conversational agent that includes the general part of the first prompt and a second scenario-specific part associated with the second scenario of the video game application; determining, for the conversational agent based on the updated prompt, a second model output of a multimodal machine learning model; and controlling the conversational agent of the video game application according to the second model output. In an example, the second model output is determined and the conversational agent is controlled in response to the identification of a user interaction with the conversational agent. In another example, the second model output is further determined based on the identified user interaction with the conversational agent. In a further example, determining the updated prompt further comprises identifying a subpart of a context associated with user interaction with the conversational agent. In yet another example, the updated prompt changes at least one of: a tone for natural language output of the model output in the second scenario; a role of the conversational agent for the natural language output in the second scenario; an objective of the conversational agent for the natural language output in the second scenario; a personality of the conversational agent for the natural language output in the second scenario; a mannerism of the conversational agent for visual presentation by the video game application in the second scenario; or a physical appearance of the conversational agent for visual presentation by the video game application in the second scenario.


In a further aspect, the technology relates to a method for controlling a conversational agent of a video game application. The method comprises: determining a prompt that defines a persona associated with a conversational agent of a video game application, wherein at least a part of the prompt is associated with a scenario of the video game application; determining, for the conversational agent based on the prompt, a model output of a multimodal machine learning model; and controlling the conversational agent of the video game application according to the determined model output. In an example, the persona associated with the conversational agent specifies one or more of: a tone for natural language output of the model output; a role of the conversational agent for the natural language output; an objective of the conversational agent for the natural language output; a personality of the conversational agent for the natural language output; a mannerism of the conversational agent for visual presentation by the video game application; or a physical appearance of the conversational agent for visual presentation by the video game application. In another example, the mannerism of the conversational agent is programmatically defined. In a further example, the persona includes a programmatic definition usable to dynamically access a variable of the video game application. In yet another example, the determined prompt further comprises at least a part of a context associated with a user of the video game application. In a further still example, controlling the conversational agent of the video game application comprises executing at least a part of the model output to affect a behavior of the conversational agent according to the determined model output. In another example, the scenario is a first scenario; the prompt is a first prompt; and the method further comprises: identifying a transition from the first scenario of the video game application to a second scenario; in response to identifying the transition: determining an updated prompt that includes a general prompt part from the first prompt and another scenario-specific part associated with the second scenario of the video game application; determining, for the conversational agent based on the updated prompt, a second model output of a multimodal machine learning model; and controlling the conversational agent of the video game application according to the second model output.


Aspects of the present disclosure, for example, are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products according to aspects of the disclosure. The functions/acts noted in the blocks may occur out of the order as shown in any flowchart. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.


The description and illustration of one or more aspects provided in this application are not intended to limit or restrict the scope of the disclosure as claimed in any way. The aspects, examples, and details provided in this application are considered sufficient to convey possession and enable others to make and use claimed aspects of the disclosure. The claimed disclosure should not be construed as being limited to any aspect, example, or detail provided in this application. Regardless of whether shown and described in combination or separately, the various features (both structural and methodological) are intended to be selectively included or omitted to produce an embodiment with a particular set of features. Having been provided with the description and illustration of the present application, one skilled in the art may envision variations, modifications, and alternate aspects falling within the spirit of the broader aspects of the general inventive concept embodied in this application that do not depart from the broader scope of the claimed disclosure.

Claims
  • 1. A system comprising: at least one processor; andmemory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations, the set of operations comprising: receiving, at a video game application, a user input comprising natural language;determining, based on the received user input, a model output associated with a multimodal machine learning model; andexecuting at least a part of the model output to control functionality of the video game application.
  • 2. The system of claim 1, wherein determining the model output comprises: providing, to a multimodal generative platform, an indication of the user input; andreceiving, from the multimodal generative platform, the model output.
  • 3. The system of claim 2, wherein: the set of operations further comprises determining a prompt for priming the multimodal machine learning model; andthe indication of the user input further comprises the determined prompt.
  • 4. The system of claim 1, wherein the set of operations further comprises: storing the received user input and the determined model output as part of a context.
  • 5. The system of claim 4, wherein the set of operations further comprises: receiving a second user input;determining, based on the second user input and the context, a second model output associated with the multimodal machine learning model; andexecuting at least a part of the second model output to control functionality of the video game application.
  • 6. The system of claim 5, wherein: the received user input and the second user input are the same; andthe first model output and the second model output are different.
  • 7. The system of claim 1, wherein the part of the model output is programmatic content that includes a set of programmatic steps that are executed to control the functionality of the video game application.
  • 8. The system of claim 1, wherein the multimodal machine learning model is associated with a set of content types, the set of content types including natural language content and programmatic content.
  • 9. A method for controlling a conversational agent of a video game application, the method comprising: determining a prompt associated with the conversational agent;determining, using the prompt to prime a multimodal machine learning model, a model output associated with the multimodal machine learning model; andprocessing the model output to affect the behavior of the conversational agent of the video game application.
  • 10. The method of claim 9, wherein the model output is determined in response to a trigger associated with the conversational agent.
  • 11. The method of claim 9, further comprising: the method further comprises identifying a user interaction with the conversational agent; andthe model output is further determined based in part on the identified user indication.
  • 12. The method of claim 11, further comprising: identifying a second user interaction with the conversational agent;determining, based on the second user interaction and a context, a second model output associated with the multimodal machine learning model; andprocessing the second model output to further affect the behavior of the conversational agent of the video game application.
  • 13. The method of claim 9, wherein processing the model output comprises executing at least a part of the model output to control the conversational agent.
  • 14. The method of claim 9, wherein the prompt is used to prime the multimodal machine learning model and determining the prompt associated with the conversational agent comprises: identifying a general part of the prompt that is associated with the conversational agent; andidentifying a scenario-specific part of the prompt that is associated with a scenario of the video game application.
  • 15. A method for controlling a video game application using model output of a multimodal machine learning model, the method comprising: receiving, at a video game application, a user input having a first content type;determining, based on the received user input and a prompt associated with the video game application, a model output associated with a multimodal machine learning model, wherein the multimodal machine learning model is associated with the first content type and a second content type; andexecuting at least a part of the model output to control functionality of the video game application.
  • 16. The method of claim 15, further comprising: storing the received user input and the determined model output as part of a context;receiving a second user input;determining, based on the second user input and the context, a second model output associated with the multimodal machine learning model; andexecuting at least a part of the second model output to control functionality of the video game application.
  • 17. The method of claim 16, wherein: the received user input and the second user input are the same; andthe first model output and the second model output are different.
  • 18. The method of claim 15, further comprising: identifying a general part of the prompt that is associated with the video game application; andidentifying a scenario-specific part of the prompt that is associated with a current scenario of the video game application.
  • 19. The method of claim 14, wherein determining the model output comprises: providing, to a multimodal generative platform, an indication of the received user input and the prompt; andreceiving, from the multimodal generative platform, the model output.
  • 20. The method of claim 14, wherein the functionality of the video game that is controlled by executing the part of the model output is associated with functionality of the video game application that is accessible using video game controller input.
CROSS REFERENCE TO RELATED APPLICATION

This application claims priority to U.S. Provisional Application No. 63/255,796, titled “Grounded Multimodal Agent Interactions,” filed on Oct. 14, 2021, the entire disclosure of which is hereby incorporated by reference in its entirety.

Provisional Applications (1)
Number Date Country
63255796 Oct 2021 US