Natural language dialogue system for video game dialogue

The use of a natural language model in video games addresses the limitations of rigid dialog systems by enabling flexible user inputs and diverse responses, enhancing user engagement and immersion.

JP2024153752AInactive Publication Date: 2024-10-29GOOGLE LLC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024120198
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-03-13
Filing Date
2024-07-25
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing video game technologies limit user interaction and response options in dialog systems, constraining user creativity and immersion due to rigid predefined rules, leading to repetitive and less engaging experiences.

Method used

Implementing a natural language model (NLM) that allows flexible linguistic inputs and a wide variety of responses, using neural networks trained on expected user interactions to provide immersive and satisfying dialog options, with modes to adapt to game state and user input.

Benefits of technology

Enhances user interaction by allowing natural and creative dialog inputs, improving immersion and enjoyment through diverse and contextually relevant responses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153752000001_ABST
    Figure 2024153752000001_ABST
Patent Text Reader

Abstract

To provide a method and a computer readable medium, which can improve immersion feeling and enjoyability of user experience in a video game.SOLUTION: A video game system [100] provides a dialogue response [117] based on a natural language model (NLM)[120]. NLM is a language model for receiving language input [116] such as dialogue selection, and input of a voice record or a natural language text, which are provided by a user of the video game system. NLM identifies one or more latent responses in accordance with language input and based on corpus of a candidate line of natural language. The video game system selects the last response from the identified latent responses, and provides the selected response to the user through one or more display frames [115] or through voice output.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] A video game system, such as a computer, a game console, a smartphone, or a game streaming system, allows a user to interact with a virtual environment presented by a video game program. The user provides input to the system via a game controller or other input device, and in response, the video game system updates a game state associated with the video game. Based on the game state, the video game system generates an image representing the virtual environment for display, and based on the displayed image, the user provides additional input. Thus, supporting relatively sophisticated or complex user input can enhance the immersion and enjoyment of a user experience with a video game. For example, some video games allow a user to interact with a virtual environment using dialog, such as allowing a user to interact with a game character by selecting from a menu of dialogue options. However, existing technologies for supporting dialog interactivity in video games are limited, and in particular, relatively few options are provided for both dialog input and responses by the video game.

[0002] The present disclosure may be better understood, and its numerous features and advantages made apparent to those skilled in the art, by referencing the accompanying drawings, in which: The use of the same reference symbols in different drawings indicates similar or identical items. [Brief description of the drawings]

[0003] [Figure 1] FIG. 1 is a block diagram of a game streaming system that uses a natural language model to select dialog responses for a video game, according to some embodiments. [Diagram 2] 2 is a block diagram illustrating an example of the natural language model of FIG. 1 according to some embodiments. [Diagram 3]FIG. 3 is a block diagram of an example of a candidate line used by the corpus of the natural language model of FIG. 2 according to some embodiments. [Figure 4] FIG. 2 illustrates an example of the natural language model of FIG. 1 creating dialog responses for a video game, according to some embodiments. [Diagram 5] 1 is a flowchart of a method for creating dialog responses for a video game using a natural language model, according to some embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0004] Detailed Description 1-5 illustrate a technique for providing dialog responses in a video game system based on a natural language model (NLM). The NLM is a language model that receives language input, such as a dialog selection, a voice record, or a natural language text input, provided by a user of the video game system. In response to the language input and based on a corpus of candidate lines of natural language, the NLM identifies one or more potential responses. The video game system selects a final response from the identified potential responses and provides the selected response to the user, for example, via one or more display frames or via audio output. By using the NLM, the video game system can support both flexible language input and a relatively wide variety of responses to the language input, thereby enhancing a developer's ability to create immersive and enjoyable games and allowing users to interact with the game in natural, unscripted ways, thus improving the user experience.

[0005] To illustrate, dialogue systems in conventional video games typically apply a rule-based approach, where permitted language inputs and corresponding responses are defined by a set of rules. For example, in some video games, for a given interaction with the game, the user is only explicitly or implicitly allowed to provide predefined language inputs, such as by selecting one of a set of language inputs provided by the video game itself, or by the video game providing predefined responses to unexpected language inputs by the user. By restricting permitted inputs to a relatively narrow range of predefined choices, the video game limits the user's creativity and expression. In addition, conventional video games typically provide a relatively small range of potential responses for each language input. These constraints can lead to the user having repetitive or otherwise limited interactions with the game, resulting in a poor user experience.

