Athreya Chandramouli

I am an undergrad student interested, broadly, in theoretical computer science.

Visit my Profile Page to learn more about me. Here's an Introductory Post about this blog.

Topics in Coding Theory: RS Codes and the Berlekamp-Welch Algorithm
24 May 2021 » coding_theory, tcs

In Spring 2021, I did a course called Topics in Coding Theory by Prof. Prasad Krishnan. I thought I’ll post some of my notes from the course here grouped by topic.

Reed Solomon codes are fairly famous even outside of coding theory, but most courses simply show that they can be decoded and leave it at that. The issue arises when we don’t know which pieces of the data have been corrupted. The Berlekamp-Welch algorithm uses an idea called an Error Locator Polynomial. Roughly, we can interpolate a polynomial that evaluates to zero at points where the received vector and transmitted vector mismatch. This gives us an equation \(E(\alpha_i) \cdot M(\alpha_i) = E(\alpha_i) \cdot y_i\) for each \(i\). We can then model this as a system of equations that we can solve by, say, Gaussian Elimination.

I also coded up this algorithm. The implementation can be found here.