Efficient Inter-Geodesic Distance Computation and Fast Classical Scaling

Gil Shamai, Michael Zibulevsky, Ron Kimmel

TL;DR

This paper introduces two novel methods, Fast-MDS (FMDS) and Nyström-MDS (NMDS), to significantly accelerate Multidimensional Scaling (MDS) by efficiently computing and approximating geodesic distances on manifolds. These methods reduce computational complexity from quadratic to quasi-linear, enabling faster data visualization, manifold learning, and shape analysis.

What Problem Does This Paper Address?

Multidimensional Scaling (MDS) is a powerful technique for dimensionality reduction, data visualization, and manifold learning. It aims to embed high-dimensional data points into a lower-dimensional space while preserving the distances between them. A major bottleneck in MDS, especially when dealing with geodesic distances on complex surfaces (like 3D shapes), is the computation and storage of all pairwise distances. This step typically has a quadratic complexity, making it impractical for large datasets. Existing methods that try to circumvent this either focus only on local information (losing global structure) or require significant pre-processing. This paper addresses the need for efficient and accurate methods to approximate these pairwise geodesic distances, thereby accelerating the entire MDS process.

Methods

The core innovation lies in approximating the pairwise geodesic distance matrix (denoted as $E$) using low-rank matrix decompositions. The authors propose two main approaches:

  • Fast-MDS (FMDS): This method interpolates geodesic distances from a small subset of "landmark" points. It leverages a smoothness assumption on the distance function, formulated through the bi-Laplacian operator. This approach is solved in the spatial domain, avoiding the need for eigenvectors, which can improve accuracy.
  • Nyström-MDS (NMDS): This method also reconstructs the distance matrix $E$ from a subset of its columns. It formulates the problem as learning interpolation coefficients from the known distances, drawing inspiration from the Nyström method. NMDS is generally found to be simpler to implement and often more accurate than FMDS.

Both methods aim to represent the distance matrix $E$ as a product of smaller matrices ($E \approx STST$), drastically reducing memory and computational requirements. The paper also proposes a "farthest point sampling" strategy to select informative landmark points for the interpolation.

Datasets

The paper evaluates its methods on various datasets, including:

  • 3D shapes from the SHREC database: Used for demonstrating canonical form computation and comparing embedding accuracy.
  • Hand and Giraffe shapes from the SHREC dataset: Used for evaluating reconstruction error and noise sensitivity.
  • TOSCA database: Used for testing sphere embedding and computational performance with varying numbers of vertices.

The authors do not introduce new benchmark datasets but rather use existing ones to compare their methods against established techniques.

Key Insights and Ideas

  • Low-rank approximation is key: The fundamental insight is that the pairwise geodesic distance matrix on a manifold can be effectively approximated by a low-rank matrix. This allows for significant computational savings.
  • Smoothness and learning for interpolation: Both FMDS (smoothness-based) and NMDS (data-driven learning) offer effective ways to interpolate missing distances from a sparse set of known distances.
  • Farthest point sampling is efficient: Selecting landmark points using a farthest point sampling strategy is shown to be effective for capturing global information and requires less prior knowledge of the distance matrix compared to other methods.
  • Spatial domain processing is advantageous: FMDS's approach of working directly in the spatial domain, rather than transforming to the spectral domain (like Spectral-MDS), can lead to improved accuracy.
  • Sphere embedding is feasible: The methods can be extended to embed data onto a sphere, not just a flat Euclidean space, opening up applications for spherical data representations.

Key Results

  • Significant speedup: The proposed methods (FMDS and NMDS) achieve quasi-linear complexity, enabling the embedding of 10K-vertex shapes in under a second. This is a dramatic improvement over the quadratic complexity of traditional MDS.
  • High accuracy: The methods provide highly accurate approximations of geodesic distances and canonical forms, with approximation errors as low as 0.007% compared to full MDS. They also outperform other state-of-the-art methods in approximating geodesic distances.
  • Robustness to noise: The methods demonstrate robustness to noise in the input distances, maintaining close approximations even when noise is introduced.
  • Efficient query time: While preprocessing is required, the query time for retrieving approximated distances is extremely fast (effectively constant time via matrix multiplication).

Limitations and Future Work

  • Choice of parameters: The performance of the methods can depend on the choice of parameters, such as the penalty parameter $\mu$ in FMDS and the number of samples $n_1$ in NMDS. While the paper provides guidance, optimal selection might require experimentation.
  • "Best" rank-n approximation: While the paper compares to the "best" rank-n approximation, achieving this optimal approximation still requires computing the full distance matrix, which is what the proposed methods aim to avoid.
  • Future work: The authors suggest that the interpolation ideas from FMDS could be applied to other tasks like matrix completion. They also highlight the potential for these methods in computing geodesic distances on manifolds very fast and accurately, and their extension to embedding on spheres demonstrates their capability for complex, high-dimensional manifolds.

Summary updated

BibTeX
@article{shamai2020efficient,
  author = {Gil Shamai and Michael Zibulevsky and Ron Kimmel},
  title = {{Efficient Inter-Geodesic Distance Computation and Fast Classical Scaling}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2020},
  doi = {10.1109/tpami.2018.2877961},
}
Figure