Non-parametric Filters: Particle Filters

Slides:



Advertisements
Similar presentations
Hypothesis testing and confidence intervals by resampling by J. Kárász.
Advertisements

Monte Carlo Localization for Mobile Robots Karan M. Gupta 03/10/2004
Lab 2 Lab 3 Homework Labs 4-6 Final Project Late No Videos Write up
Markov Localization & Bayes Filtering 1 with Kalman Filters Discrete Filters Particle Filters Slides adapted from Thrun et al., Probabilistic Robotics.
Probabilistic Robotics Bayes Filter Implementations Particle filters.
Relationship Between Sample Data and Population Values You will encounter many situations in business where a sample will be taken from a population, and.
Adaptive Rao-Blackwellized Particle Filter and It’s Evaluation for Tracking in Surveillance Xinyu Xu and Baoxin Li, Senior Member, IEEE.
Navigation Jeremy Wyatt School of Computer Science University of Birmingham.
Monte Carlo Localization
A Probabilistic Approach to Collaborative Multi-robot Localization Dieter Fox, Wolfram Burgard, Hannes Kruppa, Sebastin Thrun Presented by Rajkumar Parthasarathy.
Probabilistic Robotics Bayes Filter Implementations Particle filters.
Sampling Distributions
Particle Filtering. Sensors and Uncertainty Real world sensors are noisy and suffer from missing data (e.g., occlusions, GPS blackouts) Use sensor models.
Particle Filters++ TexPoint fonts used in EMF.
HCI / CprE / ComS 575: Computational Perception
Bayesian Filtering for Robot Localization
Particle Filter & Search
Markov Localization & Bayes Filtering
Computer vision: models, learning and inference Chapter 19 Temporal models.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 7 Sampling Distributions.
Copyright ©2011 Nelson Education Limited The Normal Probability Distribution CHAPTER 6.
Simultaneous Localization and Mapping Presented by Lihan He Apr. 21, 2006.
Probabilistic Robotics: Monte Carlo Localization
Recap: Reasoning Over Time  Stationary Markov models  Hidden Markov models X2X2 X1X1 X3X3 X4X4 rainsun X5X5 X2X2 E1E1 X1X1 X3X3 X4X4 E2E2 E3E3.
Probabilistic Robotics Bayes Filter Implementations.
Particle Filters.
Simultaneous Localization and Mapping
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 6.1: Bayes Filter Jürgen Sturm Technische Universität München.
Mobile Robot Localization (ch. 7)
State Estimation and Kalman Filtering Zeeshan Ali Sayyed.
Page 0 of 7 Particle filter - IFC Implementation Particle filter – IFC implementation: Accept file (one frame at a time) Initial processing** Compute autocorrelations,
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Lecture 8: Measurement Errors 1. Objectives List some sources of measurement errors. Classify measurement errors into systematic and random errors. Study.
Particle filters for Robot Localization An implementation of Bayes Filtering Markov Localization.
Autonomous Mobile Robots Autonomous Systems Lab Zürich Probabilistic Map Based Localization "Position" Global Map PerceptionMotion Control Cognition Real.
General approach: A: action S: pose O: observation Position at time t depends on position previous position and action, and current observation.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
1 Slides from D. Fox. W. Burgard, C. Stachniss, M. Bennewitz, K. Arras, S. Thrun, J. Xiao Particle Filter/Monte Carlo Localization.
Uncertainty and Error Propagation
SUR-2250 Error Theory.
Virtual University of Pakistan
HMM: Particle filters Lirong Xia. HMM: Particle filters Lirong Xia.
Sampling Distributions
Particle Filtering for Geometric Active Contours
Distribution of the Sample Means
Probabilistic Robotics
Introduction to particle filter
Lecture 10: Observers and Kalman Filters
Non-parametric Filters
Particle Filter/Monte Carlo Localization
Particle filters for Robot Localization
Lecture 2 – Monte Carlo method in finance
Introduction to particle filter
Probabilistic Robotics
Non-parametric Filters
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Day 33 Range Sensor Models 12/10/2018.
Non-parametric Filters
Non-parametric Filters
Motion Models (cont) 2/16/2019.
Probabilistic Map Based Localization
Bayes and Kalman Filter
Hidden Markov Models Markov chains not so useful for most agents
6.891 Computer Experiments for Particle Filtering
VQMC J. Planelles.
Sampling Distributions (§ )
Non-parametric Filters
Uncertainty and Error Propagation
Non-parametric Filters: Particle Filters
HMM: Particle filters Lirong Xia. HMM: Particle filters Lirong Xia.
Presentation transcript:

Non-parametric Filters: Particle Filters 4/18/2019

