Skip to main content
QUICK REVIEW

[논문 리뷰] Deconstructing deep active inference

Théophile Champion, Marek Grześ|arXiv (Cornell University)|2023. 03. 02.
Explainable Artificial Intelligence (XAI)Computer Science인용 수 3
한 줄 요약

이 논문은 변분 autoencoder에서 시작하여 전체 DAI 에이전트에 이르기까지 계층적 생성 모델을 체계적으로 구축하고 평가함으로써 딥 액티브 인퍼런스(DAI)를 분해한다. 표준 기대 자유 에너지 공식이 지식적 불확실성 최소화로 인해 탐색이 비효율적인 상태—즉, 에이전트가 한 가지 행동(예: '아래')에만 집중하는 상태—로 이어져, 예측 정확도는 높지만 과제 성능이 떨어지게 된다고 규명한다.

ABSTRACT

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.

연구 동기 및 목표

  • 변분 autoencoder와 HMM과 같은 기본 구성 요소에서 시작하여 딥 액티브 인퍼런스 에이전트를 체계적으로 구축하는 것.
  • 다양한 기대 자유 에너지 공식과 행동 선택 전략이 과제 성능에 미치는 영향을 평가하는 것.
  • 딥 액티브 인퍼런스 에이전트가 이론적으로는 유망하지만, dSprites와 같은 복잡한 과제를 해결하지 못하는 이유를 조사하는 것.
  • 중심화된 커널 정렬을 사용하여 DAI, DQN, CHMM 모델 간의 학습된 표현 유사성을 비교하는 것.
  • 기대 자유 에너지의 구현에서 발생하는 모순을 규명하고, 이로 인해 발생하는 병태적 행동을 해결하는 것.

제안 방법

  • VAE → 딥 HMM → 핵심 HMM(CHMM) → 전체 DAI의 단계별로 딥 액티브 인퍼런스 에이전트를 구축함.
  • 기대 자유 에너지의 다섯 가지 공식과 세 가지 행동 선택 전략(탐욕적, 소프트맥스, 이psilon-탐욕적)을 구현함.
  • 계획을 위해 몬테카를로 트리 검색을 사용하고, 이미지 기반 관측을 갖춘 dSprites 환경에서 에이전트를 훈련시킴.
  • DAI, DQN, CHMM 모델 간의 표현 유사성을 비교하기 위해 중심화된 커널 정렬을 적용함.
  • 전이 및 인코더 네트워크의 분산 레이어에 대한 추론 실험을 통해 불확실성과 자신감을 분석함.
  • 훈련 중 행동 선택 분포와 보상 동역학의 시각적 점검을 통해 결과를 검증함.

실험 결과

연구 질문

  • RQ1딥 액티브 인퍼런스 에이전트가 고급 딥 러닝 컴포넌트를 사용하고도 이미지 기반 과제인 dSprites를 해결하지 못하는 이유는 무엇인가?
  • RQ2기대 자유 에너지 공식의 선택이 탐색과 과제 성능에 어떤 영향을 미치는가?
  • RQ3지식적 불확실성은 왜 에이전트가 한 가지 행동에만 집중하게 만들며, 그 원인은 무엇인가?
  • RQ4dSprites 환경에서 DAI, DQN, CHMM 에이전트가 학습한 표현은 얼마나 유사한가?
  • RQ5DAI 에이전트에서 소프트맥스 샘플링이 Q-값의 분리도가 낮아지면 무작위 또는 비효율적인 행동 선택을 유도할 수 있는가?

주요 결과

  • 기대 자유 에너지(EFE)를 최소화하는 CHMM는 항상 '아래' 행동만 선택하며, 전이 예측에 대한 과도한 자신감으로 인해 다른 행동을 탐색하지 못함.
  • 보상 최대화를 위한 CHMM는 왼쪽과 오른쪽 행동을 적극적으로 탐색함으로써 성공적인 과제 해결을 달성함. 이는 동일한 아키텍처와 훈련 설정을 공유함에도 불구하고.
  • 두 CHMM 간 유일한 차이점은 지식적 가치 항목이며, 이는 전이 네트워크와 인코더 네트워크 출력 간의 KL 발산을 최소화하도록 유도함.
  • 보상 최대화 CHMM의 전이 네트워크는 '아래'가 아닌 행동에 대해 EFE 최소화 CHMM보다 훨씬 더 확신을 가짐.
  • EFE 최소화 에이전트는 '아래' 행동에 대해 결과 예측 전문가가 되지만, 다른 행동에 대한 데이터를 수집하지 않기 때문에 일반화 능력이 떨어져 실패함.
  • DAI 에이전트에서 소프트맥스 샘플링은 Q-값 간 차이가 작아지면 무작위 행동 선택을 유도할 수 있으며, 이는 실패의 근본 원인이 표현이 아니라 행동 선택 메커니즘임을 시사함.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.