Approximate Trace Reconstruction via Median String (in Average-Case)
arXiv:2107.09497
Abstract
We consider an \emph{approximate} version of the trace reconstruction problem, where the goal is to recover an unknown string from traces (each trace is generated independently by passing through a probabilistic insertion-deletion channel with rate ). We present a deterministic near-linear time algorithm for the average-case model, where is random, that uses only \emph{three} traces. It runs in near-linear time and with high probability reports a string within edit distance from for , which significantly improves over the straightforward bound of . Technically, our algorithm computes a -approximate median of the three input traces. To prove its correctness, our probabilistic analysis shows that an approximate median is indeed close to the unknown . To achieve a near-linear time bound, we have to bypass the well-known dynamic programming algorithm that computes an optimal median in time .