[論文レビュー] Deconstructing deep active inference
この論文は、変分自己オートエンコーダーから始めて段階的に階層的生成モデルを構築・評価することで、深層アクティブインファレンス(DAI)を解体的に分析している。標準的な期待自由エネルギーの定式化が、認識的不確実性の最小化に起因し、エージェントが一貫して単一の行動(例:'down')に固定されてしまう退化した探索を引き起こすことが判明した。これは、高い予測精度を達成しても、タスク性能が著しく低下する要因となっている。
Active inference is a theory of perception, learning and decision making, which can be applied to neuroscience, robotics, and machine learning. Recently, reasearch has been taking place to scale up this framework using Monte-Carlo tree search and deep learning. The goal of this activity is to solve more complicated tasks using deep active inference. First, we review the existing literature, then, we progresively build a deep active inference agent. For two agents, we have experimented with five definitions of the expected free energy and three different action selection strategies. According to our experiments, the models able to solve the dSprites environment are the ones that maximise rewards. Finally, we compare the similarity of the representation learned by the layers of various agents using centered kernel alignment. Importantly, the agent maximising reward and the agent minimising expected free energy learn very similar representations except for the last layer of the critic network (reflecting the difference in learning objective), and the variance layers of the transition and encoder networks. We found that the reward maximising agent is a lot more certain than the agent minimising expected free energy. This is because the agent minimising expected free energy always picks the action down, and does not gather enough data for the other actions. In contrast, the agent maximising reward, keeps on selecting the actions left and right, enabling it to successfully solve the task. The only difference between those two agents is the epistemic value, which aims to make the outputs of the transition and encoder networks as close as possible. Thus, the agent minimising expected free energy picks a single action (down), and becomes an expert at predicting the future when selecting this action. This makes the KL divergence between the output of the transition and encoder networks small.
研究の動機と目的
- 変分自己オートエンコーダーやHMMのような基本的コンponentsから段階的に深層アクティブインファレンスエージェントを構築すること。
- 異なる期待自由エネルギーの定式化と行動選択戦略がタスク性能に与える影響を評価すること。
- 理論的には有望であるにもかかわらず、dSpritesのような複雑なタスクを解けない深層アクティブインファレンスエージェントの理由を調査すること。
- 中心化カーネル整合性を用いて、DAI、DQN、CHMMモデル間の学習済み表現の類似性を比較すること。
- 期待自由エネルギーの実装に起因する一貫性の欠如を特定・是正し、病理的行動を引き起こす要因を解明すること。
提案手法
- VAE → ディープHMM → クリティカルHMM(CHMM)→ 全体のDAIの順に段階的に深層アクティブインファレンスエージェントを構築した。
- 期待自由エネルギーの5通りの定式化と、3通りの行動選択戦略(グリーディ、ソフトマックス、イプシロングリーディ)を実装した。
- 計画にはモンテカルロ木探索を用い、画像観測に基づくdSprites環境でエージェントを訓練した。
- 中心化カーネル整合性を用いて、モデル間(DAI、DQN、CHMM)の表現類似性を比較した。
- 遷移およびエンコーダー・ネットワークの分散層に対するアブレーションスタディを実施し、不確実性と自信の分析を行った。
- 訓練中の行動選択分布と報酬ダイナミクスの可視化による結果の妥当性を検証した。
実験結果
リサーチクエスチョン
- RQ1なぜ深層アクティブインファレンスエージェントは、高度なディープラーニングコンponentsを用いているにもかかわらず、dSpritesのような画像ベースのタスクを解けないのか?
- RQ2期待自由エネルギーの定式化の選択が、探索行動とタスク性能にどのように影響を与えるか?
- RQ3認識的不確実性が、エージェントが一貫して単一の行動に固定される原因となるメカニズムは何か?
- RQ4dSprites環境において、DAI、DQN、CHMMエージェントが学習した表現はどれほど類似しているか?
- RQ5DAIエージェントにおけるソフトマックスサンプリングが、Q値の差が小さい場合にランダムまたは効果のない行動選択を引き起こす可能性はあり得るか?
主な発見
- 期待自由エネルギーを最小化するCHMMは、一貫して'down'行動のみを選択し、他の行動の探索が行われない。これは、遷移予測に対する過剰な自信に起因する。
- 報酬を最大化するCHMMは、左・右の行動を積極的に探索し、タスクを正常に解消できる。両者には同一のアーキテクチャと訓練設定があるが、唯一の差異は認識的価値項である。
- 両CHMMの唯一の差は、認識的価値項であり、これは遷移ネットワークとエンコーダー・ネットワーク出力間のKLダイバージェンスを最小化するように駆動する。
- 報酬最大化CHMMの遷移ネットワークは、期待自由エネルギー最小化CHMMと比べて、特に'down'以外の行動に対してははるかに高い確信度を持つ。
- 期待自由エネルギー最小化エージェントは、'down'の結果予測に熟達しているが、他の行動のデータ収集が一切行われないため、一般化性能が著しく劣る。
- DAIエージェントにおけるソフトマックスサンプリングは、Q値の差が小さい場合にランダムな行動選択を引き起こす可能性があり、失敗の根本原因は表現ではなく行動選択メカニズムにある可能性がある。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。