Action control method, action control program, action control device and communication robot

The behavior control method for communication robots addresses the issue of user boredom by temporarily reducing action values and adapting to user reactions, ensuring varied and engaging interactions.

JP2024117108AActive Publication Date: 2024-08-29NATIONAL INSTITUTE OF TECHNOLOGY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023023007
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-29
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

Reinforcement learning in communication robots leads to a decrease in variation in actions over time, causing user boredom due to the repetition of high-value actions.

Method used

A behavior control method that includes reducing action values temporarily after execution, selecting actions based on reduced values, and updating values based on user reactions, with mechanisms to prevent consecutive high-value actions and allow relearning when user preferences change.

Benefits of technology

Maintains user interest by varying actions and adapting to changing preferences, preventing repetitive high-value actions and ensuring continued engagement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024117108000001_ABST
    Figure 2024117108000001_ABST
Patent Text Reader

Abstract

To provide an action control method that allows communication to maintain the interest of a user.SOLUTION: An action control method is a method which controls the action of a communication robot for the purpose of communication with a user. The action control method includes: a reduced action value calculation step which obtains a reduced action value in which an action value is reduced for a prescribed period after the corresponding action is executed for each of the multiple action values associated with multiple actions prepared in advance; and an action selection step which selects one action based on the multiple reduced action values according to predetermined measures. The reduced action value calculation step and the action selection step are repeated in this order.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a behavior control method, a behavior control program, a behavior control device, and a communication robot. More specifically, the present invention relates to a method, a program, and a device for controlling the behavior of a robot that communicates with humans, and a robot that communicates with humans. [Background technology]

[0002] Patent Document 1 discloses a communication robot that performs actions such as speech and physical movements with the aim of communicating with humans. This robot determines whether the human feels comfortable or uncomfortable based on the distance traveled by the human and the direction of the human's face when the robot acts, and optimizes parameters related to the robot's actions (interpersonal distance, gaze time, delay time, and playback speed) through reinforcement learning. This allows humans to communicate comfortably with the robot. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2006-247780 A Summary of the Invention [Problem to be solved by the invention]

[0004] Since the actions that a robot performs vary from person to person, it is possible to optimize the selection of actions using reinforcement learning. In this case, reinforcement learning proceeds by increasing or decreasing the value of each pre-prepared action. By using reinforcement learning to assign rewards to actions that the user responds to positively, it becomes easier to select actions that interest the user.

[0005] However, as reinforcement learning progresses and certain actions become more valuable, the robot will only perform the actions with higher value, resulting in less variation in communication. This will result in a communication robot that users will soon tire of.

[0006] In view of the above circumstances, an object of the present invention is to provide a behavior control method, a behavior control program, a behavior control device, and a communication robot that are capable of communication that sustains a user's interest. [Means for solving the problem]

[0007] The first aspect of the behavior control method is a method for controlling the behavior of a communication robot for the purpose of communicating with a user, and includes a reduced action value calculation process for determining, for each of a plurality of action values ​​associated with a plurality of pre-prepared actions, a reduced action value obtained by reducing the action value for a predetermined period of time after the corresponding action is executed, and a behavior selection process for selecting one of the actions based on the plurality of reduced action values ​​in accordance with a predetermined measure, wherein the reduced action value calculation process and the behavior selection process are repeatedly performed in this order. A second aspect of the behavior control method is characterized in that, in the first aspect, the action values ​​correspond one-to-one with the behavior categories to which the multiple behaviors belong, and the behavior selection process selects one of the behavior categories based on the multiple reduced action values ​​in accordance with a predetermined category selection strategy, and selects one of the behaviors from among the multiple behaviors belonging to the behavior category selected in accordance with the predetermined behavior selection strategy. The third aspect of the behavior control method in the first aspect further comprises a user response acquisition process for acquiring the user's response when the behavior selected in the behavior selection process is executed, and a learning process for updating the behavior value corresponding to the executed behavior so that the more positive the user's response is, the higher the value becomes, and is characterized in that the reduced behavior value calculation process, the behavior selection process, the user response acquisition process, and the learning process are repeatedly performed in this order. The fourth aspect of the behavior control method is characterized in that in the third aspect, it further comprises a forgetting step of initializing all of the behavior values ​​when the number of consecutive times that the user's reactions acquired in the user reaction acquisition step are negatively positive reaches an upper limit number. A behavior control program according to a fifth aspect is characterized in that it causes a computer to execute the behavior control method according to any one of the first to fourth aspects. A behavior control device of a sixth aspect is characterized in that it comprises a computer that executes the behavior control method of any one of the first to fourth aspects. A communication robot according to a seventh aspect is characterized by comprising the behavior control device according to the sixth aspect. Effect of the Invention

