A locally decodable code (LDC) is an error-correcting code that allows a single bit of the original message to be decoded with high probability by only examining (or querying) a small number of bits of a possibly corrupted codeword. This property could be useful, say, in a context where information is being transmitted over a noisy channel, and only a small subset of the data is required at a particular time and there is no need to decode the entire message at once. Locally decodable codes are not a subset of locally testable codes, though there is some overlap between the two. Codewords are generated from the original message using an algorithm that introduces a certain amount of redundancy into the codeword; thus, the codeword is always longer than the original message. This redundancy is distributed across the codeword and allows the original message to be recovered with good probability even in the presence of errors. The more redundant the codeword, the more resilient it is against errors, and the fewer queries required to recover a bit of the original message.
Overview More formally, a (q,δ,ϵ)-locally decodable code encodes an n-bit message x to an N-bit codeword C(x) such that any bit xi of the message can be recovered with probability 1−ϵ by using a randomized decoding algorithm that queries only q bits of the codeword C(x), even if up to δN locations of the codeword have been corrupted. Furthermore, a perfectly smooth local decoder is a decoder such that, in addition to always generating the correct output given access to an uncorrupted codeword, for every j∈[q] and i∈[n] the jth query to recover the ith bit is uniform over [N]. (The notation [y] denotes the set {1,…,y}). Informally, this means that the set of queries required to decode any given bit are uniformly distributed over the codeword. Local list decoders are another interesting subset of local decoders. List decoding is useful when a codeword is corrupted in more than δ/2 places, where δ is the minimum Hamming distance between two codewords. In this case, it is no longer possible to identify exactly which original message has been encoded, since there could be multiple codewords within δ distance of the corrupted codeword. However, given a radius ϵ, it is possible to identify the set of messages that encode to codewords that are within ϵ of the corrupted codeword. An upper bound on the size of the set of messages can be determined by δ and ϵ. Locally decodable codes can also be concatenated, where a message is encoded first using one scheme, and the resulting codeword is encoded again using a different scheme. (Note that, in this context, concatenation is the term used by scholars to refer to what is usually called composition). This might be useful if, for example, the first code has some desirable properties with respect to rate, but it has some undesirable property, such as producing a codeword over a non-binary alphabet. The second code can then transform the result of the first encoding over a non-binary alphabet to a binary alphabet. The final encoding is still locally decodable, and requires additional steps to decode both layers of encoding.
Length of codeword and query complexity The rate of a code refers to the ratio between its message length and codeword length: |x|/|C(x)|. The number of queries required to recover 1 bit of the message is called the query complexity of a code. The rate of a code is inversely related to the query complexity, but the exact shape of this tradeoff is a major open problem. It is known that there are no LDCs that query the codeword in only one position, and that the optimal codeword size for query complexity 2 is exponential in the size of the original message. However, there are no known tight lower bounds for codes with query complexity greater than 2. Approaching the tradeoff from the side of codeword length, the only known codes with codeword length proportional to message length have query complexity kϵ for ϵ>0 There are also codes in between, that have codewords polynomial in the size of the original message and polylogarithmic query complexity.
Applications Locally decodable codes have applications to data transmission and storage, complexity theory, data structures, derandomization, theory of fault tolerant computation, and private information retrieval schemes.
Data transmission and storage Locally decodable codes are especially useful for data transmission over noisy channels. The Hadamard code (a special case of Reed Muller codes) was used in 1971 by Mariner 9 to transmit pictures of Mars back to Earth. It was chosen over a 5-repeat code (where each bit is repeated 5 times) because, for roughly the same number of bits transmitted per pixel, it had a higher capacity for error correction. (The Hadamard code falls under the general umbrella of forward error correction, and just happens to be locally decodable; the actual algorithm used to decode the transmission from Mars was a generic error-correction scheme.) LDCs are also useful for data storage, where the medium may become partially corrupted over time, or the reading device is subject to errors. In both cases, an LDC will allow for the recovery of information despite errors, provided that there are relatively few. In addition, LDCs do not require that the entire original message be decoded; a user can decode a specific portion of the original message without needing to decode the entire thing.
… excerpt ends here. Continue reading the full article.