Abstract
We consider rank modulation codes for flash memories that allow for handling arbitrary charge-drop errors. Unlike classical rank modulation codes used for correcting errors that manifest themselves as swaps of two adjacently ranked elements, the proposed translocation rank codes account for more general forms of errors that arise in storage systems. Translocations represent a natural extension of the notion of adjacent transpositions and as such may be analyzed using related concepts in combinatorics and rank modulation coding. Our results include derivation of the asymptotic capacity of translocation rank codes, construction techniques for asymptotically good codes, as well as simple decoding methods for one class of constructed codes. As part of our exposition, we also highlight the close connections between the new code family and permutations with short common subsequences, deletion and insertion error-correcting codes for permutations, and permutation codes in the Hamming distance.
Introduction
Flash memory stores information via electrical charges in cells. A significant challenge in these systems is charge leakage over time, which compromises data integrity. To mitigate this, rank modulation has been proposed, where data is represented by the relative ordering of cell charges rather than absolute values. This approach provides inherent robustness against uniform charge drops across all cells.
The Translocation Error Model
Traditional rank modulation codes are designed to correct adjacent transpositions—errors where two cells with neighboring ranks swap positions due to minor charge fluctuations. However, in practical scenarios, a single cell may experience a substantial charge drop, causing it to "jump" past multiple other cells in the ranking.
To better capture these significant leakage events, the authors introduce translocation rank codes. A translocation occurs when an element is removed from its current position and re-inserted elsewhere in the permutation. This single event can model what would otherwise require a long sequence of adjacent swaps, offering a more realistic and efficient framework for error correction in flash storage.
Coding in the Ulam Metric
The mathematical foundation for translocation rank codes is the Ulam metric. The Ulam distance $d_\circ(\pi, \sigma)$ between two permutations is defined as the minimum number of translocations required to transform one into the other. A key insight of the paper is the relationship between this metric and the Longest Common Subsequence (LCS): $d_\circ(\pi, \sigma) = n - l(\pi, \sigma)$, where $l$ is the length of the LCS. This connection allows the application of classic combinatorial and computer science tools to the problem of error correction in storage systems.
Interleaving and Recursive Constructions
The authors propose a novel construction method based on permutation interleaving. By weaving together multiple smaller codes—often defined in the more standard Hamming metric—they create new codes that are robust in the Ulam metric. This approach leverages the well-understood properties of Hamming-distance codes to achieve high performance in the Ulam space.
To further optimize efficiency, a recursive interleaving technique is introduced. This method repeatedly applies the interleaving construction at different scales, narrowing the gap between the code rate and the theoretical capacity limit.
Key Results
The paper establishes several fundamental results regarding the performance and implementation of these codes:
- Asymptotic Capacity: The capacity of translocation rank codes is proven to be $C_\circ(d) = 1 - \delta$, where $\delta$ is the normalized distance.
- Code Efficiency: Interleaved codes achieve non-zero asymptotic rates. For a distance $d = n^\beta$ with $\beta < 1/2$, the construction yields a rate of $1 - \beta$.
- Decoding Complexity: The authors provide low-complexity decoding algorithms for specific interleaved codes. These algorithms extract a noisy ranking and utilize Hamming-distance decoders to recover the original data, making them viable for hardware implementation in low-latency storage controllers.
Conclusion and Future Work
This work shifts the paradigm of rank modulation from adjacent swaps to translocations, providing a more accurate model for real-world flash memory failures. While the proposed codes are asymptotically good, future research may focus on narrowing the rate gap further and exploring bounded-length translocations to enhance storage efficiency in specialized applications.
Summary updated