Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

30
Energy-efficient Self- adapting Online Linear Forecasting for Wireless Sensor Network Applications Jai-Jin Lim and Kang G. Shin Real-Time Computing Laboratory, Electrical Engineering and Computer Science University of Michigan, Ann Arbor, MI 48109–2122, USA Mobile Adhoc and Sensor Systems Conference, 2005. IEEE International Conference on

description

Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications. Jai-Jin Lim and Kang G. Shin Real-Time Computing Laboratory, Electrical Engineering and Computer Science University of Michigan, Ann Arbor, MI 48109 – 2122, USA - PowerPoint PPT Presentation

Transcript of Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Page 1: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Jai-Jin Lim and Kang G. ShinReal-Time Computing Laboratory, Electrical Engineering

and Computer Science University of Michigan, Ann Arbor, MI 48109–2122, USA

Mobile Adhoc and Sensor Systems Conference, 2005. IEEE International Conference on

Page 2: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Outline

Introduction Related work Motivation and problem Design of energy-efficient self-

adapting online linear forecast Evaluation Conclusion

Page 3: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Introduction Forecast or prediction is of fundamental

importance to all sensor network applications and services, including network management, data aggregation and mining, object tracking, and environmental surveillance.

Forecast should be designed as a middleware component that is predictive, energy-efficient, and self-manageable

Page 4: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Introduction Predictive, a forecast method should predict

as many future measurements as possible with the required forecast quality.

Energy-efficient, when the prediction logic is shared across networked sensors, a forecast method should reduce the number of measurements to be transmitted through the network.

Self-manageable, a forecast method should self adjust the model parameters based on the forecast errors observed during actual measurements.

Page 5: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Introduction We focus on linear forecast, as it has

been widely used to characterize the time-series data for many data mining and feature extraction algorithm, which work on a series of piece-wise linear representations (PLRs) extracted from the underlying time-series data.

Page 6: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Related workDistributed in-network aggregation and approximate monitoring in sensor networks. To reduce the number of transmissions

involved in a distributed in-network aggregation, the authors of [7] rely on an aggregation tree rooted at an aggregator.

The aggregated result is affected lot by packet loss over a lossy wireless channel. To remedy this problem, the authors of [12] proposed a new robust aggregation tree construction algorithm against packet loss over a wireless channel.

Page 7: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Related workData mining and piece-wise linear representation

The authors of [6] compare different time-series representations over many real-world data in terms of reconstruction accuracy. They concluded that there is little difference among all well-known approaches in terms of the root mean square error.

The authors of [5] undertook extensive review and empirical comparison of a variety of algorithms to construct a piece-wise linear representation from time-series data stored in data base systems. They also proposed the on-line bottom up piece-wise linear segmentation technique, called SWAB (Sliding Window And Bottom-up), that produces high-quality approximations.

Page 8: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemA. Motivation

Initially, our desire for the method is generated by the need to design a unified in-network data aggregation and mining service, which extends the in-network data aggregation service in such a way that data mining queries are issued and processed within the same network.

Both aggregation service and data mining service need to collect continuous measurements, typically at periodic intervals, about various network states such as the temperature of some region and position/ orientation of moving targets, whose data type is numeric in sensor networks.

Page 9: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemA. Motivation

Aggregation results like AVG, SUM, MIN, and MAX, hide key information on gradual trends or patterns in measurements.

PLR will be appropriate as a basic representation of the network state for a unified in-network aggregation and data mining service. It used by many data mining applications, not only holds such patterns, but also reconstruct the original time-series within some error bound.

Page 10: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemb. Problem statement

Design an energy-efficient self-adaptive online linear forecast method.

Given: An time-series xi, i=1,2,… forecast quality threshold ε

Minimizes the number of trend changes under a given quality measure.

Page 11: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemb. Problem statement

It will produce a sequence of piece-wise linear segments, where each piece-wise linear fit to the underlying original time-series data:

Page 12: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemb. Problem statement

Page 13: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemb. Problem statement

The forecast quality:

Page 14: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Motivation and problemb. Problem statement

Since the solution should be Energy-efficient: minimize the

number of trend changes. Lightweight: incur O(1) space and

time overheads in extracting a trend. Adaptive: self-adjust the model

parameters. On-line: there is no time lag.

Page 15: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Design of energy-efficient self-adapting online linear forecast

(A) preliminary Least-Square-Error based forecast

method (LSEL) Non-seasonal Holt-Winters Linear

forecast (NHWL) Double-Exponential-Smoothing based

Linear forecast (DESL)

Page 16: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Least-Square-Error based forecast method (LSEL)

An intuitive approach to extracting linear trend information is to apply the linear regression method

Forecasting with the linear regression needs to identify the model parameters from past W measurements.

A w-period moving linear regression with O(W) space and time requirements is built as follows.

Page 17: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Least-Square-Error based forecast method (LSEL)

Suppose [tb,te] is the interval for time series Past W measurements of xi, i∈[tb,te] , W≡te-tb+1

, will be extract the parameters of a new liner trend[18]

The τ- step ahead linear forecast into future measurement after t is given by

Page 18: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Non-seasonal Holt-Winters Linear forecast (NHWL)

A commonly-used linear trend forecast algorithm with O(1) space and time overheads is NHWL.

It use exponential smoothing to extract the model parameters of a linear trend.

NHWL uses separate smoothing parameters, α,β (0< α,β <1) for the intercept and the slope updates at time t.

Page 19: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Non-seasonal Holt-Winters Linear forecast (NHWL)

The intercept and the slope update as follows:

where the determination of smoothing parameters is left to the user or application.

The τ- step ahead linear forecast into future measurement after t is given by

Page 20: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Double-Exponential-Smoothing based Linear forecast (DESL) DESL has two major differences from two:

First, it only one single smoothing parameter. Second, it minimizing the weight sum of squared

errors, shown in[3] Given a smoothing constant α, DESL

requires that the exponential smoothing statistics are updated at every sampling period:

where is a weighted average of all past observations,

Page 21: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Double-Exponential-Smoothing based Linear forecast (DESL)

Then the intercept and the slope are known [3]

Thus, the τ- step ahead linear forecast into future measurement after t is given by

Page 22: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Design of energy-efficient self-adapting online linear forecast

(B) The proposed linear forecast method Directly smoothed slope based linear

forecast (DSSL) Directly averaged slope based linear

forecast (DASL)

Page 23: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Directly smoothed slope based linear forecast (DSSL)

DSSL extends the interval of instantaneous slope calculation from between two successive sampling measurements to between two successive linear segments.

A slope estimate st is defined by

Page 24: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Directly smoothed slope based linear forecast (DSSL)

Then, DSSL applies the same update procedures for slope and the intercept as in NHWL.

the τ- step ahead linear forecast into future measurement after t is given by

Page 25: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Directly averaged slope based linear forecast (DASL)

A common problem with any exponential smoothing system is that it is difficult to determine an appropriate smoothing parameter.

DASL uses another incremental relationship using st

the τ- step ahead linear forecast into future measurement after t is given by

Page 26: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Evaluation We evaluate the proposed method over various real-

world and synthetic time-series data.

Page 27: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Communication overhead

Page 28: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Mean absolute deviation

Page 29: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Communication overhead of DSSL with variable α,β

Page 30: Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications

Conclusion We propose new linear forecast method and

evaluate the performance with existing well-known linear forecast methods. An extensive study based on both real-world data shows that the proposed methods reduce the number of trend changes by 20~50% compared to the other methods.

It is also shown that the performance of forecasting based on linear regression is not suitable both qualitatively and quantitatively.

Future work, TinyDB.