[0008] According to the first aspect, the next action is selected based on the reduced action value obtained by temporarily reducing the action value corresponding to the executed action, so that it is possible to prevent actions with high action values ​​from being selected consecutively. As a result, the communication is more varied, and the user's interest can be sustained. According to the second aspect, one behavior is selected from a behavior category, which can further prevent the same behavior from being selected consecutively. According to the third aspect, by updating the action value in response to the user's reaction, an action that attracts the user's interest is more likely to be selected. According to the fourth aspect, when the user becomes bored with a particular behavior or behavior category, re-learning is performed, so that an behavior can be selected in response to changes in the user's preferences. In any of the fifth to seventh aspects, the communication can be varied to maintain the user's interest. [Brief description of the drawings]

[0009] [Figure 1] 1 is an overall view of a communication robot according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram of the communication robot. [Diagram 3]1 is a first half of a flowchart illustrating a behavior control method according to an embodiment. [Figure 4] This is the latter half of the flowchart. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Next, an embodiment of the present invention will be described with reference to the drawings. As shown in Fig. 1, a communication robot AA according to an embodiment of the present invention is a robot designed to communicate with humans. In this specification, a human who communicates with the communication robot AA is referred to as a "user U."

[0011] The appearance of the communication robot AA is not particularly limited. The appearance of the communication robot AA may be that of a stuffed toy modeled after an animal or a mechanical robot. The communication robot AA may be a smart speaker that communicates only by voice. In addition, the communication robot AA does not need to have a physical appearance and may be a character in a virtual space.

[0012] In this specification, each specific action that the communication robot AA performs for the purpose of communicating with the user U is referred to as an "action." The communication robot AA is provided with a number of actions that it is capable of executing due to its configuration. The communication robot AA communicates with the user U by repeatedly selecting and executing one action from the multiple actions provided.

[0013] A plurality of behaviors prepared for the communication robot AA may be classified into a plurality of behavior categories. Each behavior belongs to one of the behavior categories. Furthermore, a plurality of behaviors belong to each behavior category. In other words, there is a one-to-many relationship between behavior categories and behaviors. Examples of behavior categories include gestures, greetings, questions, onomatopoeia, and jokes. Examples of behaviors belonging to gestures include waving the right hand, waving the left hand, and waving both hands. Examples of behaviors belonging to greetings include "Good morning," "Hello," and "Thank you for your hard work."

[0014] As shown in FIG. 2, the communication robot AA has a behavior control device 10. The behavior control device 10 is made up of a computer including a CPU, a memory, etc. A microcontroller may be used as the computer. The function of the behavior control device 10 is realized by installing a behavior control program in the computer. The behavior control program is a program that causes the computer to execute a behavior control method described below. The behavior control program may be stored in a computer-readable storage medium (including a non-transient one).

[0015] The behavior control device 10 has a behavior execution unit 11, a reaction evaluation unit 12, a memory unit 13, a behavior selection unit 14, and a learning unit 15. These may be configured as hardware, or may be realized by installing a program on a computer.

[0016] The communication robot AA has various devices (hereinafter referred to as "behavior realizing devices") for realizing behavior. Examples of the behavior realizing devices include an actuator 21, a speaker 22, and a display 23. The actuator 21 is used to move the framework of the communication robot AA and realize physical behavior such as gestures. Examples of the actuator 21 include a motor and a cylinder. The speaker 22 is used to realize behavior based on language by reproducing sound. The display 23 is used to realize behavior based on text by displaying characters, patterns, etc. The types and numbers of the behavior realizing devices 21 to 23 possessed by the communication robot AA are not particularly limited.

[0017] The behavior execution section 11 of the behavior control device 10 controls the operations of various behavior realization devices 21-23 so that the selected behavior is executed.

