The present disclosure relates to an information processing apparatus and an information processing method. In particular, the present disclosure relates to an information processing apparatus and information processing method that enables a user to easily teach an action with regard to action learning.
There have been reinforcement learning models for learning how to maximize a reward when there are an agent, a state, an action, and a reward (for example, see Non-Patent Literature 1).
However, a method that enables a user to easily teach an action with regard to action learning has not been developed.
The present disclosure has been made in view of the above-described situations. The present disclosure enables a user to easily teach an action with regard to action learning.
An information processing apparatus according to an aspect of the present disclosure is an information processing apparatus including an output unit configured to output unknown state element information that indicates an unknown state element, and teaching request information that requests teaching of an action corresponding to an ambient state, in a case where the ambient state includes the unknown state element.
An information processing method according to an aspect of the present disclosure corresponds to the information processing apparatus according to the aspect of the present disclosure.
In an aspect of the present disclosure, unknown state element information that indicates an unknown state element, and teaching request information that requests teaching of an action corresponding to an ambient state are output, in a case where the ambient state includes the unknown state element.
Note that, it is possible to implement the information processing apparatus according to the aspect of the present disclosure, by causing a computer to execute a program.
In addition, the program to be executed by the computer to implement the information processing apparatus according to the aspect of the present disclosure can be provided by being transmitted through a transmission medium or by being recorded on a recording medium.
According to an aspect of the present disclosure, it is possible for a user to easily teach an action with regard to action learning.
Note that the effects described here are not necessarily limited, and any effect that is desired in the present disclosure may be exhibited.
Next, modes (hereinafter, referred to as embodiments) for carrying out the present disclosure will be described. Note that, the description is given in the following order.
1. First embodiment: cleaner robot (
2. Second embodiment: video game console (
3. Third embodiment: support robot (
4. Fourth embodiment: computer (
A cleaner robot 11 illustrated in
For example, the cleaner robot 11 stops doing cleaning when finding a carpet 12 that has never existed before around the cleaner robot 11 while doing cleaning. Next, the cleaner robot 11 causes a touchscreen 11A to display unknown state element information and teaching request information. The unknown state element information indicates the carpet 12 as an unknown state element, and the teaching request information requests a user to teach an action corresponding to the current ambient state.
The user sees the unknown state element information displayed on the touchscreen 11A, and recognizes that the unknown state element is the carpet 12. Next, the user operates the touchscreen 11A and teaches an action of avoiding the carpet 12 and doing cleaning, or an action of crossing the carpet 12 and doing cleaning.
The cleaner robot 11 learns the action model through generalization learning on the basis of the action taught by the user. Subsequently, the cleaner robot 11 performs the taught action with regard to the carpet 12 hereafter.
As described above, it is only necessary for the user to teach an action in the case where teaching request information is displayed. Therefore, it is easy for a user to teach action with regard to action learning even in the case of the user who is not good at operating devices.
The cleaner robot 11 illustrated in
The action control unit 31 in the cleaner robot 11 initializes an action model (action rule) for finding a probability P (a|s) that the cleaner robot 11 performs an action a in a state s (adequacy of the action a of the cleaner robot 11 in the state s).
Specifically, the action control unit 31 requests the state detection unit 32 to detect an ambient state, and acquires state information that indicates the ambient state. The state information is supplied by the state detection unit 32 in response to the request. In addition, the action control unit 31 acquires a remote controller operation signal from the reception unit 35. The remote controller operation signal indicates operation of a remote controller (not illustrated) carried out by the user. On the basis of the remote controller operation signal, the action control unit 31 recognizes an action of the cleaner robot 11. The action is taught by the user and the action corresponds to the current ambient state. Next, the action control unit 31 initializes an action model through the generalization learning of the action model while using the state indicated by the current state information as the state s, and using the action of the cleaner robot 11 corresponding to the state as the action a. The action control unit 31 supplies the initialized action model to the unknown determination unit 33.
In addition, the action control unit 31 sets an action mode to a proactive mode, a normal mode, or a maintenance mode on the basis of a touch operation signal that indicates the operation carried out by the user on the touchscreen 11A. The touch operation signal is supplied by the touchscreen 11A.
In the case where the action mode is set to the proactive mode and the unknown determination unit 33 notifies that the current ambient state is a known state, the action control unit 31 selects an action having the highest probability that the ambient state becomes an unknown state after the action is performed, among actions whose probabilities P(a|s) are more than or equal to a threshold in the current ambient state, on the basis of a state model (details thereof will be described later) and the action model. Next, the action control unit 31 performs control such that the cleaner robot 11 performs the selected action.
Note that, the known state is a state that does not include an unknown state element, and the unknown state is a state that includes an unknown state element. In addition, examples of actions of the cleaner robot 11 include an action of going straight and doing cleaning, an action of turning and doing cleaning, and the like.
In addition, the state model is a model for finding (a predictive value of) a probability P(s′|s,a) that the state s changes to a state s′ when the cleaner robot 11 performs the action a in the state s. Here, it is assumed that the state model is decided in advance. However, the state model may be learned on the basis of the state detected by the state detection unit 32 and the action performed by the action control unit 31.
Alternatively, in the case where the action mode is set to the normal mode and the unknown determination unit 33 notifies that the current ambient state is a known state, the action control unit 31 performs control such that the cleaner robot 11 performs an action having the highest probability P(a|s) in the current ambient state on the basis of the action model.
Alternatively, in the case where the action mode is set to the maintenance mode and the unknown determination unit 33 notifies that the current ambient state is a known state, the action control unit 31 selects an action having the highest probability that the ambient state becomes a known state after the action is performed, among actions whose probabilities P(a|s) are more than or equal to a threshold in the current ambient state, on the basis of the state model and the action model. Next, the action control unit 31 performs control such that the cleaner robot 11 performs the selected action.
Alternatively, in the case where the unknown determination unit 33 notifies that the current ambient state is not a known state regardless of the action mode, the action control unit 31 recognizes an action taught by the user on the basis of a touch operation signal supplied by the touchscreen 11A. Next, the action control unit 31 learns an action model through the generalization learning on the basis of the recognized action and the current ambient state, and supplies the unknown determination unit 33 with the action model obtained through the generalization learning. In addition, on the basis of the action model obtained through the generalization learning, the action control unit 31 performs control such that the cleaner robot 11 performs an action having the highest probability P(a|s) in the current ambient state.
The state detection unit 32 includes various kinds of sensors such as a camera. The state detection unit 32 starts detection of an ambient state of the cleaner robot 11 in response to the request from the action control unit 31, and supplies state information of the detected state (such as an image captured by the state detection unit 32) to the action control unit 31. In addition, after the action learning model is initialized, the state detection unit 32 starts detection of an ambient state of the cleaner robot 11, and supplies the state information of the detected information to the unknown determination unit 33.
The unknown determination unit 33 determines whether the ambient state indicated by the state information is a known state or an unknown state, on the basis of the state information supplied by the state detection unit 32 and the action model supplied by the action control unit 31.
Specifically, the unknown determination unit 33 determines that the state s is an unknown state in the case where the state s indicates the ambient state and the following expression (1) or expression (2) is satisfied.
“threshold” represents a preset threshold, and A represents a set of actions a. With reference to the expression (1), the state s is determined to be an unknown state in the case where the maximum value of the probability P(a|s) is less than the threshold. In addition, with reference to the expression (2), the state s is determined to be an unknown state in the case where entropy of the probability P(a|s) is greater than the threshold.
Note that, the unknown determination unit 33 may determine that the state s is an unknown state in the case where a difference between the maximum value of the probability P(a|s) and the second-largest value of the probability P(a|s) is less than or equal to a threshold.
In addition, when the action model is a function using the state model, the unknown determination unit 33 determines that the state s is an unknown state in the case where the state s indicates the ambient state and the following expression (3) or expression (4) is satisfied.
S represents a set of the states s. With reference to the expression (3), the state s is determined to be an unknown state in the case where the maximum value of the probability P(s′|s,a) is less than the threshold. In addition, with reference to the expression (4), the state s is determined to be an unknown state in the case where entropy of the probability P(s′|s,a) is greater than the threshold.
Note that, in this case, the unknown determination unit 33 may determine that the state s is an unknown state in the case where a difference between the maximum value of the probability P(s′|s,a) and the second-largest value of the probability P(s′|s,a) is less than or equal to a threshold.
The unknown determination unit 33 notifies the action control unit 31 of the determination result and the state information. In addition, the unknown determination unit 33 determines whether a state element is a known state element or an unknown state element on the basis of the action model supplied by the action control unit 31 for each of one or more state elements included in the ambient state indicated by the state information. Next, the unknown determination unit 33 supplies the state information and unknown state element specification information to the request unit 34. The unknown state element specification information specifies the unknown state element. Note that, in the case where there is no unknown state element, the unknown state element specification information is information that does not specify any state element.
The request unit 34 generates (updates) unknown state element information on the basis of the state information and the unknown state element specification information. In addition, the request unit 34 generates teaching request information in the case where the unknown state element specification information is information that specifies a certain state element as an unknown state element. Next, the request unit 34 generates a state screen including the unknown state element information, the teaching request information, and the like and supplies the state screen to the touchscreen 11A.
The reception unit 35 receives operation of the remote controller (not illustrated) carried out by the user, and supplies the action control unit 31 with a remote controller operation signal indicating the operation.
The touchscreen 11A (output unit) displays (outputs) the state screen supplied by the request unit 34. The touchscreen 11A receives operation of selecting an action mode from the user and supplies the action control unit 31 with a touch operation signal of the operation. In addition, the touchscreen 11A receives operation of teaching an action from the user and supplies the action control unit 31 with a touch operation signal of the operation.
In the example illustrated in
In this case, as illustrated in a section A in
The user sees the image 61 on the state screen 63 and recognizes that the carpet 12 is the unknown state element. Next, the user sees the message 62 and teaches an action with regard to the carpet 12 by operating the touchscreen 11A such as inputting a transfer pathway or the like of the cleaner robot 11 with regard to the carpet 12.
Accordingly, the action model is updated, and the carpet 12 becomes a known state element. Therefore, as illustrated in a section B in
When the carpet 12 is determined to be an unknown state element in the example illustrated in
The user sees the image 94 on the state screen 95 and recognizes that the carpet 12 is the unknown state element. Next, the user sees the message 62, operates the touchscreen 11A for selecting a desired transfer pathway from the transfer pathways 91 to 93, and teaches an action corresponding to the selected transfer pathway as an action to be performed with regard to the carpet 12.
Accordingly, the action model is updated, and the carpet 12 becomes a known state element. Therefore, as illustrated in a section B in
In the case illustrated in
Note that, it is also possible for the touchscreen 11A to display a state screen including a message “Do you select this action?” serving as the teaching request information, and an image in which transfer pathways are superimposed on the image 61. The transfer pathways correspond to actions based on action models corresponding to known states that have high similarities to the current ambient state.
In this case, the user operates the touchscreen 11A for inputting “OK” (permission) and teaching an action corresponding to a transfer pathway displayed on the state screen. Therefore, it is possible to reduce a burden on the user in comparison with the case where the user directly inputs an action to be taught as illustrated in
As described above, the request unit 34 causes the unknown state element information to be displayed. This enables the user to recognize an unknown state element from the unknown state element information. Therefore, it is possible for the user to teach an action more effectively by teaching an action with regard to the unknown state element. In other words, the unknown state element information functions as user operation assistant information for assisting the user to perform operation of teaching an action.
In addition, the request unit 34 updates the unknown state element information after the action is taught. This enables the user to recognize an effect of the teaching of the action to the action model, that is, the cleaner robot 11's understanding of the teaching of the action.
In Step S11 illustrated in
In Step S21, the reception unit 35 of the cleaner robot 11 receives the operation carried out through the process in Step S11, and supplies a remote controller operation signal of the operation to the action control unit 31. On the basis of the remote controller operation signal, the action control unit 31 recognizes an action of the cleaner robot 11, and request the state detection unit 32 to detect the ambient state. The action is taught by the user and the action corresponds to the current ambient state.
In Step S22, the state detection unit 32 detects the ambient state of the cleaner robot 11 in response to the request from the action control unit 31, and supplies state information of the detected state to the action control unit 31.
In Step S23, the action control unit 31 learns an action model through generalization learning on the basis of the recognized action of the cleaner robot 11 and the state information supplied by the state detection unit 32.
In Step S24, the action control unit 31 determines whether to end the initialization process. For example, the action control unit 31 determines not to end the initialization process in Step S24 in the case where a predetermined period of time has not elapsed since the initialization process has started, or in the case where the user 101 has not operated the remote controller or the like for instructing to end the initialization process. Next, the process returns to Step S21, and the process in Step S11 and the processes from Step S21 to Step S24 are repeated until the action control unit 31 determines to end the initialization process in Step S24.
On the other hand, the action control unit 31 determines to end the initialization process in Step S24 in the case where the predetermined period of time has elapsed since the initialization process has started, or in the case where the user 101 has operated the remote controller or the like for instructing to end the initialization process. Next, the action control unit 31 supplies the action model obtained through the generalization learning in Step S23 to the unknown determination unit 33 as the initialized action model, and ends the initialization process.
In Step S41 illustrated in
In Step S42, the unknown determination unit 33 determines whether the ambient state indicated by the state information is an unknown state on the basis of the state information supplied by the state detection unit 32 and the action model supplied by the action control unit 31, and then notifies the action control unit 31 of the determination result.
In the case where the ambient state is determined to be the unknown state in Step S42, the process proceeds to Step S43. In Step S43, the unknown determination unit 33 determines whether a state element is a known state element or an unknown state element on the basis of the action model supplied by the action control unit 31 for each of one or more state elements included in the ambient state indicated by the state information. Next, the unknown determination unit 33 generates unknown state element specification information on the basis of the determination result, and supplies it to the request unit 34 in addition to the state information.
In Step S44, the request unit 34 generates a state screen including unknown state element information and teaching request information on the basis of the state information and the unknown state element specification information, supplies it to the touchscreen 11A, and causes the touchscreen 11A to display it.
In Step S61, the user 101 sees the state screen displayed on the touchscreen 11A through the process in Step S44, and recognizes the unknown state element. In Step S62, the user 101 operates the touchscreen 11A and teaches an action corresponding to the recognized unknown state element.
In Step S45, the touchscreen 11A determines whether the operation carried out by the user 101 in Step S62 for teaching the action has been received. The touchscreen 11A waits for the reception in the case where it is determined that the operation carried out by the user 101 for teaching the action has not been received yet in Step S45.
On the other hand, the process proceeds to Step S46 in the case where it is determined that the operation carried out by the user 101 for teaching the action has been received in Step S45. In Step S46, the touchscreen 11A supplies a touch operation signal of the received operation to the action control unit 31.
In Step S47, the action control unit 31 recognizes the action taught by the user on the basis of the touch operation signal supplied by the touchscreen 11A.
In Step S47, the action control unit 31 learns an action model through generalization learning on the basis of the recognized action and the ambient state detected in Step S41. The action control unit 31 supplies the action model obtained through the generalization learning to the unknown determination unit 33.
In Step S48, the unknown determination unit 33 determines whether a state element is a known state element or an unknown state element on the basis of the action model obtained through the generalization learning in Step S47, for each of one or more state elements included in the ambient state indicated by the state information. Next, the unknown determination unit 33 generates unknown state element specification information on the basis of the determination result, and supplies it to the request unit 34.
In Step S49, the request unit 34 updates the state screen, supplies it to the touchscreen 11A, and causes the touchscreen 11A to display it on the basis of the state information supplied through the process in Step S43 and the unknown state element specification information supplied through the process in Step S48. Accordingly, the touchscreen 11A displays the state screen that does not include unknown state element information or teaching request information in the case where the unknown state element specification information is information that does not specify any state element as an unknown state element. On the other hand, in the case where the unknown state element specification information is information that specifies at least one state element, the touchscreen 11A displays a state screen that includes unknown state element information. After the process in Step S49, the process proceeds to Step S50.
In Step S63, the user 101 sees the state screen displayed on the touchscreen 11A through the process in Step S49, and recognizes the cleaner robot 11's understanding of the teaching of the action given in Step S62.
On the other hand, the process proceeds to Step S50 in the case where the ambient state is determined not to be an unknown state in Step S42, that is, in the case where the ambient state is a known state.
In Step S50, the action control unit 31 decides an action having the highest probability P(a|s) in the ambient state detected in Step S41 on the basis of the action model, as an action corresponding to the state, and controls the cleaner robot 11 such that the cleaner robot 11 performs the decided action.
In Step S51, the cleaner robot 11 determines whether to end the action control process. In the case where it is determined that the action control process does not end in Step S51, the process returns to Step S41 and the cleaner robot 11 waits for determination to end the action control process.
On the other hand, the process ends in the case where it is determined that the action control process ends in Step S51.
Processes in Step S81 to Step S90 in
The process proceeds to Step S91 in the case where the ambient state is determined not to be an unknown state in Step S82, that is, in the case where the ambient state is a known state.
In Step S91, the action control unit 31 selects an action having the highest probability that the ambient state becomes an unknown state after the action is performed, among actions whose probabilities P(a|s) are more than or equal to a threshold in the current ambient state, on the basis of the state model and the action model. In Step S92, the action control unit 31 controls the cleaner robot 11 such that the cleaner robot 11 performs the selected action, and the process proceeds to Step S93.
In Step S93, the cleaner robot 11 determines whether to end the action control process. In the case where the cleaner robot 11 determines not to end the action control process in Step S93, the process returns to Step S81 and the cleaner robot 11 waits for determination to end the action control process.
On the other hand, the process ends in the case where it is determined that the action control process ends in Step S93.
As described above, in the case where the ambient state is a known state, the cleaner robot 11 in the proactive mode acts such that the ambient state becomes an unknown state after the action is performed and proactively acquires teaching of an action from the user 101. This enables the cleaner robot 11 to quickly learn an action model through the generalization learning.
Processes in Step S121 to Step S130 in
The process proceeds to Step S131 in the case where the ambient state is determined not to be an unknown state in Step S123, that is, in the case where the ambient state is a known state.
In Step S131, the action control unit 31 selects an action having the highest probability that the ambient state becomes a known state after the action is performed, among actions whose probabilities P(a|s) are more than or equal to a threshold in the current ambient state, on the basis of the state model and the action model. In Step S132, the action control unit 31 controls the cleaner robot 11 such that the cleaner robot 11 performs the selected action, and the process proceeds to Step S133.
In Step S133, the cleaner robot 11 determines whether to end the action control process. In the case where it is determined that the action control process does not end in Step S133, the process returns to Step S121 and the cleaner robot 11 waits for determination to end the action control process.
On the other hand, the process ends in the case where it is determined that the action control process ends in Step S133.
As described above, in the case where the ambient state is a known state, the cleaner robot 11 in the maintenance mode acts such that the ambient state becomes a known state after the action is performed. This enables the cleaner robot 11 to acts more definitely even in the case where the user 101 cannot teach an action.
Note that, in the case where it is determined that operation carried out by the user 101 for teaching an action has not been received in Step S125, the unknown determination unit 33 may record the ambient state detected in Step S121 and end the action control process, or move the process to Step S131. In this case, it is possible for the user 101 to teach an action corresponding to a past ambient state that has been recorded and cause the cleaner robot 11 to learn an action model through the generalization learning when it becomes possible to teach the action.
Processes in Step S171 to Step S172 illustrated in
In the case where the ambient state is determined to be an unknown state in Step S172, the process proceeds to Step S173. In Step S173, the unknown determination unit 33 calculates similarity between the state information supplied by the state detection unit 32 and past state information which is hold through the process in Step S182 (to be described later) and for which the user has not taught an action in response to teaching request information.
In Step S174, the unknown determination unit 33 determines whether the similarity calculated in Step S173 is more than or equal to a threshold. In the case where the similarity is determined not to be more than or equal to the threshold in Step S174, the unknown determination unit 33 determines that the state information supplied by the state detection unit 32 is not similar to the past state information for which the user has not taught an action in response to teaching request information. In addition, the unknown determination unit 33 supplies the action control unit 31 with a determination result indicating that the ambient state is an unknown state as the determination result of the process in Step S172, and the process proceeds to Step S175.
Processes in Step S175 to Step S177 are similar to the processes in Step S43 to Step S45 in
In Step S202, the user 101 determines whether to teach an action with regard to the recognized unknown state element. In Step S203, the user 101 operates the touchscreen 11A and teaches an action corresponding to the recognized unknown state element in the case where the user 101 determines to teach the action corresponding to the unknown state element recognized in Step S202.
In Step S177, the touchscreen 11A determines whether the operation carried out by the user 101 in Step S203 for teaching the action has been received. The process proceeds to Step S178 in the case where it is determined that the operation carried out by the user 101 in Step S203 for teaching the action has been received in Step S177.
Processes in Step S178 to Step S181 are similar to the processes in Step S46 to Step S49 in
The user 101 ends the process in the case where he/she determines not to teach an action with regard to the unknown state element recognized in Step S202.
In addition, the process proceeds to Step S182 in the case where it is determined that the operation carried out by the user 101 in Step S203 for teaching the action has not been received in Step S177. In Step S182, the unknown determination unit 33 holds the state information supplied by the state detection unit 32 in Step S171, as the past state information for which an action has not been taught. The state information is used for calculating the similarity in the process in Step S173. After the process in Step S182, the process proceeds to Step S183.
On the other hand, the unknown determination unit 33 supplies the action control unit 31 with a determination result indicating that the ambient state is a known state, in the case where the ambient state is determined not to be an unknown state in Step S172, or in the case where the similarity is determined to be more than or equal to the threshold in Step S174. Next, the process proceeds to Step S183.
Processes in Step S183 and Step S184 are similar to the processes in Step S50 and Step S51 illustrated in
With regard to action control process in the proactive mode or the maintenance mode, it is also possible to display the state screen on the basis of the similarity to the past state information for which an action has not been taught, in a way similar to the action control process in the normal mode illustrated in
In the above description, the touchscreen 11A displays the state screen 63 (or 72 or 95), whereas the display method of the state screen 63 (or 72 or 95) is not limited thereto.
As illustrated in
In addition, the cleaner robot 11 may include a projector 131 instead of the touchscreen 11A and may project the state screen 63 (or 72 or 95) as a projection image 132. In this case, the user operates a remote controller (not illustrated) or the like to teach the action corresponding to the unknown state information, and the cleaner robot 11 learns an action model through the generalization learning by using a remote controller operation signal of the operation instead of the touch operation signal.
In addition, instead of causing the user to set an action mode, the state detection unit 32 may determine whether there is the user around the cleaner robot 11, and the action control unit 31 may set the action mode on the basis of the determination result. In this case, for example, the action control unit 31 sets the action mode to the proactive mode when the state detection unit 32 determines that there is the user around the cleaner robot 11, or the action control unit 31 sets the action mode to the maintenance mode in the case where the state detection unit 32 determines that there is no user around the cleaner robot 11.
The video game console to which the present disclosure is applied uses a predetermined character 141 in a video game as an agent, and causes the agent serving as the character 141 to perform actions such as a battle, escape, and travel in accordance with action models on the basis of an ambient state of the agent in a virtual word of the video game.
For example, as illustrated in
The user sees the displayed unknown state element information, recognizes that the unknown state element is the enemy character 142, and instructs to battle with the enemy character 142 or escape from the enemy character 142.
The video game console learns an action model through generalization learning on the basis of the action taught by the user. Subsequently, the video game console performs the taught action with regard to the enemy character 142 hereafter.
Among structural elements illustrated in
A video game console 150 illustrated in
The action control unit 151 in the video game console 150 initializes an action model for finding a probability P (a|s) that the character 141 performs an action a in a state s (adequacy of the action a of the character 141 in the state s).
Specifically, the action control unit 151 requests the state acquisition unit 152 to acquire state information, and acquires the state information supplied by the state acquisition unit 152 in response to the request. In addition, the action control unit 151 acquires a controller operation signal from the reception unit 155. The controller operation signal indicates operation of a controller (not illustrated) carried out by a user. On the basis of the controller operation signal, the action control unit 151 recognizes an action of the character 141. The action is taught by the user and the action corresponds to the current ambient state of the character 141. Next, the action control unit 151 initializes the action model through the generalization learning of the action model while using the state indicated by the current state information as the state s, and using the action of the character 141 corresponding to the state as the action a. The action control unit 151 supplies the initialized action model to the unknown determination unit 33.
In addition, the action control unit 151 sets an action mode to a proactive mode, a normal mode, or a maintenance mode on the basis of the controller operation signal supplied by the reception unit 155.
In the case where the action mode is set to the proactive mode and the unknown determination unit 33 notifies that the current ambient state is a known state, the action control unit 151 selects an action having the highest probability that the ambient state becomes an unknown state after the action is performed, among actions whose probabilities P(a|s) are more than or equal to a threshold in the current ambient state, on the basis of a state model and the action model. Next, the action control unit 151 performs control such that the character 141 performs the selected action.
Note that, examples of actions of the character 141 include a battle, escape, travel, and the like. In addition, the state model is a model for finding (a predictive value of) a probability P(s′|s,a) that the state s changes to a state s′ when the character 141 performs the action a in the state s. Here, it is assumed that the state model is decided in advance. However, the state model may be learned on the basis of state information acquired by the state acquisition unit 152 and the action performed by the action control unit 151.
Alternatively, in the case where the action mode is set to the normal mode and the unknown determination unit 33 notifies that the current ambient state is a known state, the action control unit 151 performs control such that the character 141 performs an action having the highest probability P(a|s) in the current ambient state on the basis of the action model.
Alternatively, in the case where the action mode is set to the maintenance mode and the unknown determination unit 33 notifies that the current ambient state is a known state, the action control unit 151 selects an action having the highest probability that the ambient state becomes a known state after the action is performed, among actions whose probabilities P(a|s) are more than or equal to a threshold in the current ambient state, on the basis of the state model and the action model. Next, the action control unit 151 performs control such that the character 141 performs the selected action.
Alternatively, in the case where the unknown determination unit 33 notifies that the current ambient state is a known state regardless of the action mode, the action control unit 151 recognizes an action taught by the user on the basis of a controller operation signal supplied by the reception unit 155. Next, the action control unit 151 learns the action model through the generalization learning on the basis of the recognized action and the current ambient state of the character 141, and supplies the action model obtained through the generalization learning to the unknown determination unit 33. In addition, on the basis of the action model obtained through the generalization learning, the action control unit 151 performs control such that the character 141 performs an action having the highest probability P(a|s) in the current ambient state of the character 141.
In response to the request from the action control unit 151, the state acquisition unit 152 acquires state information and supplies it to the action control unit 151. The state information indicates a position of the character 141 in the virtual word of the video game, positions of enemies of the character 141 in the virtual word of the video game, a status of the character 141, and the like as ambient state. In addition, after the action learning model is initialized, the state acquisition unit 152 starts acquisition of state information of the character 141, and supplies the acquired state information to the unknown determination unit 33.
The request unit 153 generates (updates) unknown state element information on the basis of the state information and unknown state element specification information that are supplied by the unknown determination unit 33. In addition, the request unit 153 generates teaching request information in the case where the unknown state element specification information is information that specifies a certain state element as an unknown state element. Next, the request unit 153 generates a state screen including the unknown state element information, the teaching request information, and the like. For example, the unknown state element information is an image including the character 141 and the ambient state of the character 141, the image displaying unknown state elements such that the unknown state elements are emphasized using color or the like. The request unit 153 supplies the generated state screen to the display unit 154.
The display unit 154 (output unit) displays (outputs) the state screen supplied by the request unit 153.
The reception unit 155 receives operation of a controller (not illustrated) carried out by the user, and supplies a controller operation signal indicating the operation to the action control unit 151. For example, the reception unit 155 receives operation of the controller (not illustrated) carried out by the user for selecting an action mode, and supplies a controller operation signal indicating the operation to the action control unit 151. In addition, the reception unit 155 receives the operation of the controller (not illustrated) carried out by the user for teaching the action, and supplies the controller operation signal indicating the operation to the action control unit 151.
A configuration of a support robot 170 illustrated in
In the example illustrated in
(Description of Computer to which Present Disclosure is Applied)
The above-described series of processes may be performed by hardware or may be performed by software. When the series of processes are performed by software, a program forming the software is installed into a computer. Examples of the computer include a computer that is incorporated in dedicated hardware and a general-purpose personal computer that can perform various types of function by installing various types of program.
In the computer 200, a central processing unit (CPU) 201, read only memory (ROM) 202, and random access memory (RAM) 203 are mutually connected by a bus 204.
Further, an input/output interface 205 is connected to the bus 204. Connected to the input/output interface 205 are an input unit 206, an output unit 207, a storage unit 208, a communication unit 209, and a drive 210.
The input unit 206 includes a keyboard, a mouse, a microphone, and the like. The output unit 207 includes a display, a speaker array, and the like. The storage unit 208 includes a hard disk, a non-volatile memory, and the like. The communication unit 209 includes a network interface, and the like. The drive 210 drives a removable medium 211 such as a magnetic disk, an optical disc, a magneto-optical disk, and a semiconductor memory.
In the computer 200 configured as described above, the CPU 201 loads a program that is stored, for example, in the storage unit 208 onto the RAM 203 via the input/output interface 205 and the bus 204, and executes the program, thereby performing the above-described series of processes.
For example, programs to be executed by the computer 200 (CPU 201) can be recorded and provided in the removable medium 211, which is a packaged medium or the like. In addition, programs can be provided via a wired or wireless transmission medium such as a local area network, the Internet, and digital satellite broadcasting.
In the computer 200, by mounting the removable medium 211 onto the drive 210, programs can be installed into the storage unit 208 via the input/output interface 205. Programs can also be received by the communication unit 209 via a wired or wireless transmission medium, and installed into the storage unit 208. In addition, programs can be installed in advance into the ROM 202 or the storage unit 208.
Note that a program executed by the computer 200 may be a program in which processes are chronologically carried out in a time series in the order described herein or may be a program in which processes are carried out in parallel or at necessary timing, such as when the processes are called.
The advantageous effects described herein are not limited, but merely examples. Any other advantageous effects may also be attained.
In addition, embodiments of the present disclosure are not limited to the above-described embodiments, and various alterations may occur insofar as they are within the scope of the present disclosure.
For example, the unknown state element information and the teaching request information may be output by voice or sound.
Further, the present disclosure can adopt a configuration of cloud computing, in which a plurality of devices shares a single function via a network and perform processes in collaboration.
Furthermore, each step in the above-described flowcharts can be executed by a single device or shared and executed by a plurality of devices.
In addition, when a single step includes a plurality of processes, the plurality of processes included in the single step can be executed by a single device or shared and executed by a plurality of devices.
Additionally, the present technology may also be configured as below.
(1)
An information processing apparatus including
an output unit configured to output unknown state element information that indicates an unknown state element, and teaching request information that requests teaching of an action corresponding to an ambient state, in a case where the ambient state includes the unknown state element.
(2)
The information processing apparatus according to (1), further including an action control unit configured to learn an action model for finding a probability that the information processing apparatus performs a predetermined action in a predetermined ambient state, on the basis of the ambient state and the action taught by a user in accordance with the teaching request information.
(3)
The information processing apparatus according to (2), in which the action control unit is configured to perform control such that the information processing apparatus performs an action having a highest probability in the ambient state in accordance with the action model.
(4)
The information processing apparatus according to (2) or (3), further including
an unknown determination unit configured to determine whether respective state elements included in the ambient state are unknown state elements on the basis of the action model learned by the action control unit,
in which the output unit is configured to update the unknown state element information on the basis of a state element that has been determined to be the unknown state element by the unknown determination unit.
(5)
The information processing apparatus according to any one of (1) to (4).
in which the output unit is configured to output the unknown state element information and the teaching request information in a case where the ambient state includes an unknown state element and the ambient state is not similar to a past ambient state for which a user has not taught an action in accordance with the teaching request information.
(6)
The information processing apparatus according to (1), further including
an action control unit configured to perform control such that the information processing apparatus performs an action and the ambient state includes an unknown state element after the action is performed, in a case where the ambient state does not include an unknown state element before the action is performed.
(7)
The information processing apparatus according to (1), further including
an action control unit configured to perform an action such that the ambient state does not include an unknown state element after the action is performed, in a case where the ambient state does not include an unknown state element before the action is performed.
(8)
An information processing method including
an output step in which an information processing apparatus outputs unknown state element information that indicates an unknown state element, and teaching request information that requests teaching of an action corresponding to an ambient state, in a case where the ambient state includes the unknown state element.
Number | Date | Country | Kind |
---|---|---|---|
2017-006825 | Jan 2017 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2018/000013 | 1/4/2018 | WO | 00 |