How well can HMM model load signals 3rd International Workshop on - - PowerPoint PPT Presentation

how well can hmm model load signals
SMART_READER_LITE
LIVE PREVIEW

How well can HMM model load signals 3rd International Workshop on - - PowerPoint PPT Presentation

How well can HMM model load signals 3rd International Workshop on Non-Intrusive Load Monitoring, May 14th, Vancouver , Canada Lukas Mauch, Karim Said Barsim and Bin Yang Institute of Signal Processing and System Theory University of Stuttgart


slide-1
SLIDE 1

How well can HMM model load signals

3rd International Workshop on Non-Intrusive Load Monitoring, May 14th, Vancouver , Canada Lukas Mauch, Karim Said Barsim and Bin Yang Institute of Signal Processing and System Theory University of Stuttgart

slide-2
SLIDE 2

2 Lukas Mauch – 14.05.2016

Content

How to model loads Hidden Markov Models (HMM) Basics HMM states vs. load states Restricting the HMM parameters Model selection Akaike Information Criterion (AIC) Model adaptation An easy parametric transformation Experiments

slide-3
SLIDE 3

3

How to model loads

Lukas Mauch – 14.05.2016

Non-Intrusive load monitoring as a single channel source separation problem

Separation

  • Factorization/clustering

methods

  • Methods for denoising
  • Bayesian methods

Model 1 Model 2 Model K

Data acquisition

  • Single channel
  • Low frequency
  • Real power only
  • Hierarchical time

dependencies

  • Non-stationary

Input Load 1 Load K

Main problem

  • We need suited signal models to perform separation
slide-4
SLIDE 4

4

How to model loads

Lukas Mauch – 14.05.2016

State of the art Questions related to HMM

Recurrent Neural Network

  • Very powerful model
  • Can learn hierarchical time

dependencies

  • Hard to train
  • Hard to interprete

Piecewise modelling

  • Event based approaches
  • Problem of segmentation
  • Loss of information for variable loads
  • Captures little information about

time dependencies Hidden Markov Model

  • Simple model that can capture dependencies

between adjacent states

  • Easy to train
  • Good results if used with fHMM
  • No investigation yet how

well they fjt to load signals

  • Good to interprete?

Goodness of fjt

  • Are HMMs suited to model all kind of

loads?

  • How can we interprete the HMM states?

Are they equal to the physical load states?

  • How to choose the number of states?

Model adaptation

  • Can we adapt HMMs to other houses?
slide-5
SLIDE 5

5

Hidden Markov Models

Lukas Mauch – 14.05.2016

Basics

Observation sequences and state sequences Initial state and state transition probabilities Emission probabilities

slide-6
SLIDE 6

6

Hidden Markov Models

Lukas Mauch – 14.05.2016

Basics

Joint sequence probability T raining and state inference Baum-Welch algorithm Viterbi algorithm

slide-7
SLIDE 7

7

Hidden Markov Models

Lukas Mauch – 14.05.2016

HMM states vs load states

T ransition of load states T ransition of HMM states

  • In general the load states and HMM states are difgerent
  • Their relationship depends on
  • T

ype of the load

  • Sampling frequency
  • T

ransient phase of the load

  • HMM states = load states if
  • States with perfectly constant power consumption
  • Sharp transient phase

T ransient phase

slide-8
SLIDE 8

8

Hidden Markov Models

Lukas Mauch – 14.05.2016

Restricting the HMM parameters Controlled vs uncontrolled

  • For some controlled loads we can use prior knowledge to reduce the number of HMM parameters

→ better estimate of parameters

  • Example: periodic chain structure leads to special transition matrix
slide-9
SLIDE 9

9

Model selection

Lukas Mauch – 14.05.2016

Akaike Information Criterion (AIC)

  • Measure how well a model fjts to a specifjc load
  • Balances goodness of fjt (data likelihood) against

model complexity (number of parameters M)

  • Choose model with lowest AIC
  • If model does not fjt
  • Increasing model complexity always leads to increasing data likelihood

M AIC(M) best model Model fjts to the data Model does not fjt

slide-10
SLIDE 10

10

Model adaptation

Lukas Mauch – 14.05.2016

Basics

What are causes for difgerences between signals of loads of the same kind

  • Difgerences in sampling frequency
  • Difgerenent power consumption in each state
  • Difgerent state duration

Assumptions

  • Periodic signal patterns
  • Loads of the same kind share the same set of states

→ We can use a simple transformation of parameters to adapt the HMM

slide-11
SLIDE 11

11

Model adaptation

Lukas Mauch – 14.05.2016

Adaptation of the state mean

→ The means of each emission probability of all states are scaled independently What are causes for difgerences between signals of loads of the same kind

  • Difgerences in sampling frequency
  • Difgerenent power consumption in each state
  • Difgerent state duration
slide-12
SLIDE 12

12

Model adaptation

Lukas Mauch – 14.05.2016

Adaptation of the transition matrix

What are causes for difgerences between signals of loads of the same kind

  • Difgerences in sampling frequency
  • Difgerenent power consumption in each state
  • Difgerent state duration
slide-13
SLIDE 13

13

Model adaptation

Lukas Mauch – 14.05.2016

Adaptation of the transition matrix

What are causes for difgerences between signals of loads of the same kind

  • Difgerences in sampling frequency
  • Difgerenent power consumption in each state
  • Difgerent state duration

Re-scaling the diagonal elements Re-scaling the ofg-diagonal elements

slide-14
SLIDE 14

14

Experiments

Lukas Mauch – 14.05.2016

AIC for difgerent loads

Controlled multi-state load Uncontrolled multi-state load Variable load Result

  • Clear minima for controlled multi-state load

using only few HMM states

  • AIC keeps decreasing for increasing number
  • f states (increasing model complexity) in

case of uncontrolled multi-state and variable loads

slide-15
SLIDE 15

15

Experiments

Lukas Mauch – 14.05.2016

Adaptation to simulated data Adaptation to measured data

  • Simulated periodic load signal
  • T

rain on 350 samples of house 1 (10 periods)

  • Adapt on 35 samples of house 2 (1 period)
slide-16
SLIDE 16

16

Conclusion

Lukas Mauch – 14.05.2016

Is HMM a suited model for all loads? Can we adapt HMM to difgerent houses? Outlook

  • Good model for controlled multi-state loads with fjxed periodic behaviour
  • Bad model for uncontrolled multi-state and variable loads
  • For periodic signals that share the same set of states between houses

→ parametric transformation of model parameters can be used for adaptation

  • Only little data for adaptation is needed
  • For which loads can we reduce the model complexity by restricting

the model parameters?

  • How do we have to modify the HMM assumptions to get good models

for variable and uncontrolled multi-state loads?