Advanced Techniques for Mobile Robotics Location-Based Activity Recognition

Similar documents
Artificial Beacons with RGB-D Environment Mapping for Indoor Mobile Robot Localization

Some Signal Processing Techniques for Wireless Cooperative Localization and Tracking

INTRODUCTION TO KALMAN FILTERS

Research Seminar. Stefano CARRINO fr.ch

Tracking Algorithms for Multipath-Aided Indoor Localization

An Experimental Comparison of Path Planning Techniques for Teams of Mobile Robots

Robot Mapping. Summary on the Kalman Filter & Friends: KF, EKF, UKF, EIF, SEIF. Gian Diego Tipaldi, Wolfram Burgard

Detection of Compound Structures in Very High Spatial Resolution Images

Bayesian Nonparametrics and DPMM

Dynamic Data-Driven Adaptive Sampling and Monitoring of Big Spatial-Temporal Data Streams for Real-Time Solar Flare Detection

Vistradas: Visual Analytics for Urban Trajectory Data

Communications over Sparse Channels:

A Probabilistic Method for Planning Collision-free Trajectories of Multiple Mobile Robots

Durham E-Theses. Development of Collaborative SLAM Algorithm for Team of Robots XU, WENBO

Environmental Sound Recognition using MP-based Features

Path Planning in Dynamic Environments Using Time Warps. S. Farzan and G. N. DeSouza

Location Segmentation, Inference and Prediction for Anticipatory Computing

Robot Mapping. Introduction to Robot Mapping. Gian Diego Tipaldi, Wolfram Burgard

An Approach to Semantic Processing of GPS Traces

Going My Way: a user-aware route planner

GNSS Ocean Reflected Signals

Robot Architectures. Prof. Yanco , Fall 2011

Spatial Navigation Algorithms for Autonomous Robotics

A Spatiotemporal Approach for Social Situation Recognition

Obstacle Displacement Prediction for Robot Motion Planning and Velocity Changes

신경망기반자동번역기술. Konkuk University Computational Intelligence Lab. 김강일

Robot Architectures. Prof. Holly Yanco Spring 2014

Energy-Efficient Mobile Robot Exploration

The fundamentals of detection theory

Tracking a Moving Target in Cluttered Environments with Ranging Radios

Unsupervised Clustering of EO-1 ALI Panchromatic Data Using Multilevel Local Pattern Histograms and Latent Dirichlet Allocation Classification

Outlier-Robust Estimation of GPS Satellite Clock Offsets

4D-Particle filter localization for a simulated UAV

Distributed Collaborative Path Planning in Sensor Networks with Multiple Mobile Sensor Nodes

Applications & Theory

Artificial Neural Network based Mobile Robot Navigation

Particle. Kalman filter. Graphbased. filter. Kalman. Particle. filter. filter. Three Main SLAM Paradigms. Robot Mapping

Alternation in the repeated Battle of the Sexes

SONG RETRIEVAL SYSTEM USING HIDDEN MARKOV MODELS

Kalman Filtering, Factor Graphs and Electrical Networks

Pedestrian Navigation System Using. Shoe-mounted INS. By Yan Li. A thesis submitted for the degree of Master of Engineering (Research)

Artificial Intelligence: An overview

Digital Television Lecture 5

I. INTRODUCTION II. LITERATURE SURVEY. International Journal of Advanced Networking & Applications (IJANA) ISSN:

Background Pixel Classification for Motion Detection in Video Image Sequences

Recommender Systems TIETS43 Collaborative Filtering

Distributed Vision System: A Perceptual Information Infrastructure for Robot Navigation

HISTOGRAM BASED AUTOMATIC IMAGE SEGMENTATION USING WAVELETS FOR IMAGE ANALYSIS

Introduction to Mobile Robotics Welcome

Image Extraction using Image Mining Technique

Enhanced wireless indoor tracking system in multi-floor buildings with location prediction

Innovative mobility data collection tools for sustainable planning