[0006] In contrast, the NLM dialogue response techniques described herein support a much more flexible range of language inputs and corresponding candidate lines. For example, in some embodiments, the NLM uses a natural language model that predicts, for a given natural language input, and for each candidate line in a corpus of candidate lines (e.g., for a set of potential responses to the input, or a set of candidate inputs with corresponding defined responses, etc.), the relative probability that the candidate line matches the input (i.e., which candidate lines are more responsive than other candidate lines). By accepting natural language input, the NLM allows the video game to implement a more flexible approach to dialogue input, for example, allowing the user to input voice information (e.g., utterances) or text information that is not constrained by a limited set of rules defined by the video game. In addition, the NLM is trained to have higher match probabilities for candidate lines that are expected to provide an immersive and satisfying user experience with the video game. For example, in some embodiments, the NLM uses a natural language model that predicts the relative probability that the candidate line matches the input (i.e., which candidate lines are more responsive than other candidate lines). By accepting natural language input, the NLM allows the video game to implement a more flexible approach to dialogue input, for example, allowing the user to input voice information (e.g., utterances) or text information that is not constrained by a limited set of rules defined by the video game. In addition, the NLM is trained to have higher match probabilities for candidate lines that are expected to provide an immersive and satisfying user experience with the video game. The LM is implemented as a neural network. The neural network is trained using a defined set of inputs and expected responses, resulting in adjustments to the neural network's properties (e.g., the neural network's weights and edges) such that the neural network provides match scores that result in a satisfying user experience. Thus, when the NLM is incorporated into a video game, the game receives linguistic input from a player and provides responses that are not constrained by a strict set of response rules, thereby supporting more natural player interactivity with the video game.

[0007] In some embodiments, in response to the linguistic input, the NLM ranks the list of candidate lines. The rank of each candidate line is based on a corresponding probability that the candidate line matches the linguistic input. The video game selects a candidate line from the list based on a specified selection criterion and provides a response based on the candidate line to the user. The selection criterion may include any of a number of factors and may be adjusted by the video game developer or user to further improve the user experience. For example, in some embodiments, the video game may select a candidate line from the ranked list based on whether one or more of the ranked candidate lines have been recently used by the game, thereby reducing repetitive responses that may reduce the immersiveness of the game.

[0008] In some embodiments, the video game can select a candidate row based on a combination of metadata associated with each response and based on a game state of the video game. For example, each response can be assigned associated metadata, such as metadata indicating that the response should be excluded if the game character is located in a specified area of ​​the game world. If the game state indicates that the game character is located in the specified area, the video game can select a candidate row based on a combination of metadata associated with each response and based on a game state of the video game. and can be excluded.

[0009] In some embodiments, the NL model can operate in one of two different modes: an input / response mode and a semantic similarity mode. Each mode governs how the NL model identifies matches and how the game program uses the candidate lines. For example, in the input / response mode, each candidate line in the corpus can be a response or part of a response provided by the game program. The NL model receives a linguistic input and, in response, accesses the corpus of responses to create a list of ranked responses based on the training of the NL model. In the semantic similarity mode, the candidate lines can be expected linguistic inputs. The metadata maps each expected linguistic input to a corresponding response. In the semantic similarity mode, the NL model receives a linguistic input and ranks the candidate lines based on the relative probability of each candidate line matching the linguistic input. The game program selects a candidate line from the ranked list and provides the user with a response associated with the selected candidate line as described in the corresponding metadata. In some embodiments, the operating mode of the NL model may be set by the video game based on the game state, allowing the model to be used in one of two modes depending on factors represented by the game state, such as the character's position, game progress, time of day (either virtual or real time), etc., or any combination thereof.

[0010] 1 generally illustrates a game streaming system 100 configured to stream rendered game content, including dialogue responses selected at least in part based on a natural language model (NLM) 120, from a server 102 to a client device 104. Although the NLM 120 is described with respect to the illustrated embodiment of the game streaming system 100, it will be understood that in other embodiments, the techniques described herein using an NLM such as NLM 120 may be used in any type of video game system, such as a game console, a desktop or laptop computer, a smartphone, a tablet, etc.

[0011] In the depicted example, server 102 and client device 104 communicate via network 110. Network 110 is generally a packet-switched or other network configured to transfer data, including video data, via one or more routers, servers, communication towers (e.g., cellular communication towers), etc., or any combination thereof. Thus, in various embodiments, network 110 is a wide area network (e.g., the Internet), a local area network, etc., or any combination thereof.

[0012] The server 102 and the client devices 104 are generally configured to collectively implement a streaming game session. Interactive game content is streamed from the server 102 to the client devices 104. The server 102 may therefore be any type of computing device implementing the functionality described further herein, such as a rack-mounted server, a cluster server (e.g., a server device implemented in a cluster of server devices), a mobile server device, etc., or a combination thereof. The client devices 104 may be any computing device capable of displaying video frames to a user and receiving user input. The client devices 104 may therefore be desktop or laptop computers, digital media players, game consoles, smartphones, tablets, etc.

