SlideShare a Scribd company logo
1 of 42
A Sampling-based Motion
Planning Method for Robot in
HRI
Fan Yuanxiang
Ishiguro Lab
March 4st, 2019
And a shallow survey of free energy
• Survey: FEP(Free-energy
principle)
• Introduction
• Research progress
• Future Plan
• Discussion and DEMO
Outline
Survey
FEP(Free-energy principle)
Thefree-energy principle is an attempt to explain the structure and function of
brain1.
Karl J. Friston
1Karl Friston. The free-energy principle: a rough guide to the brain?
Survey
2Karl Friston, Michael Breakspear, and Gustavo Deco. Perception and self-organized instability
Thebrain minimizes the free energy of sensory inputs defined bya generative
model2.
FEP(Free-energy principle)
Survey
Free-energy
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
InferenceAgentEnvironment
Free-energy: 𝐹 𝑞, 𝑠 = 𝑥 𝑞 𝑥 ∗ log
𝑞(𝑥)
𝑝(𝑥,𝑠)
3
Survey
Free-energy
According to Bayes' theorem, we have…
𝐹 𝑠 = 𝑥 −𝑞 𝑥 ∗ log(𝑝( 𝑠 𝑥)) + 𝐷 𝐾𝐿 𝑞 𝑥 ∥ 𝑝(𝑥) 3 (2)
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
𝐹 𝑞 = 𝐷 𝐾𝐿 𝑞 𝑥 ∥ 𝑝( 𝑥 𝑠) − log(𝑝(𝑠))3 (1)
To minimize Free-energy, we can change
• the value of q in formula (1) (Perceptual inference)
• the value ofa in formula (2) (Active inference)
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
It is an image taken bycamera, andwe
are getused to think this is what we
always see. Actually, we only can see
image with high resolution around our
gazedirection.
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
And this is what we will seeactually.
If wearelooking at +mark, we will see
a vague insect at top right corner.
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
And if welook at top right corner, we
will know there is a butterfly.
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
Sensory
Input s
Latent reason x
Generative model 𝑔(𝑥, 𝑠)
X1:Butterfly
X2:Moth
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏0
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏0)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)
𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠)
2.35(𝑏𝑖𝑡) 0.02(𝑏𝑖𝑡)
Sensory input s1
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏0
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏0)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)Perceptual inference
𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠)
2.35(𝑏𝑖𝑡) 0.02(𝑏𝑖𝑡)
Sensory input s1
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏1
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏1)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)Perceptual inference
𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠)
2.32(𝑏𝑖𝑡) 0.00(𝑏𝑖𝑡)
Sensory input s1
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏1
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏1)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)
2.32(𝑏𝑖𝑡) −2.30(𝑏𝑖𝑡)
Sensory input s1
𝐹 𝑠 = 𝐶2(𝑏) − 𝑥 𝑞 𝑥 𝑏 ∗ log(𝑝( 𝑠 𝑥))
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏1
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏1)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)
1.77(𝑏𝑖𝑡) −1.75(𝑏𝑖𝑡)
Sensory input s2
𝐹 𝑠 = 𝐶2(𝑏) − 𝑥 𝑞 𝑥 𝑏 ∗ log(𝑝( 𝑠 𝑥))
Active inference
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏1
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏1)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)
1.77(𝑏𝑖𝑡) 0.44 (𝑏𝑖𝑡)
Sensory input s2
Active inference
𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠)
Survey
Example
3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識.
X1 X2
𝑝( 𝑥 𝑠1)
0
1
Knowledge
X1 X2
𝑏1
0
1
Brain state
X1 X2
𝑞( 𝑥 𝑏1)
0
1
Current inference
Calculated by
𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)
1.32(𝑏𝑖𝑡) 0.00 (𝑏𝑖𝑡)
Sensory input s2
Active inference
𝐹 𝑠 = 𝐶2(𝑏) − 𝑥 𝑞 𝑥 𝑏 ∗ log(𝑝( 𝑠 𝑥))
• Survey: FEP(Free-energy principle)
• Introduction
• Research progress
• Future Plan
• Discussion and DEMO
Outline
Introduction
In spite ofso much technological advancements, communication robothaven’t
becomehuman-equivalent partner.
Smart speaker Communication robot
To overcomethis problem, several researcheshave studied on lifelikeness and its
effect to communication.
Motion planning byCPG4 Motion planning byRNN5
4Itsuki Doi, Takashi Ikegami, …, Hiroshi Ishiguro et al. A New Design Principle for an
Autonomous Robot.
5Junsik wang, Jinhyung Kim, …, Jun Tani et al. Dealing with Large-Scale Spatio-Temporal Patterns
in Imitative Interaction between a Robot and a Human by Using the Predictive Coding
Framework
Introduction
CPGbased controlframework:
To realize lifelike behavior for android “Alter”4, sensory input to detect unpleasant
situation takes important role to realize lifelikeness in this framework.
CPG
NN
Sensor Net
Introduction
Switcher
4Itsuki Doi, Takashi Ikegami, …, Hiroshi ishiguro et al. A New Design Principle for an Autonomous
Robot.
Values of joints
RNNbased controlframework:
In this framework, the robot is controlled to decrease the error between the prediction
and events that actually occurred5.
5Junsik wang, Jinhyung Kim, …, Jun Tani et al. Dealing with Large-Scale Spatio-Temporal Patterns
in Imitative Interaction between a Robot and a Human by Using the Predictive Coding
Framework
Introduction
In these researches, CPG orRNN are used for generating diverse motion patterns
and thus the problem can be decomposed into two parts:
• Generation ofdiverse patterns
• CPG, RNN…
• Objective ofthe behavior
• Raising hand when people come close
• Smooth movement
• …
Introduction
Introduction
In our research,wedevelop a framework wherediverse motion patterns are
generated by roadmap constructed from recordeddata of human-human
interaction and explore the objective function to realize lifelikeness.
Roadmap
CG Agent
Sensor
Values of joints
Predict
Objective function
Information
User
Reaction
information
Introduction
INTERACTION
BODY CONTROL
After the development of ourcontrol framework, we are going to solve the robot
body control problem.
• Survey: FEP(Free-energy principle)
• Introduction
• Research progress
• Future Plan
• Discussion and DEMO
Outline
Research progress
To implement the proposed method, weneed…
• CG agent
• Roadmap as a pattern generator
• Objective function
• Experiment
Research progress
It’s developed in webpage.
Camera
image
Detected
information
Speaker
CG agent
Research progress
Theroadmap is constructed from the recorded videoof human-human interaction
Roadmap
2DJoint PosVideo 3DJoint Pos
Research progress
Weused some OSS to extract 3D joint positions from video,
and calculate joint angles for constructing roadmap.
OpenPose6 3D Pose Baseline7
6Zhe Cao, Gines Hidalgo,…, Yaser Sheikh et al. OpenPose: Realtime Multi-Person 2D
Pose Estimation using Part Affinity Fields.
7Julieta Martinez, Rayat Hossain,..., James J. Little. A simple yet effective baseline for
3d human pose estimation
Roadmap
Research progress
To construct a roadmap that can be used as motion pattern generator, some rules is
need…
Roadmap
• Initial connection: all states is connected by its
original orderin video.
• Hierarchical Clustering: weremovestates that
are too close to other states.
Research progress
To construct a roadmap that can be used as motion pattern generator, some rules is
need…
Roadmap
• Probabilistic connection: newconnection will be
stablished if theirvelocities and accelerations are
similar. And LSH can largely decrease
computational cost in this process.
• Remove isolated states: wewill removestates with
no out-degree recurrently.
Research progress
Predict future human action accordingto past information of robotand human
Objective function
ℎ(𝑡 + 1) = 𝑓(ℎ(𝑡), ℎ(𝑡 − 1) … , 𝑟(𝑡), 𝑟(𝑡 − 1) … )
• Candidate methods
• State space
• VAE(Variational Autoencoder)
• Candidate actions tobe predicted
• Gazedirection
• Emotion
• Motion
Research progress
State space
I
E
N
S
• State transfer: 𝑥′
= 𝑇𝑥
• Generative model: 𝑝(𝑥, 𝑠) can be calculated from dataset
• Current inference: q( 𝑥 𝑏) can be calculated from T
• Transfer matrix T: 𝑇 = argmin
𝑇
𝐹(p(x, s), q′( 𝑥 𝑏))
• Action: choose action a = argmin
𝑎
𝐹(p(x, s), q′( 𝑥 𝑏) )
State space
Research progress
VAE
8 https://www.slideshare.net/kojiochiai/wba-hackathon2-72461465
• Variational Autoencoder is a neural network model of Variational Bayes
• Free energy can be minimized by Variational Bayes
• Variational Autoencoder can adjust parameters to minimize Free energy
Active InferenceNetwork8
Research progress
OpenFace
OpenFace
Camera Img
OpenFace is being usedin our research for gaze direction and emotion
detection.
• Gazedirection: can be detected by OpenFace.
• Emotion detection: weconstruct a mapping functionfrom
AUs(Action Units) to emotion9.
9 Sudha Velusamy, Hariprasad Kannan,…, & Bilva Navathe.A method to infer emotions from
facial Action Units
• Survey: FEP(Free-energy principle)
• Introduction
• Research progress
• Future Plan
• Discussion and DEMO
Outline
Future plan
And this is wewill do next…
• Objective function
• Conversation
• Experiment
• Survey: FEP(Free-energy principle)
• Introduction
• Research progress
• Future Plan
• Discussion and DEMO
Outline
Discussion and DEMO
This is what we havedone…
• Developed a CG agent system
• Constructed Roadmap as a pattern
generator
• A simple model of Android ibuki
Discussion and DEMO
Problems?

