Beyond Varshamov-Tenengolts Codes: Sketch-Guided Neural Decoding for Multiple InDel Errors
Correcting multiple insertion and deletion (InDel) errors, which cause severe synchronization drift across data sequences, remains a longstanding challenge in coding theory. Traditional algebraic codes capable of handling multiple InDel errors suffer from stringent code constraints and exponential decoding complexity. We propose an error-correcting framework that imposes concise, higher-order sketch constraints on the codeword and employs a neural Transformer-based decoder for message recovery. To handle synchronization drift, the decoder integrates convolutional layers for local context extraction and gated attention mechanisms for adaptive modulation of attention outputs. On binary InDel channels, we empirically observe that each additional sketch imposed on the codeword extends the decoder's capability to correct one additional error, suppressing the Bit Error Rate (BER) below 1% under multiple concurrent errors. The decoding time complexity is independent of the number of errors, in contrast to the exponential scaling of traditional algebraic decoders. When evaluated on the more complex Insertion, Deletion, and Substitution (IDS) channels, the framework maintains effective error-correction capabilities. We further adapt this framework to DNA storage channels by incorporating GC-content and homopolymer constraints, validating its practical potential for DNA-based data storage.