Locally recoverable code

From The Right Wiki
(Redirected from Locally Recoverable Codes)
Jump to navigationJump to search

Locally recoverable codes are a family of error correction codes that were introduced first by D. S. Papailiopoulos and A. G. Dimakis[1] and have been widely studied in information theory due to their applications related to distributive and cloud storage systems.[2][3][4][5] An [n,k,d,r]q LRC is an [n,k,d]q linear code such that there is a function fi that takes as input i and a set of r other coordinates of a codeword c=(c1,,cn)C different from ci, and outputs ci.

Definition

Let C be a [n,k,d]q linear code. For i{1,,n}, let us denote by ri the minimum number of other coordinates we have to look at to recover an erasure in coordinate i. The number ri is said to be the locality of the i-th coordinate of the code. The locality of the code is defined as r=max{rii{1,,n}}. An [n,k,d,r]q locally recoverable code (LRC) is an [n,k,d]q linear code C𝔽qn with locality r. Let C be an [n,k,d]q-locally recoverable code. Then an erased component can be recovered linearly,[6] i.e. for every i{1,,n}, the space of linear equations of the code contains elements of the form xi=f(xi1,,xir), where iji.

Optimal locally recoverable codes

Theorem[7] Let

n=(r+1)s

and let

C

be an

[n,k,d]q

-locally recoverable code having

s

disjoint locality sets of size

r+1

. Then

dnkkr+2.

An

[n,k,d,r]q

-LRC

C

is said to be optimal if the minimum distance of

C

satisfies

d=nkkr+2.

Tamo–Barg codes

Let f𝔽q[x] be a polynomial and let be a positive integer. Then f is said to be (r, )-good if

f has degree r+1,
• there exist distinct subsets A1,,A of 𝔽q such that
– for any i{1,,}, f(Ai)={ti} for some ti𝔽q , i.e., f is constant on Ai,
#Ai=r+1,
AiAj= for any ij.

We say that {A1,,A} is a splitting covering for f.[8]

Tamo–Barg construction

The Tamo–Barg construction utilizes good polynomials.[9]

• Suppose that a (r,)-good polynomial f(x) over 𝔽q is given with splitting covering i{1,,}.
• Let s1 be a positive integer.
• Consider the following 𝔽q-vector space of polynomials V={i=0sgi(x)f(x)i:deg(gi(x))deg(f(x))2}.
• Let T=i=1Ai.
• The code {evT(g):gV} is an ((r+1),(s+1)r,d,r)-optimal locally coverable code, where evT denotes evaluation of g at all points in the set T.

Parameters of Tamo–Barg codes

