October 4, 2004

Modeling ADLs with Timed HMMs

Here are some results for using HMM's to recognize ADLs. First about the data set:

This was the dataset that Matthai first recorded at his house. It consists of 17 non-researchers performing 12 activities one from each of 12 classes. The 12 classes were chosen randomly from a total set of 14 classes, so in each user trace there are 2 classes not represented. The classes of activities performed correspond to ADLs on the form that Intel scrounged up that care-givers fill out during home-care visits.

Each user wore an RFID antenna glove and performed their activities in a house that was tagged with 108 RFID tags. The sequence of activities has no information as they were randomly ordered. Each activity was performed atomically with no interruptions. Here are some statistics related to the data:

Activity Class# of traces in datasetAverage Duration in seconds
Personal Appearance1691
Oral Hygiene13108
Toileting15111
Hand Washing1175
Housecleaning16134
Appliance Usage1392
Prepare a snack12174
Prepare a drink19135
Control the temperature1567
Laundry11146
Leisure15152
Telephone Usage17149
Infant Care17160
Take Medication1474

Here is a graph of the activity durations:

durationByClass.jpg

Here is the aggregate of all of those durations approximated by a gamma function

duration.jpg

To model this domain with HMMs I segmented each of the traces into their 12 composite activities. I calculated P(RFID objects given activity) for each activity including the possibility of a "nothing" observation. Then I constructed an HMM in which there was one node for each activity. Each node has a self-transition whose probability was calculated based on mean activity duration. Each node also had 13 uniformly distributed out-transitions to the other activity nodes. The HMM started with a uniform prior over all of the activities. I then performed 17 fold cross-validation on the user traces and determined the viterbi path through the state space that corresponded to left out user trace. Here are the results:

Total Number of Activities performed:204
Number of missed Activities (False Negatives)17
*Average duration of missed activity82 second
*Average number of objects touched in a missed activity2.3
Number of added Activities (False Positives)6
Number of confused Activities17
*Toileting interpreted as washing hands7 times
*Washing hands interpreted as toileting1 time
*Using a dishwasher interpreted as making a snack1 time
*Making a drink interpreted as making a snack1 time
*Personal appearance interpreted as washing hands1 time
*Personal appearance interpreted as brushing teeth2 times
*Cleaning interpreted as making a drink1 time
*Using an appliance interpreted as making a drink1 time
*Making a drink interpreted as using an appliance1 time
*Leisure interpreted as controlling temperature1 time
Overall Recall (Correctly guessed activities)/(All true activities) = 160/20478%
Overall Precision (Correctly guessed activiites)/(All guessed activities) = 187/19397%
Posted by djp3 at October 4, 2004 5:00 PM | TrackBack (0)
Comments
Post a comment

Post a comment