[0018] The communication robot AA has various sensors that detect the reaction of the user U when the communication robot AA executes an action. Examples of the sensors include a camera 31, a microphone 32, a distance sensor 33, an acceleration sensor 34, and a switch 35. The camera 31 is used to acquire an image of the user U and detect the facial expression of the user U. The microphone 32 is used to acquire the voice of the user U and detect the length of the user U's speech, the volume of the voice, and the like. The distance sensor 33 is used to measure the distance between the communication robot AA and the user U. A non-contact distance sensor such as an ultrasonic distance sensor is preferably used as the distance sensor 33. The acceleration sensor 34 is used to measure the acceleration of the communication robot AA and detect the physical contact action of the user U with the communication robot AA. An example of the contact action of the user U is hugging the communication robot AA. The switch 35 is composed of a plurality of switches corresponding to likes, dislikes, and the like, and is used for the user U to directly feed back the likes and dislikes of the action. The types and the number of the sensors 31 to 35 that the communication robot AA has are not particularly limited.

[0019] The reaction evaluation unit 12 of the behavior control device 10 analyzes information obtained from various sensors 31 to 35 to evaluate the reaction of the user U. The evaluation method is, for example, as follows. The reaction evaluation unit 12 identifies the facial expression of the user U from the image obtained by the camera 31 using techniques such as pattern recognition and image recognition by deep learning. Then, the reaction evaluation unit 12 determines a score according to the facial expression of the user U. For example, "anger" is assigned a score of -2, "sadness" is assigned a score of -2, "fear" is assigned a score of -2, "disgust" is assigned a score of -1, "not detected" is assigned a score of 0, "neutral" is assigned a score of +1, "surprise" is assigned a score of +1, and "happiness" is assigned a score of +2. The reaction evaluation unit 12 determines a score according to the volume or length of the voice obtained by the microphone 32. For example, if the length of the voice is 0 seconds, the score is 0, if it is more than 0 seconds and less than 3 seconds, the score is +1, and if it is more than 3 seconds, the score is +2. The reaction evaluation unit 12 determines a score according to the measurement value of the distance sensor 33. For example, if the distance is less than 20 cm, it is set to +2, if it is between 20 cm and 40 cm, it is set to +1, if it is between 40 cm and 100 cm, it is set to 0, and if it is 100 cm or more, it is set to -2. The reaction evaluation unit 12 determines the score according to the strength of the movement (magnitude of acceleration) detected by the acceleration sensor 34. For example, if there is no movement, it is set to 0, if it is weak, it is set to +1, and if it is strong, it is set to +2. The reaction evaluation unit 12 determines the score according to the type of switch 35 that is pressed. For example, if the like button is pressed, it is set to +1, if the dislike button is pressed, it is set to -1, and if neither button is pressed, it is set to 0.

[0020] Next, the reaction evaluation unit 12 identifies the reaction of the user U based on the total value of each score. For example, the reaction of the user U may be divided into three types: negative, neutral, and positive. The number of reaction types is not particularly limited and may be greater. Positive may be further divided into two types, and the reaction of the user U may be identified into four types: negative, neutral, moderately positive, and highly positive. In this case, if the total value of the scores is negative, it is negative; if it is 0, it is neutral; if it is 1 or 2, it is moderately positive; and if it is 3 or more, it is highly positive.

[0021] The memory unit 13, the action selection unit 14, and the learning unit 15 of the action control device 10 select one action from a plurality of actions prepared in advance using a unique algorithm based on reinforcement learning such as Q-learning.

[0022] The memory unit 13 stores a plurality of action values ​​Q associated with a plurality of actions. The action value Q corresponds to the Q value in Q-learning, and is a value optimized by reinforcement learning. "Action values ​​Q associated with a plurality of actions" includes cases where the action value Q and the actions correspond one-to-one, and cases where the action value Q and the actions correspond one-to-many. That is, each action value Q corresponds to one or a plurality of actions. In the latter case, it is sufficient to have a one-to-one correspondence between the action value Q and the action category. Below, the case where the action value Q and the action category correspond one-to-one will be mainly described.

