Manuscript Offprint
arXiv:2610.38440MacKay-Neal Codes for DNA Channels under Block-MAP Decoding
Abstract
We prove achievability below the symmetric information rate (SIR) under block maximum a posteriori (MAP) decoding for a fixed-degree MacKay-Neal (MN) socket ensemble on the quaternary insertion-deletion-substitution channel used to model DNA reads. For every integer , the socket ensemble, with one transmitted bit fixed and an independent uniform known offset, has limiting rate bits per stored nucleotide. If the joint SIR of a fixed number of reads under independent, uniformly distributed input nucleotides exceeds , the ensemble-average full extended-word block error is , and deterministic graph-offset sequences attain the same limiting rate and message-average error bound. This result concerns the discrete rate family , not arbitrary rates approaching a given SIR. The channel permits arbitrarily many insertions and unbounded drift, with no alignment supplied to the receiver. The proof combines established MN parity and distance estimates with a strict arbitrary-candidate-list bound and a list construction that accounts for hidden output boundaries.
1 Introduction
Insertions and deletions obscure the correspondence between a stored DNA sequence and its reads. A standard idealized insertion-deletion-substitution (IDS) model processes each input nucleotide by repeated random insertions, followed by either deletion or a possibly substituted transmission. The receiver observes the resulting sequence without knowing which output symbols correspond to each input nucleotide. Several conditionally independent reads of the same stored sequence can be decoded jointly [1, Sec. II-A and Sec. IV]. Its event probabilities are independent of the input symbols and surrounding sequence, and inserted symbols are uniform; these assumptions specify the idealization used here.
Practical constructions combine synchronization recovery with error correction. Watermark codes provide soft synchronization information to an outer nonbinary low-density parity-check (LDPC) decoder [2]; sparse-graph synchronization decoders have also been studied by density evolution [3]. For multiple quaternary reads, inner convolutional or time-varying block codes can be concatenated with outer LDPC or polar codes [1, Secs. II–VII]. A recent half-marker construction uses one bit of selected quaternary symbols for synchronization while retaining the other for data. Its information-rate and finite-length experiments assess this allocation and iterative decoding with an outer LDPC code [4].
Recent work also places error-correcting constraints across many short strands. Cross-strand polar coding with decision-feedback shifts is evaluated for deletion-only and insertion-only channels in [5, Secs. IV–V]. A subsequent trellis construction handles simultaneous IDS errors by alternating posterior estimation along binary strands with polar decoding across strands [6, Secs. IV–V]; its near-capacity evidence is numerical and uses a conjectured capacity benchmark. These cross-strand studies assume one read from each strand, with the correspondence between reads and strands known; the present theorem instead lets the length of an identified strand grow and jointly uses a fixed number of its reads.
Learned polar decoders provide another direction: channel-sample training is combined with successive-cancellation or list decoding and evaluated on synthetic IDS channels, multiple reads, and nanopore data [7]. At the storage-system level, a recent end-to-end scheme combines inner, index, and outer codes with clustering and soft-information processing for sampled nanopore reads [8]. Its symbolwise posterior calculations are components of a practical receiver, whereas our block maximum a posteriori (MAP) decoding criterion concerns recovery of the entire extended codeword. Pool sampling, strand identification, and sequence-dependent noise broaden the engineering model in that work; they are not assumptions of our identified-strand theorem.
Provable information-rate-achieving constructions also precede this work. On the binary deletion channel, polar codes with known separating sequences, called guard bands, achieve the information rate of a regular hidden-Markov input process; optimizing such processes yields capacity achievability [9]. A subsequent construction strengthens the error-decay guarantee with polynomial-time decoding [10]. For a related binary IDS model, modified guard bands likewise permit polar codes to achieve the specified input process's information rate with polynomial encoding and decoding complexity [11, Thm. 1 and Sec. III]. Our result concerns a different code structure and decoding guarantee: a prescribed fixed-degree MacKay–Neal (MN) ensemble on quaternary unaligned reads under matched block-MAP decoding.
Random-coding theorems for synchronization channels have been known since [12]. For independent and identically distributed (iid) uniform input nucleotides, the symmetric information rate (SIR) is the limiting mutual information per stored nucleotide between the input and all observed reads. In our model, independently and uniformly chosen codewords already yield vanishing average block error at every fixed rate strictly below the joint SIR. Indeed, the candidate lists of Lemma 2 contain the true input with probability tending to one, and an independent competitor belongs to a list with probability equal to its size divided by . A union bound then proves random-code achievability. The additional question is whether this guarantee survives common sparse parity constraints, under which different codewords are no longer independently chosen.
We prove that the MN socket ensemble, with one bit fixed and a known uniform offset, has vanishing full extended-word block-MAP error whenever its limiting rate lies below the joint iid-uniform SIR. The degrees remain fixed as the blocklength grows. The contribution is this reliability theorem for the specified ensemble and discrete rate family; it does not improve the achievable rates of unconstrained random coding or establish an efficient MAP implementation.
The SIR is determined by the channel law, the number of reads, and the iid-uniform input law. Evaluating it is a separate task from proving reliability of this MN ensemble. For general IDS parameters, the information-rate analysis in [1, Sec. VI-B] uses numerical evaluation through channel-likelihood recursions. Our achievability theorem requires no closed-form expression for the SIR: a rigorous lower bound exceeding the ensemble's limiting rate suffices to verify its condition. Appendix B gives a concrete application using an analytic lower bound.
The proof combines established techniques with two additional estimates. Weight-distribution methods transfer random-coding bounds to structured code ensembles [13], and random cosets are used in LDPC achievability on arbitrary discrete memoryless channels [14]. A random coset adds one known random offset to every codeword. Revealing output-block boundaries and charging their entropy has precedents in deletion-channel information-rate analysis [15][16, Lemma 1]. Here a strict MN candidate-counting estimate is combined with a posterior-threshold list that considers every partition of the unaligned reads. The inherited MN results and the additional steps are specified below; their supporting sources are also cited where each technique is used.
The analysis uses the observations available to the receiver. No insertion-count or drift bound is imposed on the channel, where drift is the difference between output and input positions. Although a comparison list discards exceptionally long outputs, the matched MAP likelihood still sums all paths consistent with each observed read. Thus the sufficient reliability condition uses the SIR of the untruncated channel.
Theorem 1 (Block-MAP achievability below the SIR). Fix an integer , a positive integer , and channel parameters satisfying Definition 1. The reads are independent conditional on their common input. Let be the joint iid-uniform SIR in bits per stored nucleotide, and set and .
Consider the MN ensemble of Definition 3, with one fixed transmitted bit retained in transmission and an independent uniform offset known to the decoder. As through , its actual transmitted rate tends to in probability and in .
The error is averaged over graphs, offsets, uniform extended codewords, and channel outputs. If , the average block-MAP error for the full extended word is . Deterministic graph-offset sequences attain rate with message-average block error .
The degrees, channel parameters, and number of reads are fixed before taking the limit. The case is left open.
The theorem applies to the discrete rate family , , with a fixed positive gap ; it does not assert arbitrary rates below a prescribed SIR. The constant may depend on this gap and can be large, so the bound does not predict the blocklength needed for a target error rate. A gap shrinking with is a different limiting regime. The SIR specifies an iid-uniform input law, whereas unrestricted channel capacity optimizes the input process. The theorem establishes reliability under MAP decoding; computationally efficient algorithms for decoding and for selecting deterministic codes require further results. Correct block recovery includes every punctured and transmitted bit, so the corresponding bit-error probabilities also tend to zero.
The limiting rate is measured per stored nucleotide, without division by the number of reads. The model concerns reads of an identified strand. Sampling from a pool, unknown strand identities, and strand loss require the additional indexing and sampling models of [8, 17]. Sequence-dependent nanopore noise [8] and biochemical sequence constraints also require additional analysis.
1.2 Extension from memoryless channels to synchronization errors
MN codes use punctured variables to obtain dense effective constraints from a sparse graph [18, Sec. VI-B]. The closest prior result is the fixed-degree capacity theorem for binary-input memoryless symmetric channels in [19, Thm. 1]. That theorem already treats the same socket ensemble, block-MAP recovery of both punctured and transmitted variables, singular , and convergence of the actual rate. These properties are inherited here. We reuse its parity entropy inequality, distance estimate, and exact socket-counting formula [19, Lemmas 1 and 8, Sec. 4.2]; Proposition 2 gives a direct rate proof from the same count. The additional result concerns synchronization errors: the same underlying graph ensemble, with one bit fixed and a known offset added, has vanishing block error when its limiting rate lies below the joint iid-uniform SIR of the unaligned DNA reads.
The memoryless-channel theorem cannot simply be applied after replacing capacity by SIR. Its comparison with an equal-capacity binary symmetric channel replaces observations one input coordinate at a time and relies on the product structure of a memoryless channel [19, Sec. 4.3, Lemmas 5–6]. Although the IDS model processes input symbols independently, the emitted strings are concatenated and their boundaries are hidden. The receiver therefore lacks the input-indexed observations required by that comparison. A uniform-input information rate alone does not supply the channel comparison needed for correlated codeword coordinates.
The ensemble part of the extension is a candidate-counting estimate that does not assume a binary symmetric channel model. The proof for the binary symmetric channel in [19, Sec. 4.2] counts noise vectors of a fixed Hamming weight and bounds their conditional entropy. Here Lemmas 4 and 5 apply to an arbitrary candidate input list when the input and list are jointly independent of the graph. If its size is exponentially smaller than , the expected number of wrong candidates at intermediate Hamming distances is exponentially small. The proof requires the exponent to be uniformly strictly negative, including at the endpoints for the punctured-variable weight, rather than merely nonpositive. This controls the probability of a competing codeword directly.
1.3 Proof outline
The proof follows the receiver's task. First, Section 3 constructs the set of candidate input sequences whose full blocks satisfy the posterior-product threshold under at least one partition of the observed reads. Its size is at most , and the true sequence is absent with probability , for a fixed . The cost of trying all partitions becomes arbitrarily small per input symbol when the fixed block size is increased.
Next, Section 4 asks whether another MN codeword can remain in that set. Fixing one bit removes the all-one difference, the distance estimate excludes differences near both extreme weights, and the socket count makes the expected number of the remaining competitors exponentially small when . Averaging the uniform offset is what permits applying this graph count to a list chosen from channel observations.
The comparison decoder keeps only candidates satisfying the code constraints. On a good graph it succeeds whenever the true word is present and no competitor remains. MAP has no larger block error. Finally, Section 5 combines the two conditions on , which are compatible because , and selects deterministic graph-offset pairs with both vanishing error and the required actual rate. The supporting rate calculation is in Appendix A. Section 2 supplies the definitions used in these steps.
2 Channel, code, and rates
Definition 1 (Quaternary queue IDS channel). The alphabet is . Fix a bijection and write for its coordinatewise extension. Fix with and , and . While an input symbol is queued, an insertion occurs with probability , appending an independent uniform symbol and keeping the same input queued. Deletion occurs with probability and consumes the input. Transmission occurs with probability , consumes the input, and emits it unchanged with probability , or one of the other three symbols uniformly with probability . Processing stops when the last input is consumed. No insertion is made after that time.
This is precisely the queue convention in [1, Sec. II-A]. Equivalently, each input independently emits uniform insertions and then either no symbol or a substituted copy, where
The insertion count and this deletion indicator are independent. denotes the emitted word. The observed read is the concatenation of these words; their boundaries are hidden. Notice the distinction between the event probability and the eventual deletion probability .
For input position and read , let consist of all symbols emitted while processing input , including preceding insertions and the final transmitted symbol when transmission occurs. Thus . The individual words are not observed; only their concatenation is. Under iid input, the tuples are independent across .
For reads, write . Conditional on , the reads use independent channel randomness. Define
for iid uniform . All entropies and logarithms below are in bits. Existence of the limit is proved in Lemma 1. Thus and , in bits per stored input nucleotide. The normalization divides by the input length, without an additional division by the number of reads or the output length. The term SIR refers to this specified iid input; no assertion that this input maximizes the IDS capacity is needed.
Definition 2 (Channel likelihood and uniform-input posterior). Write for all finite output words, including the empty word. For and , let be the probability that the channel in Definition 1 emits exactly . For a tuple , set
Under iid uniform input, the probability of the output tuple is . Define
For positive , this is the posterior under the uniform prior on all input words. For zero , the all-zero assignment is a convention for rejecting an impossible output tuple, not a conditional probability distribution. We use when defining posterior thresholds. The dependence of on the fixed and channel parameters is suppressed.
An empty output and an impossible output are different notions: the empty word can have positive probability. Possibility is tested jointly over the t reads. For example, in the noiseless channel, two different output words are individually possible but cannot be two reads of the same input. The posterior in Equation (4) is defined before imposing code constraints; it is distinct from the posterior over extended codewords used by MAP.
The underlying graph law is the independent socket ensemble of [19, Def. 1]. The following definition adds the one-bit constraint and known offset.
Definition 3 (MN socket ensemble and its restriction). Let , , and . Uniformly match punctured sockets to three sockets at each of checks. Independently match three sockets at each transmitted variable to the other three check sockets. Reduce edge multiplicities modulo two to obtain and . Let denote the two matchings. Set
The pair is uniform on . Independently choose uniformly in and reveal it to encoder and decoder. The stored binary vector is , and the nucleotide word sent through the channel is . The coordinate is retained, so the physical length is nucleotides. For fixed , block-MAP uses the matched joint likelihood of all reads.
The offset uses the random-coset construction [14, Def. 3]. We prove the required independence in Proposition 1; the memoryless-channel theorem of that reference is not invoked for the IDS channel.
The projection distinguishes what is stored from the auxiliary variables used to describe it. If is one solution for a fixed , every other solution is with . Thus different extended words can produce exactly the same stored sequence. The physical channel cannot distinguish those punctured partners, even from noiseless reads. This is why the actual transmitted rate counts distinct 's, and why recovery of the full extended word additionally requires injectivity of .
All vector sums and matrix operations are over . The notation counts the nonzero coordinates of , and denotes the all-one vector of length .
Every fiber of the projection to has size , so is uniform on , including when either matrix is rank deficient. Odd check degrees on both sides imply . Consequently
Proposition 2 proves this convergence in directly, with mean absolute deviation . Conditioning on matrix invertibility would define a different ensemble; it is unnecessary here.
For any fixed and allowed , the identity follows because exactly one offset, , produces . Averaging over therefore leaves the same uniform law for every graph. This uniformity is obtained by averaging over . Once both and are fixed, is instead uniform on the translated code . The proof uses the former law to construct graph-independent channel lists, and the latter law when defining the error of each individual code.
Definition 4 (Full-word MAP error). For a fixed graph , offset , and read tuple , the MAP decoder chooses
Use a fixed ordering to resolve ties. For observations with positive probability under this code, likelihood maximization equals posterior maximization because the prior is uniform on the extended code. The same fixed rule defines the decoder on impossible observations. Define
The probability in averages over the uniform extended word and channel randomness. A block error means that at least one punctured or transmitted variable is wrong.
For a general channel on binary inputs, the same definitions replace the likelihood in Equation (8) by ; we write the average error as . This convention is used in Proposition 1. The offset is a code-design parameter: the existence proof later fixes one together with one graph at each length.
3 Small lists from unaligned DNA reads
We first use the channel output to narrow the possible stored sequences. The list must contain the true sequence with high probability, yet be small enough that the MN parity constraints can eliminate its other members. The conditional uncertainty per nucleotide tends to , so the target logarithmic list size is slightly larger than . The graph estimate in Lemma 5 permits lists of size at most for any fixed . These requirements are compatible precisely when .
The obstacle is that an input block does not have a known output block. We resolve it by trying every consecutive partition of the reads. First we bound the information hidden in those boundaries; then we define the list and prove its two required properties separately.
3.1 How much information is hidden in the boundaries?
The reveal-and-hide comparison for output-block boundaries is used in deletion-channel analysis [15][16, Lemma 1]. We adapt it to iid uniform input and IDS reads, including the cost of unbounded output lengths.
Lemma 1 (Entropy limit and a finite-block bracket). For the IDS model with fixed , the limit in Equation (2) exists. With
every positive integer satisfies
Also is nondecreasing in .
Proof. Cut the input after symbols and reveal, in each read, the output length generated by those symbols. The receiver can then separate two independent iid-input channel blocks. Because this extra information can only reduce conditional entropy, . The bounds and Fekete's lemma for superadditive sequences give . In particular, .
To bound the cost of hiding the cuts, partition input symbols into blocks of length . Let be the number of output symbols generated by block in read , and let . The concatenated reads together with determine all block outputs, and conversely those outputs determine the concatenated reads and . Thus . Hiding the lengths increases this entropy by . Subadditivity of entropy therefore gives
The last bound uses only that is a nonnegative integer with mean . We use the relative-entropy method for maximum-entropy bounds [20, Sec. 12.1] and verify the needed discrete case directly. Indeed, for such a variable with mean , comparison with the geometric law gives by nonnegativity of relative entropy. At , the variable is zero almost surely. Divide Equation (12) by and let to obtain Equation (11). Additional reads reduce conditional entropy, proving monotonicity.
The condition of Theorem 1 can be verified whenever a rigorous lower bound exceeds the code rate . The theorem itself applies throughout , independently of the sharpness of a particular bound . The finite-block bracket in Equation (11) converts the exact information quantity into SIR bounds; a numerical evaluation must also account for its computational error. Appendix B gives an application using an analytic lower bound.
3.2 Defining the candidate set from the observed reads
A candidate list here is a finite set: order and repeated occurrences have no significance. Its elements need not satisfy the code constraints, which will be imposed later. The adjective small refers to its exponential size bound, not to a polynomial-time construction.
For a tentative partition, we keep the input sequences whose blockwise posterior probabilities have a sufficiently large product. This uses the length- posterior in Definition 2, computed under iid uniform input, before imposing any code constraints. We then take the union over all partitions. A word is included if at least one partition admits it.
Definition 5 (Output partitions and candidate lists). Fix an integer , a number , a length cutoff , and an integer . These are fixed parameters of the list construction, independent of the graph, offset, and observed reads.
For , write , where and , and put . For , define as the set of arrays of cut indices
For such a partition, is the substring of in positions , and . Equal cut indices give an empty substring.
The set admitted by is
Here consists of the empty word, and juxtaposition denotes concatenation. If , the final output tuple is not used in the threshold, and every trailing input is allowed. With the convention for outputs of marginal probability zero in Definition 2, a partition having an impossible full-block output contributes the empty set.
Finally define, for every positive integer n and every observed tuple,
Thus ; its binary image is .
The cuts in Equation (13) specify only boundaries between input blocks, not individual insertion or deletion positions. For two blocks and the read ACG, the four partitions are (empty, ACG), (A, CG), (AC, G), and (ACG, empty). Empty strings must be allowed because a whole input block can disappear. Trying all partitions includes the actual boundaries without giving them to the decoder.
The product in Equation (14) is a scoring distribution for a proposed split. It need not equal the posterior for the unsegmented read. When all full-block outputs are possible, it is nonetheless normalized over ; that fact will bound the number of candidates. At the actual split, the independent channel blocks additionally make this score concentrate. These are distinct reasons for using the same product.
The threshold uses the probability-mass counting principle behind typical-set cardinality bounds [20, Thm. 3.1.2]: if every candidate has probability at least a threshold and total mass is at most one, there are at most the reciprocal threshold many candidates. Here it is applied to a conditional product score for each partition. For the countable output alphabet, we also prove the finite-variance property and the miss bound directly at the true partition.
Lemma 2 (Channel lists with vanishing miss probability). For every , the parameters in Definition 5 can be chosen so that, under iid uniform input,
The lists use no graph, offset, or revealed alignment.
Proof. We first choose the parameters, then bound the list size for every observation, and finally bound the probability of losing the true word. Put and fix any . Choose a finite large enough that , where
This is possible because . Choose and set
All these quantities are fixed before grows. The remaining exponent margin exceeds per nucleotide and will absorb the final partial block.
Consider and an output passing the length cutoff. For one partition, each admitted full-block sequence has product probability at least . Their probabilities sum to at most one, so there are at most such sequences. Allowing every trailing word multiplies this count by .
A word of length has exactly partitions into consecutive, possibly empty strings: its substring lengths are nonnegative integers summing to . For both and , this count is at most . Using and , the union in Equation (15) satisfies
(19)
For the second inequality, gives , while and . Thus trying all partitions costs at most bits in the logarithmic list size, and allowing the trailing input costs at most bits. Since , , and for , the exponent is at most . For outputs failing the cutoff and for , the empty-list definition already gives the same size bound.
We next check inclusion of the true word. Let be the outputs actually generated by the th full input block . The resulting partition is one of those in Equation (13). Under iid uniform input, the block pairs are iid. Their posterior surprises have mean . A realized word has positive posterior almost surely, so these variables are well-defined. The true word passes the product threshold exactly when
Thus a large posterior surprise means that the block is unusually difficult to identify from its reads; the threshold allows a positive margin above the mean total uncertainty.
Although output lengths are unbounded, has finite variance. For every possible block-output tuple and ,
There are at most input words with posterior less than , and their probabilities sum to at most . The resulting exponential tail gives a finite second moment, uniformly in the output. Let . Chebyshev's inequality bounds failure of Equation (20) by .
Let for the per-symbol emitted word in Equation (1). Each read has mean length and variance , so the probability that any read exceeds is at most . On the complement of these two failures, the true full-block sequence satisfies the product threshold, and the actual trailing word is allowed. Hence the union contains . Therefore, for ,
Here because . The finitely many lengths below are covered by increasing the constant in the bound. The cutoff only declares failure of this comparison list on rare outputs; it never truncates the physical channel or the MAP likelihood. Incorrect trial partitions can add candidates, but cannot remove the true word once the actual partition admits it.
4 A strict candidate-counting bound for MN codes
We now ask whether the channel list can contain a second MN codeword. A distance estimate and the one-bit restriction first confine every competing difference to an intermediate Hamming-weight interval. We then count parity-compatible differences in an arbitrary list of the allowed size. A uniform negative exponent makes their expected number small; the final comparison decoder turns that count into a block-error bound.
4.1 Two established ensemble estimates
Write , with , for binary entropy. Define the check polynomial and its entropy bound by
For feasible means, is the maximum entropy of an even-parity six-bit vector whose first and last triples have mean fractions . Explicitly, a feasible law is supported on is even} and satisfies and . Symmetrization within each triple makes its individual marginals equal to those means. For infeasible means set . This identification is the entropy-log-partition duality [21, Sec. 3.6, Thm. 3.4(a)]. Boundary means use its limiting extension; a finite positive minimizing pair need not exist there.
The variables in record the numbers of active sockets in the two triples; they are formal counting variables, not channel symbols. Averaging the two products in Equation (23) cancels exactly the monomials of odd total degree. The coefficient of a surviving monomial counts assignments with active punctured sockets, active transmitted sockets, and an even total. Multiplying copies counts assignments at all checks, while coefficient extraction fixes the total numbers of active sockets. The function bounds the exponential growth of this count at prescribed mean fractions.
Lemma 3 (Inputs from the MN ensemble analysis). For all ,
For each fixed , there is such that the good-graph event
satisfies .
Proof. The entropy inequality is [19, Lemma 1], with its natural-log normalization divided by . The graph statement is [19, Lemma 8]. For example, that estimate permits and bounds its exceptional probability by plus a polynomial times an exponentially decreasing term. These are channel-independent statements for precisely the independent socket ensemble in Definition 3. The square matrix need not be invertible.
4.2 Why one fixed bit is useful
On , every nonzero obeys
The lower bound follows from Lemma 3. For the upper bound, is nonzero, since . Its weight also exceeds . Thus Lemma 5 covers every possible competing transmitted word. Hamming distance is used here to restrict candidate differences in the graph count; it is not an adversarial edit-distance guarantee.
One cannot discard the all-one difference by appealing to a Hamming distance bound. For example, a channel that reveals only the unordered pair has mutual information per input bit tending to one under iid uniform input, while any uniform linear code containing 1 has block error at least 1/2. Fixing one bit removes this ambiguity at a cost of one information bit, or bits per nucleotide ( per transmitted bit). This example explains the restriction in a theorem intended to use arbitrary output-dependent lists.
4.3 Strictness away from the two extreme weights
For a list exponent , put
Here is the relative weight of a punctured candidate and is the relative weight of a transmitted difference. Each term in Equation (28) contributes to the exponential part of the expected-count bound. The term comes from bounding the number of punctured candidates, from bounding parity-compatible socket assignments, and from the two matching denominators. The remaining term counts transmitted candidates, using whichever is smaller: the entire Hamming sphere of relative weight , or the prescribed list. A negative total exponent means that the parity constraints outweigh all these choices.
Lemma 4 (Uniform negative exponent). Fix and . There is such that
Proof. Write , , and . The parity bound gives
If , the right side is strictly negative: for it is at most , and for it is at most , using . If , it is strictly negative whenever , because .
The coarse bound can equal zero when . An upper bound of zero would not suffice: the final count still contains a polynomial factor in N. We therefore return to the parity distribution at these endpoint means and show that its entropy is strictly smaller than the coarse bound allows.
Only or with remains. Use the maximum-entropy interpretation of in Equation (24). For feasible means, the finite-dimensional set of admissible laws is compact, so entropy attains a maximum. Averaging a maximizing law over permutations within each triple preserves the constraints and cannot decrease entropy; we may therefore take every coordinate of the last triple to have mean .
At or , the first triple is deterministic, and the last triple has even or odd parity, respectively. Any two bits determine the third, so . At , equality would require the first two bits of the last triple to be independent Bernoulli variables. Their parity would then have mean , forcing or . At , odd parity similarly forces , hence or . The weight interval excludes 0 and 1, and excludes . Thus at the remaining feasible endpoints, which makes there as well. Infeasible pairs already have exponent .
Pointwise negativity must be strengthened to one bound valid for every weight pair, because the number of pairs grows with . In Equation (24), fixing gives a continuous affine function of ; their infimum is upper semicontinuous. Adding the continuous entropy terms preserves this property. On the compact rectangle in Equation (29), therefore attains a maximum. The endpoint argument ensures that this maximum cannot be zero, even if maximizing weight pairs approach a boundary. Its negative gives a single constant valid throughout the rectangle.
Lemma 5 (Arbitrary candidate lists). Fix , , a deterministic set of cardinality at most , and . Define the nonnegative integer
It counts pairs consisting of a candidate transmitted word and a punctured difference satisfying the graph constraints. Here is one if holds and zero otherwise. Then
with from Lemma 4. The same bound holds conditionally on a random pair jointly independent of ; independence of the two components from each other is not required.
Proof. For fixed of weights , the probability of is exactly
The independent matchings make the active row sockets uniform subsets of the prescribed sizes. The numerator counts those satisfying the even-parity condition at every check, including multiplicities that cancel modulo two. This is the two-type configuration count used in [19, Sec. 4.2, Eq. (11), and App. B, Eq. (22)].
The coefficient bound used below is deterministic. Since all coefficients of are nonnegative, its selected coefficient times is at most for every positive . Dividing by that monomial and taking the infimum gives the exponent , since . Thus the generating function supplies an upper bound for each weight pair before we sum over candidates.
There are choices of , and at most words of the list at distance from . Using the type-class estimates [20, Example 11.1.3, Eq. (11.40)]
and the coefficient bound from Equation (24), the term at is at most . There are at most terms. Apply Equation (29).
4.4 From candidate lists to block-MAP reliability
The graph estimate can be separated from the construction of lists for a particular channel. The channel lists already provide the required size and miss bounds; the following proposition explains how these properties imply MAP reliability.
Proposition 1 (List-to-MAP bound). Use the ensemble and uniform known offset of Definition 3. Let be any channel from to a countable output alphabet, with conditional law depending on the graph and offset only through its input . Fix . Suppose deterministic lists satisfy for every and have miss probability under uniform input. With from Lemma 3, from Lemma 4, and from Equation (32), the ensemble-average full extended-word error satisfies
Proof. We exhibit a decoder whose failures can be counted. For fixed , form the set of extended words consistent with both the code and the list,
The comparison decoder returns the unique element of this set if its cardinality is one, and declares a block error otherwise. If the true input lies in the list, the true extended word belongs to this set. We need to bound the chance that a second member remains.
First, the uniform offset makes uniform for every graph. Because the channel depends only on , we have . Hence , and therefore , is jointly independent of . In the analysis we may condition on and still use the original graph distribution in Lemma 5. We do not also condition on or on the good-graph event.
Now let be the true extended word and a competing member of Equation (36). Write . On a good graph, injectivity of rules out a second punctured partner with , so . The common offset cancels, and the parity equations give
The first relation puts the difference inside the weight interval in Equation (27). The second identifies the punctured vector counted in Lemma 5: it is the difference , not the competing component itself.
For fixed true , different competitors give different counted pairs . Thus their number on a good graph is at most the graph count in Equation (31). In particular,
The first inequality uses that a nonnegative integer is at least one whenever a competitor exists. The second applies Lemma 5 after conditioning on ; the count is averaged over all graphs, so no conditioned socket ensemble is introduced.
The comparison decoder succeeds whenever the graph is good, the true input is in the list, and no competitor exists. A union bound over the complementary events gives Equation (35). For every fixed graph and offset, matched block-MAP minimizes the full-word error under the same prior, so its error is no greater than this comparison decoder's error. This proves the stated MAP bound.
5 Proof of the main theorem
The channel list identifies a small candidate set of physical inputs from the observed reads. The MN estimate then controls whether that set contains another codeword. These two statements give a decoder with small block error; MAP optimality and a final selection argument give the conclusions of Theorem 1.
Proof of Theorem 1. Assume and choose . The left inequality permits the construction in Lemma 2, while the right inequality permits the graph count in Lemma 5. Thus the same exponent satisfies both requirements. For each observed tuple , construct the nucleotide candidate set and use its binary image , where . The bijection preserves cardinality. Hence this binary list has at most elements, and its miss probability under iid-uniform input is .
The IDS channel has a countable output alphabet and depends on the graph and offset only through the stored input. We can therefore apply the list-to-MAP bound in Proposition 1 to these binary lists. Its three terms account for an exceptional graph, a missed true input, and a surviving competitor:
(39)
The first term is by the graph estimate in Lemma 3, and the second has that order by Lemma 2. The third decays exponentially up to the polynomial factor . All constants are fixed before n grows.
It remains to select deterministic codes with both the required rate and the error bound. Restrict this final selection to good graphs whose actual rate is close to 2R:
The exceptional-graph estimate in Lemma 3 and the actual-rate bound in Proposition 2, followed by Markov's inequality, give . Thus for every sufficiently large admissible length. Since the error is nonnegative,
At least one graph-offset pair in this event has error no larger than the conditional average. Selecting such a pair at each sufficiently large admissible length gives and simultaneously. Since , its matrix is injective and each transmitted word has a unique punctured partner. Conditioning on is used only for this final selection; the graph count establishing Equation (39) uses the original unconditioned ensemble. The selected graph and offset are then fixed and may depend on the channel and the number of reads. Their error guarantee averages over uniform extended codewords and channel outputs, as in Definition 4, rather than taking the maximum over messages. Together with Proposition 2, this proves all claims of Theorem 1.
The candidate-list argument controls block error directly. A normalized conditional-entropy bound alone would not establish reliability: uncertainty between the all-zero and all-one words has entropy one bit, yet every bit has error probability under the uniform prior on those two words.
6 Conclusion
For each fixed , the MN socket ensemble with one transmitted bit fixed and a known uniform offset has vanishing block-MAP error on the quaternary queue IDS channel whenever its limiting rate is strictly below the joint iid-uniform SIR. The proof controls competing codewords directly, with hidden output partitions contributing a vanishing rate overhead. This extends the memoryless-channel MAP analysis of MN codes to unaligned reads with unbounded insertion runs and drift.
The MAP guarantee is asymptotic, with the degrees and channel parameters held fixed as the blocklength grows. The DNA model describes an identified strand with a fixed number of independent reads. Exact balance of the combined guanine and cytosine content, homopolymer constraints, random sampling depth, strand dropout, and context-dependent sequencing require either a replacement small-list theorem with the appropriate input law or an additional outer storage architecture. Sharper finite-length bounds and the case where the rate equals the SIR also remain to be determined.
Proposition 1 separates the ensemble analysis from the IDS specialization. Applying it to another channel requires sufficiently small uniform-input lists with vanishing miss probability, constructed from the observations available to the receiver.
A Convergence of the actual rate
Counting variables minus checks gives the design dimension K, but need not give the transmitted dimension of an individual graph. Dependent checks can increase the dimension of , whereas a nontrivial ker A identifies several extended words under projection. The next proof bounds both corrections in expectation. This is sufficient for convergence of the actual rate, even without requiring exact ranks for every graph.
Proposition 2 (Actual-rate convergence). With from Equation (32), let . The actual rate satisfies
Proof. Sum Equation (33) over all pairs and use Equations (25) and (34). For , , the exponential part of the expected weight count is at most
Thus . Restricting the count to leaves only one binomial denominator and gives , since its exponent is at most .
Write and . There are checks on variables, so , while the projection has dimension . Jensen's inequality gives and . Since , we have . Dividing by proves Equation (42), and Markov's inequality gives convergence in probability. This proof does not require a full-rank event.
B An application using an analytic lower bound
Theorem 1 uses the true SIR . The following lower bound provides one way to verify its condition for a particular channel. Here is the eventual deletion probability defined in Equation (1). With no insertions or deletions and a single read, the quaternary symmetric channel has the exact SIR .
For a single read, revealing insertion counts and deletion indicators aligns all surviving transmissions. Those indicators are independent of the input. The conditional mutual information is , and the revelation costs at most .
Writing the revealed data as , independence of from gives . Hiding loses bits. Subtracting this entropy from the aligned-channel information therefore gives a lower bound on the information in the original read, which explains the direction of the following inequality:
Additional reads cannot decrease mutual information, so . Thus verifies the sufficient condition of Theorem 1 for every fixed number of reads, without evaluating exactly. This bound uses an alignment genie only to lower-bound the information rate, by subtracting its entropy. It provides no alignment information to the actual decoder.
For example, gives . Substituting , , and into Equation (44) gives . The family, whose limiting rate is bit per nucleotide, therefore satisfies Theorem 1 for every fixed . This verification requires no numerical SIR estimate.
References
[1] I. Maarouf, A. Lenz, L. Welter, A. Wachter-Zeh, E. Rosnes, and A. Graell i Amat, “Concatenated codes for multiple reads of a DNA sequence,” IEEE Trans. Inf. Theory, vol. 69, no. 2, pp. 910–927, 2023. doi:10.1109/TIT.2022.3206527.
[2] M. C. Davey and D. J. C. MacKay, “Reliable communication over channels with insertions, deletions, and substitutions,” IEEE Trans. Inf. Theory, vol. 47, no. 2, pp. 687–698, 2001. doi:10.1109/18.910582.
[3] R. Goto and K. Kasai, “Sparse graph codes for channels with synchronous errors,” IEICE Trans. Fundamentals, vol. E101-A, no. 12, pp. 2064–2071, 2018. doi:10.1587/transfun.E101.A.2064.
[4] J. Haghighat and T. M. Duman, “Half-marker codes for deletion channels with applications in DNA storage,” IEEE Commun. Lett., vol. 29, no. 7, pp. 1639–1643, 2025. doi:10.1109/LCOMM.2025.3570003.
[5] Y.-T. Lin, H.-P. Wang, and V. Guruswami, “Block length gain for nanopore channels,” arXiv:2511.18027v1, Nov. 22, 2025.
[6] T.-H. Wu, J. Swernofsky, and H.-P. Wang, “Salami slicing trellis for synchronization errors in DNA coding,” arXiv:2606.28802v1, Jun. 27, 2026.
[7] Z. Aharoni and H. D. Pfister, “Neural polar decoders for DNA data storage,” IEEE J. Sel. Areas Inf. Theory, vol. 6, pp. 403–416, 2025. doi:10.1109/JSAIT.2025.3610751.
[8] L. Welter, R. Sokolovskii, T. Heinis, A. Wachter-Zeh, E. Rosnes, and A. Graell i Amat, "An end-to-end coding scheme for DNA-based data storage with nanopore-sequenced reads," IEEE J. Sel. Areas Inf. Theory, vol. 7, pp. 17–32, 2026. doi:10.1109/JSAIT.2026.3655592.
[9] I. Tal, H. D. Pfister, A. Fazeli, and A. Vardy, "Polar codes for the deletion channel: Weak and strong polarization," IEEE Trans. Inf. Theory, vol. 68, no. 4, pp. 2239–2265, 2022. doi:10.1109/TIT.2021.3136440.
[10] D. Arava and I. Tal, "Stronger polarization for the deletion channel," IEEE Trans. Inf. Theory, vol. 71, no. 7, pp. 5192–5214, 2025. doi:10.1109/TIT.2025.3545806.
[11] H. D. Pfister and I. Tal, "Polar codes for channels with insertions, deletions, and substitutions," in Proc. IEEE Int. Symp. Inf. Theory (ISIT), 2021, pp. 2554–2559. doi:10.1109/ISIT45174.2021.9517755.
[12] R. L. Dobrushin, "Shannon's theorems for channels with synchronization errors," Problems Inf. Transmission, vol. 3, no. 4, pp. 11–26, 1967. https://www.mathnet.ru/eng/ppi1919.
[13] N. Shulman and M. Feder, "Random coding techniques for nonrandom codes," IEEE Trans. Inf. Theory, vol. 45, no. 6, pp. 2101–2104, 1999. doi:10.1109/18.782147.
[14] A. Bennatan and D. Burshtein, "On the application of LDPC codes to arbitrary discrete-memoryless channels," IEEE Trans. Inf. Theory, vol. 50, no. 3, pp. 417–438, 2004. doi:10.1109/TIT.2004.824917.
[15] D. Fertonani and T. M. Duman, "Novel bounds on the capacity of the binary deletion channel," IEEE Trans. Inf. Theory, vol. 56, no. 6, pp. 2753–2765, 2010. doi:10.1109/TIT.2010.2046210. Author preprint: https://arxiv.org/abs/0810.0785.
[16] M. Dalai, "A new bound on the capacity of the binary deletion channel with high deletion probabilities," in Proc. IEEE Int. Symp. Inf. Theory (ISIT), 2011, pp. 499–502. doi:10.1109/ISIT.2011.6034177.
[17] I. Shomorony and R. Heckel, "DNA-based storage: Models and fundamental limits," IEEE Trans. Inf. Theory, vol. 67, no. 6, pp. 3675–3689, 2021. doi:10.1109/TIT.2021.3058966.
[18] D. J. C. MacKay, "Good error-correcting codes based on very sparse matrices," IEEE Trans. Inf. Theory, vol. 45, no. 2, pp. 399–431, 1999. doi:10.1109/18.748992.
[19] K. Kasai, "MacKay–Neal codes achieve capacity under MAP decoding," arXiv:2610.10277v1, Oct. 7, 2026. https://arxiv.org/abs/2610.10277v1.
[20] T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Wiley, 2006.
[21] M. J. Wainwright and M. I. Jordan, "Graphical models, exponential families, and variational inference," Found. Trends Mach. Learn., vol. 1, nos. 1–2, pp. 1–305, 2008. doi:10.1561/2200000001.