[0013] To support streaming of game content to client devices during streaming game sessions, the server 102 includes multiple processing units, such as a central processing unit (CPU) 106 and a graphics processing unit (GPU) 108. The U106 is generally a processing unit configured to execute a general-purpose set of instructions organized in the form of a computer program to perform tasks on behalf of the server 102. Examples of such computer programs include operating systems, virtual machines, data security programs (e.g., data encryption / decryption programs), web pages, database programs, and the like.

[0014] GPU 108 is a processing unit configured to perform operations generally associated with graphics and vector processing based on commands received from CPU 106. For example, in the course of executing one or more general-purpose programs, CPU 106 generates commands to generate and manipulate a graphical model for display and provides the commands to GPU 108. In response, GPU 108 executes the commands by performing one or more corresponding graphical operations, thereby manipulating the graphical model to generate one or more frames for display. In some embodiments, the frames generated by GPU 108 are rendered frames that are ready for display on a display device.

[0015] To support the receipt and display of streamed game content, the client device 104 includes a CPU and a GPU (not shown). Each of these modules is similar to a corresponding module of the server 102. Thus, for example, the CPU of the client device 104 is generally configured to execute general-purpose instructions on behalf of the client device 104, such as executing one or more of an operating system, a web browser, and the like. It will be appreciated that in some embodiments, the client device 104 generally has relatively little computational power relative to the server 102. Thus, the game streaming system 100 utilizes the computational power of the server 102 to stream higher quality game content to the client device 104 than could be generated by the client device 104 alone.

[0016] In operation, the client device 104 initiates a game streaming session in response to a user requesting a game session via a computer program (not shown) executing on the client device 104, such as via a web browser, a dedicated game streaming program, a video streaming service program, etc. The CPU 112 transmits a game session request to the server 102 over the network 110 in response to the user request. In response, the server 102 begins executing the game program 109. In some embodiments, the server 102 is configured to execute any one of a library of game programs. The request provided by the client device 104 indicates a particular one of the game programs to be executed.

[0017] During execution, the game program 109 maintains a collection of data, called the game state, that represents the situation or state of the game. A user of the client device 104 provides input data to the CPU 112 using an input device 111. The input device may be a keyboard, a game controller, a microphone, or other input device, or any combination thereof. The client device 104 communicates the input data to the game program 109 over the network 110. In response to the input data, the game program 109 changes the game state according to the rules of the particular game executed by the game program 109. Based on the game state and according to the rules of the implemented game, the game program 109 uses the CPU 106 and the GPU 108 to generate rendered frames that represent visual game information, such as a virtual environment, a game board, a selection screen, a heads-up display (HUD), etc., or any combination thereof. The server 102 provides these rendered frames, called streamed frames 115, to the network 110 for communication with the client device 104. The client device 104 receives at least a subset of the streamed frames 115 and uses the GPU to display the received frames on a display (not shown). The client device 104 thus displays visual game information to the user, who in response provides further input data using a game controller or other input device, resulting in further changes to the game state maintained by the game program 109 and corresponding changes to the frames of the frame stream 115. In this manner, the user of the client device 104 interacts with the game program 109 to play the game executed on the server 102.

[0018] In some embodiments, in addition to the streamed frames 115, the server 102 provides audio data to the client device 104 over the network 110. The audio data is generated by the game program 109 based on the game state. The audio data may be dialogue, music, ambient sounds, etc., or a combination thereof, and may include information for synchronizing the audio data with the streamed frames 115. The client device 104 receives the audio data and outputs the data via an audio rendering device (not shown), such as one or more speakers. In some embodiments, the client device 104 outputs audio data based on synchronization information provided by the server 102 such that the dialogue, music, or other audio data is synchronized with the displayed image frames.

[0019] In some embodiments, a user of the client device 104 can provide linguistic input 116 to the game program 109 using the input device 111. As used herein, linguistic input is any input that results in a dialog response from the game program 109. Thus, in different embodiments, the linguistic input 116 can be natural language input, such as, for example, an audio file (e.g., an audio file representing one or more words spoken by a user into a microphone) that is converted to text via a speech to text (STT) function, free-form text input (e.g., one or more words entered by a user via a keyboard), input that is converted to natural language input by a program executing on the client device 104 or the server 102, etc. In other embodiments, the linguistic input is input from a game controller that represents a specified game action, such as the selection of an option from a set of options displayed by the game program 109 via streamed frames 115.

