SlideShare a Scribd company logo
Particle Filters A Collaborative Explanation By: Neeti Wagle & Mikael Pryor
Dynamic  system We want to estimate the state of some system : x Problem : x is hidden and cannot be directly observed Instead, we can observe y x 1 x 2 x 3 y 1 y 2 y 3
Filtering Use the posterior distribution to estimate  from sequential observations.
Dynamic  system Key properties Markov property : Future is independent of past given current state i.e.  Observation at time t depends only on state at time t x 1 x 2 x 3 y 1 y 2 y 3
Kalman Filtering Approach x t  is a linear function of x t-1   A is the state transition matrix z t  is linear function of x t B is the measurement matrix w t  is process noise v t  is the measurement noise Drawbacks : Susceptible to poor measurements and incorrect updates; may never recover after divergence Assume the state has unimodal distribution
Monte Carlo Approach Simulate M random variables from a Gaussian distribution Compute the average Similar idea for particle filter… Miodrag Bolic, Lecture for the School of Information Technology and Engineering at the University of Ottawa, mbolic@site.uottawa.ca
Particle Filter Miodrag Bolic, Lecture for the School of Information Technology and Engineering at the University of Ottawa, mbolic@site.uottawa.ca Let the proposal density be equal to the prior Particle filtering steps for m=1,…,M: 1. Particle generation 2a.  Weight computation 2b.  Weight normalization 3.  Estimate computation
Examples Sample space Posterior density Miodrag Bolic, Lecture for the School of Information Technology and Engineering at the University of Ottawa, mbolic@site.uottawa.ca Haris Baltzakis, November 2004, Kalman/Particle Filters Tutorial
Examples Source : Robotics and State Estimation Lab, University of Washington
Two Robots Play “Catch” By: Mikael Pryor [email_address]
Pong
Tracking The Ball Where: The  depends on which paddle is tracking the ball. Counterclockwise convention + for the left paddle - for the right paddle
Predicting Where The Ball Will Be Prediction based on paddle position: If the predicted position of the ball is above
Predicting Where The Ball Will Be (Cont’d) If the predicted position of the ball is below
Random Error Random Noise in how the ball moves Random Error in the laser scanner The scanner has a resolution of 0.36 degrees. The scanner is only accurate to within  +  0.01 meters Random Error in odometry for the robot The odometry could be off by as much as 36% of the distance traveled Compensated for by doing relative odometry using laser scanner. Only 0.01 m error as opposed to 0.36 m error Uses the walls to localize the robot.
The Particle Filter Random error can be modeled with a Gaussian Probability Density Function with the following properties:
The Final Product
Adding Excess Noise in X-Direction Using a camera instead of a laser scanner. The y-direction can be estimated accurately. The x-direction is harder to estimate with one camera. No depth perception Size of the ball The particle filter still works robustly in this scenario.
The X-Noise Final Product
OBJECT LOCALIZATION USING A PHYSICS SIMULATOR Neeti Wagle University of Colorado at Boulder
INTRODUCTION Based on these particle filters, how does the world appear to the robot? Consider object localization using particle filters
INTRODUCTION Norm : Localization of objects assumes that we know nothing about the environment What if, the environment was “intelligent”? What if, objects could communicate with the robot? Add an RFID tag to each object What if, objects could provide information about their geometries? Store object geometry in the tag
INTRODUCTION What if, the robot had conceptual knowledge about the world ? Use a physics simulator Question : How can the robot use  object geometries what it sees world knowledge (how the world behaves) to have a better understanding of the world?
HYPOTHESIS Using  object geometry, and  simulated physics   to localize objects with particle filters
OPEN DYNAMICS ENGINE (ODE) C++ physics engine with Spaces, geometries, rigid bodies, joints Real time simulator Collision detection system Products that use ODE Video games Robotics simulators : Gazebo, Webots, OpenRAVE Developed by  Russell Smith
PHYSICS SIMULATOR PHYSICS  SIMULATOR OBJECT GEOMETRIES PARTICLE FILTERS
MOTIVATION - 1 PARTICLE FILTER VIEW OBJECT VIEW This configuration is not valid in the real world!
MOTIVATION – 2 PARTICLE FILTER VIEW OBJECT VIEW This configuration is not valid in the real world!
KEY IDEA Use the physics simulator to reject scenarios (particle filter hypotheses) where Objects are overlapping/embedded in each other Objects fall off when the simulation engine is run Goal : Find a world model which adheres to the particle filter hypotheses laws of physics
ALGORITHM Consider J N  possible configurations , where N : number of objects  M : number of particles in each particle filter   J <M Step 1 : Use ODE collision detection to check if any objects are overlapping or embedded in each other If yes, reject this configuration Step 2 : Run the ODE simulation engine by advancing time. Stop the engine when all objects are stable Calculate the mean squared distance of final configuration from starting configuration If distance below acceptable threshold, accept the configuration Output : Configuration with least mean squared distance -> valid world model
EXAMPLE 1
EXAMPLE 1
EXAMPLE 1
EXAMPLE 2
EXAMPLE 2
EXAMPLE 2
EXAMPLE 3
EXAMPLE 3
EXAMPLE 3
ADVANTAGES Drops the “know-nothing-about-the-world” constraint  which is too restrictive and unnecessary in intelligent environments Takes a multi-object view of the environment Significant in applications like grasping objects using a robotics arm Can be integrated with OpenRAVE to plan grasping motion using inverse kinematics solvers
SHORTCOMING Testing all hypotheses is exponential in the number of objects Need a way to test only hypotheses with high likelihood Goal : make this an “anytime” algorithm
IN THE PIPELINE Developing a branch-and-bound method for testing the hypotheses in decreasing order of likelihood Approach : Variation of the knapsack problem based on entropy When time runs out it returns the best hypotheses found so far
FUTURE WORK Visual validation : Idea :  Save the N best world models’ as snapshots Compare snapshots to a camera image to select the best hypotheses Middle ground approach Model using SIFT features instead of particle filters
SUMMARY Aims to construct a object view of the world from individual location estimates Uses a simulator to reject invalid object configurations – serves as robot’s conceptual knowledge of the world Constructs 3D models of the world
QUESTIONS?

More Related Content

PDF
Trail following and obstacle avoidance
PPTX
Optics group research overview
PDF
Particle filtering
PDF
No. la sottile arte di trovare il tempo dove non esiste - Matteo Collina - Co...
PDF
Particle filtering in Computer Vision (2003)
PPT
Baye’s Theorem
PPTX
Probability basics and bayes' theorem
PPT
Hidden markov model ppt
Trail following and obstacle avoidance
Optics group research overview
Particle filtering
No. la sottile arte di trovare il tempo dove non esiste - Matteo Collina - Co...
Particle filtering in Computer Vision (2003)
Baye’s Theorem
Probability basics and bayes' theorem
Hidden markov model ppt

Similar to November 30, Projects (20)

PPTX
August 31, Reactive Algorithms I
PDF
A Fast Laser Motion Detection and Approaching Behavior Monitoring Method for ...
PDF
Robot Localisation: An Introduction - Luis Contreras 2020.06.09 | RoboCup@Hom...
PPTX
October 5, Probabilistic Modeling II
PDF
EIPOMDP Poster (PDF)
PDF
Automatic selection of object recognition methods using reinforcement learning
PPT
Machine Learning ICS 273A
PPT
AI methods for localization in noisy environment
PDF
Algorithmic Analysis to Video Object Tracking and Background Segmentation and...
PDF
Talk 2011-buet-perception-event
PDF
ProjectReport
PPT
presentation.ppt
PPTX
September 28, Course Projects
PPTX
Lecture 09: Localization and Mapping III
PDF
D018112429
PPT
CAP06.ppt quantum physic for students in
PDF
IRJET- Real-Time Object Detection using Deep Learning: A Survey
PPTX
A multi-sensor based uncut crop edge detection method for head-feeding combin...
PDF
Garbage_Collecting_Robot_Using_YOLOv3_Deep_Learning_Model (1).pdf
PPTX
crowd-robot interaction: crowd-aware robot navigation with attention-based DRL
August 31, Reactive Algorithms I
A Fast Laser Motion Detection and Approaching Behavior Monitoring Method for ...
Robot Localisation: An Introduction - Luis Contreras 2020.06.09 | RoboCup@Hom...
October 5, Probabilistic Modeling II
EIPOMDP Poster (PDF)
Automatic selection of object recognition methods using reinforcement learning
Machine Learning ICS 273A
AI methods for localization in noisy environment
Algorithmic Analysis to Video Object Tracking and Background Segmentation and...
Talk 2011-buet-perception-event
ProjectReport
presentation.ppt
September 28, Course Projects
Lecture 09: Localization and Mapping III
D018112429
CAP06.ppt quantum physic for students in
IRJET- Real-Time Object Detection using Deep Learning: A Survey
A multi-sensor based uncut crop edge detection method for head-feeding combin...
Garbage_Collecting_Robot_Using_YOLOv3_Deep_Learning_Model (1).pdf
crowd-robot interaction: crowd-aware robot navigation with attention-based DRL
Ad

More from University of Colorado at Boulder (20)

PPTX
Three-dimensional construction with mobile robots and modular blocks
ODP
Template classes and ROS messages
PPTX
PPTX
Indoor Localization Systems
PPTX
Vishal Verma: Rapidly Exploring Random Trees
PPTX
PPTX
PDF
Lecture 08: Localization and Mapping II
PPTX
Lecture 07: Localization and Mapping I
PPTX
Lecture 06: Features and Uncertainty
PPTX
Lecture 03 - Kinematics and Control
PPTX
Lecture 02: Locomotion
PDF
Lectures 11+12: Debates
PPTX
Lecture 10: Navigation
PPTX
Lecture 08: Localization and Mapping II
PPTX
Lecture 07: Localization and Mapping I
PPTX
Lecture 06: Features
Three-dimensional construction with mobile robots and modular blocks
Template classes and ROS messages
Indoor Localization Systems
Vishal Verma: Rapidly Exploring Random Trees
Lecture 08: Localization and Mapping II
Lecture 07: Localization and Mapping I
Lecture 06: Features and Uncertainty
Lecture 03 - Kinematics and Control
Lecture 02: Locomotion
Lectures 11+12: Debates
Lecture 10: Navigation
Lecture 08: Localization and Mapping II
Lecture 07: Localization and Mapping I
Lecture 06: Features
Ad

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Cloud computing and distributed systems.
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Advanced methodologies resolving dimensionality complications for autism neur...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
“AI and Expert System Decision Support & Business Intelligence Systems”
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Assigned Numbers - 2025 - Bluetooth® Document
sap open course for s4hana steps from ECC to s4
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Cloud computing and distributed systems.
Programs and apps: productivity, graphics, security and other tools
gpt5_lecture_notes_comprehensive_20250812015547.pdf
MYSQL Presentation for SQL database connectivity

November 30, Projects

  • 1. Particle Filters A Collaborative Explanation By: Neeti Wagle & Mikael Pryor
  • 2. Dynamic system We want to estimate the state of some system : x Problem : x is hidden and cannot be directly observed Instead, we can observe y x 1 x 2 x 3 y 1 y 2 y 3
  • 3. Filtering Use the posterior distribution to estimate from sequential observations.
  • 4. Dynamic system Key properties Markov property : Future is independent of past given current state i.e. Observation at time t depends only on state at time t x 1 x 2 x 3 y 1 y 2 y 3
  • 5. Kalman Filtering Approach x t is a linear function of x t-1 A is the state transition matrix z t is linear function of x t B is the measurement matrix w t is process noise v t is the measurement noise Drawbacks : Susceptible to poor measurements and incorrect updates; may never recover after divergence Assume the state has unimodal distribution
  • 6. Monte Carlo Approach Simulate M random variables from a Gaussian distribution Compute the average Similar idea for particle filter… Miodrag Bolic, Lecture for the School of Information Technology and Engineering at the University of Ottawa, mbolic@site.uottawa.ca
  • 7. Particle Filter Miodrag Bolic, Lecture for the School of Information Technology and Engineering at the University of Ottawa, mbolic@site.uottawa.ca Let the proposal density be equal to the prior Particle filtering steps for m=1,…,M: 1. Particle generation 2a. Weight computation 2b. Weight normalization 3. Estimate computation
  • 8. Examples Sample space Posterior density Miodrag Bolic, Lecture for the School of Information Technology and Engineering at the University of Ottawa, mbolic@site.uottawa.ca Haris Baltzakis, November 2004, Kalman/Particle Filters Tutorial
  • 9. Examples Source : Robotics and State Estimation Lab, University of Washington
  • 10. Two Robots Play “Catch” By: Mikael Pryor [email_address]
  • 11. Pong
  • 12. Tracking The Ball Where: The depends on which paddle is tracking the ball. Counterclockwise convention + for the left paddle - for the right paddle
  • 13. Predicting Where The Ball Will Be Prediction based on paddle position: If the predicted position of the ball is above
  • 14. Predicting Where The Ball Will Be (Cont’d) If the predicted position of the ball is below
  • 15. Random Error Random Noise in how the ball moves Random Error in the laser scanner The scanner has a resolution of 0.36 degrees. The scanner is only accurate to within + 0.01 meters Random Error in odometry for the robot The odometry could be off by as much as 36% of the distance traveled Compensated for by doing relative odometry using laser scanner. Only 0.01 m error as opposed to 0.36 m error Uses the walls to localize the robot.
  • 16. The Particle Filter Random error can be modeled with a Gaussian Probability Density Function with the following properties:
  • 18. Adding Excess Noise in X-Direction Using a camera instead of a laser scanner. The y-direction can be estimated accurately. The x-direction is harder to estimate with one camera. No depth perception Size of the ball The particle filter still works robustly in this scenario.
  • 19. The X-Noise Final Product
  • 20. OBJECT LOCALIZATION USING A PHYSICS SIMULATOR Neeti Wagle University of Colorado at Boulder
  • 21. INTRODUCTION Based on these particle filters, how does the world appear to the robot? Consider object localization using particle filters
  • 22. INTRODUCTION Norm : Localization of objects assumes that we know nothing about the environment What if, the environment was “intelligent”? What if, objects could communicate with the robot? Add an RFID tag to each object What if, objects could provide information about their geometries? Store object geometry in the tag
  • 23. INTRODUCTION What if, the robot had conceptual knowledge about the world ? Use a physics simulator Question : How can the robot use object geometries what it sees world knowledge (how the world behaves) to have a better understanding of the world?
  • 24. HYPOTHESIS Using object geometry, and simulated physics to localize objects with particle filters
  • 25. OPEN DYNAMICS ENGINE (ODE) C++ physics engine with Spaces, geometries, rigid bodies, joints Real time simulator Collision detection system Products that use ODE Video games Robotics simulators : Gazebo, Webots, OpenRAVE Developed by Russell Smith
  • 26. PHYSICS SIMULATOR PHYSICS SIMULATOR OBJECT GEOMETRIES PARTICLE FILTERS
  • 27. MOTIVATION - 1 PARTICLE FILTER VIEW OBJECT VIEW This configuration is not valid in the real world!
  • 28. MOTIVATION – 2 PARTICLE FILTER VIEW OBJECT VIEW This configuration is not valid in the real world!
  • 29. KEY IDEA Use the physics simulator to reject scenarios (particle filter hypotheses) where Objects are overlapping/embedded in each other Objects fall off when the simulation engine is run Goal : Find a world model which adheres to the particle filter hypotheses laws of physics
  • 30. ALGORITHM Consider J N possible configurations , where N : number of objects M : number of particles in each particle filter J <M Step 1 : Use ODE collision detection to check if any objects are overlapping or embedded in each other If yes, reject this configuration Step 2 : Run the ODE simulation engine by advancing time. Stop the engine when all objects are stable Calculate the mean squared distance of final configuration from starting configuration If distance below acceptable threshold, accept the configuration Output : Configuration with least mean squared distance -> valid world model
  • 40. ADVANTAGES Drops the “know-nothing-about-the-world” constraint which is too restrictive and unnecessary in intelligent environments Takes a multi-object view of the environment Significant in applications like grasping objects using a robotics arm Can be integrated with OpenRAVE to plan grasping motion using inverse kinematics solvers
  • 41. SHORTCOMING Testing all hypotheses is exponential in the number of objects Need a way to test only hypotheses with high likelihood Goal : make this an “anytime” algorithm
  • 42. IN THE PIPELINE Developing a branch-and-bound method for testing the hypotheses in decreasing order of likelihood Approach : Variation of the knapsack problem based on entropy When time runs out it returns the best hypotheses found so far
  • 43. FUTURE WORK Visual validation : Idea : Save the N best world models’ as snapshots Compare snapshots to a camera image to select the best hypotheses Middle ground approach Model using SIFT features instead of particle filters
  • 44. SUMMARY Aims to construct a object view of the world from individual location estimates Uses a simulator to reject invalid object configurations – serves as robot’s conceptual knowledge of the world Constructs 3D models of the world

Editor's Notes

  • #22: Goal : is to reason the way humans do But this is what the robot really sees This plot is showing the particle filters for a scene that the robot is sensing
  • #23: And by that I mean what if the objects could interact with the robot and be agents in their own right? Consider : This comm can either be passive or active. In passive…, In active the objects can actively make service request to the robot. A longterm motivating example is the dishwasher asking the robot to unload it. So these 2 factors really change the way we look at this problem. ….
  • #24: And by that I mean what if the objects could interact with the robot and be agents in their own right? Consider : This comm can either be passive or active. In passive…, In active the objects can actively make service request to the robot. A longterm motivating example is the dishwasher asking the robot to unload it. So these 2 factors really change the way we look at this problem. ….
  • #27: So the robot has the physics simulator which can serve as its conceptual knowledge of the world. It also has information about the geometries of the obj it senses. Finally, it continues to estimate the object locations using PFs. If you look at this model, we see that it is very similar to the way humans reason about their env and come to conclusions. But we are not quite sure how they use the conceptual knowledge to do that. So even with this powerful tool, the question still remains “what do we query the physics simulator about?”