Abstract
Terminal embeddings are a powerful extension of dimensionality reduction that preserve distances between a fixed set of terminal points $T \subset \mathbb{R}^d$ and any arbitrary query point $q \in \mathbb{R}^d$. While previous constructions achieved optimal target dimensions, they relied on computationally expensive Semidefinite Programming (SDP) to find the embedding of $q$, leading to superlinear query times. This work introduces a novel data structure that achieves $(1+\epsilon)$-distortion terminal embeddings in sublinear time $O^*(n^{1-\Theta(\epsilon^2)} + d)$, where $n$ is the number of terminals. By reframing the embedding problem as a search for a weak separating oracle, the authors leverage approximate partitioning and hierarchical trees to bypass traditional optimization bottlenecks, providing a robust solution for adaptive query settings.
1. Introduction: The Challenge of Adaptive Queries
The Johnson-Lindenstrauss (JL) Lemma is a cornerstone of high-dimensional geometry, allowing for the projection of $n$ points into $O(\epsilon^{-2} \log n)$ dimensions while preserving pairwise distances within a factor of $1 \pm \epsilon$. However, standard JL projections are "static": they only guarantee preservation for a pre-selected set of points. If a query point $q$ is chosen adaptively—for instance, based on the results of previous projections—the distance guarantees can fail.
Terminal embeddings address this by ensuring that for a fixed set $T$, the distance $\|f(x) - f(q)\|_2$ is approximately $\|x - q\|_2$ for all $x \in T$ and all $q \in \mathbb{R}^d$. While existence proofs for such embeddings with optimal dimensions exist, the practical challenge has been the query time: calculating the image $f(q)$ for a new point.
2. Methodology: From Optimization to Search
Prior to this work, computing the image of a query point $q$ required solving a complex SDP. This optimization process was inherently slow, scaling superlinearly with the number of terminal points $n$. The core contribution of this paper is a shift from heavy optimization to a search-based approach. The authors propose a data structure that acts as a weak separating oracle for a convex program, allowing for iterative refinement of the embedding.
2.1 Approximate Partitioning and Hierarchical Trees
To efficiently detect violated constraints in the embedding process, the authors employ Approximate Partitioning (AP), a technique rooted in Locality Sensitive Hashing (LSH). This allows the system to quickly identify which terminal points might be experiencing distance distortion. Because query points can exist at various distance scales from the terminals, a Partition Tree structure is used to decompose the general problem into fixed-scale subproblems.
2.2 Robustness via Median-JL
To ensure the embedding remains robust against adaptive queries, the construction utilizes Median-JL. Rather than a single random projection, the algorithm computes multiple projections and takes the median. This prevents an adaptive adversary from identifying specific "bad" directions in the projected space that would distort distances for a chosen $q$.
2.3 Integration with the Ellipsoid Method
The "violator detector" (the weak separating oracle) is integrated into the Ellipsoid algorithm. This iterative process finds a valid embedding image significantly faster than traditional solvers, effectively decoupling the cost of high dimensionality ($d$) from the number of terminals ($n$).
3. Key Results and Complexity
The proposed algorithm achieves several theoretical milestones for Euclidean metric spaces:
- Sublinear Query Time: The time to compute $f(q)$ is $O^*(n^{1-\Theta(\epsilon^2)} + d)$, where $O^*$ suppresses poly-logarithmic factors.
- Optimal Distortion: It maintains the $1+\epsilon$ distortion guarantee, the gold standard for distance preservation.
- Near-Linear Space: The data structure requires $O^*(nd)$ space, which is essentially the cost of storing the original terminal points.
- Adaptivity: The construction is explicitly designed to be safe for use in adaptive data structures, such as those used in iterative nearest neighbor queries.
4. Discussion and Future Work
While a significant advancement, the approach has certain trade-offs. The algorithm is Monte Carlo, meaning it succeeds with high probability but is not deterministic. Furthermore, in its most efficient form, querying the same point $q$ twice might yield slightly different (though still valid) results. Ensuring deterministic results requires a slight increase in computation time. Finally, the complexity of combining Partition Trees, ANN structures, and the Ellipsoid method makes implementation more challenging than standard linear projections.
Future research could focus on simplifying these structures or finding even tighter bounds for the exponents in the sublinear runtime.
Summary updated