[0020] In response to the language input 116, the game program 109 selects a natural language (NL) response 117 using the NLM 120. The NL response 117 can be text, audio, or other linguistic information, or any combination thereof. In some embodiments, the NLM 120 provides an embedding for the language input 116 to the game program 109, or provides a ranked list of candidate lines as described further herein, and the game program 109 identifies the NL response 117 based on metadata associated with the embedding or the selected candidate line. The server 102 communicates the NL response 117 over the network 110 to the client device 104, which provides the NL response 117 to the user, such as by playing the audio represented by the NL response 117.

[0021] The NLM 120 is generally a natural language model that is configured to, for a given linguistic input, provide at least one corresponding response based on the probability that the response matches the linguistic input, as shown by the following formula:

[0022] P(LI|R) (equation)

[0023] where LI is the linguistic input (e.g., the linguistic input 116), R is the response (e.g., a string of words), and P is the probability that the response matches the linguistic input. In some embodiments, the NLM 120 uses n-grams, Hidden Markov Models (HMMs), A statistical technique such as a Hidden Markov Model (HMM) is used in conjunction with one or more linguistic rules to determine whether a given response corresponds to a linguistic input. The NLM 120 is a statistical language model that determines the probability of matching a given set of words to a given set of words. Thus, the NLM 120 can be a unigram model, a bi-gram model, an N-gram model, an HMM model, etc.

[0024] In other embodiments, the natural language model is a neural network trained using a specified set of inputs and outputs (called a training set) to determine the probability that a response matches the linguistic input. The training set is defined to include inputs that have a distribution of words or word strings that are expected to closely match the distribution of words or word strings that are expected to make up the linguistic input. The training set is further defined to include responses that are expected to correspond to the distribution of the linguistic input. In some embodiments, the neural network adjusts one or more network properties (e.g., weights associated with the nodes of the network) to map each input word or string to a vector that represents a point in a feature space. Thus, the neural network adjusts to map the probability that a given linguistic input corresponds to a given response, as indicated by the relationship in the feature space of the corresponding vector (or sequence of vectors) to the linguistic input and the response. In some embodiments, the NLM model 120 continues to adjust the properties of the neural network over time based on the linguistic input received from the game program 109. In some embodiments, the NLM 120 may include one or more specialized hardware, such as a software program, a field programmable gate array (FPGA) or other hardware configured to implement the NLM 120. A game program 109 may be a computer programmable logic (CLU) program, a collection of hardware circuits for matching, or a combination thereof. In operation, the game program 109 receives linguistic input 116 from the client device 104 and provides the linguistic input 116 to the NLM 120. In response, the NLM 120 accesses a corpus of potential responses (not shown in FIG. 1 ) and determines for each response in the corpus a corresponding score indicating the relative probability that the response matches the linguistic input 116. In some embodiments, the NLM 120 includes several corpora and selects which corpus to use for matching based on a game state associated with the game program 109. For example, in some embodiments, the game program 109 includes different corpora for different game characters and the game program 109 selects a corpus based on characters represented by the same state.

[0025] In some embodiments, the NLM 120 creates a ranked list of matching candidates from the selected corpus for each linguistic input. The ranking for a given candidate is based on the probability that the candidate matches the linguistic input, as determined by the NLM 120. For example, the NLM 120 may assign a score that has a linear relationship to the corresponding relevance of the response, such that responses with higher relevance are given a higher score, and therefore a higher rank, than responses with lower relevance. In some embodiments, the game program 109 removes candidates from the ranked list that have a corresponding score below a threshold.

[0026] The game program 109 selects a NL response 117 from the ranked list provided by the NL model 120. In some embodiments, the game program 109 selects a NL response 117 based on one or more of the game state, metadata associated with the selected response, how frequently the selected response has been used, or other criteria. For example, in some embodiments, the game program 109 selects the highest ranked response that has not been used in the last N responses, where N is a programmable integer value. Thus, the game program 109 can increase the variety of responses provided to the user, improving the user experience.

[0027] FIG. 2 illustrates a block diagram of a natural language model 120 according to some embodiments. In the illustrated example, the NLM 120 includes a mode selection setting 222, a similarity engine 224, and a corpus 225. The corpus 225 is provided by the game program 109. The corpus 225 includes multiple candidates (e.g., candidates 226, 227) that match the language input. In some embodiments, the game program 109 includes or has access to multiple corpora and selects the corpus 225 based on the game state of the game executed by the game program 109. Thus, the corpus 225 may be selected based on any of a variety of criteria, such as a game character, a game location, a time (either in-game or real-time), a game progression (e.g., how far a user has progressed in the game), and the like, or any combination thereof. Thus, the game program 109 can identify responses tailored to the game state of the executed game.