More Related Content

What's hot

A survey on massively Parallelism for indexing multidimensional datasets on t...
A survey on massively Parallelism for indexing multidimensional datasets on t...A survey on massively Parallelism for indexing multidimensional datasets on t...
A survey on massively Parallelism for indexing multidimensional datasets on t...Tejovat Technologies Pvt.Ltd.,Wakad
 
Neuro-Fuzzy Model for Strategic Intellectual Property Cost Management
Neuro-Fuzzy Model for Strategic Intellectual Property Cost ManagementNeuro-Fuzzy Model for Strategic Intellectual Property Cost Management
Neuro-Fuzzy Model for Strategic Intellectual Property Cost ManagementEditor IJCATR
 
Computation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTKComputation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTKA H M Forhadul Islam
 
Bhadale group of companies ai neural networks and algorithms catalogue
Bhadale group of companies ai neural networks and algorithms catalogueBhadale group of companies ai neural networks and algorithms catalogue
Bhadale group of companies ai neural networks and algorithms catalogueVijayananda Mohire
 
Planning and Learning with Tabular Methods
Planning and Learning with Tabular MethodsPlanning and Learning with Tabular Methods
Planning and Learning with Tabular MethodsDongmin Lee
 
Recent Trends in Neural Net Policy Learning
Recent Trends in Neural Net Policy LearningRecent Trends in Neural Net Policy Learning
Recent Trends in Neural Net Policy LearningSungjoon Choi
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeSiby Jose Plathottam
 
