Top-L subsequence-consistency training
Implementation & benchmark of arXiv:2607.03989 — The Insertion List-Decoding Capacity and an Improved Bound on the Deletion List-Decoding Capacity
Source paper: The Insertion List-Decoding Capacity and an Improved Bound on the Deletion List-Decoding Capacity arXiv:2607.03989 ⓘ · analyzed Aug 29, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Train a sequence encoder-decoder with an explicit list-consistency objective: after insertion or deletion corruption, require the correct prediction to remain among the top $L$ hypotheses compatible with the clean latent sequence. Instead of optimizing only one alignment, retain multiple low-cost monotone alignments or candidate latent decodings and penalize the model when the clean target falls outside this list.
Formulas
Mathematical statement
The paper's operational notion is list decoding rather than unique decoding. For insertions, a received sequence $y$ is compatible with a codeword $c$ when $y$ is a supersequence of $c$; for deletions, $y$ is compatible with $c$ when $y$ is a subsequence of $c$. A code is $(\delta,L)$-list-decodable when every corrupted sequence has at most $L$ compatible codewords. In a neural sequence model, let $s_\theta(x)$ be the clean latent sequence, let $\tilde y$ be a corrupted sequence, and let $\mathcal H_L(\tilde y)$ be the $L$ highest-scoring candidate clean sequences constrained by monotone subsequence or supersequence compatibility. Use a soft list loss that aggregates candidates with log-sum-exp: $\ell_{\mathrm{list}}=-\tau\log\sum_{h\in\mathcal H_L(\tilde y)}\exp(S_\theta(h,\tilde y)/\tau)$, where $S_\theta$ is the model score and $\tau>0$ is temperature. Add a margin term requiring the ground-truth candidate to outrank competitors. The mathematical transfer is the bounded candidate-set requirement; candidate search and scoring are neural adaptations.
Implementation notes
Integrate this into the loss of a transformer encoder-decoder, CTC-like recognizer, or latent sequence autoencoder after a clean target sequence $h_{\mathrm{gt}}$ has been corrupted into $\tilde y$. Build candidate sequences with beam search subject to explicit monotonicity constraints. For an insertion candidate, require the original sequence to be a subsequence of the candidate; for a deletion candidate, require the corrupted sequence to be a subsequence of the candidate. Verify compatibility with a standard dynamic-programming subsequence test, and score each candidate using decoder log-likelihood plus an alignment score $S_\theta(h,\tilde y)$. Keep the top $L$ candidates and compute the temperature-controlled log-sum-exp list loss. Add the hinge term from the formula so the ground-truth candidate score exceeds the aggregate competing score by margin $m_{\mathrm{gt}}$. In pseudocode: sample $h_{\mathrm{gt}}$; corrupt it to $\tilde y$; beam-expand under monotone compatibility; retain TopL; compute $\ell_{\mathrm{list}}$ and ordinary task cross-entropy; backpropagate. The paper supplies the compatibility relation and list-size principle; beam width, temperature $\tau$, margin, and score parameterization are empirical. First test on synthetic binary strings and a character-level language task using a 4-layer transformer. Compare ordinary teacher-forced cross-entropy with $L\in\{2,4,8\}$. Measure top-1 and top-$L$ recovery after 20% insertions and deletions, clean perplexity, candidate-set size, and alignment failures. Success is higher corrupted top-$L$ recall at matched clean perplexity.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.