[0028] With respect to the candidates included in the corpus 225, in some embodiments, each candidate includes at least one candidate line and also includes metadata associated with the response. According to some embodiments, an example of a candidate 226 is shown in FIG. 3. As shown, the candidate 226 includes a candidate line 330 and metadata 331. The candidate line 330 is a set of words or phrases, such as a sentence, that the NLM 120 uses to determine the relevance and relevance score of the candidate 226 based on the language input 116. The candidate line 330 may be, for example, a set of words, phrases, or sentences that an in-game character of the game program 109 might speak, or may be expected language input that is used for semantic matching with the received language input 116.

[0029] Metadata 331 is data usable by game program 109 to modify the game state in response to selection of candidate 226. For example, in some embodiments, metadata 331 includes one or more identifiers that map to corresponding data used by the game program to execute a response associated with candidate 226, such as identifiers that map to audio data, image data, animation data, lip sync data, localization data, etc. In some embodiments, metadata 331 includes text provided by game program 109 in addition to or instead of candidate rows 330. This allows game program 109 to match the language input to candidates in corpus 225 based on a relatively small portion of the overall response to be executed. For example, NLM 120 can determine a match rate of candidate 226 to language input 116 based on candidate rows 330, and when game program 109 selects candidate 226, game program 109 displays the additional text included in metadata 331 to the user.

[0030] In some embodiments, the metadata 331 includes one or more fields that together define how the game program 109 uses the candidate 226. Examples of these fields include one or more fields indicating how many times the candidate 226 is permitted to be selected by the game program 109 from the ranked list in a specified amount of time (e.g., times per hour, times per game session, times per year, etc.), one or more fields indicating whether the game program is permitted to consecutively select the candidate 226 (thereby enabling or preventing repeated consecutive use of the candidate 226), one or more fields indicating how the game state of the game executed by the game program 109 is altered when the candidate 226 is selected, etc.

[0031] In some embodiments, the game program 109 generates metadata based on the game state. One or more fields of the metadata 331 may be altered, allowing the metadata 331 to dynamically reflect changing game conditions. For example, in some cases, the game program 109 may modify the metadata 331 to allow candidates 226 to be selected more frequently when the game state indicates that the user's character is within a crowd or other area of ​​the game environment where repeat responses are more likely.

[0032] Returning to FIG. 2, the NL adaptation engine 224 is software, hardware, or a combination thereof that determines a corresponding accuracy rate for each of the candidates in the corpus 225 based on the linguistic input 116. Thus, the NL adaptation engine 224 may be a neural network implemented in hardware or software, or a combination thereof, hardware or software (or a combination thereof) configured to implement a statistical language model, etc. In some embodiments, the NL adaptation engine 224 can operate in one of two different modes. The mode is governed by a mode selection setting 222, which may be a flag, a register or a portion thereof (e.g., a portion of a configuration register for the NLM 120), or any other programmable storage module capable of storing data indicative of a setting.

[0033] The two modes of the NLM 120 are referred to herein as the input / response mode and the semantic similarity mode, respectively. In the input / response mode, the candidates in the corpus 225 include all possible responses to the linguistic input 116 by the game program 109, and the NL match engine 224 determines, for each candidate, a corresponding probability that the candidate matches the received linguistic input 116 (i.e., the relative probability that the candidate responds to the linguistic input 116). The NL match engine creates a ranked list of potential candidates based on their probabilities, and the game program 109 selects an NL response 117 based on the ranked list.

[0034] In semantic similarity mode, the candidates in the corpus 225 are expected or potential language inputs, and the NLM 120 identifies a semantic similarity with the language input 116 for each of the candidates in the corpus 225. The semantic similarity mode can be used to provide more control to the developer of the game program 109, for example. For example, in some embodiments, the game program 109 stores the expected language input in the corpus 225, including a mapping between expected language inputs and responses. In response to receiving the language input 116, the NLM 120 creates a ranked list of expected inputs from the corpus. The ranking is based on the probability that each expected input semantically matches the language input 116. The game program 109 selects one of the expected inputs from the ranked list and uses the mapping to determine the response to be provided to the user.

[0035] 4 illustrates an example of a game streaming system 100 generating a NL response 117, according to some embodiments. In the illustrated example, the NLM 120 receives a linguistic input 116. In different embodiments, the linguistic input 116 is based on any of a variety of input types provided by a user via the input device 111 (FIG. 1), such as selection of a dialogue option using a joystick, mouse, or gamepad, free-form text entered via a keyboard or voice recognition, speech recorded via a microphone, etc. Additionally, in some embodiments, the linguistic input 116 is natural language input, and thus is not constrained by predefined dialogue options or restrictive dialogue rules imposed by a game associated with the game program 109.