Cross-domain complementary learning with synthetic data for multi-person part...
Cross-domain complementary learning with synthetic data for multi-person part...Cross-domain complementary learning with synthetic data for multi-person part...
Cross-domain complementary learning with synthetic data for multi-person part...哲东 郑
 
Paradigm shifts in wildlife and biodiversity management through machine learning
Paradigm shifts in wildlife and biodiversity management through machine learningParadigm shifts in wildlife and biodiversity management through machine learning
Paradigm shifts in wildlife and biodiversity management through machine learningSalford Systems
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 

What's hot (11)

A survey on massively Parallelism for indexing multidimensional datasets on t...
A survey on massively Parallelism for indexing multidimensional datasets on t...A survey on massively Parallelism for indexing multidimensional datasets on t...
A survey on massively Parallelism for indexing multidimensional datasets on t...
 
Neuro-Fuzzy Model for Strategic Intellectual Property Cost Management
Neuro-Fuzzy Model for Strategic Intellectual Property Cost ManagementNeuro-Fuzzy Model for Strategic Intellectual Property Cost Management
Neuro-Fuzzy Model for Strategic Intellectual Property Cost Management
 
Computation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTKComputation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTK
 
Bhadale group of companies ai neural networks and algorithms catalogue
Bhadale group of companies ai neural networks and algorithms catalogueBhadale group of companies ai neural networks and algorithms catalogue
Bhadale group of companies ai neural networks and algorithms catalogue
 