[0023] In Q-learning, an action value Q(s, a) is determined for each state s and action a. The array that stores all the action values ​​Q(s, a) is called the action value array. The action value array corresponds to the Q table in Q-learning. Let the number of states s be N. s , the number of actions a is N a Then, the action value array is N s ×N a The action value array is a two-dimensional array of 4x5. The user U's reaction can be used as the state s. Also, instead of the action, an action category can be used as a. For example, if the reaction s of the user U is of four types, negative, neutral, moderately positive, and highly positive, and the action categories a are of five types, gestures, greetings, questions, onomatopoeia, and jokes, the action value array is a two-dimensional array of 4x5. The action value Q does not have to be a value for each state s. In this case, the action value array is a 1xN a It is a one-dimensional array of.

[0024] The action selection unit 14 selects one action from among a plurality of actions prepared in advance, based on the action value Q(s, a) stored in the memory unit 13. The identifier of the selected action is input to the action execution unit 11. The action execution unit 11 controls the operations of various action realization devices 21-23 to execute the selected action.

[0025] The reaction of the user U when the communication robot AA executes an action is detected by various sensors 31-35. The reaction evaluation unit 12 analyzes the information obtained from the various sensors 31-35 and evaluates the reaction of the user U. The evaluation result is input to the learning unit 15. The learning unit 15 updates the action value Q(s, a) stored in the memory unit 13 based on the reaction of the user U. As a result, the action value array is optimized for the user U, and the preferences of the user U are learned.

[0026] Next, a behavior control method executed by the behavior control device 10 will be described with reference to the flowcharts shown in FIGS. First, the behavior control device 10 performs initialization (step S10). The initialization includes initialization of the action value array. Specifically, the values ​​of all the action values ​​Q(s, a) may be set to 0. The initial value of the action value Q(s, a) may be a value other than 0, or may be a different value for each state s and action category a. For example, an action value array suitable for a general user U may be found in advance by reinforcement learning, and this action value array may be applied at the time of initialization. The behavior control device 10 also initializes other variables used in the behavior control method.

[0027] In Q-learning, the process leading up to the provision of a reward or punishment is called an episode, and the episodes are repeated until sufficient learning has been achieved. In this embodiment, the processes from step S02 to step S11 are an episode, and these processes are repeated. At the start of an episode, the behavior control device 10 performs an episode start process as necessary (step S02). The episode start process includes, for example, a process of returning the communication robot AA to its initial position. In addition, the processes from step S03 to step S11 may be repeated multiple times from the start to the end of an episode.

[0028] In step S03, a reaction from the user U is acquired, in step S05 (action selection step), one action is selected, and in step S06, the communication robot AA executes that action. For convenience of explanation, these processes will be described in detail later.

[0029] The reaction evaluation unit 12 evaluates the reaction of the user U when the action selected in step S05 (action selection step) is performed based on information obtained from various sensors 31 to 35. The learning unit 15 acquires the reaction of the user U from the reaction evaluation unit 12 (user reaction acquisition step: step S07). Here, the reaction of the user U acquired by the learning unit 15 is, for example, any one of negative, neutral, moderately positive, and highly positive.

[0030] Next, the learning unit 15 updates the action value Q(s, a) corresponding to the executed action so that the more positive the reaction of the user U is, the higher the value becomes (learning process: step S08). Here, when the action value Q and the action category have a one-to-one correspondence, the "action value corresponding to the executed action" means the action value corresponding to the action category to which the executed action belongs.

[0031] For example, the state before the action s t In action category a t The action value Q(s t ,a t ) is updated according to the following formula (1).

number

[0032] State before action t is the reaction of the user U obtained in step S03. t+1is the response of the user U acquired in step S07. The learning rate α is a value greater than 0 and less than 1, and the discount rate γ is a value greater than 0 and less than 1.

[0033] r t+1 is the state after the action s t+1 , that is, the value depends on the reaction of user U. t+1 If r is positive, it is called a reward, and if it is negative, it is called a punishment. If the user U's reaction is positive, a reward is given, and if it is negative, a punishment is given. For example, if the reaction of user U is negative, r t+1 =-10, r for neutral t+1 = 0, r if moderately positive t+1 = +5, r if highly positive t+1 =+10.

[0034] For example, suppose the communication robot AA says "Hello," and the user U replies with "Hello." The user U's voice at this time is picked up by the microphone 32, and the user U's reaction is evaluated as positive based on the length of the voice. As a result, a reward is given for the action category (greetings) to which that action belongs. In other words, the value of the action value Q corresponding to greetings increases. As a result, from the next time onwards, actions belonging to greetings are more likely to be selected.

