Coding Schemes for Document Exchange under Multiple Substring Edits
Hrishi Narayanan, Vinayak Ramkumar, Rawad Bitar, Antonia Wachter-Zeh
TL;DR
The paper addresses document exchange under multiple substring edits, proposing a syndrome-compression-based scheme that achieves a worst-case redundancy of $4t\log n + o(\log n)$ with encoding and decoding costs of $O(n^{2t+1})$ and $O(n^{t+1})$, respectively. It also advances the average-case setting by partitioning the input space into $(p,\delta)$-dense and non-dense strings, yielding an overall average redundancy of $(4t-1)\log n + o(\log n)$ through auxiliary encodings and a restricted confusion-ball analysis. Key technical contributions include tight bounds on confusion-ball sizes—$O(n^{2t})$ in the worst case and $O(n^{2t-1})$ for dense strings—enabling reduced redundancy in the average case. Compared with prior schemes that achieve similar redundancy but with higher computational complexity, the proposed methods deliver substantial improvements in practice while preserving theoretical optimality in the dominant redundancy term.
Abstract
We study the document exchange problem under multiple substring edits. A substring edit in a string $\mathbf{x}$ occurs when a substring $\mathbf{u}$ of $\mathbf{x}$ is replaced by an arbitrary string $\mathbf{v}$. The lengths of $\mathbf{u}$ and $\mathbf{v}$ are bounded from above by a fixed constant. Let $\mathbf{x}$ and $\mathbf{y}$ be two binary strings that differ by multiple substring edits. The aim of document exchange schemes is to construct an encoding of $\mathbf{x}$ with small length such that $\mathbf{x}$ can be recovered using $\mathbf{y}$ and the encoding. We construct a low-complexity document exchange scheme with encoding length of $4t\log n+o(\log n)$ bits, where $n$ is the length of the string $\mathbf{x}$. The best known scheme achieves an encoding length of $4t \log n+O(\log\log n)$ bits, but at a much higher computational complexity. Then, we investigate the average length of valid encodings for document exchange schemes with uniform strings $\mathbf{x}$ and develop a scheme with an expected encoding length of $(4t-1) \log n+o(\log n)$ bits. In this setting, prior works have only constructed schemes for a single substring edit.
