Maximum Rank Distance (MRD) Codes
- MRD codes are matrix-based codes measured by rank, achieving the Singleton bound and serving as rank-metric analogues of MDS codes.
- Key constructions include Gabidulin and twisted Gabidulin families that utilize linearized polynomials for efficient encoding and decoding.
- Their rich algebraic structure and classification up to equivalence inform applications in network coding, finite geometry, and error correction.
Maximum Rank Distance (MRD) codes are rank-metric analogues of maximum distance separable codes: they are codes in spaces of matrices, or equivalently in , whose minimum distance is measured by rank and whose size attains the rank-metric Singleton bound. They were constructed and studied independently by Delsarte, Gabidulin, Roth, and Cooperstein, and they occupy a central position at the intersection of coding theory, linearized polynomials, semifields, finite geometry, and random linear network coding (Sheekey, 2019).
1. Rank metric and extremal parameters
For matrices , the rank distance is
A rank-metric code is a subset of endowed with this metric. Over , if has minimum distance , then
When equality holds, is an MRD code. In the common regime , the extremal cardinality is 0; equivalently, for an 1-linear code of length 2 and dimension 3, the Singleton-type bound becomes 4, and MRD means 5 (Lunardon et al., 2015).
This places MRD codes in exact parallel with MDS codes in the Hamming metric. The analogy is structural as well as formal: MRD codes are the extremal objects for rank distance, and several papers explicitly frame them as the rank-metric counterparts of MDS codes [0610099].
2. Linearized-polynomial models and principal infinite families
A standard algebraic model identifies 6-linear endomorphisms of 7 with 8-linearized polynomials
9
This model underlies the classical Gabidulin construction and most later generalizations (Sheekey, 2015).
The generalized Gabidulin code is
0
with 1. It is an 2-linear MRD code of size 3 (Lunardon et al., 2015).
Sheekey’s twisted Gabidulin family modifies the highest 4-degree term: 5 under the norm constraint
6
This family contains the only known family for general parameters, the Gabidulin codes, and contains codes inequivalent to the Gabidulin codes; for 7 it also contains the well-known family of semifields known as Generalised Twisted Fields (Sheekey, 2015).
A further extension is the generalized twisted Gabidulin family
8
again with a norm condition. Up to equivalence, generalized Gabidulin codes and twisted Gabidulin codes are both proper subsets of this family (Lunardon et al., 2015).
| Family | Defining feature | Relation |
|---|---|---|
| Generalized Gabidulin | Consecutive 9-powers | Classical MRD family |
| Twisted Gabidulin | Extra term 0 | Contains Gabidulin when 1 |
| Generalized twisted Gabidulin | Arbitrary step 2 plus twist at 3 | Strictly larger, up to equivalence |
These constructions establish that the classical Gabidulin paradigm is not the whole linear MRD landscape, even within highly structured 4-polynomial families (Sheekey, 2015).
3. Idealizers, nuclei, equivalence, and geometric correspondences
Left and right idealizers are major invariants of linear rank-distance codes. For 5,
6
For 7-linear MRD codes in 8, the idealizers are finite fields of size at most 9. Generalized Gabidulin codes were long the only known MRD codes with maximum left and right idealizers, but a classification for 0 shows additional families: for 1, 2 odd, and for 3, 4, there exist MRD codes with maximum idealizers that are not equivalent to any previously known MRD code (Csajbók et al., 2018).
Another structured non-Gabidulin family is
5
which yields MRD codes in 6 whose middle and right nuclei are both equal to 7. For 8, the codes in this family are inequivalent to all known ones (Trombetti et al., 2017).
Finite-geometry correspondences are equally central. Two-dimensional 9-linear MRD codes with distance 0 are tied to maximum scattered linear sets on 1; for the family 2, the equivalence problem was completed for all 3, and when 4 the resulting linear sets in 5 are not equivalent to any one known so far (Gupta et al., 2022).
The link with semifields is especially strong at the extremal distance 6. Additive MRD codes with minimum distance 7 in 8 are exactly semifield spread sets, and over 9 an additive MRD code with minimum distance 0 must contain a semifield spread set; such codes were classified for 1 (Sheekey, 2018).
4. Asymptotics, genericity, and the size of the MRD universe
The asymptotic theory of rank-metric codes differs sharply from the Hamming-metric case. Gilbert and sphere-packing bounds were established for the rank metric, together with their asymptotic forms and the Singleton bound. On that basis it was observed that asymptotically Gilbert-Varshamov bound is exceeded by MRD codes and sphere-packing bound cannot be attained. The same work also showed that all MRD codes are maximal codes and that all the MRD codes known so far achieve the maximum rank covering radius [0610099].
A complementary viewpoint comes from algebraic geometry and probability. For linear rank-metric codes in 2, the properties of being MRD and non-Gabidulin are generic over the algebraic closure of the underlying field. Consequently, over a large extension field a randomly chosen generator matrix generates an MRD and a non-Gabidulin code with high probability, and explicit upper bounds on these probabilities can be given in terms of the extension degree 3 (Neri et al., 2016).
Even the classical Gabidulin class is much larger, up to equivalence, than its traditional presentation suggests. For 4, there are at least
5
pairwise inequivalent 6-linear Gabidulin MRD codes in 7 with minimum distance 8 (Schmidt et al., 2017).
Recent switching constructions amplify this picture. MRD codes are maximum codes in the rank-distance metric space on 9-by-0 matrices over the finite field of order 1; they are diameter perfect, and switching replaces special MRD subcodes by other subcodes with the same parameters. This yields a huge class of MRD codes whose cardinality grows doubly exponentially in 2 if the other parameters are fixed, together with MRD codes of different affine ranks and aperiodic MRD codes (Shi et al., 2022). A plausible implication is that exhaustive classification up to equivalence becomes rapidly harder as parameters grow.
5. Decoding, elementary linear subspaces, and decoder-error exponents
Operationally, MRD codes are often studied under bounded rank-distance decoding with correction capability
3
A notable development introduced the concept of elementary linear subspace, which has similar properties to those of a set of coordinates. Elementary linear subspaces are then used to derive properties of MRD codes that parallel those of MDS codes [0612051].
Within that framework, the decoder error probability of bounded rank distance decoders can be analyzed under the assumption that all errors with the same rank are equally likely. For MRD codes with error correction capability 4, the decoder error probability decreases exponentially with 5 under that assumption [0612051].
A companion formulation makes the channel interpretation explicit: the same-rank equiprobability model is argued to be an approximation of a channel corrupted by crisscross errors [0610148]. This identifies one of the distinctive advantages of MRD codes in array-like or matrix-valued channels: the relevant error severity is rank, not Hamming weight, and the resulting bounded-distance decoder error exponent is quadratic in the correction capability.
6. Extensions, implementation, and application domains
MRD theory now sits inside the broader framework of maximum sum-rank distance codes. Over finite chain rings, linearized Reed-Solomon codes were extended and proven MSRD; in the single-block case, this specializes back to the rank metric and hence to the MRD setting. The same work developed a general cubic-complexity sum-rank Welch-Berlekamp decoder and a quadratic-complexity sum-rank syndrome decoder under additional assumptions, with the latter also constituting the first known syndrome decoder for linearized Reed-Solomon codes over finite fields. Applications include Space-Time Coding with multiple fading blocks and physical-layer multishot Network Coding (Martínez-Peñas et al., 2021).
A recent implementation-oriented direction replaces extension-field arithmetic by circular-shift structure. Based on circular-shift operations, a construction of 6 MRD codes was given that is performed entirely over 7 and avoids the arithmetic of 8. For 9, in a family of settings the resulting codes are different from any Gabidulin code and any twisted Gabidulin code; for 0, every constructed code coincides with a Gabidulin code, yielding an equivalent circular-shift-based construction that operates directly over 1. When 2, 3 is prime, and 4, generating a codeword requires 5 XOR operations, whereas customary Gabidulin construction requires 6 XOR operations (Zhai et al., 13 Feb 2026).
Across these developments, MRD codes remain central because they combine extremal distance, rich algebraic structure, and wide applicability. Their modern theory now includes classical Gabidulin and generalized Gabidulin codes, twisted and generalized twisted variants, semifield-linked families, constructions with prescribed nuclei or idealizers, switching-based nonlinear families, and implementation-oriented realizations over 7, while continuing to feed applications in network coding, cryptography, finite geometry, and coded modulation (Sheekey, 2019).