Length. The length is the number of evaluation points. Because the sets Ai are disjoint for i{1,,}, the length of the code is |T|=(r+1).
Dimension. The dimension of the code is (s+1)r, for s1, as each gi has degree at most deg(f(x))2, covering a vector space of dimension deg(f(x))1=r, and by the construction of V, there are s+1 distinct gi.
Distance. The distance is given by the fact that V𝔽q[x]k, where k=r+12+s(r+1), and the obtained code is the Reed-Solomon code of degree at most k, so the minimum distance equals (r+1)((r+1)2+s(r+1)).
Locality. After the erasure of the single component, the evaluation at aiAi, where |Ai|=r+1, is unknown, but the evaluations for all other aAi are known, so at most r evaluations are needed to uniquely determine the erased component, which gives us the locality of r.
To see this, g restricted to Aj can be described by a polynomial h of degree at most deg(f(x))2=r+12=r1 thanks to the form of the elements in V (i.e., thanks to the fact that f is constant on Aj, and the gi's have degree at most deg(f(x))2). On the other hand |Aj{aj}|=r, and r evaluations uniquely determine a polynomial of degree r1. Therefore h can be constructed and evaluated at aj to recover g(aj).

Example of Tamo–Barg construction

We will use x5𝔽41[x] to construct [15,8,6,4]-LRC. Notice that the degree of this polynomial is 5, and it is constant on Ai for i{1,,8}, where A1={1,10,16,18,37}, A2=2A1, A3=3A1, A4=4A1, A5=5A1, A6=6A1, A7=11A1, and A8=15A1: A15={1}, A25={32}, A35={38}, A45={40}, A55={9}, A65={27}, A75={3}, A85={14}. Hence, x5 is a (4,8)-good polynomial over 𝔽41 by the definition. Now, we will use this polynomial to construct a code of dimension k=8 and length n=15 over 𝔽41. The locality of this code is 4, which will allow us to recover a single server failure by looking at the information contained in at most 4 other servers. Next, let us define the encoding polynomial: fa(x)=i=0r1fi(x)xi, where fi(x)=i=0kr1ai,jg(x)j. So, fa(x)= a0,0+ a0,1x5+ a1,0x+ a1,1x6+ a2,0x2+ a2,1x7+ a3,0x3+ a3,1x8. Thus, we can use the obtained encoding polynomial if we take our data to encode as the row vector a= (a0,0,a0,1,a1,0,a1,1,a2,0,a2,1,a3,0,a3,1). Encoding the vector m to a length 15 message vector c by multiplying m by the generator matrix

G=(1111111111111111111132323232323838383838110161837220323336371329301101618372325403143220236331181037164314023259852139118103716589392114172619611637101885921392715243522116371018103711618137101816).

For example, the encoding of information vector m=(1,1,1,1,1,1,1,1) gives the codeword c=mG=(8,8,5,9,21,3,36,31,32,12,2,20,37,33,21). Observe that we constructed an optimal LRC; therefore, using the Singleton bound, we have that the distance of this code is d=nkkr+2=1582+2=7. Thus, we can recover any 6 erasures from our codeword by looking at no more than 8 other components.

Locally recoverable codes with availability

A code C has all-symbol locality r and availability t if every code symbol can be recovered from t disjoint repair sets of other symbols, each set of size at most r symbols. Such codes are called (r,t)a-LRC.[10] Theorem The minimum distance of [n,k,d]q-LRC having locality r and availability t satisfies the upper bound dni=0tk1ri. If the code is systematic and locality and availability apply only to its information symbols, then the code has information locality r and availability t, and is called (r,t)i-LRC.[11] Theorem[12] The minimum distance d of an [n,k,d]q linear (r,t)i-LRC satisfies the upper bound dnkt(k1)+1t(r1)+1+2.

References

  1. Papailiopoulos, Dimitris S.; Dimakis, Alexandros G. (2012), "Locally repairable codes", 2012 IEEE International Symposium on Information Theory Proceedings, Cambridge, MA, USA: IEEE, pp. 2771–2775, arXiv:1206.3804, doi:10.1109/ISIT.2012.6284027, ISBN 978-1-4673-2579-0
  2. Barg, A.; Tamo, I.; Vlăduţ, S. (2015), "Locally recoverable codes on algebraic curves", 2015 IEEE International Symposium on Information Theory, Hong Kong, China: IEEE, pp. 1252–1256, arXiv:1603.08876, doi:10.1109/ISIT.2015.7282656, ISBN 978-1-4673-7704-1
  3. Cadambe, V. R.; Mazumdar, A. (2015), "Bounds on the Size of Locally Recoverable Codes", IEEE Transactions on Information Theory, 61 (11), IEEE: 5787–5794, doi:10.1109/TIT.2015.2477406
  4. Dukes, A.; Ferraguti, A.; Micheli, G. (2022), "Optimal selection for good polynomials of degree up to five", Designs, Codes and Cryptography, 90 (6), IEEE: 1427–1436, doi:10.1007/s10623-022-01046-y
  5. Haymaker, K.; Malmskog, B.; Matthews, G. (2022), Locally Recoverable Codes with Availability t≥2 from Fiber Products of Curves, doi:10.3934/amc.2018020
  6. Papailiopoulos, Dimitris S.; Dimakis, Alexandros G. (2012), "Locally repairable codes", 2012 IEEE International Symposium on Information Theory, Cambridge, MA, USA, pp. 2771–2775, arXiv:1206.3804, doi:10.1109/ISIT.2012.6284027, ISBN 978-1-4673-2579-0{{citation}}: CS1 maint: location missing publisher (link)
  7. Cadambe, V.; Mazumdar, A. (2013), "An upper bound on the size of locally recoverable codes", 2013 International Symposium on Network Coding, Calgary, AB, Canada, pp. 1–5, arXiv:1308.3200, doi:10.1109/NetCod.2013.6570829, ISBN 978-1-4799-0823-3{{citation}}: CS1 maint: location missing publisher (link)
  8. Micheli, G. (2020), "Constructions of Locally Recoverable Codes Which are Optimal", IEEE Transactions on Information Theory, 66: 167–175, arXiv:1806.11492, doi:10.1109/TIT.2019.2939464
  9. Tamo, I.; Barg, A. (2014), "A family of optimal locally recoverable codes", 2014 IEEE International Symposium on Information Theory, Honolulu, HI, USA, pp. 686–690, doi:10.1109/ISIT.2014.6874920, ISBN 978-1-4799-5186-4{{citation}}: CS1 maint: location missing publisher (link)
  10. Huang, P.; Yaakobi, E.; Uchikawa, H.; Siegel, P.H. (2015), "Linear locally repairable codes with availability", 2015 IEEE International Symposium on Information Theory, Hong Kong, China, pp. 1871–1875, doi:10.1109/ISIT.2015.7282780, ISBN 978-1-4673-7704-1{{citation}}: CS1 maint: location missing publisher (link)
  11. Tamo, I.; Barg, A. (2014), "Bounds on locally recoverable codes with multiple recovering sets", 2014 IEEE International Symposium on Information Theory, Honolulu, HI, USA, pp. 691–695, arXiv:1402.0916, doi:10.1109/ISIT.2014.6874921, ISBN 978-1-4799-5186-4{{citation}}: CS1 maint: location missing publisher (link)
  12. Wang, A.; Zhang, Z. (2014), "Repair locality with multiple erasure tolerance", IEEE Transactions on Information Theory, 60 (11): 6979–6987, arXiv:1306.4774, doi:10.1109/TIT.2014.2351404