arXiv:2611.01064cs.ITOct 2026

Manuscript Offprint

arXiv:2611.01064

Maximal input entropy for binary two-deletion and two-insertion channels

Haobo Ma, Wenlin Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Under uniform transmission, we determine the received binary words that maximize input entropy for two-deletion and two-insertion channels. For two deletions the maximizers are exactly the two alternating words at every positive received length. For two insertions the same conclusion holds from received length five onward; we give all smaller cases and exact maximal values. The proof combines an embedding-count identity organized by runs with strict convexity estimates, and a grouping of two-position deletion masks. For every insertion radius we give the complete positive embedding histogram of an alternating received word. We also determine its three-deletion histogram for every length, and certify all three-deletion maximizers through received length twelve and all three-insertion maximizers through length eighteen by exact integer comparison. These computations give precise three-error conjectures with their small-length exceptions.

Keywords: binary words; subsequence embeddings; deletion channel; insertion channel; conditional entropy.

Mathematics Subject Classification (2020): 68R15, 94A17, 05A05.

1 Introduction

We determine which received binary words maximize the posterior input entropy for exactly two deletions or exactly two insertions. The posterior uncertainty depends on subsequence embedding multiplicities. Even with a uniform input distribution, the posterior is generally far from uniform: different index sets can produce the same word. Extremizing this conditional entropy therefore requires the full distribution of these multiplicities.

The posterior-entropy problem was investigated by Atashpendar, Roscoe and Ryan [3], who observed constant and alternating extremizers in their study of information leakage. Atashpendar et al. [1] subsequently studied the posterior distribution by clustering supersequences and using run lengths, and describe the conjecture that constant words minimize the entropy and alternating words maximize it. The related asymptotic work [2] proves entropy minimization when the received length is fixed and the transmitted length tends to infinity. Following their ITW paper [6], Singhvi, Sabary, Bar-Lev and Yaakobi [7] give embedding formulas for both channels, settle the one-error

*ORCID: 0009-0008-4944-977X.

†Corresponding author: e1327962@u.nus.edu. ORCID: 0009-0005-2414-7968.

extrema, and determine the two-deletion minimum and the general insertion minimum. In the latest arXiv version, Section VII-A, first unnumbered bullet, they state:

“Maximal Input Entropy for k=2k=2. While we provide a complete characterization of the sequences that minimize input entropy, the precise identification of the sequences that maximize input entropy for the 2-deletion and 2-insertion channels is still unresolved. Determining these sequences and the associated maximal entropy values remains an important open direction.”

This is arXiv:2407.10026v2, p. 16, of the work published as [7]. Their next bullet asks for extensions to higher radii.

We answer the two-error question completely. Alternating received words uniquely maximize the two-deletion input entropy. For two insertions they uniquely maximize it from length five onward, with an exceptional maximizing pair at length four. The deletion proof rearranges the run and alternating-segment enumeration of [7, Theorem 3] into a form suited to a strict lower bound for the entropy correction. We give a self-contained derivation by adding the first symbol. For insertion, grouping masks gives a lower bound sufficient for a comparison even without classifying every possible coincidence between subsequences.

Embedding histograms also arise in the enumeration of words with a prescribed number of occurrences of a fixed subsequence. Menon and Singh [5] obtain host-word counts for multiplicities one through four; their formulas recover four rows of our three-deletion histogram. Bruda [4] proves eventual polynomial enumeration for a fixed nonconstant pattern and fixed positive occurrence count, and gives a run-based embedding bound sharp when both words are alternating.

For higher radii we establish complete alternating-word histograms. The positive embedding histogram of an alternating received word has a binomial expression at every insertion radius. At radius three we also enumerate its supersequence multiplicities in closed form. Exact exhaustive comparisons support alternating maximizers for three deletions at all lengths checked, and for three insertions from length seven onward. The all-length optimality assertions at radius three remain conjectures.

Throughout the paper, nn is the received length. Thus the transmitted length is n+kn+k for kk deletions and n−kn-k for kk insertions. In [7], nn instead denotes transmitted length. All logarithms below have base two.