A Generalized Trace Reconstruction Problem: Recovering a String of Probabilities

Joey Rivkin, Gregory Valiant, Paul Valiant

TL;DR

This paper introduces a generalized version of the trace reconstruction problem where the goal is to recover a string of probabilities rather than just bits. The authors prove that while worst-case strings require an exponential number of samples to recover, average-case strings (where probabilities are chosen randomly) can be reconstructed efficiently in polynomial time.

What Problem Does This Paper Address?

The classic trace reconstruction problem asks: how many noisy copies (traces) of an unknown binary string $T$ do you need to recover $T$, if each trace is generated by deleting bits independently with probability $\delta$? Despite decades of study, a massive gap remains between the best known upper bounds (sub-exponential) and lower bounds (polynomial).

This paper argues that the binary constraint is often too restrictive for real-world applications. For instance, in genomics, a reference sequence might have location-specific mutation rates or measurement errors. To model this, the authors propose Generalized Trace Reconstruction. Instead of a bitstring, we have a string of probabilities $S = p_1, \dots, p_n$. To generate a trace, you first flip a coin for each $p_i$ to get a bit, then pass that bitstring through a deletion channel. The challenge is to recover the underlying probabilities $S$ from these fragmented, noisy traces.

Methods

The authors tackle the problem from two directions:

  1. Lower Bound (Hardness): To prove that some strings are nearly impossible to distinguish, they construct two specific sequences, $S_e$ (non-zero only on even indices) and $S_o$ (non-zero only on odd indices). They use a "partial deletion" process to simplify the math and then apply Fourier analysis. They show that the difference between the trace distributions of these two strings can be viewed as a Fourier transform evaluated at a high frequency ($\pi$). By analyzing the moment generating function of this transform, they prove it decays so rapidly that the two distributions become statistically indistinguishable unless you have an exponential number of traces.
  2. Upper Bound (Algorithm): For the average case (where $p_i$ are drawn uniformly from $[0,1]$), they propose a "SLAM-inspired" algorithm. In robotics, SLAM (Simultaneous Localization and Mapping) involves building a map while simultaneously figuring out where you are on it. Their algorithm identifies "deletion-free chunks" by looking at neighboring regions in the traces. By ensuring the bits used for "localization" (finding where a chunk belongs) are separate from the bits used for "mapping" (estimating the probability $p_i$), they avoid the bias that usually plagues iterative reconstruction methods.

Datasets

As a theoretical computer science paper, no external real-world datasets were used. The results are proven for:

  • Worst-case sequences: Adversarially chosen strings designed to be hard to distinguish.
  • Random sequences: Strings where each $p_i$ is sampled independently from the uniform distribution $U[0, 1]$.

Key Insights and Ideas

  • The SLAM Analogy: The "chicken and egg" problem of trace reconstruction—needing to know the string to align the traces, and needing the alignment to learn the string—is elegantly framed as a localization problem.
  • Breaking the Iterative Cycle: Most average-case algorithms for standard trace reconstruction work bit-by-bit from left to right. In the generalized setting, this causes errors to compound geometrically. The authors' "chunk-based" approach bypasses this by identifying perfect segments and then stitching them together.
  • Fourier Decay as a Tool for Indistinguishability: The use of moment generating functions to bound the tails of Fourier transforms provides a powerful, potentially broadly applicable technique for proving lower bounds in deletion-channel problems.

Key Results

  • Worst-Case Exponential Hardness: For any deletion probability $\delta \ge \Omega(1/\sqrt{n})$, no algorithm can accurately approximate $S$ using fewer than $2^{\Omega(\sqrt{n})}$ traces. This suggests that the "discreteness" of the standard problem might be the only thing keeping it from being definitively exponential.
  • Average-Case Efficiency: If the underlying probabilities are random and the deletion rate is a small constant ($\delta \le 10^{-7}$), $S$ can be recovered to within $\ell_1$ error $\epsilon$ using $\text{poly}(n, 1/\epsilon)$ traces and computation time.
  • Baseline Complexity: The authors note that even with zero deletions, you need $\Omega(n^2/\epsilon^2)$ traces just to estimate the probabilities via frequentist sampling, meaning their polynomial result is qualitatively optimal.

Limitations and Future Work

  • The Deletion Probability Gap: The current efficient algorithm requires an extremely small deletion probability ($\delta \le 10^{-7}$). While this proves polynomial complexity is possible, it is far from the higher deletion rates seen in practice.
  • Discrete Interpolation: A natural next step is to investigate "semi-discrete" strings—where $p_i$ must come from a small set (e.g., $\{0, 0.5, 1\}$). Does the problem stay "easy" or become "hard"?
  • Implications for Standard Trace Reconstruction: The authors hope their super-polynomial lower bound for the generalized case provides a roadmap for finally proving a super-polynomial lower bound for the original binary trace reconstruction problem.

Summary updated

BibTeX
@inproceedings{rivkin2025generalized,
  author = {Joey Rivkin and Gregory Valiant and Paul Valiant},
  title = {{A Generalized Trace Reconstruction Problem: Recovering a String of Probabilities}},
  booktitle = {STOC},
  year = {2025},
  doi = {10.1145/3717823.3718315},
}
Figure