Docsity

5 Solved Problems on the Information Theory - Assignment 5 | ECE 563, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
Information Theory: ECE 563 - Fall 2008
Homework 5 Solutions
Due Date : Nov 17
1. Rate Distortion for uniform source with random distortion X is uniformly distributed
on the set {1,2, ..., m}. The distortion measure is
d(x, ˆx) = 0ifx = ˆx
1ifx 6= ˆx
Consider any joint distribution that satisfies the distortion constraint D. Since D=
P r(X6=ˆ
X), we have by Fano’s inequality
H(X|ˆ
X)≤H(D) + Dlog(m−1)
and hence
I(X;hatX)≥log m−H(D)−Dlog(m−1)
We can achieve this lower bound by choosing p( ˆx) to be the uniform distribution, and
the conditional distribution of p(x|ˆx) to be
p(x|ˆx) = 1-D ifx = ˆx
D/m-1 ifx 6= ˆx
It is easy to verify that this gives the right distribution on X and satisfies the bound
with equality for D < 1−1
m. Hence
R(D) = log m−H(D)−Dlog(m−1) if 0≤D≤1−1
m
0ifD > 1−1
m
2. Shannon lower bound on the rate distortion function.:
(a) We define
φ(D) = max
p:Pm
i=1 pidi≤D
H(p).
From the definition, if D1≥D2, then φ(D1)≥φ(D2) since the maximization
is over a larger set. Hence φ(D) is a monotonic increasing function. To prove
concavity of φ(D) , consider two levels of distortion D1and D2and let p(1) and
1
pf3
pf4
pf5

Partial preview of the text

Download 5 Solved Problems on the Information Theory - Assignment 5 | ECE 563 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Information Theory: ECE 563 - Fall 2008

Homework 5 Solutions

Due Date : Nov 17

  1. Rate Distortion for uniform source with random distortion X is uniformly distributed

on the set { 1 , 2 , ..., m}. The distortion measure is

d(x, xˆ) =

0 if x = ˆx

1 if x 6 = ˆx

Consider any joint distribution that satisfies the distortion constraint D. Since D =

P r(X 6 =

X), we have by Fano’s inequality

H(X|

X) ≤ H(D) + D log(m − 1)

and hence

I(X; hatX) ≥ log m − H(D) − D log(m − 1)

We can achieve this lower bound by choosing p(ˆx) to be the uniform distribution, and

the conditional distribution of p(x|xˆ) to be

p(x|ˆx) =

1-D if x = ˆx

D/m-1 if x 6 = ˆx

It is easy to verify that this gives the right distribution on X and satisfies the bound

with equality for D < 1 −

1

m

. Hence

R(D) =

log m − H(D) − D log(m − 1) if 0 ≤ D ≤ 1 −

1

m

0 if D > 1 −

1

m

  1. Shannon lower bound on the rate distortion function.:

(a) We define

φ(D) = max

p:

∑ m

i=

pidi≤D

H(p).

From the definition, if D 1 ≥ D 2 , then φ(D 1 ) ≥ φ(D 2 ) since the maximization

is over a larger set. Hence φ(D) is a monotonic increasing function. To prove

concavity of φ(D) , consider two levels of distortion D 1 and D 2 and let p

(1)

and

p

(2) achieve the maxima in the definition of φ(D 1

) and φ(D 2

). Let p

(λ) be the

mixture of the two distributions, i.e.,

p

(λ)

= λp

(1)

  • (1 − λ)p

(2)

Then the distortion is a mixture of the two distortions

D

λ

p

(λ)

i

d i

= λD 1

  • (1 − λ)D 2

Since entropy is a concave function, we have

H(p

(λ) ) ≥ λH(p

(1) ) + (1 − λ)H(p

(2) )

Hence

φ(D λ

) = max

p:

∑ m

i=

pidi≤D

H(p)

≥ H(p

(λ)

)

≥ λH(p

(1)

) + (1 − λ)H(p

(2)

)

= λφ(D 1 ) + (1 − λ)φ(D 2 )

proving that φ(D) is a concave function of D.

(b) For any (X,

X) that satisfy the distortion constraint, we have

I(X;

X)

(a)

= H(X) − H(X|

X)

(b)

= H(X) −

x ˆ

p(ˆx)H(X|

X)

(c)

≥ H(X) −

x ˆ