Non Intrusive Load Monitoring

Link State Routing. Brad Karp UCL Computer Science. CS 3035/GZ01 3 rd December 2013

Machine Learning. Classification, Discriminative learning. Marc Toussaint University of Stuttgart Summer 2014

KALMAN FILTER APPLICATIONS

CS295-1 Final Project : AIBO

GESTURE RECOGNITION WITH 3D CNNS

CS686: High-level Motion/Path Planning Applications

Developing the Model

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Low-Cost Localization of Mobile Robots Through Probabilistic Sensor Fusion

A Kalman Filter for Robust Outlier Detection

COS Lecture 7 Autonomous Robot Navigation

GPS data correction using encoders and INS sensors

EE 435/535: Error Correcting Codes Project 1, Fall 2009: Extended Hamming Code. 1 Introduction. 2 Extended Hamming Code: Encoding. 1.

Detection, Recognition, and Localization of Multiple Cyber/Physical Attacks through Event Unmixing

Multi-sensory Tracking of Elders in Outdoor Environments on Ambient Assisted Living

Virtual Grasping Using a Data Glove

Dynamically Configured Waveform-Agile Sensor Systems

From ProbLog to ProLogic

AUTOMATED MUSIC TRACK GENERATION

Data collection and modeling for APTS and ATIS under Indian conditions - Challenges and Solutions

Applying Vision to Intelligent Human-Computer Interaction

Concept of the application supporting blind and visually impaired people in public transport

Figure 1. Artificial Neural Network structure. B. Spiking Neural Networks Spiking Neural networks (SNNs) fall into the third generation of neural netw

Feature Selection for Activity Recognition in Multi-Robot Domains

A Message-Passing Receiver For BICM-OFDM Over Unknown Clustered-Sparse Channels. Phil Schniter T. H. E OHIO STATE UNIVERSITY

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Detecting Intra-Room Mobility with Signal Strength Descriptors

A Comparison of Particle Swarm Optimization and Gradient Descent in Training Wavelet Neural Network to Predict DGPS Corrections

On-site Traffic Accident Detection with Both Social Media and Traffic Data

Time-of-arrival estimation for blind beamforming

An Autonomous Vehicle Navigation System using Panoramic Machine Vision Techniques

Autonomous Mobile Robots

Available online at ScienceDirect. Procedia Environmental Sciences 22 (2014 ) Tao Feng*, Harry J.P.

Bayesian Positioning in Wireless Networks using Angle of Arrival

International Journal of Informative & Futuristic Research ISSN (Online):

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 6: Fading

[Kumar, 5(12): December2018] ISSN DOI /zenodo Impact Factor

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 6: Fading

BODILY NON-VERBAL INTERACTION WITH VIRTUAL CHARACTERS

AGENT PLATFORM FOR ROBOT CONTROL IN REAL-TIME DYNAMIC ENVIRONMENTS. Nuno Sousa Eugénio Oliveira

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 6: Fading

Traffic Management for Smart Cities TNK115 SMART CITIES

Session 2: 10 Year Vision session (11:00-12:20) - Tuesday. Session 3: Poster Highlights A (14:00-15:00) - Tuesday 20 posters (3minutes per poster)

A Vehicular Visual Tracking System Incorporating Global Positioning System

Clustering of traffic accidents with the use of the KDE+ method

Tracking a Moving Target in Cluttered Environments with Ranging Radios

Computer Vision 2 Exercise 2. Extended Kalman Filter & Particle Filter

Transcription:

Advanced Techniques for Mobile Robotics Location-Based Activity Recognition Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

Activity Recognition Based on L. Liao, D. J. Patterson, D. Fox, and H. Kautz Learning and Inferring Transportation Routines Journal Artificial Intelligence, 2007 L. Liao, D. Fox, and H. Kautz Extracting Places and Activities from GPS Traces Using Hierarchical Conditional Random Fields Int. Journal of Robotics Research, 2007 2

