Professional Documents
Culture Documents
• Grading:
• Syndrome Decoding, ML decoding 30%
• Classification with support vector machine 30%
• Deep Learning 30%
• Report (no more than 10 pages) 10%
1
2
Error Correction Codes
3
Terminology
• Message: Sequence of bits representing your date (link to the website)
• Codeword: Sequence of bits forming your QR code
Sylvester James Gates, “Symbols of Power,” Physics World, vol. 23, no. 6, June 2010. 4
A digital communication system over
wireless channel
Binary
source
Channel Up-
Modulation
encoder converter
Channel Down-
Demod Preprocessing
Decoded decoder converter
source
5 1 11 60
41
21 30
6
Index: 1234567
Codeword: 0 1 0 1 ? ? ?
41
21 30
7
Index: 1234567
Codeword: 1 1 0 1 1 0 0
5 1 11 60
41
21 30
1
Suppose 1 bit is flipped, we can fix it by flipping 1
bit to meet all constraints
7 0
8
(n,k)-Linear Block Codes
• k-bit message 𝒎𝒎, n-bit codeword 𝒄𝒄
• Relationship: 𝒄𝒄 = 𝒎𝒎𝑮𝑮
9
(7,4)-Hamming Codes
• 4-bit message 𝒎𝒎, 7-bit codeword 𝒄𝒄
• Relationship: 𝒄𝒄 = 𝒎𝒎𝑮𝑮
10
System Model
• When transmit, we map coded bits to baseband signal
• Binary phase shift keying (BPSK) for sending the bit 𝑐𝑐𝑖𝑖
11
BER in Uncoded System
• Detection of 𝑥𝑥𝑖𝑖 from 𝑦𝑦𝑖𝑖
𝑥𝑥�𝑖𝑖 = 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 (𝑦𝑦𝑖𝑖 ) and 𝑟𝑟𝑖𝑖̂ = (𝑥𝑥�𝑖𝑖 + 1)/2
• Plot BER as a function of 𝐸𝐸𝑏𝑏 /𝑁𝑁0 where 𝐸𝐸𝑏𝑏 is energy per bit
12
Maximum Likelihood Decoding
MLD: 𝒄𝒄� = 𝑎𝑎𝑎𝑎𝑎𝑎min | 𝒚𝒚 − 𝒙𝒙| 2
𝒄𝒄∈𝐶𝐶
13
Syndrome Decoding
• First make a hard decision
𝑥𝑥�𝑖𝑖 = 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 (𝑦𝑦𝑖𝑖 ) and 𝑟𝑟𝑖𝑖̂ = (𝑥𝑥�𝑖𝑖 + 1)/2
14
Standard Array
15
Decoding via Learning
• Decoding is nothing but classification
16