[0035] On the other hand, suppose that the communication robot AA makes a gesture of waving both hands, and the user U ignores it. An image of the user U at this time is captured by the camera 31, and the reaction of the user U is evaluated as negative through image recognition. In this case, a penalty is imposed on the behavior category (gesture) to which the behavior belongs. In other words, the value of the action value Q corresponding to the gesture is decreased. As a result, from the next time onwards, behaviors belonging to the gesture are less likely to be selected.

[0036] In this way, by updating the action value Q in response to the user U's reaction, an action that will interest the user U is more likely to be selected from the next time onwards.

[0037] For convenience of explanation, the processes of steps S09 and S10 will be described in detail later. In step S11, the behavior control device 10 judges whether a reward or a punishment has been given. For example, if the reaction of the user U after the action is negative or positive, a reward or a punishment is given. In this case, the episode ends and a new episode starts. That is, the process of the behavior control device 10 returns to step S02. On the other hand, if the reaction of the user U after the action is neutral, neither a reward nor a punishment is given. In this case, the episode continues. That is, the process of the behavior control device 10 returns to step S03.

[0038] In step S03, the behavior selection unit 14 acquires the reaction of the user U from the reaction evaluation unit 12. However, if some time has passed since the previous behavior, the information obtained from the sensors 31 to 35 may not be able to appropriately evaluate the reaction of the user U. Specifically, the reaction of the user U before the behavior is often evaluated as neutral. In this case, it takes time to optimize the entire action value array. Therefore, the reaction of the user U obtained in step S07 after the previous behavior may be used as the reaction of the user U before the current action. In this way, the reaction of the user U before the behavior is not biased toward neutral, and the optimization of the action value array can be speeded up.

[0039] In addition, the action value Q is not a value for each state s, and the action value array is 1×N a In this case, the process of step S03 does not need to be performed.

[0040] In general reinforcement learning, an action is selected based on the action value Q. For example, an action with the maximum action value Q is selected. However, in this embodiment, an action is selected based on a reduced action value q instead of the action value Q. Here, the reduced action value q is a value obtained by reducing the action value Q for a predetermined period after the corresponding action is executed. The action selection unit 14 calculates the reduced action value q for each of all the action values ​​Q corresponding to the state s (the response of the user U acquired in step S03) (reduced action value calculation process: step S04).

[0041] For example, as shown in equation (2), the reduction action value q is obtained by subtracting the suppression value R from the action value Q.

number

[0042] The suppression value R is expressed, for example, by the following equation (3).

number

[0043] The reduction action value q calculated by formula (2) and formula (3) is the maximum suppression value R from the action value Q immediately after the execution of an action belonging to the action category a. m The value is reduced by q. After that, the reduced action value q increases step by step each time any action is performed. The number of actions after the action belonging to action category a is performed is τ s After reaching this, the reduced action value q becomes equal to the action value Q.

[0044] The reduced action value q may be any value obtained by temporarily reducing the action value Q, and the method of calculating the reduced action value q is not limited to the formulas (2) and (3). s The reduced action value q may be obtained by subtracting a fixed value from the action value Q until it reaches Q. The reduced action value q may also be obtained by multiplying the action value Q by a suppression coefficient (a value between 0 and 1). Furthermore, the period during which the action value Q is reduced may be determined by time instead of by the number of actions. In other words, the reduced action value q may be obtained by reducing the action value Q for a fixed period of time. Therefore, the "predetermined period" during which the action value Q is reduced is a concept that includes a period determined by time as well as a period determined by the number of actions.