[0036] Based on the linguistic input 116, the NL model 120 creates a ranked list 440 of candidates from the corpus 225 (FIG. 2). In some embodiments, the NLM 120 determines the probability that each candidate in the corpus 225 matches the linguistic input 116 and ranks the candidates in the ranked list 440 based on the identified likelihood. In this embodiment, the game program 109 filters out or removes from the ranked list 440 any responses that have a corresponding relevance rate below the threshold.

[0037] The game program 109 selects a candidate from the ranked list 440 using a response selection module 442. Based on the selected candidate, the game program 109 determines and provides a NL response 117. For example, in some embodiments, each candidate includes or identifies associated metadata that identifies a corresponding response. In response to selecting a candidate, the game program 109 uses the metadata associated with the candidate to determine a corresponding response and provides the response as the NL response 117.

[0038] In some embodiments, the response selection module 442 is a software module that is part of the game program 109. The response selection module 442 selects candidates from the ranked list 440 based on a set of selection constraints 445. In some embodiments, the selection constraints 445 are constraints that are developed and defined during development of the game program 109. In other embodiments, the selection constraints 445 are programmable constraints that can be adjusted by a developer, a user, or both. In either case, the selection constraints 445 can be stored as configuration data for the game program 109.

[0039] The selection constraints 445 govern how the response selection module 442 selects candidates from the ranked list 440. Thus, the selection constraints 445 can exclude candidates from selection, change the ranking of the candidates, change how the ranking is used by the response selection module 442 (so, for example, a candidate with a lower ranking on the list is selected over a response with a higher ranking), etc., or any combination thereof. Additionally, in some embodiments, the selection constraints 445 can change based on a game state 446 that represents the current state of a game associated with the game program 109. Thus, the game state 446 can indicate state information such as a character's position, a character's progress (e.g., a character's level, a character's equipment, etc.), a game's progress (e.g., a current level of the game), the number of times a game has been played or completed, a response state (e.g., the number of times a given response has been provided to a user, how often a given response has been used, which game character has used a given response, etc.).

[0040] The selection constraints 445 establish a set of rules that the response selection module 442 uses when selecting a candidate. To illustrate with an example, in some embodiments, the selection constraint indicates that a response, for example a designated response A, is not repeated during a given game session. If the response selection module 442 determines that the candidate associated with response A is the top ranked candidate in the ranked list 440, the response selection module 442 then determines (e.g., based on the game state 446) whether response A was provided to the user during the current game session. If not, the response selection module 442 selects the candidate associated with response A and provides response A as the NL response 117. If the response selection module 442 determines that response A was provided to the user during the current game session, the response selection module 442 selects another candidate from the ranked list 440 and provides the associated response as the NL response 117.

[0041] The selection constraints 445 may provide a way for a developer or user of the game program 109 to exclude specified responses or types of responses from selection by the game program 109, thereby providing a way to tailor the user experience to the associated game. For example, if a developer determines that a particular response is inconsistent with a desired game experience, the developer may set the selection constraints 445 such that candidates associated with that response are excluded from selection by the response selection module 442. Thus, the developer may choose to exclude a particular response or type of response from selection by the game program 109, thereby tailoring the user experience to the associated game. The developer tailors the game experience while preserving the corpus 225.

[0042] FIG. 5 is a flow diagram of a method 500 for generating video game dialogue responses using a natural language model, according to some embodiments. For illustrative purposes, the method 500 is described with respect to an exemplary implementation in the game streaming system 100 of FIG. 1. In block 502, the server 102 receives a language input 116. In some embodiments, the language input 116 is identified in the client device 104 based on user input provided via the input device 111, and the client device 104 provides the language input 116 to the server 102 via the network 110. In block 504, the game program 109 provides the language input 116 to the NLM 120, which in response creates a ranked list 440 of candidates. To create the ranked list 440, the NLM 120 determines a relative probability that each candidate in the corpus 225 matches the language input 116, and ranks the responses in the ranked list 440 based on the identified probability. At block 506, the response selection module 442 selects a candidate from the ranked list 440 based on the selection constraints 445. At block 508, the game program 109 identifies a NL response 117 based on the selected candidate and provides the identified NL response 117 to the client device 104 over the network 110. In response, the client device 104 provides the NL response 117 to the user, for example, by displaying the NL response 117 on a display, playing the NL response 117 through a speaker, or any combination thereof.

