Making Regional Forecasts Add Up 1,2 Tim van Erven Joint work - - PowerPoint PPT Presentation

making regional forecasts add up
SMART_READER_LITE
LIVE PREVIEW

Making Regional Forecasts Add Up 1,2 Tim van Erven Joint work - - PowerPoint PPT Presentation

WIPFOR, 6 June 2013 Making Regional Forecasts Add Up 1,2 Tim van Erven Joint work with: Jairo Cugliari 2 1 2 Regional Electricity Consumption We want to forecast: 1. Electricity consumption in K regions 2. The total consumption of those


slide-1
SLIDE 1

Making Regional Forecasts Add Up

Tim van Erven Joint work with: Jairo Cugliari

WIPFOR, 6 June 2013 1,2 2 2 1

slide-2
SLIDE 2

Regional Electricity Consumption

We want to forecast:

  • 1. Electricity consumption

in K regions

  • 2. The total consumption
  • f those regions

(A “region” could be any group of customers.

  • E.g. customers with the same

contract.)

slide-3
SLIDE 3

Measuring Performance

  • Real consumptions

– Regions: – Total:

  • Predictions

– Regions: – Total:

  • Weighted squared loss
slide-4
SLIDE 4

Measuring Performance

  • Real consumptions

– Regions: – Total:

  • Predictions

– Regions: – Total:

  • Weighted squared loss

Weights represent electricity network configurations For example:

slide-5
SLIDE 5

The Operational Constraint

Prediction for the total = sum of predictions for the regions

Imposed, for example, in the Global Energy Forecasting Competition 2012 on Kaggle.com

slide-6
SLIDE 6

The Forecasters' Rebellion

  • Constraint:

– Maybe the total is easier to predict than the

regions...

– What if we have a better predictor for the total

consumption?

We don't want this constraint!

slide-7
SLIDE 7

A Peace Treaty Allowing a Separation of Concerns

  • Forecasters produce ideal predictions
  • Map to predictions that satisfy the constraint

– Regions: – Total:

slide-8
SLIDE 8

Related Work

  • Let measure how much we

violate the constraint

  • HTS [Hyndman et al, 2011]:
  • Disadvantages:

– Designed under probabilistic assumptions

about distribution of predictions and consumptions

– Does not take into account weights of the

regions and of the total !

slide-9
SLIDE 9

Game-theoretically Optimal Predictions (GTOP)

  • Difference between ideal and real loss:

where satisfies the constraint

  • Idea: model as a zero-sum game

– We first choose our predictions – Then an opponent chooses to make (1) as

large as possible

(1)

slide-10
SLIDE 10

Game-theoretically Optimal Predictions (GTOP)

  • Difference between ideal and real loss:

where satisfies the constraint

  • Idea: model as a zero-sum game

– We first choose our predictions – Then an opponent chooses to make (1) as

large as possible

  • No probabilistic assumptions!

(1)

slide-11
SLIDE 11

Game-theoretically Optimal Predictions (GTOP)

  • The optimal move chooses to achieve
  • Assume confidence bands:
slide-12
SLIDE 12

Game-theoretically Optimal Predictions (GTOP)

  • The optimal move chooses to achieve
  • Assume confidence bands:

Example: If and

Recover HTS if big enough

where

slide-13
SLIDE 13

Non-uniform Weights: L2-projection

  • If confidence bands are sufficiently large:
  • This is the L2-projection

– of unto the hyperplane of predictions

satisfying summation constraint,

– with axes rescaled to take into account the

region weights

  • In simulations we see that GTOP exactly

predicts like this already for very small .

slide-14
SLIDE 14

General Computation

  • In general no closed-form solution for GTOP,

but can rewrite as LASSO optimization problem.

  • Size of problem depends on number of

regions K

  • Standard software to quickly compute LASSO

solutions can deal with very large problems; K is typically much smaller

slide-15
SLIDE 15

Experiments with Simulated Data

  • K = 2 regions:
  • Noise r.v. are uniform on [-1,1]
  • Parameters control amount of noise
  • Train set:
  • Test set:
slide-16
SLIDE 16

Ideal Predictions

  • For the regions ( ):

– Fit linear function to the data – Use LASSO to estimate per region

  • For the total ( ), already very good
  • predictor. How do we do better???
slide-17
SLIDE 17

Ideal Predictions

  • For the regions ( ):

– Fit linear function to the data – Use LASSO to estimate per region

  • For the total ( ), already very good
  • predictor. How do we do better???

– 1. Fit with

LASSO

– 2. Regularize by – Behaves like unless data say otherwise

slide-18
SLIDE 18

Results

  • GTOP calibration

– are set to maximum absolute value of

residuals on train set

  • Loss HTS – loss GTOP summed over test set
slide-19
SLIDE 19

Summary

  • We want to forecast:

– Electricity consumption in K regions – The total consumption of those regions

  • Unpleasant operational constraint:

– prediction for the total

= sum of regional predictions

  • Approach:

– Ignore the constraint to get ideal predictions – Use GTOP to adjust ideal predictions to satisfy

the constraint

slide-20
SLIDE 20

Experiment with EDF data

  • The data

– K = 17 groups of customers – Half-hourly energy consumption records – Train set: 1 jan 2004 to 31 dec 2007 – Test set: 1 dec 2008 to 31 dec 2009

  • The model (presented yesterday by Jairo)

– Non-parametric functional model – Based on matching similar contexts in previous

  • bservations
slide-21
SLIDE 21

Preliminary Results

  • GTOP calibration

– are set heuristically as

  • Preliminary results

– Ideal loss of vs GTOP loss – Desired outcome: GTOP should not be much

worse than

– GTOP actually reduces the mean loss by 2.5%

compared to !