φ(D (^) ˆ X

(d)

≥ H(X) − φ(

ˆx

D

ˆ X

(e)

≥ H(X) − φ(D)

where

(a) follows from the definition of mutual information,

(b) from the definition of conditional entropy,

(c) follows from the definition of φ(D

x

) where D

x

=

p(x|xˆ)d(x, ˆx) =

p(x|ˆx)d i

′

that H(p(x|xˆ)) ≤ φ(D

x )

(d) follows from Jensen’s inequality and the concavity of φ, and

(e) follows from the monotonicity of φ and the fact that

ˆx

D

ˆ X

p(x, xˆ)d(x, xˆ) ≤

D. Hence, from the definition of the rate distortion function, we have

R(D) = min

p(ˆx|x):

∑

p(x,xˆ)d(x,xˆ)≤D

I(X;

X)

≥ H(X) − φ(D)

Combining this with the Shannon lower bound on the rate distortion function,

we must have equality in the above equation and hence we have equality in the

Shannon lower bound.

  1. Properties of optimal rate distortion code.: We will have equality in

(a) if

X

n

is uniformly distributed over the set of codewords -i.e., if all the codewords

were equally likely,

(b) if

X

n

n is a deterministic function of X

n

,

(f) if each X

i depends only on the corresponding

X

i and is conditionally independent

of every other

X

j

,

(g) if the joint distribution of X

i and

X

i is the one achieving the minimum in the

definition of the rate distortion function, and

(h) if either the rate distortion curve is a straight line or if all the distortions (at each

i ) are equal.

Thus the optimal rate distortion code would be deterministic, and the joint distribu-

tion between the source symbol and the codeword at each instant of time would be

independent and equal to the joint distribution that achieves the minimum of the rate

distortion function. The distortion would be the same for each time instant.

  1. Rate distortion: Since the columns of the distortion measure are alternate 0 and 1,

they are all permutations of each other, and we can apply the Shannon lower bound

on the rate distortion function. The Shannon lower bound says that

R(D) ≥ H(X) − φ(D)

where

φ(D) = max

p:

∑ m

i=

pidi≤D

H(p).

In Problem 6, it was shown that if the input probability distribution is uniform, the

bound is tight, and the Shannon lower bound is equal to the rate distortion function.

Therefore to calculate the R(D) , we only need to compute φ(D) for the distortion

measure of the problem. Each row of the distortion matrix is a permutation (actually

a cyclic shift) of the first row [010101...01]. Let Y be random variable with distribution

p 1

, ..., p 2 m

, and let Z be the value of the d(0,Y). Thus Z is 0 on the even values of Y

and 1 on the odd values. Then

φ(D) = max

p:

∑ m

i=

pidi≤D

H(p).

= max

p:

∑ m

i=

pidi≤D

H(Y )

= max

p:

∑ m

i=

p i

d i

≤D

H(Y, Z)

= max

p:

∑ m

i=

pidi≤D

H(Z) + H(Y |Z)

= max

p:

∑ m

i=

pidi≤D

−p log p − (1 − p) log(1 − p) + (1 − p)H(Y |Z = 0) + pH(Y |Z

where p = Pr(Z = 1). Since

m

i=

p i

d i

i:Z=

p i

= p, we have p ≤ D.. Given Z

= 0 , there are m possible values of Y , and the entropy is maximized by a uniform

over these values. Similarly, conditioned on Z = 1 , H(Y |Z = 1) is maximized by an

uniform distribution on the m values of Y where Z = 1. Thus

φ(D) = max

p:p≤D

H(p) + p log m + (1 − p) log m = H(D) + log m

and hence

R(D) = H(X) − φ(D) = log 2m − log m − H(D) = 1 − H(D)

  1. The source-channel separation theorem with distortion::

To show achieavability, we consider two codes at rate R, where C ¿ R ¿ R(D). The

first code is a rate distortion code that achieves distortion D at rate R. The second

code is a channel code that allows transmission over the channel at rate R with

probability of error going to 0. Using the rate distortion code to encode the source

into one of the 2nR messages, and the channel code to send this message over the

channel. Since the probability of error is exponentially small, the received

message is the same as the transmitted message with probability close to 1. In

that case, the results of the achieveability of rate distortion show that the decoded

sequence is within distortion D of the input sequence with high probability. To

complete the analysis, we need to consider the case weather the channel code

produces an error—however, even in this case, the distortion produced by the

error is bounded, and hence the total distortion is essentially the same as achieved

without the errors.

To prove the converse, we need to prove that for any encoding system that achieves

distortion D, the capacity of the channel should be greater than R(D). Mimicking

the steps for the converse for the rate distortion function, we can define coding

function f n

and decoding function g n

, Let

V

n

V

n (Y

n ) = g

n (Y

n ) be the

reproduced sequence corresponding to V

n

. Assume that Ed(V

n ;

V

n ) ≥ D for