[0043] In some embodiments, some aspects of the techniques described above may be implemented by one or more processors of a processing system executing software. The software comprises one or more sets of executable instructions stored or otherwise tangibly embodied in a non-transitory computer-readable storage medium. The software may include instructions and certain data that, when executed by the one or more processors, operate the one or more processors to perform one or more aspects of the techniques described above. The non-transitory computer-readable storage medium may include, for example, magnetic or optical disk storage devices, flash memory, caches, solid-state storage devices such as random access memory (RAM) or other non-volatile memory devices, and the like. The executable instructions stored in the non-transitory computer-readable storage medium may be source code, assembly language code, object code, or other instruction formats that are interpretable or otherwise executable by one or more processors.

[0044] A computer-readable storage medium may include any storage medium or combination of storage media that can be accessed by a computer system during use to provide instructions and / or data to the computer system. Such storage media may include, but are not limited to, optical media (e.g., compact discs (CDs), digital versatile discs (DVDs), Blu-ray discs), magnetic media (e.g., floppy disks, magnetic tapes, or magnetic hard drives), volatile memory (e.g., random access memory (RAM) or cache), non-volatile memory (e.g., read-only memory (ROM) or flash memory), or microelectromechanical systems (MEMS)-based storage media. A computer-readable storage medium may be embedded in a computing system (e.g., system RAM or ROM), fixedly attached to a computing system (e.g., magnetic hard drives), removably attached to a computing system (e.g., optical disks or universal serial bus (USB)-based flash memory), or coupled to a computer system via a wired or wireless network (e.g., network accessible storage (NAS)). All of the activities or elements mentioned above in the general description are required It should be noted that certain activities or portions of the apparatus may not be required, and one or more additional activities may be performed or elements may be included in addition to those described. Moreover, the order in which the activities are listed is not necessarily the order in which they are performed. Also, the concepts have been described with reference to specific embodiments. However, those skilled in the art will appreciate that various modifications and changes can be made without departing from the scope of the present disclosure, as set forth in the following claims. Thus, the specification and drawings should be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of the present disclosure.

[0045] In the following, some embodiments will be described as examples.

[0046] Example 1: Determining a first response using a natural language model based on language input received from a video game; providing the first response to a user via the video game.

[0047] Example 2. Determining the first response determining a match rate between the language input and a first candidate of a plurality of stored candidates using the natural language model; determining the first response based on the first candidate; The method of Example 1, wherein each candidate corresponds to a potential response.

[0048] Example 3. The method of Example 2, wherein determining the match includes determining the match based on the linguistic input and specified constraints on the plurality of stored candidates.

[0049] Example 4. Determining conformity may be determining a ranked list of the plurality of stored candidates based on the natural language model and the linguistic input; and selecting the first candidate from the ranked list based on the specified constraints.

[0050] Example 5. The method of at least one of Examples 2-4, wherein determining the suitability includes determining the suitability based on a game state of the video game.

[0051] Example 6. The method of at least one of Examples 2-5, wherein determining the match includes determining the match based on previous responses identified based on the natural language model.

[0052] Example 7. The method of at least one of the preceding examples, further comprising determining the language input based on a voice input to the video game.

[0053] Example 8. The method of at least one of the preceding examples, further comprising determining the language input based on a user dialogue selection provided to the video game.

[0054] Example 9. Receiving language input from a video game; determining a ranked list of a plurality of candidates associated with a corresponding plurality of natural language responses based on the natural language model; and providing, via the video game, a response selected based on the ranked list.

[0055] Example 10. Determining the ranked list includes: determining a match rate for each of the plurality of candidates with the language input using the natural language model; and determining the ranked list based on each determined relevance score.

[0056] Example 11. The method of example 10, wherein determining the relevance includes determining a semantic similarity probability.

[0057] Example 12. The method of example 9, wherein the language input is a natural language input.

[0058] Example 13. A non-transitory computer readable medium embodying a set of executable instructions for operating a processor, the set of executable instructions comprising: instructions for determining a first response using a natural language model based on linguistic input received from the video game; and instructions for providing the first response to a user via the video game.

[0059] Example 14. The instructions for determining the first response include: instructions for determining a match rate between the language input and a first candidate of a plurality of stored candidates using the natural language model; and determining the first response based on the first candidate.

[0060] Example 15. The computer-readable medium of Example 14, wherein the instructions for determining the match include instructions for determining the match based on the linguistic input and specified constraints on the plurality of stored candidates.

[0061] Example 16. The order to determine the conformity is: instructions for determining a ranked list of the plurality of stored candidates based on the natural language model and the linguistic input; and instructions for selecting the first candidate from the ranked list based on the specified constraints.

[0062] Example 17. The computer-readable medium of Example 15 or 16, wherein the instructions for determining the suitability include instructions for determining the suitability based on a game state of the video game.