Motivation (1) Long-term monitoring of activities of daily living Learn typical navigation / transportation routines from user locations (GPS traces) Real-time tracking and predicting a user s behavior Recognizing user errors Guidance for people with cognitive disabilities (e.g., Alzheimer's patients) 3

Motivation (2) Recognize daily activities (working, visiting friends, shopping,...) Infer significant places (home, workplace, friends, stores, restaurants,...) To provide location-based information services (e.g., searching nearby restaurants) For behavior analysis / personal guidance systems to help cognitively impaired people 4

Learning and Reasoning About Transportation Routines Given the data stream of a GPS device Track a user s location Infer the user s mode of transportation (foot, car, bus,...) Predict the future movements (short-term and distant goals) Detect novel behavior / user errors 5

Geographic Information Systems Street map Bus routes and bus stops 6

GPS-Tracking is not Trivial GPS errors Dead zones near buildings, trees,... Sparse measurements inside vehicles (bus) Multiple possible paths Inaccurate street map 7

Architecture Learning Engine ü Goals ü Paths ü Modes ü Errors GIS Database Inference Engine slide adapted from: H. Kautz 8

Probabilistic Inference Hierarchical activity model: 3-level dynamic Bayesian network (DBN) to model temporal dependencies as well as Novel behavior (top level) Navigation goal (second level) Transportation mode, location, and velocity (lowest level) Inference via Rao-Blackwellized particle filter in combination with a Kalman filter Parameter learning via Expectation- Maximization (EM) 9

Lowest Level of the DBN Estimation of transportation mode, location, and velocity Use the given street map as a directed graph Define a location as: An edge/street with a direction (up/down) Distance from start vertex of edge Prediction: Move along the edges according to the velocity model Correction: Update the estimate based on GPS readings 10

Dynamic Bayesian Network x k-1 x k Edge, velocity, position z k-1 Time k-1 z k Time k GPS reading Task: Estimate the posterior over the hidden variables slide credit: D. Fox 11

Kalman Filtering on a Graph: Prediction Step e 1 x k-1 e 0? e 3? e 2 Problem: Predicted location is multi-modal slide credit: D. Fox 12

Kalman Filtering on a Graph: Correction Step x k e 1 z k e 3 e 2 Problem: GPS reading is not on the graph slide credit: D. Fox 13

Kalman Filtering on a Graph: Correction Step x k x k if θ =e 1 e 1 z k e 3 e 2 Problem: GPS reading is not on the graph slide credit: D. Fox 14

Kalman Filtering on a Graph: Correction Step e 1 x k e 3 x k if θ =e 2 z k e 2 Problem: GPS reading is not on the graph slide credit: D. Fox 15

Dynamic Bayesian Network e k-1 e k Edge transition x k-1 θ k-1 θ k z k-1 Time k-1 x k z k Time k Edge, velocity, position GPS association GPS reading Task: Estimate the posterior over all hidden variables slide credit: D. Fox 16

Rao-Blackwellized Particle Filtering (RBPF) Inference: Estimate the posterior given all past sensor measurements Particle filtering Approximation of the posterior using samples Supports multi-modal distributions Supports discrete variables (e.g., transp. mode) Rao-Blackwellization Sample some variables of the state space and solve the others analytically conditioned on sampled values 17

Factorization 18

Factorization Histories over the velocity, edge transition, and edge association, represented by samples in the PF 19

Factorization Histories over the velocity, edge transition, and edge association, represented by samples in the PF Location of the person on the graph, estimated by a KF conditioned on samples 20

Rao-Blackwellized Particle Filter Represents the posterior by a set of n weighted particles and applies sampling Here: Particles include distributions over variables, not just single samples 21

Rao-Blackwellized Particle Filter Represents the posterior by a set of n weighted particles and applies sampling Here: Particles include distributions over variables, not just single samples Each particle of the RBPF has the form sampled values: edge transitions velocities edge associations KF for the location 22

Sampling Step Sample the velocity v (i) from a mixture of Gaussians, which is conditioned on the transportation mode (described later on) Bike Bus Car Foot image source: H. Kautz 23

Sampling Step Sample the velocity v (i) from a mixture of Gaussians, which is conditioned on the transportation mode (described later on) Sample the edge transition e (i) based on the previous position of the person and a learned transition model Sample the edge association θ (i) based on the distance between z k and the streets in the vicinity 24

Kalman Filter Update of the position estimate based on the sampled values and the measurement Prediction: Use sampled velocity to predict traveled distance Use sampled edge transition if predicted mean transits over a vertex Correction: Find shortest path between the prediction and the snapped measurement Apply a 1-dimensional Kalman filtering correction step 25

Prediction Step x k-1 e 0 if e(i) =e 3 e 3 e 1 e 2 image source: D. Fox 26

Correction Step x k e 3 x k if θ =e 1 e 1 z k e 2 Depending on the edge association, the correction step moves the estimate up or downwards image source: D. Fox 27

Mode of Transportation / Prior Knowledge Transportation modes have different velocity models Buses run on bus routes (corresponding to edge transitions) Get on/off the bus near bus stops Switch to car near car location 28

Dynamic Bayesian Network m k-1 m k Transportation mode x k-1 x k Edge, velocity, position z k-1 Time k-1 z k Time k GPS reading slide credit: D. Fox 29

Transportation Routines A B Workplace Goal (destination): Workplace (could also be friends, restaurant,...) Trip segments: <start, end, transportation> Home to Bus stop A on Foot Bus stop A to Bus stop B on Bus Bus stop B to workplace on Foot slide credit: D. Fox 31

Hierarchical Model g k-1 g k Goal t k-1 t k Trip segment m k-1 m k Transportation mode x k-1 x k Edge, velocity, position z k-1 Time k-1 z k Time k GPS reading slide credit: D. Fox 32

Remarks Note the hierarchical structure RBPF first samples the goal and trip segment Low-level model (w/o goal and trip segment) samples the edge transition solely based on the location and the transp. mode Hierarchical model takes the current trip segment into account Edge transition probabilities depend on trip segments, which leads to improved predictive capabilities 33

Learning the DBN Parameters Learn variable domains Goals: Locations where the user stays for long time Transition points: Locations with high transportation mode switching probability Trip segments: Connect transition points and goals Learn transition matrices for goals, trip segments, and edges via EM Unlabeled data: 30 days of one user, logged at 2 second intervals 34

Prediction of Goal and Path Predicted goal Predicted path animation: D. Fox Correct goal and route predicted 100 blocks away 35

Learned Transition Probabilities Going to the workplace Going home High probability transitions: bus car foot slide credit: D. Fox 36

Prediction Capabilities 0.5 5 43 slide credit: D. Fox 37

Detecting Deviations b k-1 b k g k-1 g k Goal Behavior mode normal / unknown t k-1 t k Trip segment m k-1 m k Transportation mode x k-1 x k Edge, velocity, position z k-1 slide credit: D. Fox Time k-1 z k Time k GPS reading 38

Detecting Novel Behavior RBPF: Sample novelty variable Depending on the sampled value use Hierarchical model as trained for the user Untrained, flat model (no user-specific preferences for motion directions or transportation modes) 39

Detecting User Errors Predicted goal x Predicted bus stop animation: D. Fox Missing the bus stop 40

Application: Cognitive Aid image source: D. Fox 41

Application: Cognitive Aid image source: D. Fox Dieter Fox: Activity Recognition From Wearable Sensors 42

Inferring Significant Places and Activities So far No distinction between different types of goals Fixed thresholds for the duration to extract goals and transition mode transfer locations However, both can have a significant influence on the inference quality Idea: Simultaneous identification and labeling of significant locations and estimation of activity 43

Give Semantic Meaning to Places Friend Restaurant Work Bus stop Parking Store Home Bus stop image source: D. Fox 44

Geographic Information Systems Street map Bus routes / bus stops Restaurants / Stores 45

Activity Inference For each location (10m patch) infer the person s activity (e.g., bus, foot, work, visit) Use information such as Temporal pattern: duration, time of day, etc. Geographic features: restaurant / store / bus stop nearby Activities of neighbor cells Additionally consider number of occurances of labels (e.g., home, workplace; summation constraints) 46

Conditional Random Fields (CRF) CRF are undirected graphical models Developed for labeling data sequences Do not assume independence between the observations Relationships between labels of states are considered and the labeling is done simultaneously CRF model the distribution p(x z) Hidden states x = activities Observations z = features 47

Conditional Random Fields Hidden states x x k 1 Observations z slide adapted from: D. Fox 48

Conditional Random Fields Hidden states x x k 1 Observations z Clique potentials measure the compatibility among the variables in a clique c Local potentials link states to observations Neighborhood potentials link states to neighboring states slide adapted from: D. Fox 49

Conditional Random Fields Hidden states x x k 1 Observations z p(x z) = 1 Z(z) #! c (x c,z c ) = 1 Z(z) exp & ' c"c % $ c"c w c ( T f c (x c,z c )) * Normalizing partition function Weights Feature functions Local potentials link states to observations Neighborhood potentials link states to neighboring states slide adapted from: D. Fox 50

Feature Functions Typically designed by the user Extract a vector of features from variable values Weights represent importance of different features for correctly inferring the hidden states Weights are learned from labeled training data Approximation of the conditional distribution parameterized via the weights 51

Features for Place Labeling Temporal information: time of day / week, duration (binary indicator function) Average velocity (binary indicator) Geographic information: bus stop / restaurant / shop nearby (binary indicator) Transition relation: Adjacent activities (e.g., driving the car after taking the bus rather unlikely) Spatial context: Relation between place and activity (count + binary indicator for each combination of place, activity, frequency) Summation constraints: Number of places labeled home / workplace (count features) 52

Hierarchical CRF Model a 1 a 2 a 3 a 4 a 5 a N-2 a N-1 a N slide adapted from: D. Fox Activity sequence walk, drive, ride bus, work, visit, sleep, pickup, get on/off bus Local evidence time, duration, velocity, geographic information 53

Hierarchical CRF Model h w Global, soft constraints # homes, workplaces p 1 p 2 p 3 p K Significant places home, work, bus stop, parking lot, friend s home a 1 a 2 a 3 a 4 a 5 a N-2 a N-1 a N slide adapted from: D. Fox Activity sequence walk, drive, ride bus, work, visit, sleep, pickup, get on/off bus Local evidence time, duration, velocity, geographic information 54

Experimental Results GPS data from 4 different persons / 7 days 40,000 GPS measurements / 10,000 activity segments Manually labeled activities and places Leave-one-out cross validation Maximum pseudo-likelihood for learning (1 minute to converge) Inference via loopy belief propagation (activities and places from 1 week within 1 minute) 55

Example: Raw GPS Data image from: D. Fox 56

Activities for Each Patch image from: D. Fox 57

Places by Clustering Significant Activities image from: D. Fox 58

Improved Place Finding False negative 10 8 6 4 2 10 min Threshold method Our model 5 min 3 min 1 min 0 0 10 20 30 40 False positive New model clearly outperforms the threshold method 59

Summary of a Day Most likely sequence of activities and places 60

Summary Location-based activity recognition is possible Graph-based representations are well suited to compactly represent and learn typical behavior Hierarchical graphical models (DBN, CRF) powerful tools for bridging the gap between continuous sensor data, low-level activities, and abstract states Conditional Random Fields can handle highdimensional / dependent feature vectors 61

Further Reading L. Liao, D. Fox, H. Kautz Extracting Places and Activities from GPS Traces Using Hierarchical Conditional Random Fields Int. Journal of Robotics Research, 2007 L. Liao, D. J. Patterson, D. Fox, H. Kautz Learning and Inferring Transportation Routines Journal Artificial Intelligence, 2007 62