English

Recovery from Non-Decomposable Distance Oracles

Data Structures and Algorithms 2023-08-15 v2 Computational Complexity Information Theory math.IT

Abstract

A line of work has looked at the problem of recovering an input from distance queries. In this setting, there is an unknown sequence s{0,1}ns \in \{0,1\}^{\leq n}, and one chooses a set of queries y{0,1}O(n)y \in \{0,1\}^{\mathcal{O}(n)} and receives d(s,y)d(s,y) for a distance function dd. The goal is to make as few queries as possible to recover ss. Although this problem is well-studied for decomposable distances, i.e., distances of the form d(s,y)=i=1nf(si,yi)d(s,y) = \sum_{i=1}^n f(s_i, y_i) for some function ff, which includes the important cases of Hamming distance, p\ell_p-norms, and MM-estimators, to the best of our knowledge this problem has not been studied for non-decomposable distances, for which there are important special cases such as edit distance, dynamic time warping (DTW), Frechet distance, earth mover's distance, and so on. We initiate the study and develop a general framework for such distances. Interestingly, for some distances such as DTW or Frechet, exact recovery of the sequence ss is provably impossible, and so we show by allowing the characters in yy to be drawn from a slightly larger alphabet this then becomes possible. In a number of cases we obtain optimal or near-optimal query complexity. We also study the role of adaptivity for a number of different distance functions. One motivation for understanding non-adaptivity is that the query sequence can be fixed and the distances of the input to the queries provide a non-linear embedding of the input, which can be used in downstream applications involving, e.g., neural networks for natural language processing.

Keywords

Cite

@article{arxiv.2209.05676,
  title  = {Recovery from Non-Decomposable Distance Oracles},
  author = {Zhuangfei Hu and Xinda Li and David P. Woodruff and Hongyang Zhang and Shufan Zhang},
  journal= {arXiv preprint arXiv:2209.05676},
  year   = {2023}
}

Comments

This work has been presented at conference The 14th Innovations in Theoretical Computer Science (ITCS 2023) and accepted for publishing in the journal IEEE Transactions on Information Theory

R2 v1 2026-06-28T01:10:38.471Z