18.11.2014 Views

Anais - Engenharia de Redes de Comunicação - UnB

Anais - Engenharia de Redes de Comunicação - UnB

Anais - Engenharia de Redes de Comunicação - UnB

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A binary linear co<strong>de</strong> (n, k, d) is a subspace of {0, 1} n with 2 k elements in which<br />

every word has weight less than or equal to d. The information rate of the co<strong>de</strong> is k/n<br />

and it can correct up to ⌊ d−1 ⌋ errors. Every co<strong>de</strong> can be <strong>de</strong>fined by a parity matrix of<br />

2<br />

size n × (n − k) which multiplied (mod 2) by a vector of the co<strong>de</strong> x = ( )<br />

x 1 , x 2 , . . . , x n<br />

results in an all zero vector s = ( 0, 0, . . . , 0 ) of size (n−k), called syndrome. Conversely,<br />

when the word multiplied by the parity matrix does not belong to the co<strong>de</strong>, the value of<br />

the syndrome is nonzero.<br />

A randomly filled parity matrix <strong>de</strong>fines a random binary linear co<strong>de</strong>. For this co<strong>de</strong>,<br />

there is no efficient algorithm known that can find the closest word to a vector, given a<br />

nonzero syndrome. Another difficult problem, known as syndrome <strong>de</strong>coding, is to find a<br />

word of certain weight from its syndrome.<br />

The latter problem is NP-Hard and can be <strong>de</strong>scribed as follows: let a binary matrix<br />

A = {a ij } of size n × (n − k), a non-zero syndrome vector s and a positive integer w.<br />

Find a binary vector x with weight |x| ≤ w, such that:<br />

⎛<br />

⎞<br />

a 1,1 a 1,2 · · · a 1,n−k<br />

( ) a 2,1 a 2,2 · · · a 2,n−k<br />

x1 , x 2 , . . . , x n · ⎜<br />

⎝<br />

.<br />

. . .<br />

⎟<br />

. . ⎠ = ( )<br />

s 1 , s 2 , . . . , s n−k<br />

a n,1 a n,2 · · · a n,n−k<br />

(mod 2)<br />

The case in which we seek the vector x with weight |x| = w is NP-complete<br />

[Berlekamp et al., 1978].<br />

The fact that a problem is NP-Complete guarantees that there is no polynomial<br />

time algorithm for solving the worst case, un<strong>de</strong>r the assumption that P ≠ NP . Many<br />

problems, however, can be solved efficiently in the average case, requiring a more <strong>de</strong>tailed<br />

study of each instance of the problem.<br />

2.2.1. Gilbert-Warshamov Bound<br />

To evaluate the hardness of a specific instance of the syndrome <strong>de</strong>coding problem we<br />

will use a concept extensively studied and reviewed by [Chabaud, 1994], un<strong>de</strong>r which the<br />

most difficult instances of the problem of syndrome <strong>de</strong>coding for random co<strong>de</strong>s are those<br />

with weights in the vicinity of the Gilbert-Warshamov bound of the co<strong>de</strong>.<br />

The Gilbert-Warshamov bound λ of a co<strong>de</strong> (n, k, d) is <strong>de</strong>fined through the relation<br />

1 − k/n = H 2 (λ) where H 2 (x) = −x log 2 x − (1 − x) log 2 (1 − x) is the binary entropy<br />

function.<br />

According to the analysis of [Fischer and Stern, 1996], there is, on average, a vector<br />

for each syndrome when the weight is around the Gilbert-Warshamov bound of the<br />

co<strong>de</strong>. That is, the difficulty of finding a word is a function of the weight increasing until<br />

the Gilbert-Warshamov bound, and <strong>de</strong>creasing thereafter. Thus, it is possible to <strong>de</strong>fine<br />

a hard instance of the syndrome <strong>de</strong>coding problem when the weight is near the Gilbert-<br />

Warshamov bound.<br />

124

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!