Particle Filter Kalman-like filter – all densities are Gaussian histogram filter – represent density as histogram over the entire domain of the state particle filter – represent density as a (large) set of samples drawn from the density samples are called particles each particle is a concrete instantiation of the state at time t 4/18/2019

Particle Filter 4/18/2019

Particle Filter Localization consider a robot moving down a hall equipped with a sensor that measures the presence of a door beside the robot the pose of the robot is simply its location on a line down the middle of the hall the robot starts out having no idea how far down the hallway it is located robot has a map of the hallway showing it where the doors are very similar (and very well done) example here: https://www.youtube.com/watch?v=aUkBa1zMKv4 4/18/2019

Particle Filter Localization the robot starts out having no idea how far down the hallway it is located particles with equal weights are randomly drawn from a uniform state density height of particle is proportional to its weight the weights are called importance weights 4/18/2019

Particle Filter Localization because the robot is beside a door, it has a measurement it can incorporate this measurement into its state estimate particles are reweighted based on how consistent each particle is with the measurement low weight low weight low weight 4/18/2019

Particle Filter Localization the existing particles are resampled with replacement where the probability of drawing a particle is proportional to its importance weight resampling produces a set of particles with equal importance weights that approximates the density the resampled set usually contains many duplicate particles (those with high importance weights) the resampled set will be missing many particles from the original set (those with low importance weights) 4/18/2019

Particle Filter Localization the particles are projected forward in time using the motion model 4/18/2019

Particle Filter Localization because the robot is beside a door, it has a measurement it can incorporate this measurement into its state estimate particles are reweighted based on how consistent each particle is with the measurement 4/18/2019

Particle Filter Localization the existing particles are resampled with replacement where the probability of drawing a particle is proportional to its importance weight 4/18/2019

Particle Filter Localization the particles are projected forward in time using the motion model 4/18/2019

Particle Filter Localization Algorithm algorithm pf_localization( ) empty set for m = 1 to M sample_motion_model( ) measurement_model( ) endfor resample ( ) return set of particles control input measurement map 4/18/2019

Resampling Algorithm algorithm resample( ) for m = 1 to M draw i with probability add to endfor return 4/18/2019

Drawing Particles i importance weights cumulative sum normalized sum 1 compute this then this i importance weights cumulative sum normalized sum 1 0.0846 0.0235 2 0.0769 0.1615 0.0449 3 0.0895 0.2510 0.0698 4 0.4486 0.6995 0.1945 5 0.9505 1.6500 0.4588 6 0.6019 2.2519 0.6262 7 0.1720 2.4239 0.6740 8 0.2853 2.7092 0.7534 9 0.0301 2.7393 0.7618 10 0.8567 3.5960 1.0000 then generate M random number uniformly distributed between 0 and 1 4/18/2019

entry that this is less than Drawing Particles find the first normalized sum entry that this is less than i importance weights cumulative sum normalized sum random numbers particle 1 0.0846 0.0235 0.5261 6 2 0.0769 0.1615 0.0449 0.5154 3 0.0895 0.2510 0.0698 0.8847 10 4 0.4486 0.6995 0.1945 0.0286 5 0.9505 1.6500 0.4588 0.3836 0.6019 2.2519 0.6262 0.5928 7 0.1720 2.4239 0.6740 0.4528 8 0.2853 2.7092 0.7534 0.3306 9 0.0301 2.7393 0.7618 0.5034 0.8567 3.5960 1.0000 0.7134 this algorithm is known as “roulette wheel sampling/selection” inefficient as it requires generating M random numbers and M binary searches “stochastic universal sampling” is often used instead 4/18/2019

Sampling Variance an important source of error in the particle filter is the variation caused by random sampling whenever a finite number of samples is drawn from a probability density, the statistics extracted from the samples will differ slightly from the statistics of the original density e.g., if you draw 2 samples from a 1D Gaussian and compute the mean and variance you will probably get a different mean and variance from the original probability density however, if you draw 100 samples then the mean and variance will probably be very close to the correct values 4/18/2019

Sampling Variance 4/18/2019

Resampling Issues there are many issues related to resampling and how to perform good resampling notice that resampling as we have described it causes some particles to be eliminated and some to be duplicated continuous resampling will eventually cause all of the particles to be duplicates of a small number of states some PF implementations will add a small amount of noise to the particles so that they are not exact duplicates 4/18/2019

Particle Deprivation it may happen that there are no particles near the correct state this can happen because of the variance in random sampling an unlucky series of random numbers can wipe out all of the particles near the correct state when this occurs the filter estimate can become arbitrarily incorrect occurs mostly when the number of particles is too small for the dimensionality of the state 4/18/2019