metric state space reinforcement learning for a vision-capable mobile robot
DESCRIPTION
Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot. Viktor Zhumatiy a , Faustino Gomez a , Marcus Hutter a and Jürgen Schmidhuber a,b ( a ) IDSIA, Switzerland ( b ) TU Munich, Germany. Learning environment: real robot, vision sensors. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/1.jpg)
Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot
Viktor Zhumatiya, Faustino Gomeza, Marcus Hutter a and Jürgen Schmidhubera,b
(a) IDSIA, Switzerland (b)TU Munich, Germany
![Page 2: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/2.jpg)
Learning environment: real robot, vision sensors
• Learning algorithm specifically targeted at real world mobile robots
![Page 3: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/3.jpg)
Challenges of learning on vision-capable real robots
• Piecewise-continuous (PWC) control• Partial observability (POMDP)• High-dimensional sensors• Costly exploration
![Page 4: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/4.jpg)
• RL: policy learning by autonomous environment exploration from reward signal
• Q-learning: estimation of discounted reward for each state-action pair
• Assumes that states st are fully observable at each moment• In practice, only incomplete observations are available
Reinforcement learning
![Page 5: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/5.jpg)
Discrete and continuous versus PWC
• Transitions and reinforcements on actual robots differ from well-studied continuous and discrete cases
PWCDiscrete Continuous
![Page 6: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/6.jpg)
Continuous and discrete versus PWC
PWCDiscrete
Continuous
• PWC is characterized by continuous and differentiable structure broken by jumps that appear when, for example, an object is hidden from view
![Page 7: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/7.jpg)
Candidate methods for PWC
• Discretizing state space with fixed /adaptive grid: artificial discontinuities
• Neural networks: do not model discontinuities
• CMAC & RBFs: knowledge of local scale required
• Instance-based memory: OK, but previously used with fixed scale
![Page 8: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/8.jpg)
t=T-2
POMDP
• What if the goal is not seen?• Solution: use chain of observations for control.
t=T-1
? t=T
![Page 9: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/9.jpg)
PC-NSM
• Nearest Sequence Memory (NSM) by McCallum: does everything we need, but discrete space and slow convergence
• Solution: modify to work in PWC + speed it up to use data more effectively = Piecewise-Continuous NSM (PC-NSM)
![Page 10: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/10.jpg)
NSM Description slide
• k nearest neighbours in the history • q(t) -- Q-value for each moment in the
history• To compute Q(a?,T) – average q(t) over k
nearest t where at=a?
• Do exploration action with probability epsilon
Match length
observation
T
![Page 11: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/11.jpg)
Change 1: for PWC
• Pseudometric in original McCallum: 1/(1+<Number of matching observations>)
• Our metric:
![Page 12: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/12.jpg)
Change 2: endogenous updates
• McCallum: update only for t=T-1 (with traces)
• PC-NSM update:
• Updates through all history needed since neighbourhoods change with new experience
![Page 13: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/13.jpg)
• Make least explored action greedily
Change 3: directed exploration
![Page 14: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/14.jpg)
Demonstration on a mobile robot
![Page 15: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/15.jpg)
Robot setup
• Sensory input vector:
(x, y, isVisible, f, b)
Sonar sensor AXIS web camera X
Y
Sonar sensor
distance
f
b
Target x-y
position
4m
3m
• Goal: avoid wall collisions,
go to the blue teapot
![Page 16: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/16.jpg)
Actions
• Move forward / backward approx 5 cm / 15 cm
• Turn left / right 22.5o / 45o
• Exact values unimportant• Stand still action• Wait until robot stops before
making the next action
![Page 17: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/17.jpg)
Complete learning system
Reinforcement learning computer
Vision processing computer
Cnetwork
network
wireless
Web camera
![Page 18: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/18.jpg)
PC-NSM parameters
• epsilon-greedy policy with epsilon set to 0.3. (30% of the time the robot selects an exploratory action).
• The appropriate number of nearest neighbors, k, used to select actions, depends upon the noisiness of the environment. For the amount of noise in our sensors, we found that learning was fastest for k=3.
![Page 19: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/19.jpg)
Reinforcement structure
![Page 20: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/20.jpg)
Results: learned policy
X
Y
Sonar sensor-measured distance
f
b
Target x-y position
< turn left
> turn right
^ move forward
v move backward
o stand still
• Learned policy dimensionality reduction in the sensor space: varaible x, y; r, b walls are always far
![Page 21: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/21.jpg)
Results: example trajectories
• A trajectory after learning
• White boxes mark the controller’s confusion resulted from sound-reflecting wall joints
![Page 22: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/22.jpg)
Contributions and limitations
• An algorithm capable of learning on real vision-controlled robots is developed
• The algorithm is able to use modern vision preprocessing algorithms thanks to reliance on metric
Limitations:
• Single metric may be too strict a limitation
• Exploration scheme is greedy
![Page 23: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/23.jpg)
Future work
• Improved exploration
• Multimetric learning
![Page 24: Metric State Space Reinforcement Learning for a Vision-Capable Mobile Robot](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56813ff6550346895dab1cce/html5/thumbnails/24.jpg)
Conclusion
• Requirements for real-world mobile robot learning defined
• An algorithm to satisfy these requirements is proposed
• Feasibility study on an actual robot is made