Abstract
This paper introduces a novel multilayer coding scheme for one-way synchronization of binary sequences affected by deletions and insertions. By combining intersecting layers of Varshamov-Tenengolts (VT) codes with linear error-correcting codes, the proposed method achieves reliable synchronization with low communication overhead. Crucially, it offers significantly lower decoding complexity compared to existing "Guess and Check" methods, making it practical for sequences of several thousand bits.
Introduction
In data synchronization, two remote nodes possess similar binary sequences, $X$ and $Y$, where $Y$ is an edited version of $X$. Unlike standard bit-flip errors, deletions and insertions cause a loss of synchronization, meaning the decoder no longer knows the original positions of the bits in $Y$ relative to $X$.
The challenge addressed here is "one-way synchronization": the encoder (holding $X$) sends a single, minimal message $M$ to the decoder (holding $Y$) to enable reconstruction of $X$. Previous solutions were often either computationally prohibitive as the number of edits ($k$) increased or required excessive redundancy. This work seeks a practical middle ground: low redundancy, manageable complexity, and high reliability for sequences ranging from a few hundred to a few thousand bits.
Methodology: Multilayer Construction
The core of the proposed scheme is a multilayer construction that organizes the sequence $X$ into a grid-like structure to leverage intersecting constraints.
- Chunking and Intersecting Constraints: The sequence $X$ is divided into small, equal-sized "chunks." The encoder then computes Varshamov-Tenengolts (VT) syndromes—checksums capable of correcting a single deletion or insertion—for two different groupings:
- Blocks ($B_i$): Formed by adjacent chunks, similar to rows in a grid.
- Chunk-strings ($C_j$): Formed by well-separated chunks, similar to columns in a grid.
- Linear Parity Checks: A third layer employs a standard linear code (e.g., Reed-Solomon) to act as an "erasure corrector" for any deletions that the VT layers cannot resolve.
- Iterative List Decoding: The decoder employs a six-step process, including a tree search to identify candidate deletion patterns satisfying the VT syndromes. Because the block and chunk-string constraints intersect, the decoder can iteratively "fix" deletions in one layer, which subsequently helps resolve deletions in the other.
A "Guess-based" variant is also explored, which eliminates the linear code to save bits. In this version, the decoder "guesses" bits to break cycles in a bipartite graph representing unresolved deletions.
Experimental Evaluation
The scheme was evaluated using numerical simulations on synthetic binary sequences. Random sequences $X$ of lengths $n=60$ to $n=2800$ were subjected to $k$ deletions chosen uniformly at random.
The results demonstrate significant improvements in complexity and efficiency. For a sequence of length $n=1024$ with $k=8$ deletions, the proposed multilayer code resolves the synchronization in approximately 0.06 seconds on a standard PC, whereas previous "Guess and Check" (GC) codes would require checking over $10^{11}$ patterns.
As shown in the experimental setups, the average list size (the number of candidate sequences produced by the decoder) frequently drops to exactly 1. For instance, in Setup 8 ($n=2800, k=10$), perfect reconstruction was achieved in every trial with a redundancy rate of $R_{\text{sync}} = 0.135$.
Key Insights and Discussion
The effectiveness of this approach stems from using VT codes as powerful "hashes" to prune the search space. Most invalid deletion patterns fail the VT syndrome check, drastically reducing the number of potential sequences the decoder must consider. The power of intersection is the key: resolving an edit in a "row" (block) provides information to resolve an edit in a "column" (chunk-string).
However, some limitations remain. While typical decoding is fast, the tree search still scales exponentially with the number of edits $k$ in the worst-case scenario. Additionally, the current theoretical bounds on expected list size are considered "loose" as they do not fully capture the non-linear pruning power of the VT constraints.
Future work may involve extending the scheme to $L = \Theta(\log n)$ layers for near-optimal redundancy or adapting the implementation for non-binary alphabets using $q$-ary VT codes.
Summary updated