Summary
A quasipolynomial number of deletion traces determines the bit after a known prefix when the channel first deletes a random initial segment of known law, supported in the first $d^{1/10}$ positions of a length-$d$ prefix. The statistic uses a bounded initial segment of the trace, so the unknown input continuation may be arbitrarily long. The proof extends the last deconvolution step in Burudgunte, Valiant and Wang. It gives the sample scale needed for a version of Rubinstein’s alignment reduction that supplies this local experiment with a known or accurately estimated shift law.
Approach
The earlier December 2 attempt answers the polylogarithmic question analytically using OpenAI’s worst-case lower bound. The pinned upstream Lean proof uses Lean 4.34.1 and over 30 trace-specific modules, including its own finite-law and trace model. The repository uses Lean 4.36.0. A direct import cannot provide the local disproof, which also needs the finite product transfer and a proof that the frozen budget set is inhabited. I pursued the quantitative upper-bound gap. The ordinary worst-case quasipolynomial result is insufficient on its own because alignment leaves an unknown starting position in each trace.
Claims
- [proved] Fix a retention probability $\rho\in(0,1)$ and let $d$ be sufficiently large. Let $x$ be a binary string of known finite length at least $d+1$, or infinite length, whose first $d$ bits are known. Each sample is produced by dropping the first $J$ bits, then retaining the remaining bits independently with probability $\rho$. The law of $J$ is known, supported on $\{0,\ldots,D\}$ with $D\le d^{1/10}$. There is a decoder for bit $x_d$ in zero-based indexing using $\exp(O_\rho((\log d)^C))$ samples, for an absolute $C$, with error at most $e^{-d}$. The decoder still works with independent per-sample contamination of probability at most $\exp(-C_\rho(1+\log d)^C)$ for a sufficiently large $C_\rho$. Contaminated traces may have arbitrary contents. The decoder uses at most the first $O(d)$ bits of each trace and applies uniformly to all continuation lengths.
- [proved] The same conclusion applies after dropping a known common shift $a$ from the input description, with $d$ replaced by the distance from $a$ to the target. A decoder may use a proposed shift law within total variation $\exp(-C_\rho(1+\log d)^C)$ of the actual shift law, under the same support constraint. In particular, local oracles in a length-$d$ window with shift width $O((\log d)^K)$ for any fixed $K$ satisfy the width condition for sufficiently large $d$, provided the target remains a fixed positive fraction of $d$ beyond the left endpoint. An average-case reduction with the alignment cost and contamination control of Rubinstein’s Theorem 4 and these local-oracle inputs would consequently use $\exp(O((\log\log n)^C))$ traces.
Details
A short-support correction to binomial deconvolution
Use the convention $\widehat f(\theta)=\sum_j f(j)e^{\mathrm i j\theta}$. Let $K_0$ be any probability on $\{0,\dots,D\}$, $B=\delta_0-K_0$, and $L_k=\sum_{i=0}^{k-1}B^{*i}$. Then $$
L_k*K_0=\delta_0-B^{*k},\qquad
\|L_k\|_1\le 2^k,\qquad
\operatorname{supp}L_k\subseteq[0,kD],\qquad
|\widehat B(\theta)|\le \min(2,D|\theta|).
$$ The first identity telescopes. The norm and support follow from those of $B$. The Fourier bound follows from $|1-e^{ij\theta}|\le j|\theta|$ and averaging. Thus if $\|f\|_1\le1$ and $|\widehat f|\le\delta$ outside $[-\epsilon,\epsilon]$, Fourier inversion gives $$
\|f*B^{*k}\|_\infty\le(D\epsilon)^k+2^k\delta .
$$ Suppose $g_0$ is the deconvolution of $f$ by $K_1=\operatorname{Bin}(N,P)$ given by BVW Corollary 33, so $\|g_0*K_1-f\|_\infty\le9\delta$. For $g=g_0*L_k$ and $K=K_1*K_0$ the same argument gives $$
\|g*K-f\|_\infty\le 10\cdot 2^k\delta+(D\epsilon)^k,\qquad
\|g\|_\infty\le 2^k\|g_0\|_\infty .
$$ The new right endpoint of the support increases by at most $kD$.
Apply the correction in the final induction step
Take two candidate words that agree up to position $d-1$ and differ at $d$. Take both to have the same length between $d+1$ and $50d$. Use BVW §8.2, Lemma 42 and Proposition 36, with at most $b=O(\log\log d)$ steps and initial retention $3^{-b-1}\min(\rho,1/4)$. Stop just before the first step that would take the ordinary induction start to index zero or earlier. Up to this step, all the windows in the proof are genuine substrings of the candidate words. At this step the hypothesis of Proposition 36 holds with parameters $R,p,\tau$, where $$
2R\le d+O(1),\quad d\le R+R'+O(1),\quad
R'\le R^2,\quad
p^{-1},\ \log(1/\tau)\le(\log d)^{O_\rho(1)},\quad \tau\le R^{-4}.
$$ Here $R'$ is the ordinary step’s proposed extension length in Lemma 39. The first two inequalities describe the stopping rule. The proof of BVW Proposition 36 gives $R'=\lfloor c''R^2p/\log(1/\tau)\rfloor$ up to rounding, with $c''>0$ arbitrarily small depending on the other fixed constants in that proof. This smaller choice still has $R'\ge3R^{1.1}$ for sufficiently large $R$, by the hypothesis $\log(1/\tau)\le R^{0.8}p^2$. Their induction preserves the required inequalities with this choice by increasing the constant in the exponent of the next discrepancy threshold. Changing one-based to zero-based indices shifts the starting positions by at most one. Equivalently, make the stopping rule refer to whether $d-R-R'$ is nonpositive in zero-based indexing.
Write $u=d-R$ and let $a(j)$ be the difference of expected BVW statistics $S+j$ on the two suffixes starting at $u$, at their selected retention $P\in[p,3p]$, with $P\le\rho$ and $P\le1/4$. Statistics with an invalid index are defined as zero. Lemma 38 gives a sequence $A$ supported on $[0.6Rp,5.8Rp]$, with $\|A\|_1\le1$, a gap $|\sum_j A(j)a(j)|\ge\tau^{c+1}$, and $|\widehat A(\theta)|\le\delta=\tau^{0.075c'-1}$ for $|\theta|\ge\epsilon=9c'\log(1/\tau)/(Rp)$. The statistic has minimum index $1$ and maximum index at most $15Rp$. As in Lemmas 38–39, take the absolute constant $c'$ large enough to ensure $0.075c'-1>c+6$, then choose $c''$ sufficiently small.
Put $N=u-D$. Given $J$, the number of retained prefix bits before $u$ has law $\operatorname{Bin}(u-J,P)$. Its unconditional law is $K=K_1*K_0$, with $K_1=\operatorname{Bin}(N,P)$ and $K_0$ the mixture of $\operatorname{Bin}(D-J,P)$ over the known law of $J$. For large $d$, $N$ is comparable to $d$ and $N\le R'$ under the stopping rule. Since $PN$ grows faster than any fixed power of $\log d$ and $\log(1/\delta)$ is polylogarithmic, $\delta\ge e^{-0.16PN+1}$. The upper requirement $\delta\le e^{-4PN\epsilon^2}$ in Corollary 33 holds since $$
PN\epsilon^2\le 243c''(c')^2\log(1/\tau).
$$ Apply the correction to $f(j)=A(-j)$ with $k=\lceil\log(1/\tau)\rceil$. The inequalities $R\ge\sqrt{d/3}$, $D\le d^{1/10}$ and the polylogarithmic bounds above give $D\epsilon=o(1)$ and $kD=o(Rp)$. Consequently $(D\epsilon)^k$ is bounded by $\tau^B$ for every fixed $B$ once $d$ is sufficiently large, and $2^k\le 2\tau^{-\log 2}$. Both $g*K$ and $f$ have supports jointly contained in an interval of length $O(d)$, using $N\le d$, $R\le d$, and $kD=o(Rp)$. As $d\le3R^2\le3\tau^{-1/2}$, the infinity-norm error implies $\|g*K-f\|_1=o(\tau^{c+1})$.
By Corollary 33, the radius added to the support of $g_0$ is at most $300\sqrt{PN\lceil\log(1/\delta)\rceil}$. Take $c''$ small enough to make this at most $0.3Rp$. After reflection the support of $G(j)=g(-j)$ lies in $[NP+0.2Rp,NP+6.1Rp]$ for large $d$. Also $\|G\|_\infty\le 11\cdot2^k e^{PN\epsilon^2}$. Reflecting the convolution approximation and changing the summation variable give $$
\left|\sum_jG(j)\sum_\ell K(\ell)a(j-\ell)\right|\ge \tfrac12\tau^{c+1}.
$$ Write $b(j)$ for the difference of the expected $S+j$ statistic in the actual shifted experiment at retention $P$. Conditional on $\ell$ retained prefix bits before $u$, if $\ell\le j$ every queried position comes from after the cut and contributes exactly $a(j-\ell)$. In the other branch the difference of two expectations of a $[0,1]$ statistic has absolute value at most one. Thus $$
\left|b(j)-\sum_\ell K(\ell)a(j-\ell)\right|\le \Pr_K[\ell>j].
$$ For every $j$ in the support of $G$ this probability is bounded by $\exp(-c_0(Rp)^2/(R'P+Rp))$ for an absolute $c_0>0$. Indeed, the conditional mean is at most $NP+DP$, the support starts at least $0.2Rp$ above $NP$, and $DP=o(Rp)$. Apply the binomial Bernstein bound conditionally on $J$ and use $N+D\le R'+D$. Because $R'\ge 3R^{1.1}$, the exponent is at least $c_1\log(1/\tau)/c''$ for an absolute $c_1>0$ at large $d$. Shrink $c''$ so this power of $\tau$ absorbs the sup-norm bound and the $O(d)$ support size, leaving $\left|\sum_j G(j)b(j)\right|\ge\tfrac14\tau^{c+1}$. Some $j$ therefore has $|b(j)|\ge\tau^{C_0}$ for an absolute $C_0$. All queried indices are at most $NP+21.1Rp$, which is at most $23dP$ for large $d$.
Sampling, continuation, and the alignment scope
Thinning a $\rho$-trace independently realizes retention $P$. The pair separator queries only its first $\lceil23dP\rceil$ positions. Truncating an input at length $50d$ has probability at most $\exp(-\Omega(dP))$ of altering these positions under a coupled deletion mask, by binomial concentration applied after dropping at most $D$ bits. For a known input length below $50d$, use candidates of that actual length throughout. The finite-word BVW bounds and the deconvolution up to $u\le d$ apply directly, with an out-of-range query returning zero.
There are at most $2^{50d}$ candidates. For each pair differing at the target, compare the empirical mean of its bounded separator to the midpoint of the two candidate means. The gap is at least $\exp(-O_\rho((\log d)^C))$, uniformly over the candidate pairs, after the exponentially smaller truncation error. Hoeffding’s inequality with a union bound over pairs gives error at most $e^{-d}$ with $\exp(O_\rho((\log d)^C))$ samples. The true candidate, or its finite prefix in the long case, wins against every candidate with a different target bit. The other target bit cannot win all its comparisons. The joint statistics may be measured using the same raw samples. Each fixed pair uses independent thinning across samples, so its concentration bound still holds. Per-sample contamination and misspecification of the shift law change each bounded mean by at most their total variation bound, absorbed by taking the two stated constants sufficiently large. For a shift supported on $[a,a+D]$, its experiment is exactly the shifted experiment on the suffix starting at $a$ with shift $J-a$. Substituting the sample exponent into Rubinstein’s claimed alignment cost gives the conditional average-case consequence.
Verification
I checked the hypotheses against Corollary 33, Proposition 36, Lemmas 38–39, and §8.2 of BVW’s July 2026 preprint. I used Rubinstein’s ICALP Definition 1 and Theorem 4 and the longer arXiv Definition 1 and Theorem 1.2 to check the local experiment. I searched for “quasipolynomial trace reconstruction shifted Rubinstein average case” and for the October 2026 uniform decoder and latest-anchor follow-ups. BVW §1.2 reports the previous average-case upper bound and does not treat the shifted experiment. The two October preprints state their quasipolynomial results for ordinary worst-case traces. The local extension here is the correction to the final binomial convolution and the associated preservation of prefix locality. A Lean proof of this extension has not been checked.
Dead Ends
The alignment-to-oracle step still needs verification with an observation endpoint and a way to determine its shift law. An alignment that selects a substring by reading ahead and then passes the trace starting at the substring’s beginning has already inspected part of the proposed oracle input. The future-retention argument starts after the last inspected trace position. Computing the conditional law at a suitable stopping position from the decoded prefix would resolve this issue if the acceptance and contamination bounds are preserved. The full arXiv definition leaves the shift law implicit. An arbitrary unknown shift law is genuinely different: the infinite strings $0^d1^\infty$ and $0^{d+1}1^\infty$ give identical observations with respective point shifts $0$ and $1$. The conference definition supplies the distribution and poses a finite-word oracle. These distinctions leave the unconditional average-case upper bound outside the result here.
References
- A. Burudgunte, P. Valiant and H. Wang, “Quasipolynomial Trace Reconstruction,” July 2026 preprint, Corollary 33, Proposition 36, Lemmas 38–39 and §8.2. arXiv:2607.04073.
- I. Rubinstein, “Average-Case to (Shifted) Worst-Case Reduction for the Trace Reconstruction Problem,” ICALP 2023, Definition 1 and Theorem 4. Proceedings. Long version.
- OpenAI, “Quantitative lower bounds for trace reconstruction,” September 24, 2026. Lean source.
- OpenAI, “Uniform quasipolynomial-time trace reconstruction,” October 5, 2026. Preprint.
- OpenAI, “A latest-anchor induction with spectrally compact masks for worst-case trace reconstruction,” October 5, 2026. Preprint.
Source: attempts/trace-reconstruction-average-case/2026-12-03-codex-attack-trace-average.md