JP7142605B2 - LEARNING DEVICE, LEARNING METHOD AND LEARNING PROGRAM - Google Patents
LEARNING DEVICE, LEARNING METHOD AND LEARNING PROGRAM Download PDFInfo
- Publication number
- JP7142605B2 JP7142605B2 JP2019094866A JP2019094866A JP7142605B2 JP 7142605 B2 JP7142605 B2 JP 7142605B2 JP 2019094866 A JP2019094866 A JP 2019094866A JP 2019094866 A JP2019094866 A JP 2019094866A JP 7142605 B2 JP7142605 B2 JP 7142605B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- processing step
- model
- learning
- episode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、学習装置、学習方法及び学習プログラムに関する。 The present invention relates to a learning device, a learning method, and a learning program.
従来、強化学習のエージェントの行動を最適化するための技術が提案されている。一技術では、エピソード中の行動と状態変化の報酬を、エピソードに対する報酬の平均で代用することによって、行動のモデルが最適化される(非特許文献1)。 Conventionally, techniques for optimizing the behavior of reinforcement learning agents have been proposed. In one technique, a model of behavior is optimized by substituting the average reward for the episode for the reward for actions and state changes during the episode [1].
しかしながら、上記の従来技術には、改善の余地がある。例えば、上記の従来技術では、失敗エピソード中の良い行動も、失敗エピソード中の悪い行動と同様に、悪い例とみなされる場合がある。このような場合、上記の従来技術は、強化学習のパフォーマンスを改善することができるとは限らない。 However, the above conventional techniques have room for improvement. For example, in the prior art described above, good behavior during a failed episode may be considered a bad example as well as bad behavior during a failed episode. In such cases, the above conventional techniques cannot always improve the performance of reinforcement learning.
本願は、上記に鑑みてなされたものであって、強化学習のパフォーマンスを改善することを目的とする。 The present application is made in view of the above and aims at improving the performance of reinforcement learning.
本願に係る学習装置は、状態を示す状態情報をモデルに入力する入力処理と、当該モデルが出力した出力情報を用いて前記状態を更新する更新処理とを含む処理ステップが、前記状態が所定の条件を満たす最終状態となるまで繰り返し実行された場合は、当該最終状態に応じて、実行された各処理ステップを評価する評価部と、前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに対する評価結果とに基づいて、前記モデルの学習を行う学習部とを有することを特徴とする。 In the learning device according to the present application, processing steps including an input process of inputting state information indicating a state to a model and an update process of updating the state using output information output by the model are performed when the state is a predetermined state. In the case of repeated execution until a final state that satisfies a condition, an evaluation unit that evaluates each executed processing step according to the final state, output information output by the model in the processing step, and the processing A learning unit that learns the model based on the updated state of the step and the evaluation result of the processing step.
実施形態の一態様によれば、強化学習のパフォーマンスを改善することができるという効果を奏する。 According to one aspect of the embodiment, it is possible to improve the performance of reinforcement learning.
以下に、本願に係る学習装置、学習方法及び学習プログラムを実施するための形態(以下、「実施形態」と呼ぶ)について図面を参照しつつ詳細に説明する。なお、この実施形態により本願に係る学習装置、学習方法及び学習プログラムが限定されるものではない。また、各実施形態は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。また、以下の各実施形態において同一の部位には同一の符号を付し、重複する説明は省略する。 Embodiments for implementing a learning device, a learning method, and a learning program according to the present application (hereinafter referred to as "embodiments") will be described in detail below with reference to the drawings. Note that the learning device, the learning method, and the learning program according to the present application are not limited to this embodiment. Further, each embodiment can be appropriately combined within a range that does not contradict the processing contents. Further, in each of the following embodiments, the same parts are denoted by the same reference numerals, and overlapping descriptions are omitted.
〔1.学習処理〕
まず、図1を参照して、実施形態に係る学習処理の一例について説明する。図1は、実施形態に係る学習処理の一例を示す図である。図1の例では、実施形態に係る学習システム1によって学習処理が行われる。
[1. Learning process]
First, an example of learning processing according to the embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating an example of learning processing according to the embodiment. In the example of FIG. 1, the learning process is performed by the
図1に示すように、学習システム1には、ユーザ装置10と、学習装置100とが含まれる。図1中では図示していないが、学習システム1は、複数台のユーザ装置10や、複数台の学習装置100を含んでもよい。
As shown in FIG. 1 ,
ユーザ装置10は、ユーザによって利用される情報処理装置である。ユーザ装置10は、スマートフォン、デスクトップ型PC(Personal Computer)、ノート型PC、タブレット型PCを含む、任意のタイプの情報処理装置であってもよい。
The
図1の例では、ユーザ装置10は、広告が掲載されるコンテンツを要求するクライアント装置である。
In the example of FIG. 1,
学習装置100は、強化学習における価値(value)や方策(policy)を決定するためのモデルの学習を行う情報処理装置である。学習装置100は、サーバを含む、任意のタイプの情報処理装置であってもよい。図1中では図示していないが、学習装置100は、ネットワーク網(例えば、インターネット網)を介して、有線又は無線によりユーザ装置10と通信を行う。
The
図1の例では、ユーザ装置10のユーザの行動が、状態(state)として入力された場合に、学習装置100は、広告提供の有無(すなわち、所定の広告が提供されるか否か)を、エージェント(agent)によって取られる行動(action)として出力する。
In the example of FIG. 1, when the behavior of the user of
図1の例では、上述の状態は、ウェブ上におけるユーザ行動(すなわち、ネットワーク上のユーザの行動)である。ウェブ上におけるユーザ行動は、トップページの閲覧、ニュースの閲覧、旅行の検索、トラベルサービスの閲覧等の行動である。 In the example of FIG. 1, the above states are user behavior on the web (ie, user behavior on the network). User behavior on the web includes behavior such as viewing top pages, viewing news, searching for travel, and viewing travel services.
図1の例では、上述のエージェントの行動は、宿泊系の広告出稿である。宿泊系の広告出稿は、所定の宿泊系の広告をコンテンツに掲載するか否かを決定するという行動である。この例では、上述のエージェントは、宿泊予約を目標として、広告Y1または広告N1のうちのいずれがコンテンツに掲載されるかを決定する。 In the example of FIG. 1, the action of the agent described above is an advertisement for accommodation. Publishing an accommodation-related advertisement is an action of determining whether or not to place a predetermined accommodation-related advertisement in the content. In this example, the agent described above decides whether advertisement Y1 or advertisement N1 will be placed in the content, with the goal of lodging reservations.
ところで、強化学習では、環境から得られる報酬が最大化されるように、エージェントの行動が最適化される。エージェントは、例えば、状態が入力された場合に行動を出力するニューラルネットに代表されるモデルで表現され得る。このような最適化では、エージェントは、大量の試行を繰り返し実施する。エージェント、環境、報酬の関係に関しては、将棋やチェス等ゲームでは、エピソードの途中で、行動やエピソードを評価することが難しい場合がある。このような場合、例えば、エピソード中の行動と状態変化の報酬を、エピソードに対する報酬の平均で代用することによって、行動のモデルが最適化される場合がある。 By the way, in reinforcement learning, the behavior of the agent is optimized so that the reward obtained from the environment is maximized. An agent can be represented by a model represented by a neural network that outputs an action when a state is input, for example. In such optimization, the agent repeatedly performs a large number of trials. Regarding the relationship between agents, environments, and rewards, in games such as shogi and chess, it is sometimes difficult to evaluate actions and episodes in the middle of episodes. In such cases, the model of behavior may be optimized, for example, by substituting the average reward for the episode for the reward for actions and state changes during the episode.
上述の最適化の手法では、モデルが失敗エピソードを用いて最適化される場合に、失敗エピソード中の悪い行動は、正当に悪い例とみなされる。しかしながら、この場合、失敗エピソード中の良い行動も、失敗エピソード中の悪い行動と同様に、悪い例とみなされる。この点に関し、大量のエピソードを試行することにより、成功エピソードに含まれる個々の行動が、徐々に、良い例としてモデルの最適化に用いられると考えられる。しかしながら、このような大量のエピソードの試行は、非効率的であると考えられる。 In the optimization techniques described above, bad behavior during a failed episode is legitimately considered a bad example when the model is optimized with a failed episode. However, in this case good behavior during a failed episode is considered a bad example as well as bad behavior during a failed episode. In this regard, by trialing a large number of episodes, it is believed that individual behaviors included in successful episodes are gradually used as good examples in optimizing the model. However, trials of such a large number of episodes are considered inefficient.
また、従来、Q値(行動価値関数Q、または状態行動価値とも呼ばれる)を用いて、エージェントの行動を生成する方策を学習することが提案されている。例えば、REINFORCEアルゴリズム等の方策勾配法(policy gradient)が提案されている。REINFORCEアルゴリズムでは、Q値が、報酬の時間平均で代用される。信用割当問題(credit assignment problem)の観点からは、この報酬の時間平均を、エピソード中の行動に割り当てることが提案されている。 Also, conventionally, it has been proposed to use the Q-value (also called action-value function Q, or state-action-value) to learn a policy to generate an agent's action. For example, policy gradient methods such as the REINFORCE algorithm have been proposed. In the REINFORCE algorithm, the Q value is substituted with the time average of rewards. From the point of view of the credit assignment problem, it is proposed to assign this time-averaged reward to actions during an episode.
例えば、はじめに、報酬が、エピソードの最終状態によって決定される。次いで、最終状態によって決定された報酬が、この報酬を得るのに要した時間で平均化される。その後、平均化された報酬が、エピソード中の状態および行動に割り当てられる。これにより、報酬の時間平均が、ある時刻の状態と行動との組み合わせに割り当てられた報酬として定義される。このような技術では、エージェントの方策は、ある時刻の状態と行動との組み合わせに割り当てられた報酬を用いて、最適化される。 For example, initially the reward is determined by the final state of the episode. The reward determined by the final state is then averaged over the time it took to obtain this reward. Averaged rewards are then assigned to states and behaviors during the episode. This defines the time-averaged reward as the reward assigned to a combination of state and action at a given time. In such techniques, the agent's strategy is optimized with a reward assigned to the combination of state and action at a given time.
しかしながら、上述の技術では、エピソード中の良い行動が否定されるように、エージェントの方策が最適化される場合がある。例示のために、ある環境では、報酬が、エピソードの最終状態で初めて決定されると仮定する。このような環境の例として、囲碁(例えば、ゲームの勝敗)、広告出稿(例えば、コンバージョンの成否)等の環境が挙げられる。この例では、エージェントは、エピソードの途中では、正しい行動を選択し、その後、エピソードの最後で、間違った行動を選択する場合がある。その結果、エージェントは、このエピソードで失敗する場合がある。このような場合、エージェントは、エピソードの途中では正しい行動を選択していたにも関わらず、エージェントは、環境から報酬を取得することができない。このように、報酬は、正しい行動に割り当てられるとは限らない。エージェントの方策は、大量のエピソード(例えば、大量の成功エピソード)を学習データとして用いることにより、最適化されるかもしれない。しかしながら、方策の学習効率が悪い。 However, with the techniques described above, the agent's strategy may be optimized such that good behavior is denied during the episode. For illustration purposes, assume that in some circumstances the reward is determined only at the end state of the episode. Examples of such an environment include Go (eg, winning or losing a game), advertising placement (eg, success or failure of conversion), and the like. In this example, the agent may select the correct action in the middle of the episode and then the wrong action at the end of the episode. As a result, the agent may fail this episode. In such cases, the agent cannot obtain the reward from the environment even though the agent has chosen the correct action in the middle of the episode. Thus, rewards are not always assigned to correct actions. An agent's strategy may be optimized by using a large number of episodes (eg, a large number of successful episodes) as training data. However, policy learning efficiency is poor.
そこで、図1の例示的な実施形態では、学習装置100は、エピソード中の良い行動が評価されるように、価値の評価(例えば、Qネットワーク)やエージェントの方策(例えば、ニューラルネット)を最適化するために、以下に説明される学習処理を実行する。
Thus, in the exemplary embodiment of FIG. 1,
はじめに、学習装置100は、ウェブ上におけるユーザ行動を取得する(ステップS11)。
First, the
例えば、学習装置100は、ウェブ上におけるユーザ行動を、「状態」として取得する。「環境」は、例えば、コンテンツ配信ネットワークである。例えば、学習装置100は、環境「コンテンツ配信ネットワーク」から、状態「ウェブ上におけるユーザ行動」を取得する。上述のように、ウェブ上におけるユーザ行動は、例えば、トップページの閲覧、ニュースの閲覧、旅行の検索、トラベルサービスの閲覧等の行動である。
For example,
次いで、学習装置100は、ユーザ行動を状態としてモデルに入力し、広告提供の有無を行動として取得する(ステップS12)。
Next,
例えば、学習装置100は、ユーザ行動に対応する特徴ベクトル(素性ベクトルまたはインスタンスとも呼ばれる)をモデルに入力することによって、広告提供の有無(すなわち、所定の広告が提供されるか否か)を、エージェントによって取られる行動として出力する。
For example, the
例えば、上述のモデルが、行動や状態の価値に基づくモデル(すなわち、方策オンアルゴリズム)である場合に、学習装置100は、ユーザ行動に対応する特徴ベクトルをこのモデル(例えば、ニューラルネット)に入力することによって、所定の広告が提供される確率を出力する。そして、学習装置100は、出力された確率に基づいて、所定の広告が提供されるか否かを決定する。一方、モデルが、方策に基づくモデル(すなわち、方策オフアルゴリズム)である場合には、学習装置100は、ユーザ行動に対応する特徴ベクトルをこのモデル(例えば、Qネットワーク)に入力することによって、所定の状態(例えば、所定のユーザ行動)および所定の行動(例えば、所定の広告の提供)に対応するQ値を出力する。そして、学習装置100は、出力されたQ値に基づいて、所定の広告が提供されるか否かを決定する。例えば、学習装置100は、イプシロン貪欲法を用いて、最大のQ値に対応する行動を、所定の確率(すなわち、イプシロン)で、エージェントによって取られる行動として決定する。
For example, if the above model is a model based on behavior or state values (i.e., policy-on algorithm),
次いで、学習装置100は、広告提供の有無に応じたコンテンツを提供する(ステップS13)。
Next,
例えば、エージェントによって取られる行動が、所定の広告の提供である場合に、学習装置100は、この所定の広告が掲載されるコンテンツを、ユーザ装置10に提供する。上述のように、所定の広告は、例えば、広告Y1、広告N1等の宿泊系の広告である。
For example, when the action taken by the agent is to provide a predetermined advertisement, the
次いで、学習装置100は、ユーザ行動が所定の条件を満たす場合は、エピソードが最終状態に至ったものとして、それまでの処理ステップを、最終状態の成否に応じて評価する(ステップS14)。
Next, when the user behavior satisfies a predetermined condition, the
例えば、ステップS11において、状態(すなわち、ユーザ行動)が最終状態でない場合に、学習装置100は、ステップS11において状態が最終状態に至るまで、ステップS11、ステップS12およびステップS13の一連の処理ステップを繰り返す。上述の所定の条件は、例えば、「ユーザが、宿泊予約をする」という条件(すなわち、コンバージョン)である。上述の所定の条件は、「ユーザが、離脱する」という条件(すなわち、離脱)であってもよい。より具体的には、この条件は、「ユーザが、所定のページを終了させる」という条件であってもよい。所定のページは、例えば、トラベルサービスのページである。学習装置100は、例えば、宿泊予約の成否に応じて、ステップS11、ステップS12およびステップS13の一連の処理ステップを評価する。
For example, if the state (that is, the user behavior) is not the final state in step S11, the
図2は、処理ステップ評価処理の一例を示す図である。図2の例では、学習装置100は、上述のように、ステップS11、ステップS12およびステップS13の一連の処理ステップに対応する複数のエピソードEP11を実行する。図2の例では、状態は、ユーザ行動に対応する。また、広告出稿は、エージェントの行動に対応する。なお、「時刻」は、エージェントが環境から状態(例えば、ユーザ行動)を取得し、行動(例えば、広告出稿)を取った離散時間に対応する。図2の例では、エージェントの目標は、宿泊予約である。状態が最終状態に至った場合に、学習装置100は、エピソードの結果に応じた報酬を決定する。例えば、ユーザが、上述のステップS11において、宿泊予約をした場合に、エージェントは、環境から報酬「100」を取得する。言い換えると、学習装置100は、エピソードの結果「宿泊予約」に基づいて、値「100」を、報酬として決定する。
FIG. 2 is a diagram illustrating an example of processing step evaluation processing. In the example of FIG. 2, the
例示のために、図2の例では、学習装置100は、トラベルサービスのページの閲覧要求を、ユーザ装置10から、時刻「6」に受信すると仮定する。さらに、学習装置100は、閲覧要求を受信したことに応じて、トラベルサービスのページとともに、広告Y1をユーザ装置10に提供すると仮定する。この例では、ユーザ装置10のユーザが、トラベルサービスのページ内に表示された広告Y1を選択し、その後、宿泊予約をした場合に、エージェントは、環境から報酬「100」を取得する。
For illustrative purposes, in the example of FIG. 2, it is assumed that learning
上述の処理ステップの評価に関しては、学習装置100は、所定の状態(例えば、所定のユーザ行動)と所定の行動(例えば、所定の広告の提供)との組み合わせに対応する予約率RR11(すなわち、コンバージョン率)を集計する。例えば、学習装置100は、各処理ステップの予約率を算出する。より具体的には、学習装置100は、状態と広告出稿との組み合わせに対応する予約率を算出する。図2の例では、例えば、状態「TOPページ閲覧」と広告出稿「Y1」との組み合わせに対応する予約率は、「1%」である。このことは、ユーザ装置10のユーザが、TOPページ内に表示された広告Y1を選択し、その後、宿泊予約をする確率が、「1%」であることを意味する。そして、学習装置100は、予約率の集計結果を、報酬に反映させる。例えば、学習装置100は、状態と広告出稿との組み合わせに対応する算出された予約率と、決定された報酬との積を、この状態と広告出稿との組み合わせに対応する報酬として、再定義する。学習装置100は、例えば、状態「TOPページ閲覧」と広告出稿「Y1」との組み合わせに対応する予約率「1%」と、決定された報酬「100」との積「1」を、この状態と広告出稿との組み合わせに対応する報酬として、定義する。図2の例では、学習装置100は、複数のエピソードEP11から、報酬が再定義された複数のエピソードEP12を生成する。
Regarding the evaluation of the above-described processing steps, the
上述のように、図2の例では、学習装置100は、ステップS11、ステップS12およびステップS13の一連の処理ステップを、エピソードの最終状態の成否に応じて評価することができる。すなわち、学習装置100は、最終状態を用いて、途中の処理ステップを評価することができる。例えば、学習装置100は、この一連の処理ステップに対応する複数のエピソードを実行することによって、最終状態の成否に応じた報酬を、途中の処理ステップに与えることができる。
As described above, in the example of FIG. 2, the
図1に戻ると、次いで、学習装置100は、評価された各処理ステップの情報を用いて、モデルを更新する(ステップS15)。
Returning to FIG. 1,
例えば、学習装置100は、図2に示されるような複数のエピソードEP12を用いて、モデルを更新する。例えば、上述のモデルが、行動や状態の価値に基づくモデルである場合に、学習装置100は、複数のエピソードEP12を用いて、Q学習(Q-learning)を実行する。一方、モデルが、方策に基づくモデルである場合には、学習装置100は、複数のエピソードEP12を用いて、方策学習を行う。例えば、学習装置100は、方策勾配法を用いて、モデル(例えば、ニューラルネット)の方策を訓練することができる。
For example, the
次いで、学習装置100は、ウェブ上におけるユーザ行動を取得する(ステップS16)。
Next,
例えば、ステップS11の場合と同様に、学習装置100は、トップページの閲覧、ニュースの閲覧、旅行の検索、トラベルサービスの閲覧等の行動を取得する。
For example, as in the case of step S11, the
その後、学習装置100は、更新後のモデルによる広告提供の有無に応じたコンテンツを提供する(ステップS17)。
After that,
図2に示されるように、学習装置100は、状態と広告出稿との組み合わせに対応する予約率に基づいて、複数のエピソードの報酬を再定義する。そして、学習装置100は、報酬が再定義された複数のエピソードを用いて、モデルを更新する。図2の例では、状態「ニュース閲覧」と広告出稿「Y1」との組み合わせに対応する報酬「2」は、状態「ニュース閲覧」と広告出稿「N1」との組み合わせに対応する報酬「0.5」よりも高い。したがって、広告Y1が更新後のモデルによる広告提供の有無に応じたコンテンツに表示される確率は、広告N1が更新後のモデルによる広告提供の有無に応じたコンテンツに表示される確率よりも高い。図2の例では、状態「ニュース閲覧」と広告出稿「Y1」との組み合わせに対応する予約率「2%」は、状態「ニュース閲覧」と広告出稿「N1」との組み合わせに対応する予約率「0.5%」よりも高い。このため、学習装置100は、宿泊予約の予約率を向上させることができる。
As shown in FIG. 2, the
上述のように、実施形態に係る学習装置100は、エピソードの最終状態に基づいて、途中の処理ステップに、報酬を与える。この点に関して、学習装置100は、最終状態を評価することによってわかる、途中の処理ステップの評価を、数値化することができる。このように、学習装置100は、最終状態から得られた知見を用いて、報酬を再設計することができる。そして、学習装置100は、数値化された評価を、途中の処理ステップに、報酬として与えることができる。その結果、学習装置100は、エピソードの最終状態によって再定義された報酬情報を、強化学習の最適化問題に適用することができる。これにより、学習装置100は、エピソード中の良い行動が評価されるように、価値の評価やエージェントの方策を最適化することができる。このため、学習装置100は、強化学習の精度を向上させることができる。さらに、学習装置100は、強化学習の学習時間を短縮することができる。以下、このような学習処理を実現する学習装置100について詳細に説明する。
As described above, the
〔2.学習装置の構成〕
次に、図3を参照して、実施形態に係る学習装置100の構成例について説明する。図3は、実施形態に係る学習装置100の構成例を示す図である。図3に示すように、学習装置100は、通信部110と、記憶部120と、制御部130とを有する。なお、学習装置100は、学習装置100を利用する管理者等から各種操作を受け付ける入力部(例えば、キーボードやマウス等)や、各種情報を表示するための表示部(液晶ディスプレイ等)を有してもよい。
[2. Configuration of learning device]
Next, a configuration example of the
(通信部110)
通信部110は、例えば、NIC(Network Interface Card)等によって実現される。通信部110は、ネットワーク網と有線又は無線により接続され、ネットワーク網を介して、ユーザ装置10との間で情報の送受信を行う。
(Communication unit 110)
The communication unit 110 is realized by, for example, a NIC (Network Interface Card) or the like. The communication unit 110 is connected to a network by wire or wirelessly, and transmits and receives information to and from the
(記憶部120)
記憶部120は、例えば、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現される。図3に示すように、記憶部120は、モデル記憶部121と、学習データ記憶部122とを有する。
(storage unit 120)
The storage unit 120 is realized by, for example, a semiconductor memory device such as a RAM (Random Access Memory) or flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 3 , the storage section 120 has a
(モデル記憶部121)
モデル記憶部121は、強化学習における価値や方策を決定するためのモデル(すなわち、モデルのデータ)を記憶する。モデル記憶部121は、例えば、受信部132によって受信されたモデルを記憶する。モデル記憶部121は、強化学習における価値を決定するためのモデル(例えば、ニューラルネット)を記憶してもよい。モデル記憶部121は、強化学習における方策を決定するためのモデル(例えば、Qネットワーク)を記憶してもよい。
(Model storage unit 121)
The
(学習データ記憶部122)
学習データ記憶部122は、学習データのセット(すなわち、データセット)を記憶する。例えば、学習データ記憶部122は、処理ステップの履歴を記憶する。学習データ記憶部122は、一連の処理ステップを、経験として記憶してもよい。例えば、学習データ記憶部122は、第2取得部133、第3取得部134および提供部138によって実行された一連の処理ステップを、経験として記憶してもよい。より具体的には、学習データ記憶部122は、状態、行動、報酬、遷移先の状態、エピソードの終了フラグを示すエージェントの経験を記憶してもよい。
(Learning data storage unit 122)
The learning data storage unit 122 stores sets of learning data (that is, data sets). For example, the learning data storage unit 122 stores a history of processing steps. The learning data storage unit 122 may store a series of processing steps as experience. For example, the learning data storage unit 122 may store a series of processing steps executed by the second acquisition unit 133, the third acquisition unit 134, and the
(制御部130)
制御部130は、コントローラ(controller)であり、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)等のプロセッサによって、学習装置100内部の記憶装置に記憶されている各種プログラム(学習プログラムの一例に相当)がRAM等を作業領域として実行されることにより実現される。また、制御部130は、コントローラ(controller)であり、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現されてもよい。
(control unit 130)
The
制御部130は、図3に示すように、第1取得部131と、受信部132と、第2取得部133と、第3取得部134と、決定部135と、評価部136と、学習部137と、提供部138とを有し、以下に説明する情報処理の機能や作用を実現又は実行する。なお、制御部130の内部構成は、図3に示した構成に限られず、後述する情報処理を行う構成であれば他の構成であってもよい。
As shown in FIG. 3, the
(第1取得部131)
第1取得部131は、強化学習における価値や方策を決定するためのモデル(すなわち、モデルのデータ)を取得する。第1取得部131は、例えば、受信部132によって受信されたモデルを取得する。第1取得部131は、所定の記憶装置から、モデルを取得してもよい。例えば、第1取得部131は、上述のモデル記憶部121から、モデルを取得してもよい。第1取得部131は、取得されたモデルを、上述のモデル記憶部121に格納してもよい。
(First acquisition unit 131)
The first acquisition unit 131 acquires a model (that is, model data) for determining values and policies in reinforcement learning. The first acquisition unit 131 acquires the model received by the reception unit 132, for example. The first acquisition unit 131 may acquire the model from a predetermined storage device. For example, the first acquisition unit 131 may acquire the model from the
(受信部132)
受信部132は、強化学習における価値や方策を決定するためのモデル(すなわち、モデルのデータ)を受信する。例えば、受信部132は、所定の情報処理装置から、モデルを受信する。例えば、受信部132は、学習装置100に関係するエンティティ(例えば、企業)の装置から、モデルを受信する。受信部132は、受信されたモデルを、モデル記憶部121に格納してもよい。
(Receiver 132)
The receiving unit 132 receives a model (that is, model data) for determining values and policies in reinforcement learning. For example, the receiving unit 132 receives a model from a predetermined information processing device. For example, the receiving unit 132 receives a model from a device of an entity (for example, a company) related to the
受信部132は、状態を示す状態情報を受信する。後述されるように、状態は、強化学習におけるエージェントの状態である。受信部132は、所定の情報処理装置から、状態情報を受信する。例えば、受信部132は、学習装置100に関係するエンティティ(例えば、ユーザ、企業)の装置から、状態情報を受信する。受信部132は、受信された状態情報を、学習データ記憶部122に格納してもよい。
The receiving unit 132 receives state information indicating a state. As will be described later, the state is the state of the agent in reinforcement learning. The receiving unit 132 receives state information from a predetermined information processing device. For example, the receiving unit 132 receives status information from devices of entities (eg, users, companies) related to the
例えば、受信部132は、ユーザの行動を示す行動情報を、上述の状態情報として受信する。受信部132は、受信された行動情報を、記憶部120内の所定の記憶領域である行動情報記憶部(図示せず)に格納してもよい。 For example, the receiving unit 132 receives behavior information indicating user behavior as the above-described state information. The receiving unit 132 may store the received behavior information in a behavior information storage unit (not shown), which is a predetermined storage area within the storage unit 120 .
受信部132は、提供部138によって提供されたコンテンツを介して、ユーザの行動情報を受信してもよい。提供部138によって提供されたコンテンツは、検索、ポータル、ショッピング、オークション、ニュース、ファイナンス、旅行、飲食店紹介、スポーツ、テレビ、動画、ゲーム、地図、路線情報、料理、不動産、自動車、ブログ、結婚、漫画、占い、地域情報等のコンテンツであってもよい。
The receiving unit 132 may receive user behavior information via content provided by the providing
受信部132は、コンテンツのコンテンツ情報(すなわち、コンテンツのデータ)を受信する。例えば、受信部132は、所定の情報処理装置から、コンテンツ情報を受信する。例えば、受信部132は、学習装置100に関係するエンティティ(例えば、企業)の装置から、コンテンツ情報を受信する。受信部132は、受信されたコンテンツ情報を、記憶部120内の所定の記憶領域であるコンテンツ情報記憶部(図示せず)に格納してもよい。
The receiving unit 132 receives content information of content (that is, content data). For example, the receiving unit 132 receives content information from a predetermined information processing device. For example, the receiving unit 132 receives content information from devices of entities (for example, companies) related to the
(第2取得部133)
第2取得部133は、状態を示す状態情報を取得する。状態は、強化学習におけるエージェントの状態である。より具体的には、環境が、エージェントの行動に応じて、エージェントに状態(すなわち、状態の観測値)を返す。すなわち、状態は、観察(observation)に対応する。
(Second acquisition unit 133)
The second acquisition unit 133 acquires state information indicating a state. A state is the state of an agent in reinforcement learning. More specifically, the environment returns states (ie, state observations) to the agent in response to the agent's actions. That is, states correspond to observations.
例えば、第2取得部133は、ユーザの行動を示す行動情報を、上述の状態情報として取得する。第2取得部133は、例えば、受信部132によって受信された行動情報を取得する。第2取得部133は、所定の記憶装置から、行動情報を取得してもよい。例えば、第2取得部133は、上述の行動情報記憶部(図示せず)から、行動情報を取得してもよい。第2取得部133は、取得された行動情報を、行動情報記憶部に格納してもよい。 For example, the second acquisition unit 133 acquires behavior information indicating user behavior as the above-described state information. The second acquisition unit 133 acquires the action information received by the reception unit 132, for example. The second acquisition unit 133 may acquire behavior information from a predetermined storage device. For example, the second acquisition unit 133 may acquire behavior information from the behavior information storage unit (not shown) described above. The second acquisition unit 133 may store the acquired behavior information in the behavior information storage unit.
一例では、第2取得部133は、ウェブ上におけるユーザ行動を、「状態」(すなわち、観察)として取得する。「環境」は、例えば、コンテンツ配信ネットワークである。この例では、環境は、エージェントの行動「コンテンツ配信」に応じて、エージェントに状態「ウェブ上におけるユーザ行動」を返す。言い換えると、第2取得部133は、環境「コンテンツ配信ネットワーク」から、状態「ウェブ上におけるユーザ行動」を取得する。ウェブ上におけるユーザ行動は、例えば、トップページの閲覧、ニュースの閲覧、旅行の検索、トラベルサービスの閲覧等の行動である。 In one example, the second acquisition unit 133 acquires user behavior on the web as a “state” (that is, observation). An "environment" is, for example, a content delivery network. In this example, the environment returns to the agent the state "user behavior on the web" in response to the agent's action "content delivery". In other words, the second acquisition unit 133 acquires the state “user behavior on the web” from the environment “content distribution network”. User behavior on the web includes, for example, browsing top pages, browsing news, searching for travel, browsing travel services, and the like.
(第3取得部134)
第3取得部134は、強化学習における価値や方策を決定するためのモデルが出力した出力情報を取得する。例えば、第3取得部134は、エージェントによって取られる行動を示す出力情報を取得する。
(Third Acquisition Unit 134)
The third acquisition unit 134 acquires output information output by a model for determining values and policies in reinforcement learning. For example, the third acquisition unit 134 acquires output information indicating actions taken by the agent.
一例では、第3取得部134は、ユーザ行動を状態としてモデルに入力し、広告提供の有無を行動として取得する。 In one example, the third acquisition unit 134 inputs the user behavior as a state into the model, and acquires the presence or absence of advertisement provision as the behavior.
例えば、第3取得部134は、ユーザ行動に対応する特徴ベクトル(素性ベクトルまたはインスタンスとも呼ばれる)をモデルに入力することによって、広告提供の有無(すなわち、所定の広告が提供されるか否か)を、エージェントによって取られる行動として出力する。 For example, the third acquisition unit 134 inputs a feature vector (also called feature vector or instance) corresponding to user behavior into the model to determine whether or not an advertisement is to be provided (that is, whether or not a predetermined advertisement is to be provided). as the action taken by the agent.
例えば、上述のモデルが、行動や状態の価値に基づくモデル(すなわち、方策オンアルゴリズム)である場合に、第3取得部134は、ユーザ行動に対応する特徴ベクトルをこのモデル(例えば、ニューラルネット)に入力することによって、所定の広告が提供される確率を出力する。そして、第3取得部134は、出力された確率に基づいて、所定の広告が提供されるか否かを決定する。一方、モデルが、方策に基づくモデル(すなわち、方策オフアルゴリズム)である場合には、第3取得部134は、ユーザ行動に対応する特徴ベクトルをこのモデル(例えば、Qネットワーク)に入力することによって、所定の状態(例えば、所定のユーザ行動)および所定の行動(例えば、所定の広告の提供)に対応するQ値を出力する。そして、第3取得部134は、出力されたQ値に基づいて、所定の広告が提供されるか否かを決定する。例えば、第3取得部134は、イプシロン貪欲法を用いて、最も大きいQ値に対応する行動を、所定の確率(すなわち、イプシロン)で、エージェントによって取られる行動として決定する。 For example, if the above-mentioned model is a model based on behavior or state values (i.e. policy-on algorithm), the third acquisition unit 134 extracts feature vectors corresponding to user behavior from this model (e.g. neural network) to output the probability that a given ad will be served. Then, the third obtaining unit 134 determines whether or not a predetermined advertisement is provided based on the output probability. On the other hand, if the model is a policy-based model (i.e., off-policy algorithm), the third acquisition unit 134 inputs feature vectors corresponding to user behavior into this model (e.g., Q network) to obtain , outputs a Q-value corresponding to a given state (eg, a given user action) and a given action (eg, the serving of a given advertisement). Then, the third obtaining unit 134 determines whether or not a predetermined advertisement is provided based on the output Q value. For example, the third acquisition unit 134 uses the epsilon greedy method to determine the action corresponding to the largest Q value as the action taken by the agent with a predetermined probability (that is, epsilon).
(決定部135)
決定部135は、状態が最終状態となるまで繰り返し実行された場合は、この最終状態に応じた報酬を決定する。
(Determination unit 135)
The determining
一例では、学習装置100の第2取得部133、第3取得部134および提供部138は、上述のように、「ウェブ上におけるユーザ行動を取得する第1のステップ」、「ユーザ行動を状態としてモデルに入力し、広告提供の有無を行動として取得する第2のステップ」および「広告提供の有無に応じたコンテンツを提供する第3のステップ」の一連の処理ステップに対応する複数のエピソードを実行する。この例では、状態は、ユーザ行動に対応する。また、広告出稿は、エージェントの行動に対応する。なお、「時刻」は、エージェントが環境から状態(例えば、ユーザ行動)を取得し、行動(例えば、広告出稿)を取った離散時間に対応する。この例では、エージェントの目標は、宿泊予約である。状態が最終状態に至った場合に、決定部135は、エピソードの結果に応じた報酬を決定する。例えば、ユーザが、上述の第1のステップにおいて、宿泊予約をした場合に、エージェントは、環境から報酬「100」を取得する。言い換えると、決定部135は、エピソードの結果「宿泊予約」に基づいて、値「100」を、報酬として決定する。
In one example, the second acquiring unit 133, the third acquiring unit 134, and the providing
決定部135は、処理ステップの履歴を、学習データ記憶部122に格納してもよい。例えば、決定部135は、一連の処理ステップを、経験として蓄積してもよい。例えば、第2取得部133、第3取得部134および提供部138によって実行された一連の処理ステップを、経験として学習データ記憶部122に格納してもよい。より具体的には、決定部135は、状態、行動、報酬、遷移先の状態、エピソードの終了フラグを示すエージェントの経験を、学習データ記憶部122に格納してもよい。
The
(評価部136)
評価部136は、状態を示す状態情報をモデルに入力する入力処理と、このモデルが出力した出力情報を用いて状態を更新する更新処理とを含む処理ステップが、状態が所定の条件を満たす最終状態となるまで繰り返し実行された場合は、この最終状態に応じて、実行された各処理ステップを評価する。例えば、評価部136は、決定部135により決定された報酬に応じて、実行された各処理ステップを評価する。
(Evaluation unit 136)
The evaluation unit 136 performs an input process of inputting state information indicating a state into the model and an update process of updating the state using the output information output by the model. Each executed processing step is evaluated according to this final state when it is repeatedly executed until a state is reached. For example, the evaluation unit 136 evaluates each executed processing step according to the reward determined by the
例えば、評価部136は、最終状態が所定の目的を満たすか否かに応じて、各処理ステップを評価する。例えば、評価部136は、最終状態が所定の目的を満たす場合に実行された各処理ステップを、最終状態が所定の目的を満さない場合に実行された各処理ステップよりも高く評価する。また、例えば、評価部136は、処理ステップにおいて更新された状態が、所定の目標に近い程、この処理ステップを高く評価する。一例では、評価部136は、エージェントの行動に応じて更新された状態がトラベルサービス閲覧である場合のこのエージェントの行動に与えられる報酬が、エージェントの他の行動に応じて更新された状態が旅行検索である場合のこのエージェントの他の行動に与えられる報酬よりも高くなるように、エージェントの行動に与えられる報酬を決定する。 For example, the evaluation unit 136 evaluates each processing step according to whether the final state satisfies a predetermined objective. For example, the evaluation unit 136 evaluates each processing step performed when the final state satisfies the predetermined objective higher than each processing step performed when the final state does not satisfy the predetermined objective. Also, for example, the evaluation unit 136 highly evaluates the processing step as the state updated in the processing step is closer to a predetermined target. In one example, the evaluation unit 136 determines that the reward given to the agent's action when the state updated according to the agent's action is browsing travel services is determined to be travel when the state updated according to the agent's other action is traveling. Determine the reward given to an action of the agent to be higher than the reward given to other actions of this agent when searching.
評価部136は、状態が所定の条件を満たすまで繰り返し実行された複数の処理ステップを含むエピソードを複数取得し、取得した各エピソードにおける最終状態に応じて、各エピソードに含まれる処理ステップを評価してもよい。例えば、評価部136は、各エピソードに含まれる処理ステップにおける更新前の状態と、この処理ステップにおいてモデルが出力した出力情報との組を特定し、各エピソードに含まれる全ての処理ステップに対する各組の出現割合に基づいて、各処理ステップを評価してもよい。例えば、評価部136は、対応する組の出現頻度が高い処理ステップを、対応する組の出現頻度が低い処理ステップよりも高く評価してもよい。 The evaluation unit 136 obtains a plurality of episodes including a plurality of processing steps repeatedly executed until the state satisfies a predetermined condition, and evaluates the processing steps included in each episode according to the final state of each obtained episode. may For example, the evaluation unit 136 identifies a set of the pre-update state in the processing step included in each episode and the output information output by the model in this processing step, and sets each set for all processing steps included in each episode. Each processing step may be evaluated based on the appearance ratio of . For example, the evaluation unit 136 may evaluate a processing step with a high appearance frequency of the corresponding pair higher than a processing step with a low appearance frequency of the corresponding pair.
一例では、評価部136は、ユーザ行動が所定の条件を満たす場合は、エピソードが最終状態に至ったものとして、それまでの処理ステップを、最終状態の成否に応じて評価する。 For example, if the user behavior satisfies a predetermined condition, the evaluation unit 136 evaluates the processing steps up to that point according to the success or failure of the final state, assuming that the episode has reached the final state.
例えば、「ウェブ上におけるユーザ行動を取得する第1のステップ」において、状態(すなわち、ユーザ行動)が最終状態でない場合に、学習装置100の第2取得部133、第3取得部134および提供部138は、「ウェブ上におけるユーザ行動を取得する第1のステップ」において状態が最終状態に至るまで、「ウェブ上におけるユーザ行動を取得する第1のステップ」、「ユーザ行動を状態としてモデルに入力し、広告提供の有無を行動として取得する第2のステップ」および「広告提供の有無に応じたコンテンツを提供する第3のステップ」の一連の処理ステップを繰り返す。上述の所定の条件は、例えば、「ユーザが、宿泊予約をする」という条件(すなわち、コンバージョン)である。上述の所定の条件は、「ユーザが、離脱する」という条件(すなわち、離脱)であってもよい。より具体的には、この条件は、「ユーザが、所定のページを終了させる」という条件であってもよい。所定のページは、例えば、トラベルサービスのページである。評価部136は、例えば、宿泊予約の成否に応じて、第1のステップ、第2のステップおよび第3のステップの一連の処理ステップを評価する。
For example, in the “first step of acquiring user behavior on the web”, if the state (that is, user behavior) is not the final state, the second acquiring unit 133, the third acquiring unit 134, and the providing unit of the
一例では、評価部136は、所定の状態(例えば、所定のユーザ行動)と所定の行動(例えば、所定の広告の提供)との組み合わせに対応する予約率(すなわち、コンバージョン率)を集計する。例えば、評価部136は、各処理ステップの予約率を算出する。より具体的には、評価部136は、状態と広告出稿との組み合わせに対応する予約率を算出する。この例では、例えば、状態「TOPページ閲覧」と広告出稿「Y1」との組み合わせに対応する予約率は、「1%」である。このことは、ユーザ装置10のユーザが、TOPページ内に表示された広告Y1を選択し、その後、宿泊予約をする確率が、「1%」であることを意味する。そして、評価部136は、予約率の集計結果を、報酬に反映させる。例えば、評価部136は、状態と広告出稿との組み合わせに対応する算出された予約率と、決定された報酬との積を、この状態と広告出稿との組み合わせに対応する報酬として、再定義する。評価部136は、例えば、状態「TOPページ閲覧」と広告出稿「Y1」との組み合わせに対応する予約率「1%」と、決定部135によって決定された報酬「100」との積「1」を、この状態と広告出稿との組み合わせに対応する報酬として、定義する。この例では、評価部136は、複数のエピソードから、報酬が再定義された複数のエピソードを生成する。
In one example, the evaluator 136 aggregates booking rates (ie, conversion rates) corresponding to combinations of predetermined states (eg, predetermined user actions) and predetermined actions (eg, provision of predetermined advertisements). For example, the evaluation unit 136 calculates the reservation rate of each processing step. More specifically, the evaluation unit 136 calculates the reservation rate corresponding to the combination of the state and the placement of the advertisement. In this example, for example, the reservation rate corresponding to the combination of the state "top page viewed" and advertisement placement "Y1" is "1%". This means that the probability that the user of the
上述のように、評価部136は、「ウェブ上におけるユーザ行動を取得する第1のステップ」、「ユーザ行動を状態としてモデルに入力し、広告提供の有無を行動として取得する第2のステップ」および「広告提供の有無に応じたコンテンツを提供する第3のステップ」の一連の処理ステップを、エピソードの最終状態の成否に応じて評価することができる。すなわち、評価部136は、最終状態を用いて、途中の処理ステップを評価することができる。例えば、評価部136は、この一連の処理ステップに対応する複数のエピソードを実行することによって、最終状態の成否に応じた報酬を、途中の処理ステップに与えることができる。 As described above, the evaluation unit 136 performs the “first step of acquiring user behavior on the web” and the “second step of inputting user behavior into the model as a state and acquiring the presence or absence of advertisement provision as an action”. and "the third step of providing content according to the presence or absence of advertisements" can be evaluated according to the success or failure of the final state of the episode. That is, the evaluation unit 136 can use the final state to evaluate intermediate processing steps. For example, by executing a plurality of episodes corresponding to this series of processing steps, the evaluation unit 136 can give rewards to intermediate processing steps according to the success or failure of the final state.
(学習部137)
学習部137は、処理ステップにおいてモデルが出力した出力情報と、この処理ステップにおける更新後の状態と、この処理ステップに対する評価結果とに基づいて、モデルの学習を行う。
(Learning unit 137)
The learning unit 137 learns the model based on the output information output by the model in the processing step, the updated state in this processing step, and the evaluation result for this processing step.
一例では、学習部137は、評価部136によって評価された各処理ステップの情報を用いて、モデルを更新する。 In one example, the learning unit 137 updates the model using information on each processing step evaluated by the evaluation unit 136 .
例えば、学習部137は、学習データ記憶部122に記憶された複数のエピソードを用いて、モデルを更新する。例えば、上述のモデルが、行動や状態の価値に基づくモデルである場合に、学習部137は、学習データ記憶部122に記憶された複数のエピソードを用いて、Q学習を実行する。一方、モデルが、方策に基づくモデルである場合には、学習部137は、学習データ記憶部122に記憶された複数のエピソードを用いて、方策学習を行う。例えば、学習部137は、方策勾配法を用いて、モデル(例えば、ニューラルネット)の方策を訓練することができる。 For example, the learning unit 137 updates the model using multiple episodes stored in the learning data storage unit 122 . For example, if the above-described model is a model based on behavior or state values, the learning unit 137 uses a plurality of episodes stored in the learning data storage unit 122 to perform Q-learning. On the other hand, when the model is a policy-based model, the learning unit 137 performs policy learning using a plurality of episodes stored in the learning data storage unit 122 . For example, the learner 137 can use the policy gradient method to train the policy of the model (eg, neural net).
(提供部138)
提供部138は、ユーザ装置10に、コンテンツを提供する。提供部138は、例えば、受信部132によって受信されたコンテンツを、ユーザ装置10に提供する。提供部138は、上述のコンテンツ情報記憶部(図示せず)から、コンテンツを取得してもよい。提供部138は、取得されたコンテンツを、ユーザ装置10に提供してもよい。
(Providing unit 138)
The providing
一例では、提供部138は、広告提供の有無に応じたコンテンツを提供する。
In one example, the providing
例えば、エージェントによって取られる行動が、所定の広告の提供である場合に、提供部138は、この所定の広告が掲載されるコンテンツを、ユーザ装置10に提供する。上述のように、所定の広告は、例えば、宿泊系の広告である。
For example, when the action taken by the agent is to provide a predetermined advertisement, the providing
〔3.学習処理のフロー〕
次に、実施形態に係る学習装置100による学習処理の手順について説明する。図4は、実施形態に係る学習装置100による学習処理手順を示すフローチャートである。
[3. Flow of learning process]
Next, a procedure of learning processing by the
図4に示すように、はじめに、第1取得部131は、エージェントの行動を決定するモデルを初期化する(ステップS101)。 As shown in FIG. 4, first, the first acquisition unit 131 initializes a model that determines agent behavior (step S101).
次いで、第2取得部133は、環境から状態を取得する(ステップS102)。例えば、第2取得部133は、環境から第1の状態を取得する。 Next, the second acquisition unit 133 acquires the state from the environment (step S102). For example, the second acquisition unit 133 acquires the first state from the environment.
次いで、第3取得部134は、第2取得部133によって取得された状態を、第1取得部131によって初期化されたモデル(すなわち、エージェント)に入力することによって、このモデルから行動を取得する(ステップS103)。例えば、第3取得部134は、第2取得部133によって取得された第1の状態を、第1取得部131によって初期化されたモデルに入力することによって、このモデルから第1の行動を取得する。 Next, the third acquisition unit 134 inputs the state acquired by the second acquisition unit 133 to the model (that is, the agent) initialized by the first acquisition unit 131, thereby acquiring behavior from this model. (Step S103). For example, the third acquisition unit 134 inputs the first state acquired by the second acquisition unit 133 to the model initialized by the first acquisition unit 131, thereby acquiring the first behavior from the model. do.
次いで、第2取得部133は、取得された状態と、第3取得部134によって取得された行動とに基づいて、環境から新たな状態を取得する(ステップS104)。例えば、第2取得部133は、取得された第1の状態と、第3取得部134によって取得された第1の行動とに基づいて、環境から第2の状態を取得する。 Next, the second acquisition unit 133 acquires a new state from the environment based on the acquired state and the action acquired by the third acquisition unit 134 (step S104). For example, the second acquisition unit 133 acquires the second state from the environment based on the acquired first state and the first action acquired by the third acquisition unit 134 .
次いで、第2取得部133は、取得された状態と、第3取得部134によって取得された行動とを、ある時刻における状態および行動として、蓄積する(ステップS105)。例えば、第2取得部133は、取得された第1の状態と、第3取得部134によって取得された第1の行動とを、第1の時刻における状態および行動として、蓄積する。 Next, the second acquisition unit 133 accumulates the acquired state and the action acquired by the third acquisition unit 134 as the state and action at a certain time (step S105). For example, the second acquisition unit 133 accumulates the acquired first state and the first action acquired by the third acquisition unit 134 as the state and action at the first time.
次いで、決定部135は、状態を新たな状態に更新し、新たな状態が最終状態であるか否かを判定する(ステップS106)。例えば、決定部135は、第1の状態を第2の状態に更新し、第2の状態が最終状態であるか否かを判定する。
Next, the
新たな状態が最終状態でないと判定された場合に(ステップS106;No)、学習処理手順は、ステップS103に戻る。この場合、上述のように、第3取得部134は、この新たな状態をモデルに入力することによって、モデルから新たな行動を取得する。例えば、第3取得部134は、第2の状態をモデルに入力することによって、モデルから第2の行動を取得する。 If it is determined that the new state is not the final state (step S106; No), the learning process procedure returns to step S103. In this case, as described above, the third acquisition unit 134 acquires a new action from the model by inputting this new state into the model. For example, the third acquisition unit 134 acquires the second behavior from the model by inputting the second state into the model.
一方、新たな状態が最終状態であると判定された場合に(ステップS106;Yes)、決定部135は、エピソードに対する報酬を決定する(ステップS107)。例えば、第2の状態が最終状態であると判定された場合に、決定部135は、第1の時刻に終了するエピソードに対する報酬を決定する。
On the other hand, when it is determined that the new state is the final state (step S106; Yes), the
次いで、評価部136は、最終状態を知ることによって決定される、途中の処理ステップの報酬を、蓄積された各時刻における状態および行動の報酬として、再定義する(ステップS108)。例えば、第2の状態が最終状態であると判定された場合に、評価部136は、最終状態を知ることによって決定される、途中の処理ステップの報酬を、蓄積された第1の時刻における状態および行動の報酬として、再定義する。 Next, the evaluation unit 136 redefines the rewards for the intermediate processing steps determined by knowing the final state as the accumulated state and action rewards at each time (step S108). For example, if the second state is determined to be the final state, the evaluator 136 may replace the reward for the intermediate processing step, determined by knowing the final state, with the accumulated state at the first time. and redefine as a reward for action.
次いで、学習部137は、評価部136によって再定義された途中の処理ステップの報酬を用いて、モデルの更新を行う(ステップS109)。 Next, the learning unit 137 updates the model using the rewards for the intermediate processing steps redefined by the evaluation unit 136 (step S109).
次いで、決定部135は、エージェントが学習部137によって更新されたモデルを用いて行動を決定したエピソード(すなわち、新たなエピソード)で得られた報酬の和を算出する(ステップS110)。
Next, the
その後、決定部135は、算出された報酬の和が閾値より大きいか否かを判定する(ステップS111)。
After that, the
算出された報酬の和が閾値より大きくないと判定された場合に(ステップS111;No)、学習処理手順は、ステップS102に戻る。 When it is determined that the calculated sum of rewards is not greater than the threshold (step S111; No), the learning processing procedure returns to step S102.
一方、算出された報酬の和が閾値より大きいと判定された場合に(ステップS111;Yes)、学習処理手順は、終了する。 On the other hand, when it is determined that the calculated sum of rewards is greater than the threshold (step S111; Yes), the learning processing procedure ends.
〔4.変形例〕
上述の実施形態に係る学習装置100は、上記の実施形態以外にも、種々の異なる形態で実施されてよい。そこで、以下では、上記の学習装置100の他の実施形態について説明する。
[4. Modification]
The
〔4-1.途中の状態と最終状態とに応じた処理ステップの評価〕
評価部136は、さらに、各処理ステップにおいて更新された状態と、所定の条件が満たされた際の状態との比較結果に応じて、各処理ステップを評価してもよい。例示のために、第1の状態(例えば、ユーザ行動)が、第1のエージェントの行動に応じて、第2の状態に遷移すると仮定する。さらに、第2の状態が、第2のエージェントの行動に応じて、最終状態(例えば、コンバージョン)に遷移すると仮定する。この例では、第1のエージェントの行動は、第2の状態から最終状態への遷移に、間接的に貢献している。したがって、評価部136は、第1のエージェントの行動に、最終状態に基づく報酬を与えてもよい。
[4-1. Evaluation of processing steps according to intermediate state and final state]
The evaluation unit 136 may further evaluate each processing step according to a comparison result between the state updated in each processing step and the state when a predetermined condition is satisfied. For purposes of illustration, assume that a first state (eg, user action) transitions to a second state in response to action of a first agent. Further assume that the second state transitions to a final state (eg, conversion) in response to the action of the second agent. In this example, the first agent's actions indirectly contribute to the transition from the second state to the final state. Therefore, the evaluator 136 may reward actions of the first agent based on the final state.
〔4-2.順序に応じた処理ステップの評価〕
評価部136は、状態が所定の条件を満たすまで繰り返し実行された各処理ステップを、各処理ステップが実行された順序に応じて評価してもよい。例えば、評価部136は、各処理ステップが実行された順序に基づいて、各処理ステップの割引率(discount rate)を決定してもよい。そして、評価部136は、決定された割引率に基づいて、状態が所定の条件を満たすまで繰り返し実行された各処理ステップを評価してもよい。例えば、評価部136は、決定された割引率に基づいて、状態が所定の条件を満たすまで繰り返し実行された各処理ステップに対応する報酬を決定してもよい。
[4-2. Evaluation of processing steps according to order]
The evaluation unit 136 may evaluate each processing step repeatedly executed until the state satisfies a predetermined condition, according to the order in which each processing step was executed. For example, the evaluator 136 may determine a discount rate for each processing step based on the order in which each processing step was performed. Then, the evaluation unit 136 may evaluate each processing step repeatedly performed until the state satisfies a predetermined condition based on the determined discount rate. For example, based on the determined discount rate, the evaluation unit 136 may determine a reward corresponding to each processing step repeatedly performed until the state satisfies a predetermined condition.
〔4-3.成功エピソードにつながる報酬の推定〕
評価部136は、状態を示す状態情報をモデルに入力する入力処理と、このモデルが出力した出力情報を用いて状態を更新する更新処理とを含む処理ステップが、状態が所定の条件を満たす最終状態となるまで繰り返し実行された場合は、この最終状態につながる報酬を推定することによって、実行された各処理ステップを評価してもよい。例えば、評価部136は、成功エピソードに対応するエージェントの行動を、エキスパート(すなわち、優秀なエージェント)の行動として決定してもよい。加えて、評価部136は、所定の報酬関数を用いて、モデルを訓練してもよい。そして、評価部136は、逆強化学習の手法を用いて、モデルの出力と、エキスパートの行動とを比較し、比較結果に基づいて、報酬関数を更新してもよい。これにより、評価部136は、上述の最終状態につながる報酬を推定することができる。
[4-3. Estimation of Rewards Leading to Successful Episodes]
The evaluation unit 136 performs an input process of inputting state information indicating a state into the model and an update process of updating the state using the output information output by the model. If performed repeatedly until a state is reached, each processing step performed may be evaluated by estimating the reward leading to this final state. For example, the evaluation unit 136 may determine the action of the agent corresponding to the successful episode as the action of an expert (that is, an excellent agent). Additionally, the evaluator 136 may train the model using a predetermined reward function. Then, the evaluation unit 136 may use a method of inverse reinforcement learning to compare the output of the model and the action of the expert, and update the reward function based on the comparison result. This allows the evaluator 136 to estimate the rewards leading to the final state described above.
〔4-4.適用可能なドメイン〕
上記の例示的な実施形態では、学習装置100は、広告出稿に関する処理ステップを評価し、評価結果を用いてモデルの学習を行っているが、これに限定されるものではない。実施形態に係る学習装置100は、広告出稿以外のドメインに適用することができる。処理ステップの評価に関しては、例えば、評価部136は、各処理ステップにおける状態と、最終状態との差に基づいて、各処理ステップにおける状態を評価することができる。評価部136は、各処理ステップにおける状態を評価するための任意の設定を採用することができる。
[4-4. Applicable domain]
In the exemplary embodiment described above, the
例えば、実施形態に係る学習装置100は、経路の予測に適用されてもよい。一例では、経路の予測は、野球の外野フライである。この例では、各処理ステップにおける状態および行動は、ボールの位置、野手の行動(例えば、野手の位置、グラブの高さ)にそれぞれ対応する。最終状態は、捕球の成功または失敗に対応する。例えば、評価部136は、各処理ステップにおける状態「ボールの位置」と、最終状態「野手が捕球した位置」または最終状態「野手が捕球し損なった位置」との差に基づいて、各処理ステップにおける状態「野手の位置」を評価してもよい。別の例では、経路の予測は、飛翔体の迎撃である。この例では、各処理ステップにおける状態および行動は、飛翔体の位置、迎撃弾の位置にそれぞれ対応する。最終状態は、迎撃の成功または失敗に対応する。例えば、評価部136は、各処理ステップにおける状態「飛翔体の位置」と、最終状態「迎撃システムが飛翔対を迎撃した位置」または最終状態「迎撃システムが飛翔対を迎撃し損なった位置」との差に基づいて、各処理ステップにおける状態「飛翔体の位置」を評価してもよい。
For example, the
また、例えば、実施形態に係る学習装置100は、経路の探索に適用されてもよい。一例では、経路の探索は、迷路の探索である。この例では、各処理ステップにおける状態および行動は、迷路内の壁の位置、エージェントの移動動作にそれぞれ対応する。最終状態は、所定時間内におけるゴールへの到達の成功または失敗に対応する。例えば、評価部136は、各処理ステップにおける状態「迷路内の壁の位置」と、最終状態「ゴールに到達するのにかかった時間」との差に基づいて、各処理ステップにおける状態「エージェントの移動動作」を評価してもよい。
Also, for example, the
〔5.その他〕
また、上記実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の一部を手動的に行うこともできる。あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。例えば、各図に示した各種情報は、図示した情報に限られない。
[5. others〕
Also, among the processes described in the above embodiments, some of the processes described as being automatically performed can also be performed manually. Alternatively, all or part of the processes described as being performed manually can be performed automatically by known methods. In addition, information including processing procedures, specific names, various data and parameters shown in the above documents and drawings can be arbitrarily changed unless otherwise specified. For example, the various information shown in each drawing is not limited to the illustrated information.
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 Also, each component of each device illustrated is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution and integration of each device is not limited to the one shown in the figure, and all or part of them can be functionally or physically distributed and integrated in arbitrary units according to various loads and usage conditions. Can be integrated and configured.
例えば、図3に示した記憶部120の一部又は全部は、学習装置100によって保持されるのではなく、ストレージサーバ等に保持されてもよい。この場合、学習装置100は、ストレージサーバにアクセスすることで、モデルや学習データ等の各種情報を取得する。
For example, part or all of the storage unit 120 shown in FIG. In this case, the
〔6.ハードウェア構成〕
また、上述してきた実施形態に係る学習装置100は、例えば図5に示すような構成のコンピュータ1000によって実現される。図5は、ハードウェア構成の一例を示す図である。コンピュータ1000は、出力装置1010、入力装置1020と接続され、演算装置1030、一次記憶装置1040、二次記憶装置1050、出力IF(Interface)1060、入力IF1070、ネットワークIF1080がバス1090により接続された形態を有する。
[6. Hardware configuration]
Also, the
演算装置1030は、一次記憶装置1040や二次記憶装置1050に格納されたプログラムや入力装置1020から読み出したプログラム等に基づいて動作し、各種の処理を実行する。一次記憶装置1040は、RAM等、演算装置1030が各種の演算に用いるデータを一時的に記憶するメモリ装置である。また、二次記憶装置1050は、演算装置1030が各種の演算に用いるデータや、各種のデータベースが登録される記憶装置であり、ROM(Read Only Memory)、HDD、フラッシュメモリ等により実現される。
The
出力IF1060は、モニタやプリンタといった各種の情報を出力する出力装置1010に対し、出力対象となる情報を送信するためのインタフェースであり、例えば、USB(Universal Serial Bus)やDVI(Digital Visual Interface)、HDMI(登録商標)(High Definition Multimedia Interface)といった規格のコネクタにより実現される。また、入力IF1070は、マウス、キーボード、およびスキャナ等といった各種の入力装置1020から情報を受信するためのインタフェースであり、例えば、USB等により実現される。
The output IF 1060 is an interface for transmitting information to be output to the
なお、入力装置1020は、例えば、CD(Compact Disc)、DVD(Digital Versatile Disc)、PD(Phase change rewritable Disk)等の光学記録媒体、MO(Magneto-Optical disk)等の光磁気記録媒体、テープ媒体、磁気記録媒体、または半導体メモリ等から情報を読み出す装置であってもよい。また、入力装置1020は、USBメモリ等の外付け記憶媒体であってもよい。 Note that the input device 1020 includes, for example, optical recording media such as CDs (Compact Discs), DVDs (Digital Versatile Discs), PDs (Phase change rewritable discs), magneto-optical recording media such as MOs (Magneto-Optical discs), and tapes. It may be a device that reads information from a medium, a magnetic recording medium, a semiconductor memory, or the like. Also, the input device 1020 may be an external storage medium such as a USB memory.
ネットワークIF1080は、ネットワークNを介して他の機器からデータを受信して演算装置1030へ送り、また、ネットワークNを介して演算装置1030が生成したデータを他の機器へ送信する。
Network IF 1080 receives data from other devices via network N and sends the data to
演算装置1030は、出力IF1060や入力IF1070を介して、出力装置1010や入力装置1020の制御を行う。例えば、演算装置1030は、入力装置1020や二次記憶装置1050からプログラムを一次記憶装置1040上にロードし、ロードしたプログラムを実行する。
The
例えば、コンピュータ1000が学習装置100として機能する場合、コンピュータ1000の演算装置1030は、一次記憶装置1040上にロードされたプログラムを実行することにより、制御部130の機能を実現する。
For example, when computer 1000 functions as learning
〔7.効果〕
上述してきたように、実施形態に係る学習装置100は、評価部136と、学習部137とを有する。評価部136は、状態を示す状態情報をモデルに入力する入力処理と、このモデルが出力した出力情報を用いて状態を更新する更新処理とを含む処理ステップが、状態が所定の条件を満たす最終状態となるまで繰り返し実行された場合は、この最終状態に応じて、実行された各処理ステップを評価する。学習部137は、処理ステップにおいてモデルが出力した出力情報と、この処理ステップにおける更新後の状態と、この処理ステップに対する評価結果とに基づいて、モデルの学習を行う。
[7. effect〕
As described above, the
また、実施形態に係る学習装置100は、状態が最終状態となるまで繰り返し実行された場合は、この最終状態に応じた報酬を決定する決定部135を有する。また、実施形態に係る学習装置100において、評価部136は、決定部135により決定された報酬に応じて、実行された各処理ステップを評価する。
Further, the
また、実施形態に係る学習装置100において、評価部136は、最終状態が所定の目的を満たすか否かに応じて、各処理ステップを評価する。
Also, in the
また、実施形態に係る学習装置100において、評価部136は、最終状態が所定の目的を満たす場合に実行された各処理ステップを、最終状態が所定の目的を満さない場合に実行された各処理ステップよりも高く評価する。
In addition, in the
また、実施形態に係る学習装置100において、評価部136は、さらに、各処理ステップにおいて更新された状態と、所定の条件が満たされた際の状態との比較結果に応じて、各処理ステップを評価する。
In addition, in the
また、実施形態に係る学習装置100において、評価部136は、処理ステップにおいて更新された状態が、所定の目標に近い程、この処理ステップを高く評価する。
In addition, in the
また、実施形態に係る学習装置100において、評価部136は、状態が所定の条件を満たすまで繰り返し実行された複数の処理ステップを含むエピソードを複数取得し、取得した各エピソードにおける最終状態に応じて、各エピソードに含まれる処理ステップを評価する。
Moreover, in the
また、実施形態に係る学習装置100において、評価部136は、各エピソードに含まれる処理ステップにおける更新前の状態と、この処理ステップにおいてモデルが出力した出力情報との組を特定し、各エピソードに含まれる全ての処理ステップに対する各組の出現割合に基づいて、各処理ステップを評価する。
Further, in the
また、実施形態に係る学習装置100において、評価部136は、対応する組の出現頻度が高い処理ステップを、対応する組の出現頻度が低い処理ステップよりも高く評価する。
In addition, in the
また、実施形態に係る学習装置100において、評価部136は、状態が所定の条件を満たすまで繰り返し実行された各処理ステップを、各処理ステップが実行された順序に応じて評価する。
Also, in the
上述した各処理により、学習装置100は、強化学習のパフォーマンスを改善することができる。
Through the above-described processes, the
以上、本願の実施形態のいくつかを図面に基づいて詳細に説明したが、これらは例示であり、発明の開示の欄に記載の態様を始めとして、当業者の知識に基づいて種々の変形、改良を施した他の形態で本発明を実施することが可能である。 As described above, some of the embodiments of the present application have been described in detail based on the drawings. It is possible to carry out the invention in other forms with modifications.
また、上述した学習装置100は、複数のサーバコンピュータで実現してもよく、また、機能によっては外部のプラットフォーム等をAPI(Application Programming Interface)やネットワークコンピューティングなどで呼び出して実現するなど、構成は柔軟に変更できる。
Further, the
また、上述してきた「部(section、module、unit)」は、「手段」や「回路」などに読み替えることができる。例えば、第1取得部は、第1取得手段や第1取得回路に読み替えることができる。 Also, the above-mentioned "section, module, unit" can be read as "means" or "circuit". For example, the first acquisition unit can be read as a first acquisition means or a first acquisition circuit.
1 学習システム
10 ユーザ装置
100 学習装置
110 通信部
120 記憶部
121 モデル記憶部
122 学習データ記憶部
130 制御部
131 第1取得部
132 受信部
133 第2取得部
134 第3取得部
135 決定部
136 評価部
137 学習部
138 提供部
1 learning
Claims (14)
前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに与えられた報酬とに基づいて、前記モデルの学習を行う学習部と
を有することを特徴とする学習装置。 A processing step including an input process of inputting state information indicating a state into a model and an update process of updating the state using the output information output by the model is a final state in which the state satisfies a predetermined condition. an evaluator that rewards each executed processing step according to its final state if repeatedly executed to
a learning unit that learns the model based on the output information output by the model in the processing step, the updated state in the processing step , and the reward given to the processing step; and learning device.
を有し、
前記評価部は、前記決定部により決定された報酬に応じて、実行された各処理ステップに報酬を与える
ことを特徴とする請求項1に記載の学習装置。 a determination unit that determines a reward according to the final state when the state is repeatedly executed until the final state is reached;
The evaluator rewards each performed processing step according to the reward determined by the determiner.
2. The learning device according to claim 1, wherein:
ことを特徴とする請求項1または2に記載の学習装置。 The evaluator rewards each processing step according to whether the final state satisfies a predetermined objective.
3. The learning device according to claim 1 or 2, characterized in that:
ことを特徴とする請求項3に記載の学習装置。 The evaluator rewards each processing step performed when the final state satisfies a predetermined objective higher than each processing step performed when the final state fails to satisfy a predetermined objective.
4. The learning device according to claim 3, characterized in that:
ことを特徴とする請求項1~3のうちいずれか1つに記載の学習装置。 The evaluation unit further rewards each processing step according to a comparison result between the state updated in each processing step and the state when the predetermined condition is satisfied.
4. The learning device according to any one of claims 1 to 3, characterized in that:
ことを特徴とする請求項4に記載の学習装置。 The evaluation unit gives a higher reward to the processing step as the state updated in the processing step is closer to a predetermined target.
5. The learning device according to claim 4, characterized in that:
ことを特徴とする請求項1~6のうちいずれか1つに記載の学習装置。 The evaluation unit obtains a plurality of episodes including a plurality of processing steps repeatedly executed until the state satisfies a predetermined condition , and rewards the processing steps included in each episode according to the final state of each obtained episode. give
The learning device according to any one of claims 1 to 6, characterized in that:
ことを特徴とする請求項1~7のうちいずれか1つに記載の学習装置。 The evaluator rewards each processing step repeatedly executed until the state satisfies a predetermined condition, according to the order in which the processing steps were executed .
The learning device according to any one of claims 1 to 7 , characterized in that:
前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに対する評価結果とに基づいて、前記モデルの学習を行う学習部とa learning unit that learns the model based on the output information output by the model in the processing step, the updated state in the processing step, and the evaluation result for the processing step;
を有し、has
前記評価部は、前記状態が所定の条件を満たすまで繰り返し実行された複数の処理ステップを含むエピソードを複数取得し、各エピソードに含まれる処理ステップにおける更新前の状態と、当該処理ステップにおいて前記モデルが出力した出力情報との組を特定し、取得した各エピソードにおける最終状態と、各エピソードに含まれる全ての処理ステップに対する各組の出現割合とに基づいて、各処理ステップを評価するThe evaluation unit acquires a plurality of episodes including a plurality of processing steps that are repeatedly executed until the state satisfies a predetermined condition, and acquires a state before updating in the processing steps included in each episode and the model in the processing steps. Each processing step is evaluated based on the obtained final state in each episode and the appearance ratio of each set to all processing steps included in each episode.
ことを特徴とする学習装置。A learning device characterized by:
ことを特徴とする請求項9に記載の学習装置。 The evaluation unit identifies a set of a pre-update state in a processing step included in each episode and output information output by the model in the processing step, and determines each set for all processing steps included in each episode. 10. The learning device according to claim 9 , wherein each processing step is evaluated based on the appearance ratio.
状態を示す状態情報をモデルに入力する入力処理と、当該モデルが出力した出力情報を用いて前記状態を更新する更新処理とを含む処理ステップが、前記状態が所定の条件を満たす最終状態となるまで繰り返し実行された場合は、当該最終状態に応じて、実行された各処理ステップに報酬を与える評価工程と、
前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに与えられた報酬とに基づいて、前記モデルの学習を行う学習工程と
を含むことを特徴とする学習方法。 A learning method executed by a learning device,
A processing step including an input process of inputting state information indicating a state into a model and an update process of updating the state using the output information output by the model is a final state in which the state satisfies a predetermined condition. an evaluation step that rewards each processing step performed according to its final state if iteratively performed to
a learning step of learning the model based on the output information output by the model in the processing step, the updated state in the processing step , and the reward given to the processing step. and learning method.
状態を示す状態情報をモデルに入力する入力処理と、当該モデルが出力した出力情報を用いて前記状態を更新する更新処理とを含む処理ステップが、前記状態が所定の条件を満たす最終状態となるまで繰り返し実行された場合は、当該最終状態に応じて、実行された各処理ステップを評価する評価工程と、A processing step including an input process of inputting state information indicating a state into a model and an update process of updating the state using the output information output by the model is a final state in which the state satisfies a predetermined condition. an evaluation step of evaluating each executed processing step according to the final state when repeatedly executed until
前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに対する評価結果とに基づいて、前記モデルの学習を行う学習工程とa learning step of learning the model based on the output information output by the model in the processing step, the updated state in the processing step, and the evaluation result for the processing step;
を含む、including,
前記評価工程は、前記状態が所定の条件を満たすまで繰り返し実行された複数の処理ステップを含むエピソードを複数取得し、各エピソードに含まれる処理ステップにおける更新前の状態と、当該処理ステップにおいて前記モデルが出力した出力情報との組を特定し、取得した各エピソードにおける最終状態と、各エピソードに含まれる全ての処理ステップに対する各組の出現割合とに基づいて、各処理ステップを評価するThe evaluation step acquires a plurality of episodes including a plurality of processing steps that are repeatedly executed until the state satisfies a predetermined condition, and obtains a state before updating in the processing steps included in each episode and the model in the processing steps. Each processing step is evaluated based on the obtained final state in each episode and the appearance ratio of each set to all processing steps included in each episode.
ことを特徴とする学習方法。A learning method characterized by:
前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに与えられた報酬とに基づいて、前記モデルの学習を行う学習手順と
をコンピュータに実行させるための学習プログラム。 A processing step including an input process of inputting state information indicating a state into a model and an update process of updating the state using the output information output by the model is a final state in which the state satisfies a predetermined condition. an evaluation procedure that rewards each executed processing step according to its final state if repeatedly executed to
causing a computer to execute a learning procedure for learning the model based on the output information output by the model in the processing step, the updated state in the processing step , and the reward given to the processing step study program for
前記処理ステップにおいて前記モデルが出力した出力情報と、当該処理ステップにおける更新後の状態と、当該処理ステップに対する評価結果とに基づいて、前記モデルの学習を行う学習手順とa learning procedure for learning the model based on the output information output by the model in the processing step, the updated state in the processing step, and the evaluation result for the processing step;
をコンピュータに実行させ、on the computer, and
前記評価手順は、前記状態が所定の条件を満たすまで繰り返し実行された複数の処理ステップを含むエピソードを複数取得し、各エピソードに含まれる処理ステップにおける更新前の状態と、当該処理ステップにおいて前記モデルが出力した出力情報との組を特定し、取得した各エピソードにおける最終状態と、各エピソードに含まれる全ての処理ステップに対する各組の出現割合とに基づいて、各処理ステップを評価するThe evaluation procedure obtains a plurality of episodes including a plurality of processing steps that are repeatedly executed until the state satisfies a predetermined condition, and acquires a state before updating in the processing steps included in each episode and the model in the processing step. Each processing step is evaluated based on the obtained final state in each episode and the appearance ratio of each set to all processing steps included in each episode.
ことを特徴とする学習プログラム。A learning program characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019094866A JP7142605B2 (en) | 2019-05-20 | 2019-05-20 | LEARNING DEVICE, LEARNING METHOD AND LEARNING PROGRAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019094866A JP7142605B2 (en) | 2019-05-20 | 2019-05-20 | LEARNING DEVICE, LEARNING METHOD AND LEARNING PROGRAM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020190853A JP2020190853A (en) | 2020-11-26 |
| JP7142605B2 true JP7142605B2 (en) | 2022-09-27 |
Family
ID=73454561
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019094866A Active JP7142605B2 (en) | 2019-05-20 | 2019-05-20 | LEARNING DEVICE, LEARNING METHOD AND LEARNING PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7142605B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102551773B1 (en) * | 2020-12-14 | 2023-07-06 | 네이버 주식회사 | Place recommendation method and system |
| JP2024036985A (en) * | 2022-09-06 | 2024-03-18 | 三菱重工業株式会社 | Learning system, learning method, learning program and autonomous control device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005056185A (en) | 2003-08-05 | 2005-03-03 | Techno Face:Kk | Hierarchical agent learning method and system |
| JP2011204036A (en) | 2010-03-25 | 2011-10-13 | Institute Of National Colleges Of Technology Japan | Experience reinforcement type reinforcement learning system, experience reinforcement type reinforcement learning method and experience reinforcement type reinforcement learning program |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09245012A (en) * | 1996-03-08 | 1997-09-19 | Mitsubishi Electric Corp | Learning control method |
| JPH1115807A (en) * | 1997-06-19 | 1999-01-22 | Matsushita Electric Ind Co Ltd | Learning method of classifier system |
-
2019
- 2019-05-20 JP JP2019094866A patent/JP7142605B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005056185A (en) | 2003-08-05 | 2005-03-03 | Techno Face:Kk | Hierarchical agent learning method and system |
| JP2011204036A (en) | 2010-03-25 | 2011-10-13 | Institute Of National Colleges Of Technology Japan | Experience reinforcement type reinforcement learning system, experience reinforcement type reinforcement learning method and experience reinforcement type reinforcement learning program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020190853A (en) | 2020-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112182360B (en) | Personalized Recommenders with Limited Data Availability | |
| US10332015B2 (en) | Particle thompson sampling for online matrix factorization recommendation | |
| US12511558B2 (en) | System and method for explainable embedding-based recommendation system | |
| CN112149824B (en) | Method and device for updating recommendation model by game theory | |
| US20190295113A1 (en) | Api pricing based on relative value of api for its consumers | |
| Kumar et al. | Learning and optimizing through dynamic pricing | |
| CN114564644B (en) | Model training and resource recommending method and device, electronic equipment and storage medium | |
| Song et al. | Personalized menu optimization with preference updater: a Boston case study | |
| US20190303994A1 (en) | Recommendation System using Linear Stochastic Bandits and Confidence Interval Generation | |
| CN109471978B (en) | Electronic resource recommendation method and device | |
| CN113902473A (en) | Training method and device of business prediction system | |
| JP7142605B2 (en) | LEARNING DEVICE, LEARNING METHOD AND LEARNING PROGRAM | |
| US20140278723A1 (en) | Methods and systems for predicting workflow preferences | |
| CN116955812A (en) | Training method of recommendation model, pushing method, device and equipment of resource object | |
| JP2020149363A (en) | Information processing equipment, information processing methods and information processing programs | |
| WO2024152686A1 (en) | Method and apparatus for determining recommendation index of resource information, device, storage medium and computer program product | |
| CN116957688A (en) | Recommended prediction model training method, prediction method, device, equipment and medium | |
| JP7077185B2 (en) | Information processing equipment, information processing methods, and information processing programs | |
| US20140188617A1 (en) | Method and system for providing dynamic consumer offers | |
| Ezra et al. | Prophet inequality with competing agents | |
| CN116562982A (en) | Offline article recommendation method, device, equipment and storage medium | |
| JP2022151738A (en) | Method, device and program for data processing | |
| JP2023079293A (en) | Information processing device, information processing system, information processing method, and program | |
| Vijayalakshmi et al. | Reputation-based reinforcement algorithm for motivation in crowdsourcing platform | |
| JP7779759B2 (en) | Information processing device, information processing method, and information processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20191101 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20191108 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210317 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220216 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220301 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220502 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220823 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220913 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7142605 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |