Dieter Fox University of Washington Department of Computer Science & Engineering.

Slides:



Advertisements
Similar presentations
Bayesian Belief Propagation
Advertisements

Opportunity Knocks: A Community Navigation Aid Henry Kautz Don Patterson Dieter Fox Lin Liao University of Washington Computer Science & Engineering.
Recognizing Human Activity from Sensor Data Henry Kautz University of Washington Computer Science & Engineering graduate students: Don Patterson, Lin Liao.
State Estimation and Kalman Filtering CS B659 Spring 2013 Kris Hauser.
Exact Inference in Bayes Nets
1 Assisted Cognition Henry Kautz Don Patterson, Nan LI Oren Etzioni, Dieter Fox University of Washington Department of Computer Science & Engineering.
Dynamic Bayesian Networks (DBNs)
Undirected Probabilistic Graphical Models (Markov Nets) (Slides from Sam Roweis)
Assisted Cognition Henry Kautz University of Rochester Computer Science.
1 Assisted Cognition Henry Kautz, Oren Etzioni, & Dieter Fox University of Washington Department of Computer Science & Engineering.
Graphical models: approximate inference and learning CA6b, lecture 5.
Markov Networks.
Learning to Detect A Salient Object Reporter: 鄭綱 (3/2)
… Hidden Markov Models Markov assumption: Transition model:
1 Graphical Models in Data Assimilation Problems Alexander Ihler UC Irvine Collaborators: Sergey Kirshner Andrew Robertson Padhraic Smyth.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Part 2 of 3: Bayesian Network and Dynamic Bayesian Network.
Conditional Random Fields
CPSC 422, Lecture 18Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 18 Feb, 25, 2015 Slide Sources Raymond J. Mooney University of.
Computer vision: models, learning and inference Chapter 10 Graphical Models.
CS 188: Artificial Intelligence Fall 2009 Lecture 19: Hidden Markov Models 11/3/2009 Dan Klein – UC Berkeley.
Bayesian Filtering for Robot Localization
Computer vision: models, learning and inference
Function Approximation for Imitation Learning in Humanoid Robots Rajesh P. N. Rao Dept of Computer Science and Engineering University of Washington,
Extracting Places and Activities from GPS Traces Using Hierarchical Conditional Random Fields Yong-Joong Kim Dept. of Computer Science Yonsei.
Markov Localization & Bayes Filtering
Robust Activity Recognition Henry Kautz University of Washington Computer Science & Engineering graduate students: Don Patterson, Lin Liao, Krzysztof Gajos,
Graphical models for part of speech tagging
From Bayesian Filtering to Particle Filters Dieter Fox University of Washington Joint work with W. Burgard, F. Dellaert, C. Kwok, S. Thrun.
Simultaneous Localization and Mapping Presented by Lihan He Apr. 21, 2006.
Inferring High-Level Behavior from Low-Level Sensors Don Peterson, Lin Liao, Dieter Fox, Henry Kautz Published in UBICOMP 2003 ICS 280.
Collective Classification A brief overview and possible connections to -acts classification Vitor R. Carvalho Text Learning Group Meetings, Carnegie.
Young Ki Baik, Computer Vision Lab.
Experiments Test different parking lot images captured in different luminance conditions The test samples include 1300 available parking spaces and 1500.
Markov Random Fields Probabilistic Models for Images
Learning and Inferring Transportation Routines By: Lin Liao, Dieter Fox and Henry Kautz Best Paper award AAAI’04.
Advisor: Hsin-His Chen Reporter: Chi-Hsin Yu Date: From AAAI 2008 William Pentney, Department of Computer Science & Engineering University of.
The Sociometer: A Wearable Device for Understanding Human Networks
Learning to Navigate Through Crowded Environments Peter Henry 1, Christian Vollmer 2, Brian Ferris 1, Dieter Fox 1 Tuesday, May 4, University of.
CS Statistical Machine learning Lecture 24
Conditional Random Fields for ASR Jeremy Morris July 25, 2006.
Training Conditional Random Fields using Virtual Evidence Boosting Lin Liao, Tanzeem Choudhury †, Dieter Fox, and Henry Kautz University of Washington.
Tractable Inference for Complex Stochastic Processes X. Boyen & D. Koller Presented by Shiau Hong Lim Partially based on slides by Boyen & Koller at UAI.
Lecture 2: Statistical learning primer for biologists
Inferring High-Level Behavior from Low-Level Sensors Donald J. Patterson, Lin Liao, Dieter Fox, and Henry Kautz.
CSE 473 Ensemble Learning. © CSE AI Faculty 2 Ensemble Learning Sometimes each learning technique yields a different hypothesis (or function) But no perfect.
A Dynamic Conditional Random Field Model for Object Segmentation in Image Sequences Duke University Machine Learning Group Presented by Qiuhua Liu March.
Exact Inference in Bayes Nets. Notation U: set of nodes in a graph X i : random variable associated with node i π i : parents of node i Joint probability:
Gaussian Processes For Regression, Classification, and Prediction.
Markov Random Fields & Conditional Random Fields
Tracking with dynamics
Project ACCESS Henry Kautz, Dieter Fox, Gaetano Boriello (UW CSE) Don Patterson (UW / UC Irvine) Kurt Johnson, Pat Brown, Mark Harniss (UW Rehabilitation.
Pattern Recognition and Machine Learning
Sensor Analysis – Part II A literature based exploration Thomas Plötz [material taken from the original papers and John Krumm “Ubiquitous Computing Fundamentals”
1 Relational Factor Graphs Lin Liao Joint work with Dieter Fox.
Markov Networks: Theory and Applications Ying Wu Electrical Engineering and Computer Science Northwestern University Evanston, IL 60208
SA-1 University of Washington Department of Computer Science & Engineering Robotics and State Estimation Lab Dieter Fox Stephen Friedman, Lin Liao, Benson.
Thrust IIA: Environmental State Estimation and Mapping Dieter Fox (Lead) Nicholas Roy MURI 8 Kickoff Meeting 2007.
Learning and Inferring Transportation Routines Lin Liao, Don Patterson, Dieter Fox, Henry Kautz Department of Computer Science and Engineering University.
Conditional Random Fields and Its Applications Presenter: Shih-Hsiang Lin 06/25/2007.
CS 541: Artificial Intelligence Lecture VIII: Temporal Probability Models.
Chapter 6 Activity Recognition from Trajectory Data Yin Zhu, Vincent Zheng and Qiang Yang HKUST November 2011.
Understanding Human Behavior from Sensor Data
Understanding Human Behavior from Sensor Data
Understanding Human Behavior from Sensor Data
CSCI 5822 Probabilistic Models of Human and Machine Learning
Markov Chain Monte Carlo
Expectation-Maximization & Belief Propagation
Discriminative Probabilistic Models for Relational Data
Markov Networks.
Presentation transcript:

Dieter Fox University of Washington Department of Computer Science & Engineering

 Joint work with  Students: Brian Ferris, Julie Letchner, Lin Liao, Don Patterson, Alvin Raj, Amarnag Subramanya, Danny Wyatt  UW faculty: Jeff Bilmes, Gaetano Borriello, Henry Kautz  Intel Research Seattle: Tanzeem Choudhury, Matthai Philipose  Funded by  NSF, DARPA, MSR, Toyota Dieter Fox: Activity Recognition From Wearable Sensors2573 AU-08

 U.S. by 2050: 80 million people over age 65 and million Alzheimer's patients  Goal: Develop technology to  Support independent living by people with cognitive disabilities ▪ At home ▪ At work ▪ Throughout community  Improve health care ▪ Long term monitoring of activities of daily living (ADL’s) ▪ Intervention before a health crisis 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors3

4  Transportation routines via Dynamic Bayes Nets  Significant places via Conditional Random Fields  Activity recognition projects  Discussion 573 AU-08

 Given data stream from a wearable GPS unit  Infer the user’s location and mode of transportation (foot, car, bus, bike,...)  Predict where user will go  Detect novel behavior / user errors 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors5 [Liao-Fox-Kautz: AAAI-04, AIJ-07]

 Dead and semi-dead zones near buildings, trees, etc.  Sparse measurements inside vehicles, especially bus  Multi-path propagation  Inaccurate street map  … 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors6

 Map is directed graph  Location:  Edge e  Distance d from start of edge  Prediction:  Move along edges according to velocity model  Correction:  Update estimate based on GPS reading 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors7

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors8 GPS reading z k-1 zkzk Edge, velocity, position x k-1 xkxk Time k-1 Time k Task: Estimate posterior over hidden states

Problem: Predicted location is multi-modal 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors10 e 1 e 2 e 3 k-1 x e 0 ? ?

Problem: GPS reading is not on the graph 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors11 e 1 e 2 e 3 z k k x

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors12 e 1 e 2 e 3 z k k x  if =e 1 k x Problem: GPS reading is not on the graph

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors13 e 1 e 2 e 3 z k k x  if =e 2 k x Problem: GPS reading is not on the graph

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors14 GPS reading z k-1 zkzk Edge, velocity, position x k-1 xkxk Time k-1 Time k Task: Estimate posterior over all hidden states k-1 k GPS association e k-1 ekek Edge transition

STREET MAP Source: Tiger / Line data BUS ROUTES / STOPS Source: Metro GIS 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors15 RESTAURANTS / STORES Source: MS MapPoint

 Represents posterior by sets of weighted particles:  Basic idea: Sample some variables of state space and solve other variables analytically conditioned on samples  Here: Each particle contains Kalman filter for location:  Update sets by sampling procedure (SISR) 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors16 Edge transitions, velocities, edge associations KF for position

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors17 GPS measurements Particles (Kalman filters)

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors18 GPS reading z k-1 zkzk Edge, velocity, position x k-1 xkxk Time k-1 Time k m k-1 mkmk Transportation mode Particles:

 Encode prior knowledge into the model  Modes have different velocity distributions  Buses run on bus routes  Get on/off the bus near bus stops  Switch to car near car location 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors19

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors20 Measurements Projections Bus mode Car mode Foot mode Green Red Blue

 Goal (destination):  workplace (home, friends, restaurant,...)  Trip segments:  Home to Bus stop A on Foot  Bus stop A to Bus stop B on Bus  Bus stop B to workplace on Foot 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors21 BAWorkplace

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors22 GPS reading z k-1 zkzk Edge, velocity, position x k-1 xkxk Time k-1 Time k m k-1 mkmk Transportation mode t k-1 tktk Trip segment g k-1 gkgk Goal Particles: [Bui-Venkatesh-West: JAIR-02] [Liao-Fox-Kautz: AAAI-04, AIJ-07]

 Customized model for each user  Key to goal / path prediction and error detection  Use low level model to learn variable domains  Goals: locations where user stays for long time  Transition points: locations with high mode transition probability  Trip segments: connecting transition points or goals  Use full model to learn parameters  Transition probabilities (goals, trips, edges) via EM 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors23

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors24 Predicted goal Predicted path

GOING TO THE WORKPLACEGOING HOME 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors25 High probability transitions: bus car foot

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors27 GPS reading z k-1 zkzk Edge, velocity, position x k-1 xkxk Time k-1 Time k m k-1 mkmk Transportation mode t k-1 tktk Trip segment g k-1 gkgk Goal b k-1 bkbk Behavior mode normal / unknown / error [Patterson-Liao-etAl: Ubicomp-04]

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors28

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors29 Untrained flat model Trained model Instantiated model

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors30

Dieter Fox: Activity Recognition From Wearable Sensors31  Transportation routines via Dynamic Bayes Nets  Significant places via Conditional Random Fields  Activity recognition projects  Discussion 573 AU-08

 So far  No distinction between different types of goals  Model not transferable to other person  Goals learned solely based on duration 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors32 [Liao-Fox-Kautz: NIPS-05,IJCAI-05,IJRR-07]

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors33 Store Home Bus stop Parking Friend Restaurant Work

 Undirected graphical model  Introduced for labeling sequence data [Lafferty-et al: ICML-01]  No independence assumption on observations!  Trained discriminatively from labeled data  Applied successfully to  Natural language processing [McCallum-Li: CoNLL-03], [Roth-Yih: ICML-05]  Computer vision [Kumar-Hebert: NIPS-04], [Quattoni-Collins-Darrel: NIPS-05]  Robotics [Limketkai-Liao-Fox: IJCAI-05], [Friedman-Pasula-Fox: IJCAI-07] Dieter Fox: Activity Recognition From Wearable Sensors34573 AU-08

 Posterior factorizes into log-linear clique potentials  Local potentials link states to observations / features  Neighborhood potentials link states to neighboring states Dieter Fox: Activity Recognition From Wearable Sensors35 Hidden states x Observations z 573 AU-08 Conditional Random Fields

 Posterior factorizes into log-linear clique potentials  Local potentials link states to observations / features  Neighborhood potentials link states to neighboring states Dieter Fox: Activity Recognition From Wearable Sensors36 Hidden states x Observations z 573 AU-08 Conditional Random Fields

 Posterior factorizes into log-linear clique potentials  Local potentials link states to observations / features  Neighborhood potentials link states to neighboring states Dieter Fox: Activity Recognition From Wearable Sensors37 Hidden states x Observations z 573 AU-08 Conditional Random Fields Partition function WeightsFeature functions

 Conditional distribution parameterized via weights w:  Maximize conditional log-likelihood with shrinkage prior:  Maximization via stochastic / conjugate gradient, L-BFGS  Alternative: maximize pseudo log-likelihood Dieter Fox: Activity Recognition From Wearable Sensors38573 AU-08 [Besag: 1975]

 BP computes posteriors via local message passing  Sum-product for posterior  Max-product for MAP  Exact if network has no loops  Otherwise, run loopy belief propagation and hope it works  Alternatives: ICM, graph-cut, MCMC, … Dieter Fox: Activity Recognition From Wearable Sensors39573 AU

 Temporal pattern: duration, time of day, etc.  Geographic evidence: is there a restaurant / store / bus stop nearby?  Transition relation: adjacent activities  Spatial feature: relation between place and activity  Summation constraint: number of places labeled home or workplace 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors40

GPS trace 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors41 … … Activity sequence walk, drive, ride bus, work, visit, sleep, pickup, get on/off bus a1a1 a2a2 a3a3 a4a4 a5a5 a N-2 a N-1 aNaN [Liao-Fox-Kautz: NIPS-05]

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors42 … GPS trace  Two weeks data (> 50,000 gps points)  Inference: loopy BP (10 minutes); Learning: Pseudo-likelihood (3 minutes) … Activity sequence walk, drive, ride bus, work, visit, sleep, pickup, get on/off bus a1a1 a2a2 a3a3 a4a4 a5a5 a N-2 a N-1 aNaN … Significant places home, work, bus stop, parking lot, friend’s home p1p1 p2p2 p3p3 pKpK Global, soft constraints # homes, workplaces wh [Liao-Fox-Kautz: NIPS-05]

 Generalize from people with labeled data to others without labeled data  Relational Markov Networks to specify CRFs and parameter sharing via templates 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors43 Training data User1 User2 User3 Generic model Other users Supervised learning Shared parameters [Taskar-Abbeel-Koller: UAI-02]

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors44

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors45

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors46

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors47 Cross-validation using data from 4 persons

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors48

Dieter Fox: Activity Recognition From Wearable Sensors49  Transportation routines via Dynamic Bayes Nets  Significant places via Conditional Random Fields  Activity recognition projects  Discussion 573 AU-08

Dieter Fox: Activity Recognition From Wearable Sensors50 [Ferris-Haehnel-Fox: RSS-06]

 GP regression  nonparametric  smooth interpolation  uncertainty estimates 573 AU-08 Dieter Fox: Activity Recognition From Wearable Sensors 51 Mean Variance

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors52

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors53 Battery Camera (on ribbon cable) GPS receiver iMote2 + two sensor boards MicrophoneCamera Light sensors 2 GB SD card Indicator LEDs  Records 4 hours of audio, images (1/sec), GPS, and sensor data (accelerometer, barometric pressure, light intensity, gyroscope, magnetometer)

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors54 Courtesy of G. Borriello

55573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors [Subramanya-Raj-Bilmes-Fox: UAI-06, ISRR-06]  Boosted cassifiers [Lester-Choudhury-etAl: IJCAI-05]  Virtual evidence boosting [Liao-Choudhury-Fox-Kautz: IJCAI-07] Accuracy: 88% activities, 93% environment

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors56 GPS traces Image sequence (currently in car) Timeline of soldier activities

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors57 [Patterson-Fox-Kautz-Philipose: ISWC-05] [Philipose-Fishkin-etAl: Pervasive-04]

573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors58

59573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors

 Performs object aggregation and smoothing over object types Accuracy: 88% SED: AU-08Dieter Fox: Activity Recognition From Wearable Sensors

61  Transportation routines via Dynamic Bayes Nets  Significant places via Conditional Random Fields  Activity recognition projects  Discussion 573 AU-08

 Graph-based representation well suited to compactly represent and learn motion patterns  Hierarchical graphical models (DBN, CRF) powerful tools for bridging gap between continuous sensor data and abstract states  Conditional Random Fields can handle high- dimensional / dependent feature vectors  Sensor-based activity recognition is an exciting research area with potentially huge impact! 573 AU-08Dieter Fox: Activity Recognition From Wearable Sensors62