Planning and Learning with Tabular Methods
Planning and Learning with Tabular MethodsPlanning and Learning with Tabular Methods
Planning and Learning with Tabular Methods
 
Is it food?
Is it food?Is it food?
Is it food?
 
Recent Trends in Neural Net Policy Learning
Recent Trends in Neural Net Policy LearningRecent Trends in Neural Net Policy Learning
Recent Trends in Neural Net Policy Learning
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
 
Cross-domain complementary learning with synthetic data for multi-person part...
Cross-domain complementary learning with synthetic data for multi-person part...Cross-domain complementary learning with synthetic data for multi-person part...
Cross-domain complementary learning with synthetic data for multi-person part...
 
Paradigm shifts in wildlife and biodiversity management through machine learning
Paradigm shifts in wildlife and biodiversity management through machine learningParadigm shifts in wildlife and biodiversity management through machine learning
Paradigm shifts in wildlife and biodiversity management through machine learning
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 

Similar to A Sampling-based Motion Planning for Human-Robot Interaction

Lecture 4 neural networks
Lecture 4 neural networksLecture 4 neural networks
Lecture 4 neural networksParveenMalik18
 
Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...
Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...
Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...bigdatabm
 
Creating Consciousness
Creating ConsciousnessCreating Consciousness
Creating ConsciousnessRyota Kanai
 
Generative AI: Past, Present, and Future – A Practitioner's Perspective
Generative AI: Past, Present, and Future – A Practitioner's PerspectiveGenerative AI: Past, Present, and Future – A Practitioner's Perspective
Generative AI: Past, Present, and Future – A Practitioner's PerspectiveHuahai Yang
 
Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...
Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...
Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...hirokazutanaka
 
Human action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptorHuman action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptorSoma Boubou
 
diffusion 모델부터 DALLE2까지.pdf
diffusion 모델부터 DALLE2까지.pdfdiffusion 모델부터 DALLE2까지.pdf
diffusion 모델부터 DALLE2까지.pdf수철 박
 
게임 AI를 통해 본 인공지능 기본 개념
게임 AI를 통해 본 인공지능 기본 개념게임 AI를 통해 본 인공지능 기본 개념
게임 AI를 통해 본 인공지능 기본 개념Keunhyun Oh
 
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...Tomoyuki Suzuki
 
Why Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brainWhy Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brainNumenta
 
Lecture17 xing fei-fei
Lecture17 xing fei-feiLecture17 xing fei-fei
Lecture17 xing fei-feiTianlu Wang
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERMARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERijsc
 
Abductive commonsense reasoning
Abductive commonsense reasoningAbductive commonsense reasoning
Abductive commonsense reasoningSan Kim
 
Exploring temporal graph data with Python: 
a study on tensor decomposition o...
Exploring temporal graph data with Python: 
a study on tensor decomposition o...Exploring temporal graph data with Python: 
a study on tensor decomposition o...
Exploring temporal graph data with Python: 
a study on tensor decomposition o...André Panisson
 
20141003.journal club
20141003.journal club20141003.journal club
20141003.journal clubHayaru SHOUNO
 
Defensa.V11
Defensa.V11Defensa.V11
Defensa.V11promanas
 
Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...
Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...
Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...IOSR Journals
 

Similar to A Sampling-based Motion Planning for Human-Robot Interaction (20)

Lecture 4 neural networks
Lecture 4 neural networksLecture 4 neural networks
Lecture 4 neural networks
 
Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...
Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...
Осадчий А.Е. Анализ многомерных магнито- и электроэнцефалографических данных ...
 
alexVAE_New.pdf
alexVAE_New.pdfalexVAE_New.pdf
alexVAE_New.pdf
 
final ppt
final pptfinal ppt
final ppt
 