[0063] Example 18. The computer-readable medium of at least one of Examples 14-17, wherein the instructions for determining the match include instructions for determining the match based on a previous response identified based on the natural language model.

[0064] Example 19. The computer-readable medium of at least one of Examples 13-18, wherein the set of executable instructions includes instructions for determining the language input based on voice input to the video game.

[0065] Example 20. The computer-readable medium of at least one of Examples 13 to 19, wherein the set of executable instructions includes instructions for determining the language input based on a user dialogue selection provided to the video game.

[0066] Benefits, other advantages, and solutions to problems have been described above with regard to specific embodiments. However, benefits, advantages, solutions to problems, and any features that may give rise to or make more prominent any benefits, advantages, or solutions should not be construed as critical, necessary, or essential features of any or all claims. Moreover, the particular embodiments disclosed above are illustrative only, as the disclosed subject matter may be modified and practiced in different but equivalent manners apparent to those skilled in the art having the benefit of the teachings herein. No limitations are intended to the details of construction or design shown herein, except as set forth in the following claims. It is therefore apparent that the particular embodiments disclosed above may be altered or modified, and all such variations are considered to be within the scope of the disclosed subject matter. Accordingly, the protection sought herein is as set forth in the following claims.

Claims

1. determining a first response [117] using a natural language model [120] based on the linguistic input [116] received from the video game [106]; providing the first response to a user via the video game.

2. Determining the first response comprises: determining a match rate between the language input and a first candidate of a plurality of stored candidates [226, 227] using the natural language model; determining the first response based on the first candidate; The method of claim 1 , wherein each candidate corresponds to a potential response.

3. 3. The method of claim 2, wherein determining the match comprises determining the match based on the linguistic input and specified constraints on the plurality of stored candidates [445].

4. Determining the fit includes: determining a ranked list [440] of the plurality of stored candidates based on the natural language model and the linguistic input; and selecting the first candidate from the ranked list based on the specified constraints.

5. The method of claim 2, wherein determining the suitability comprises determining the suitability based on a game state [446] of the video game.

6. The method according to at least one of claims 2 to 5, wherein determining the match comprises determining the match based on previous responses identified based on the natural language model.

7. 10. The method of claim 9, further comprising determining the language input based on a voice input to the video game.

8. 10. The method of claim 9, further comprising determining the language input based on a user dialogue selection provided to the video game.

9. receiving a linguistic input [116] from the video game; and determining a ranked list [440] of candidates [226, 227] associated with corresponding natural language responses based on a natural language model [120]; and providing, via the video game, a response selected based on the ranked list [117].

10. Determining the ranked list includes: determining a match rate for each of the plurality of candidates with the language input using the natural language model; and determining the ranked list based on each determined relevance rate.

11. The method of claim 10 , wherein determining the relevance comprises determining a semantic similarity probability.

12. The method of claim 9 , wherein the language input is a natural language input.

13. A non-transitory computer readable medium embodying a set of executable instructions for operating a processor, the set of executable instructions comprising: instructions for determining a first response [117] using a natural language model [120] based on a linguistic input [116] received from the video game [106]; and instructions for providing the first response to a user via the video game.

14. The instructions for determining the first response include: instructions for determining a match rate between the language input and a first candidate of a plurality of stored candidates [226, 227] using the natural language model; and instructions for determining the first response based on the first candidate.

15. 15. The computer-readable medium of claim 14, wherein the instructions for determining the match comprise instructions for determining the match based on the linguistic input and specified constraints [445] on the plurality of stored candidates.

16. The instructions for determining the match include: instructions for determining a ranked list [440] of the plurality of stored candidates based on the natural language model and the linguistic input; and instructions for selecting the first candidate from the ranked list based on the specified constraints.

17. 17. The computer-readable medium of claim 15 or 16, wherein the instructions for determining the suitability include instructions for determining the suitability based on a game state [446] of the video game.

18. 18. The computer-readable medium of claim 14, wherein the instructions for determining the match comprise instructions for determining the match based on previous responses identified based on the natural language model.

19. The computer readable medium of at least one of claims 13 to 18, wherein the set of executable instructions includes instructions for determining the language input based on a voice input to the video game.

20. 20. The computer readable medium of claim 13, wherein the set of executable instructions includes instructions for determining the language input based on a user dialogue selection provided to the video game.

Citation Information

Patent Citations

  • Reception device, reception method and reception program

    JP2010060729A

  • Interaction processing program, interaction processing method, and information processing apparatus

    JP2017203808A

  • Output controller, electronic apparatus, control method of output controller, and control program of output controller

    JP2017211610A

  • Information processing device, information processing method, and program

    JP2018045320A

  • Dialog system, dialog method, and method for adapting dialog system

    JP2018133070A