[0045] Next, the behavior selection unit 14 selects one behavior based on all reduced action values ​​q corresponding to the state s (the user U's response acquired in step S03) (behavior selection process: step S05). Here, the behavior is selected according to a predetermined measure. A "measure" means a rule for selecting a behavior. The measure is determined so that the higher the reduced action value q, the higher the probability that the corresponding behavior will be selected. In this way, a behavior that is likely to attract the user U's interest can be selected.

[0046] When action value Q (reduced action value q) has a one-to-one correspondence with action categories, action selection is performed in two stages. That is, in the first stage, one action category is selected, and in the second stage, one action is selected from the action category. A policy is determined for each stage. The policy in the first stage is called the category selection policy, and the policy in the second stage is called the action selection policy.

[0047] First, the behavior selection unit 14 selects one behavior category based on all reduced action values ​​q corresponding to the state s (the reaction of the user U acquired in step S03) according to a predetermined category selection policy. As the category selection policy, a known policy used in Q-learning such as the greedy method, the ε-greedy method, or the Boltzmann selection can be adopted. For example, in the case of the greedy method, the behavior selection unit 14 selects the behavior category with the highest reduced action value q.

[0048] In addition, the following policy may be adopted as a category selection policy. First, a probability array with values ​​arranged in descending order is prepared. The number of elements M of the probability array is equal to or less than the number of behavior categories. The sum of the values ​​of all the elements of the probability array is 1. Next, a uniform random number between 0 and 1 is generated. If the random value is less than the value of the first element, the behavior category with the largest reduced action value q is selected. If the random value is equal to or greater than the value of the first element and less than the sum of the values ​​up to the second element, the behavior category with the second largest reduced action value q is selected. If the random value is equal to or greater than the sum of the values ​​up to the second element and less than the sum of the values ​​up to the third element, the behavior category with the third largest reduced action value q is selected. In other words, if the random value is equal to or greater than the sum of the values ​​up to the m-1th element and less than the sum of the values ​​up to the mth element, the behavior category with the mth largest reduced action value q is selected. If the random value is equal to or greater than the sum of the values ​​up to the M-1th element, one is randomly selected from all behavior categories.

[0049] For example, if there are five behavior categories, a probability array of [0.80, 0.12, 0.06, 0.02] is prepared. If the random value is less than 0.80, the behavior category with the largest reduced action value q is selected. If the random value is 0.80 or more and less than 0.92, the behavior category with the second largest reduced action value q is selected. If the random value is 0.92 or more and less than 0.98, the behavior category with the third largest reduced action value q is selected. If the random value is 0.98 or more, one is randomly selected from all behavior categories. Through the above steps, one behavior category that is likely to attract the user U's interest is selected from the five behavior categories of gestures, greetings, questions, onomatopoeia, and jokes.

[0050] Next, the behavior selection unit 14 selects one behavior from among the multiple behaviors belonging to the selected behavior category according to a predetermined behavior selection policy. The selection of the behavior may be performed randomly or according to other rules. For example, if "greeting" is selected as the behavior category, a phrase suitable for the current time may be selected.

[0051] The behavior selection unit 14 inputs the identifier of the selected behavior to the behavior execution unit 11. The behavior execution unit 11 controls the operation of the various behavior realization devices 21-23 to execute the behavior corresponding to the input identifier (step S06). The reaction evaluation unit 12 evaluates the reaction of the user U at this time (step S07). The learning unit 15 updates the action value Q based on the reaction of the user U (step S08). In this manner, the reduced action value calculation process (step S04), the behavior selection process (step S05), the user reaction acquisition process (step S07), and the learning process (step S08) are repeatedly performed in this order.

[0052] In the action selection step (step S05), the next action is selected based on a reduced action value q obtained by temporarily reducing the action value Q corresponding to the action executed in the past, rather than on the action value Q itself. This makes it possible to prevent action categories with high action values ​​Q from being selected consecutively.

[0053] Furthermore, in this embodiment, an action value Q (reduced action value q) is set one-to-one with an action category to which multiple actions belong, rather than with each individual action. Then, one action is selected in two stages: selecting an action category and selecting an action. Since one action is selected from an action category, even if the same action category is selected consecutively, the same action can be prevented from being selected consecutively. As a result, the communication robot AA has more variety in its communication, and the user U's interest can be sustained.

[0054] In addition, by defining the action value Q for the action category, the number of elements in the action value array can be reduced compared to when defining the action value Q for each individual action. Therefore, machine learning can be performed efficiently, and the action value Q can be optimized early.

[0055] The behavior control device 10 optimizes the action value Q for a specific user U by repeatedly selecting and executing an action, and learning based on the user U's reaction. Optimizing the action value Q makes it easier for an action preferred by the user U to be selected. However, humans may become bored with a specific action of the communication robot AA, or their preferences may change. Therefore, the behavior control device 10 may initialize the action value Q and re-learn the preferences of the user U.

[0056] Specifically, the behavior control device 10 performs the following process. When the reaction of the user U acquired in the user reaction acquisition step (step S07) is anti-positive, the learning unit 15 counts the number of consecutive times this occurs (hereinafter referred to as the "counter-positive number"). "Counter-positive" means a reaction other than a positive reaction. For example, when the reaction of the user U is specified as one of four types, negative, neutral, moderately positive, and highly positive, negative and neutral correspond to anti-positive. The "counter-positive number" is counted based on the behavior.

[0057] In step S09, the learning unit 15 judges whether the anti-positive number of times has reached the upper limit number. The upper limit number is set in advance to an arbitrary number. If the anti-positive number of times has not reached the upper limit number, the behavior control device 10 performs the process of step S11. On the other hand, if the anti-positive number of times has reached the upper limit number, the learning unit 15 initializes all the action values ​​Q (forgetting process: step S10). The initialization may be performed by setting the values ​​of all the action values ​​Q to 0.

[0058] After the action value Q is initialized, the action value Q is optimized (learned) again every time the communication robot AA executes an action. In this way, by re-learning when the user U becomes bored with a particular action or action category, it becomes possible to select an action that corresponds to the change in the user U's preferences.

[0059] Other embodiments The action value Q may correspond one-to-one with the action. That is, an action value Q may be set for each individual action. In this case, the action is selected in one stage in the action selection process (step S05). The policy at this time is set so that the higher the reduced action value q, the higher the probability that the corresponding action will be selected. By setting an action value Q for each individual action, the detailed preferences of the user U can be learned.

[0060] It is not necessary to optimize the action value Q (machine learning). In this case, the behavior control device 10 does not need to perform the user reaction acquisition step (step S07) and the learning step (step S08). For example, after the episode is repeated a predetermined number of times and learning is sufficiently performed, an action may be selected based on the learned action value array. Also, an action value array suitable for a general user U may be obtained in advance by reinforcement learning, and the learned action value array may be stored in the storage unit 13. In this case, the behavior control device 10 does not need to have a machine learning function. [Explanation of symbols]

[0061] AA Communication Robot 10 Behavior Control Device 11 Action Execution Department 12 Response evaluation section 13 Storage section 14 Action Selection Section 15 Learning Department 21~23 Behavioral Devices 31~35 Sensor

Claims

1. A method for controlling a behavior of a communication robot for the purpose of communicating with a user, comprising: a reduced action value calculation step of calculating a reduced action value obtained by reducing the action value for a predetermined period after the corresponding action is performed for each of a plurality of action values ​​corresponding to the plurality of actions prepared in advance; and a behavior selection step of selecting one of the behaviors based on a plurality of the reduced behavior values ​​according to a predetermined measure, The reduced action value calculation step and the action selection step are repeated in this order. A behavior control method comprising:

2. The action values ​​correspond one-to-one to action categories to which the actions belong, The behavior selection step includes selecting one of the behavior categories based on the plurality of reduced behavior values ​​according to a predetermined category selection policy, and selecting one of the behaviors from among the plurality of behaviors belonging to the behavior category selected according to the predetermined behavior selection policy.

2. The behavior control method according to claim 1.

3. a user reaction acquisition step of acquiring a reaction of the user when the action selected in the action selection step is executed; A learning process of updating the action value corresponding to the executed action so that the action value becomes higher as the user's reaction is more positive, The reduced action value calculation step, the action selection step, the user response acquisition step, and the learning step are repeated in this order.

2. The behavior control method according to claim 1.

4. The method further includes a forgetting step of initializing all of the behavior values ​​when the number of consecutive times that the user's reaction acquired in the user reaction acquisition step is negatively positive reaches an upper limit number.

4. The behavior control method according to claim 3.

5. A method for controlling a behavior of a computer according to any one of claims 1 to 4. A behavior control program comprising:

6. A computer that executes the behavior control method according to any one of claims 1 to 4. A behavior control device comprising:

7. The behavior control device according to claim 6 is provided. A communication robot characterized by

Citation Information

Patent Citations

  • Dummy creature system, action forming method for dummy creature for the same system and computer readable storage medium describing program for making the same system action

    JP2002163631A

  • Robot device and robot control method, recording medium and program

    JP2003340759A

  • Robot device, action control method of robot device and computer program

    JP2004291228A

  • Communication robot

    JP2006247780A

  • Information processing device, information processing method, and program

    JP2018045413A