Creating Consciousness
Creating ConsciousnessCreating Consciousness
Creating Consciousness
 
Generative AI: Past, Present, and Future – A Practitioner's Perspective
Generative AI: Past, Present, and Future – A Practitioner's PerspectiveGenerative AI: Past, Present, and Future – A Practitioner's Perspective
Generative AI: Past, Present, and Future – A Practitioner's Perspective
 
Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...
Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...
Computational Motor Control: State Space Models for Motor Adaptation (JAIST s...
 
Human action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptorHuman action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptor
 
diffusion 모델부터 DALLE2까지.pdf
diffusion 모델부터 DALLE2까지.pdfdiffusion 모델부터 DALLE2까지.pdf
diffusion 모델부터 DALLE2까지.pdf
 
게임 AI를 통해 본 인공지능 기본 개념
게임 AI를 통해 본 인공지능 기본 개념게임 AI를 통해 본 인공지능 기본 개념
게임 AI를 통해 본 인공지능 기본 개념
 
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
 
Why Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brainWhy Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brain
 
Lecture17 xing fei-fei
Lecture17 xing fei-feiLecture17 xing fei-fei
Lecture17 xing fei-fei
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERMARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
 
Abductive commonsense reasoning
Abductive commonsense reasoningAbductive commonsense reasoning
Abductive commonsense reasoning
 
Exploring temporal graph data with Python: 
a study on tensor decomposition o...
Exploring temporal graph data with Python: 
a study on tensor decomposition o...Exploring temporal graph data with Python: 
a study on tensor decomposition o...
Exploring temporal graph data with Python: 
a study on tensor decomposition o...
 
20181212 ibm aot
20181212 ibm aot20181212 ibm aot
20181212 ibm aot
 
20141003.journal club
20141003.journal club20141003.journal club
20141003.journal club
 
Defensa.V11
Defensa.V11Defensa.V11
Defensa.V11
 
Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...
Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...
Universal Artificial Intelligence for Intelligent Agents: An Approach to Supe...
 

Recently uploaded

GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxjana861314
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 

Recently uploaded (20)

GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 

A Sampling-based Motion Planning for Human-Robot Interaction

  • 1. A Sampling-based Motion Planning Method for Robot in HRI Fan Yuanxiang Ishiguro Lab March 4st, 2019 And a shallow survey of free energy
  • 2. • Survey: FEP(Free-energy principle) • Introduction • Research progress • Future Plan • Discussion and DEMO Outline
  • 3. Survey FEP(Free-energy principle) Thefree-energy principle is an attempt to explain the structure and function of brain1. Karl J. Friston 1Karl Friston. The free-energy principle: a rough guide to the brain?
  • 4. Survey 2Karl Friston, Michael Breakspear, and Gustavo Deco. Perception and self-organized instability Thebrain minimizes the free energy of sensory inputs defined bya generative model2. FEP(Free-energy principle)
  • 5. Survey Free-energy 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. InferenceAgentEnvironment Free-energy: 𝐹 𝑞, 𝑠 = 𝑥 𝑞 𝑥 ∗ log 𝑞(𝑥) 𝑝(𝑥,𝑠) 3
  • 6. Survey Free-energy According to Bayes' theorem, we have… 𝐹 𝑠 = 𝑥 −𝑞 𝑥 ∗ log(𝑝( 𝑠 𝑥)) + 𝐷 𝐾𝐿 𝑞 𝑥 ∥ 𝑝(𝑥) 3 (2) 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. 𝐹 𝑞 = 𝐷 𝐾𝐿 𝑞 𝑥 ∥ 𝑝( 𝑥 𝑠) − log(𝑝(𝑠))3 (1) To minimize Free-energy, we can change • the value of q in formula (1) (Perceptual inference) • the value ofa in formula (2) (Active inference)
  • 7. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. It is an image taken bycamera, andwe are getused to think this is what we always see. Actually, we only can see image with high resolution around our gazedirection.
  • 8. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. And this is what we will seeactually. If wearelooking at +mark, we will see a vague insect at top right corner.
  • 9. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. And if welook at top right corner, we will know there is a butterfly.
  • 10. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. Sensory Input s Latent reason x Generative model 𝑔(𝑥, 𝑠) X1:Butterfly X2:Moth
  • 11. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏0 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏0) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏) 𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠) 2.35(𝑏𝑖𝑡) 0.02(𝑏𝑖𝑡) Sensory input s1
  • 12. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏0 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏0) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)Perceptual inference 𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠) 2.35(𝑏𝑖𝑡) 0.02(𝑏𝑖𝑡) Sensory input s1
  • 13. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏1 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏1) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏)Perceptual inference 𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠) 2.32(𝑏𝑖𝑡) 0.00(𝑏𝑖𝑡) Sensory input s1
  • 14. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏1 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏1) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏) 2.32(𝑏𝑖𝑡) −2.30(𝑏𝑖𝑡) Sensory input s1 𝐹 𝑠 = 𝐶2(𝑏) − 𝑥 𝑞 𝑥 𝑏 ∗ log(𝑝( 𝑠 𝑥))
  • 15. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏1 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏1) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏) 1.77(𝑏𝑖𝑡) −1.75(𝑏𝑖𝑡) Sensory input s2 𝐹 𝑠 = 𝐶2(𝑏) − 𝑥 𝑞 𝑥 𝑏 ∗ log(𝑝( 𝑠 𝑥)) Active inference
  • 16. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏1 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏1) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏) 1.77(𝑏𝑖𝑡) 0.44 (𝑏𝑖𝑡) Sensory input s2 Active inference 𝐹 𝑏 = 𝐷 𝐾𝐿 𝑞 𝑥 𝑏 ∥ 𝑝( 𝑥 𝑠) + 𝐶1(𝑠)
  • 17. Survey Example 3吉田正俊 & 田口茂. 自由エネルギー原理と視学的意識. X1 X2 𝑝( 𝑥 𝑠1) 0 1 Knowledge X1 X2 𝑏1 0 1 Brain state X1 X2 𝑞( 𝑥 𝑏1) 0 1 Current inference Calculated by 𝑠𝑜𝑓𝑡𝑚𝑎𝑥(𝑏) 1.32(𝑏𝑖𝑡) 0.00 (𝑏𝑖𝑡) Sensory input s2 Active inference 𝐹 𝑠 = 𝐶2(𝑏) − 𝑥 𝑞 𝑥 𝑏 ∗ log(𝑝( 𝑠 𝑥))
  • 18. • Survey: FEP(Free-energy principle) • Introduction • Research progress • Future Plan • Discussion and DEMO Outline
  • 19. Introduction In spite ofso much technological advancements, communication robothaven’t becomehuman-equivalent partner. Smart speaker Communication robot
  • 20. To overcomethis problem, several researcheshave studied on lifelikeness and its effect to communication. Motion planning byCPG4 Motion planning byRNN5 4Itsuki Doi, Takashi Ikegami, …, Hiroshi Ishiguro et al. A New Design Principle for an Autonomous Robot. 5Junsik wang, Jinhyung Kim, …, Jun Tani et al. Dealing with Large-Scale Spatio-Temporal Patterns in Imitative Interaction between a Robot and a Human by Using the Predictive Coding Framework Introduction
  • 21. CPGbased controlframework: To realize lifelike behavior for android “Alter”4, sensory input to detect unpleasant situation takes important role to realize lifelikeness in this framework. CPG NN Sensor Net Introduction Switcher 4Itsuki Doi, Takashi Ikegami, …, Hiroshi ishiguro et al. A New Design Principle for an Autonomous Robot. Values of joints
  • 22. RNNbased controlframework: In this framework, the robot is controlled to decrease the error between the prediction and events that actually occurred5. 5Junsik wang, Jinhyung Kim, …, Jun Tani et al. Dealing with Large-Scale Spatio-Temporal Patterns in Imitative Interaction between a Robot and a Human by Using the Predictive Coding Framework Introduction
  • 23. In these researches, CPG orRNN are used for generating diverse motion patterns and thus the problem can be decomposed into two parts: • Generation ofdiverse patterns • CPG, RNN… • Objective ofthe behavior • Raising hand when people come close • Smooth movement • … Introduction
  • 24. Introduction In our research,wedevelop a framework wherediverse motion patterns are generated by roadmap constructed from recordeddata of human-human interaction and explore the objective function to realize lifelikeness. Roadmap CG Agent Sensor Values of joints Predict Objective function Information User Reaction information
  • 25. Introduction INTERACTION BODY CONTROL After the development of ourcontrol framework, we are going to solve the robot body control problem.
  • 26. • Survey: FEP(Free-energy principle) • Introduction • Research progress • Future Plan • Discussion and DEMO Outline
  • 27. Research progress To implement the proposed method, weneed… • CG agent • Roadmap as a pattern generator • Objective function • Experiment
  • 28. Research progress It’s developed in webpage. Camera image Detected information Speaker CG agent
  • 29. Research progress Theroadmap is constructed from the recorded videoof human-human interaction Roadmap
  • 30. 2DJoint PosVideo 3DJoint Pos Research progress Weused some OSS to extract 3D joint positions from video, and calculate joint angles for constructing roadmap. OpenPose6 3D Pose Baseline7 6Zhe Cao, Gines Hidalgo,…, Yaser Sheikh et al. OpenPose: Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields. 7Julieta Martinez, Rayat Hossain,..., James J. Little. A simple yet effective baseline for 3d human pose estimation Roadmap
  • 31. Research progress To construct a roadmap that can be used as motion pattern generator, some rules is need… Roadmap • Initial connection: all states is connected by its original orderin video. • Hierarchical Clustering: weremovestates that are too close to other states.
  • 32. Research progress To construct a roadmap that can be used as motion pattern generator, some rules is need… Roadmap • Probabilistic connection: newconnection will be stablished if theirvelocities and accelerations are similar. And LSH can largely decrease computational cost in this process. • Remove isolated states: wewill removestates with no out-degree recurrently.
  • 33. Research progress Predict future human action accordingto past information of robotand human Objective function ℎ(𝑡 + 1) = 𝑓(ℎ(𝑡), ℎ(𝑡 − 1) … , 𝑟(𝑡), 𝑟(𝑡 − 1) … ) • Candidate methods • State space • VAE(Variational Autoencoder) • Candidate actions tobe predicted • Gazedirection • Emotion • Motion
  • 34. Research progress State space I E N S • State transfer: 𝑥′ = 𝑇𝑥 • Generative model: 𝑝(𝑥, 𝑠) can be calculated from dataset • Current inference: q( 𝑥 𝑏) can be calculated from T • Transfer matrix T: 𝑇 = argmin 𝑇 𝐹(p(x, s), q′( 𝑥 𝑏)) • Action: choose action a = argmin 𝑎 𝐹(p(x, s), q′( 𝑥 𝑏) ) State space
  • 35. Research progress VAE 8 https://www.slideshare.net/kojiochiai/wba-hackathon2-72461465 • Variational Autoencoder is a neural network model of Variational Bayes • Free energy can be minimized by Variational Bayes • Variational Autoencoder can adjust parameters to minimize Free energy Active InferenceNetwork8
  • 36. Research progress OpenFace OpenFace Camera Img OpenFace is being usedin our research for gaze direction and emotion detection. • Gazedirection: can be detected by OpenFace. • Emotion detection: weconstruct a mapping functionfrom AUs(Action Units) to emotion9. 9 Sudha Velusamy, Hariprasad Kannan,…, & Bilva Navathe.A method to infer emotions from facial Action Units
  • 37. • Survey: FEP(Free-energy principle) • Introduction • Research progress • Future Plan • Discussion and DEMO Outline
  • 38. Future plan And this is wewill do next… • Objective function • Conversation • Experiment
  • 39. • Survey: FEP(Free-energy principle) • Introduction • Research progress • Future Plan • Discussion and DEMO Outline
  • 40. Discussion and DEMO This is what we havedone… • Developed a CG agent system • Constructed Roadmap as a pattern generator • A simple model of Android ibuki

Editor's Notes

  1. Generative model is a dynamics model produced by past experience of agent. It is usually specified in terms of the likelihood of getting some data given their causes and priors on the parameters.