An Upper Bound On the Size of Locally Recoverable Codes

Viveck R. Cadambe, Arya MazumdarNetCod 2013 · DOI

Abstract

In a locally recoverable or repairable code, any symbol of a codeword can be recovered by reading only a small (constant) number of other symbols. The notion of local recoverability is important in the area of distributed storage where a most frequent error-event is a single storage node failure (erasure). A common objective is to repair the node by downloading data from as few other storage node as possible. In this paper, we bound the minimum distance of a code in terms of of its length, size and locality. Unlike previous bounds, our bound follows from a significantly simple analysis and depends on the size of the alphabet being used.

Introduction

In large-scale distributed storage systems, such as those operated by cloud providers, data is protected against hardware failure using erasure codes. A critical metric for these codes is locality ($r$): the number of other storage nodes required to repair a single failed node.

Previous research established "Singleton-like" bounds for Locally Recoverable Codes (LRCs), but these typically assumed an effectively infinite alphabet. In practice, engineers prefer small alphabets (e.g., binary) for implementation efficiency. This paper introduces a new, tighter upper bound on the dimension of LRCs by explicitly accounting for the alphabet size ($q$). We demonstrate that this bound is more stringent than existing limits and prove that classic binary Simplex codes are optimal under this new framework.

Methodology

The authors derive a new bound (Theorem 1) using a combinatorial approach that treats the "best possible" dimension of a standard error-correcting code ($k_{opt}$) as a black-box parameter. The core logic involves:

  1. Structural Analysis: Proving that for any LRC, a subset of symbols can be removed while allowing for a predictable reduction in the code's dimension.
  2. Recursive Bounding: Expressing the dimension $k$ as a minimization over a parameter $t$, balancing symbols dedicated to local repair against those used for global distance.
  3. Black-Box Integration: Plugging classical coding theory bounds (such as the Plotkin or MRRW bounds) into the new formula to evaluate the impact of alphabet size on the rate-distance trade-off.

Key Results and Insights

The primary contribution is a new upper bound for an $(n, k, d)$ code with locality $r$ over an alphabet of size $q$: $$k \le \min_{t \in \mathbb{Z}_+} [tr + k_{opt}^{(q)}(n - t(r+1), d)]$$

Tighter Limits and Achievability

Numerical analysis shows that for binary codes ($q=2$), this new bound is significantly more restrictive than the previously standard Gopalan-Huang-Simitci-Yekhanin bound. As shown in the figures below, the bound bridges the gap between theoretical limits and practical code constructions.

Comparison of the new bound with existing limits and code constructions.
The new bound relative to the MRRW bound without locality and the Gopalan et al. bound.

The Importance of Alphabet Size

Previous bounds suggested a fixed cost for locality. This work reveals a "distance-expansion penalty" inherent to small alphabets: if the alphabet is small, locality degrades error-correction capability more severely than previously understood.

Optimality of Simplex Codes

A significant finding is that binary Simplex codes (duals of Hamming codes) meet this new bound with equality for locality $r=2$. This identifies them as the first known family of optimal binary locally repairable codes. By framing the LRC bound in terms of $k_{opt}$, the authors connect distributed storage coding with decades of classical results.

Limitations and Future Work

The precision of this bound is inherently tied to the accuracy of $k_{opt}$, which remains an unsolved problem for many parameters. Currently, the bound is approximated using classical limits like MRRW. While the bound applies to non-linear codes, the specific examples and achievability results focus on linear codes. Future research may involve deriving closed-form analytical insights beyond the Plotkin bound and extending these techniques to list-decodable codes.

Summary updated

BibTeX
@inproceedings{cadambe2013upper,
  author = {Viveck R. Cadambe and Arya Mazumdar},
  title = {{An Upper Bound On the Size of Locally Recoverable Codes}},
  booktitle = {NetCod},
  year = {2013},
  doi = {10.1109/netcod.2013.6570829},
}
Figure