Unverified 2026

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

Usefulness5/10
Difficulty6/10
Novelty5/10

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

$$\left|\{c\in\mathcal C:y\text{ is a supersequence of }c\}\right|\leq L\qquad\forall y\in\{0,1\}^{(1+\delta)n}.$$$$
$$\left|\{c\in\mathcal C:y\text{ is a subsequence of }c\}\right|\leq L\qquad\forall y\in\{0,1\}^{(1-\delta)n}.$$$$
$$\mathcal H_L(\tilde y)=\operatorname{TopL}_{h:\ h\preceq\tilde y\ \mathrm{or}\ \tilde y\preceq h}S_\theta(h,\tilde y),\qquad \ell_{\mathrm{list}}=-\tau\log\sum_{h\in\mathcal H_L(\tilde y)}e^{S_\theta(h,\tilde y)/\tau}.$$$$
$$\ell=\ell_{\mathrm{task}}+\lambda\max\left(0,\,m_{\mathrm{gt}}-\tau\log\sum_{h\in\mathcal H_L(\tilde y)\setminus\{h_{\mathrm{gt}\}}}e^{S_\theta(h,\tilde y)/\tau}\right),$$ where $m_{\mathrm{gt}}$ is a desired score margin for the ground-truth candidate.

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.