chair for communication technology (comtec), faculty of electrical engineering / computer science...

22
for Communication Technology (ComTec), Faculty of Electrical Engineering / Computer Sc for Communication Technology (ComTec), Faculty of Electrical Engineering / Computer Sc Prediction of Context Time Series Stephan Sigg, Sandra Haseloff , Klaus David University of Kassel, Germany WAWC’07, August 16, 2007 Lappeenranta, Finland

Post on 19-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Chair for Communication Technology (ComTec), Faculty of Electrical Engineering / Computer ScienceChair for Communication Technology (ComTec), Faculty of Electrical Engineering / Computer Science

Prediction of Context Time Series

Stephan Sigg, Sandra Haseloff, Klaus David

University of Kassel, Germany

WAWC’07, August 16, 2007Lappeenranta, Finland

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff22

Contents

• Introduction to Context Prediction

• Context Abstraction Levels

• Context Prediction Architecture

• Context Prediction Algorithm

• Simulation Results

• Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff33

Context Awareness Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• In current systems, mostly present and/or past context considered

• Adaptation to anticipated future contexts➜ Context Prediction

Definition by [Dey]:

A system is context-aware if it uses context to provide relevant information and/or services to the user, where relevancy depends on the user’s task.

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff44

Context Prediction Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

What is Context prediction?

Given:

Time series of observed contexts

Task:

Infer information about future contexts

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff55

Context Prediction (2) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff66

Context Prediction (3) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff77

Context Prediction (4) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff88

Context Prediction (5) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff99

Context Prediction (6) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1010

Context Prediction – Definition Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• Let T be a context time series

• Given a probabilistic process p(t) that describes the behaviour of the user in time

• Context prediction is to learn and apply a prediction function

that approximates p(t)

miiiki tttti TTtf

,, 1:)(

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1111

High-Level and Low-Level Context Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1212

High-Level and Low-Level Context (2) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1313

High-Level and Low-Level Context (3) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1414

High-Level and Low-Level Context (4) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• Should prediction be based on high-level contexts or on low-level contexts?

• Context prediction in the literature is based on high-level contexts

• Prediction based on low-level contexts is beneficial in some cases

• No architectures for low-level context prediction available

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1515

Context Prediction Architecture Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

Integrated into FOXTROT (Framework for Context-Aware Computing) based on FAME2 middleware

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1616

Context Prediction Architecture (2) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1717

Context Prediction Architecture (3) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• Context HistoryObserved past contexts

• RulebaseTypical context patterns

• Learning ComponentCreation and update of rulebase

• Prediction ComponentActual context predictionUsage of alignment algorithm

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1818

Context Prediction Algorithm Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

Alignment algorithm inspired from bioinformatics

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff1919

Context Prediction Algorithm (2) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff2020

Simulation Results Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• Simulations on synthetic and concrete data have been performed that confirm the results

• Simulations conducted so far:– Several simulations on synthetic data

– Prediction of windpower

– Prediction of GPS trajectories

• Comparison of prediction accuracy for high-level vs. low-level prediction and for different prediction algorithms

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff2121

Simulation Results (2) Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• Windpower prediction results– ARMA algorithm best suited

– Alignment algorithms performs well

– Reasons: Periodic patterns in numerical data, small prediction horizon

• Location prediction results– Alignment algorithm best suited

– Reasons: Typical behaviour patterns, longer prediction horizon, high sampling intervals

© © ComTec ComTec 20072007

Dr. Sandra HaseloffDr. Sandra Haseloff2222

Conclusion Introduction – Abstraction Levels – Architecture – Algorithm – Simulation – Conclusion

• Context prediction is a promising extension for context-aware applications

• Context prediction based on low-level contexts can have benefits to prediction based on high-level contexts

• Architecture for context prediction based on low-level contexts

• Novel, powerful algorithm for context prediction