ugo montanari on the optimal approximation of descrete functions with low- dimentional tables

31
Ugo Montanari On the optimal approximation of descrete functions with low-dimentional tables.

Post on 19-Dec-2015

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Ugo Montanari

On the optimal approximation of descrete functions with low-

dimentional tables.

Page 2: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Overview

Introduction Approximation with a sum of low-dimensional

functions Optomal approximation with a given interaction

graph Optimal approximation with a fixed amount of

memory

Page 3: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Introduction

Problem of storing large high-dimentional arrays is often critical (dynamic programming optimization techniques, belief propagation etc.)

Montanari proposes methos of optimal approximation (in the least square sence) of the given function with a sum of lower-dimentional functions.

Page 4: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Advantages

The decoding process is very simple (a fixed number of summations)

The compression ratio often is high, mean error can be small, if the interaction between separated variables is limited

The approximation function has a form of a sum of terms and is therefore suitable for the dynamic programming optimization

Page 5: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Approximation with a sum of low-dimentional functions

F – function of n discrete variables (with same domains)

Page 6: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Lettice

Page 7: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Approximation with a sum of low-dimentional functions

Page 8: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Average projection of the function:

Page 9: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Proper function:

A function g(Xi) such that its average projections on all

the subsets of Xi are identically zero will be called a

proper function of Xi.

Page 10: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Theorem 2.1

The set Si of all the proper functions of X

i is a vector space and

is called the proper space of Xi.

Theorem:

The proper space Si of all the elements X

i of lattice L are mutually

orthogonal.

Proof:

Page 11: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Characteristic function B

B:L -> 0,1 Monotonocity constraint:

The meaning of the characteristic function B is to specify the form of an approximate sum of terms for function F

Page 12: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Example of characteristic function

We want to approximate function F(x1,x

2,x

3) with

a sum of the form F = f1(x

1,x

2)+f

2(x

2,x

3)

Function B:

Page 13: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Characteristic space

SB:

Page 14: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Problem A

Page 15: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Algorithm A that solves Problem A

Step 1. Compute the average projections of F on all elements Xi

of lattice L.

Step 2. Let

Step 3. Execute next step for all r = 1,...,n

Step 4. For all elements Xi of L having cardinality r, let

where the summation is extended to all Xj of L smaller then X

i

Compute function:

Page 16: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Theorem 2.2

Theorem 2.2 proves validity of Algorithm A

Page 17: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Proof of theorem 2.2

(a) For every we have:

(b) and (c). We assume inductively the thesis is true for function k

j(X

j) and spaces S

j with cardinality X

j smaller then r, and prove

for r.

Page 18: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Proof of theorem 2.2 cont'd

Prove that :

If , then

From written as

Page 19: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Proof of theorem 2.2 cont'd

is proved to be solution to Problem A

Page 20: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Optimal approximation with a given interaction graph

Sum of terms:

Interaction graph: Alternative sum of terms:

Page 21: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Problem B

Given function F and interaction graph G find the sum such that G is the interaction graph of and the error |F- | is minimal

Note: interaction graph does not define uniquely the form of approximating function, so Problem B is not trivially reducibleto Problem A

Page 22: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Theorem 3.1

Theorem proves that the form of the optimal approximating sum depends only on given interaction graph G, and not upon the actual values of F.

Theorem:

Characteristic function B of an optimal approximating sum is computable as follows. We have B(X

i) = 1 iff the

set of vertices Wi corresponding to the set of variables

Xi defines a complete subgraph of G.

Page 23: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Proof of theorem 3.1

Page 24: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Example

Problem B reduces to:

- Finding all complete subgraphs of graph G

- Solving problem A

Page 25: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Optimal approximation with a fixed amount of memory

Problem C:

Given function F find a sum whose terms can be stored as tables in no more than M cells of memory and such that the error |F- | is minimal

Page 26: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

2 ways of storing a sum

1) The sum

reqires 2N^2 cells

2) Store 6 functions from the table, such that

if any of arguments of f1 : f

5 is zero, then the value of function is

zero and it's not stored. Total storage space:

Page 27: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

2 ways of storing a sum

In general, first methos requires

cells, where summation is extended to all maximal sets. Second method requires

Cells, but the summation extends to all sets and is optimal, because it is exactly equal to

the number of dimentions of vector space

Page 28: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

2 ways of storing a sum

Page 29: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Error

By definition,

Thus

Page 30: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Translation of Problem C into integer programming problem (0,1) resticted

Problem D:

Determine the integer variables yi (i=1,...,m) (0,1)

restricted such that

with the constraints

Page 31: Ugo Montanari On the optimal approximation of descrete functions with low- dimentional tables

Correnpondence between Problem C and Problem D

In Problem D both the objective function and the constraints are linear. Therefore linear interger programming methods apply.