arXiv:2609.06441cs.ITSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.06441

Random Algebraic Geometry Codes Approach the Half-Singleton Bound for Insertions and Deletions

Zhihao Guan, Hengjia Wei

Abstract

In this paper, we study the performance of algebraic geometry (AG) codes against adversarial insertion-deletion (insdel) errors. The half-Singleton bound states that an [n,k]q[n, k]_q linear code can correct at most n−2k+1n-2k+1 insdel errors. It was recently proven that random Reed-Solomon codes approach this bound. However, these constructions require the field size qq to grow linearly with the code length nn. We overcome this barrier by extending the probabilistic analysis of general linear insdel codes to AG codes. We demonstrate that curves with many rational points allow for nearly optimal codes over significantly smaller alphabets.

We prove the following main asymptotic results: (1) For general smooth complete curves of fixed genus, random AG codes are nearly optimal, that is, they can correct (1−ε)n−2k(1-\varepsilon)n-2k insdel errors with high probability over linear-sized fields (q=Θ(n))(q=\Theta(n)). (2) By utilizing Hermitian curves, we achieve this optimality over sublinear fields of size q=Θ(n2/3)q=\Theta(n^{2/3}), breaking the linear field size barrier. (3) Using asymptotically optimal García-Stichtenoth towers, we prove the existence of random AG codes that approach the half-Singleton bound with high probability over fields of size q=2OR(1/ε2)q=2^{O_R(1/\varepsilon^2)}, independent of nn.

I. INTRODUCTION

Error-correcting codes are widely used in digital communication and storage systems to ensure data reliability. In classical coding theory, the dominant model is the Hamming metric, where errors alter symbol values but preserve their positions. However, modern applications increasingly face synchronization errors, primarily insertions and deletions (insdel errors). Unlike Hamming errors, insertions and deletions alter the sequence length, causing a loss of positional information. This “desynchronization” means the decoder cannot easily determine which received symbol corresponds to which original index, rendering standard algebraic decoding methods ineffective and making the design of optimal insdel codes significantly more challenging.

The study of codes for these errors began in the 1960s with the foundational work of Levenshtein, Varshamov [1] and Tenengolts [2]. For decades, constructing efficient codes remained a difficult open problem. Recently, however, there has been renewed interest in this field, with numerous studies focusing on designing codes capable of correcting insdel errors [3]–[15]. This resurgence is driven by critical real-world applications. For instance, in DNA-based data storage systems [16]–[19], insertion and deletion errors occur naturally during the synthesis and sequencing processes. Similarly, in racetrack memory [20], data is stored in magnetic domains that move along a wire, where imprecise shifts can cause synchronization errors. These technologies necessitate efficient codes capable of handling such disturbances.

Linear codes are particularly desirable for these applications due to their compact representation and support for efficient encoding and decoding algorithms. The study of linear codes for insertion and deletion errors has advanced significantly in recent years. It was first established by Abdel-Ghaffar et al. [21] that any linear code capable of correcting a single deletion must have a rate of at most 1/21/2. Later, Cheng, Guruswami, Haeupler, and Li [22] established the half-Singleton bound, which implies that any [n,k][n, k] linear code can correct at most n−2k+1n-2k+1 insdel errors. Ji et al. [23] tightened this limit to the strict half-Singleton bound, showing that codes lacking the all-one vector can correct at most n−2kn-2k errors. These bounds serve as the fundamental limits for linear insdel codes, analogous to the Singleton bound for Hamming errors.

Approaching this bound with efficient linear codes has been a major challenge. Cheng, Guruswami, Haeupler, and Li [22] constructed linear codes that correct a δ\delta fraction of insdel errors with rate approaching (1−δ)/2(1-\delta)/2 as the alphabet size increases. Later, Cheng et al. [24] provided constructions for high-rate and high-noise regimes. A natural candidate for optimal linear codes is the family of Reed-Solomon (RS) codes, which are MDS codes widely used for Hamming errors. However, their performance against insdel errors remained an open problem for decades. Recently, Con, Shpilka, and Tamo [25] proved that RS codes can exactly achieve the half-Singleton bound, but their existential argument required a field size exponential in the dimension (q=O(n4k−2))(q=O(n^{4k-2})). Con, Guo, Li, and Zhang [26] significantly improved this result: they analyzed random RS codes and proved that they approach the half-Singleton bound, that is, correct (1−ε)n−2k(1-\varepsilon)n-2k errors with high probability over linear field sizes (q=Θ(n))(q=\Theta(n)). In a different direction, Gross, Con, and Yaakobi [27] constructed explicit codes over Fq2\mathbb{F}_q^2, linear over Fq\mathbb{F}_q, with rate 1/2−δ−ε1/2-\delta-\varepsilon that efficiently correct a δ\delta fraction of insdel errors for q=O(ε−4)q=O(\varepsilon^{-4}); they also gave fully linear codes over Fq\mathbb{F}_q with rate 1/2−2δ−ε1/2-2\sqrt{\delta}-\varepsilon.

While RS codes are arguably the most prominent linear codes, they have a significant limitation: the field size must exceed the code length (q>n)(q>n). This restricts their use over small or fixed alphabets. To overcome this limitation, we turn to

This work was supported in part by the National Natural Science Foundation of China under Grant 12371523.

Z. Guan and H. Wei are with the School of Mathematics and Statistics, Xi'an Jiaotong University, Xi'an 710049, China (e-mail: guanzh@stu.xjtu.edu.cn; hjwei05@gmail.com).

algebraic geometry (AG) codes, which generalize Reed-Solomon codes by evaluating functions on algebraic curves at rational points. Curves with many Fq\mathbb{F}_q-rational points can support code lengths larger than qq, making AG codes natural candidates for approaching the half-Singleton bound over smaller, and potentially constant-sized, fields.

In this paper, we investigate the asymptotic performance of AG codes against adversarial insertion and deletion errors. We examine whether the algebraic structure of curves can reduce the required field size while maintaining optimal error correction capability. Specifically, we analyze random codes generated by rational points on irreducible MDS varieties, that is, varieties not contained in any hyperplane passing through the origin, and then apply this framework to AG codes approaching the half-Singleton bound.

References (35)