Fast Classical Scaling

Gil Shamai, Michael Zibulevsky, Ron Kimmel

Authors: Gil Shamai, Michael Zibulevsky, and Ron Kimmel

Multidimensional Scaling (MDS) is a cornerstone of dimensionality reduction and manifold learning. Its primary objective is to map high-dimensional data points—or points on complex surfaces—into a low-dimensional Euclidean space while preserving the original pairwise distances. However, the "Classical Scaling" variant of MDS has long been hampered by its computational intensity, particularly for large-scale datasets. This paper introduces a significant advancement in making MDS practical for massive meshes by rethinking the computation and storage of inter-point distances.

The Computational Bottleneck

The traditional MDS algorithm faces a two-fold bottleneck that limits its scalability:

  1. Computation: Embedding $p$ points requires calculating all $p^2$ pairwise distances. For geodesic distances (shortest paths on curved surfaces), this typically takes $O(p^2 \log p)$ time using methods like Fast Marching.
  2. Storage: Storing the resulting $p \times p$ distance matrix for a mesh with 100,000 vertices would require approximately 40GB of RAM, exceeding the capacity of standard workstations.

While existing approximations like Locally Linear Embedding (LLE) or Spectral-MDS exist, they often sacrifice global structure or high-frequency details. The authors propose a solution that provides the speed of an approximation with the fidelity of the full model.

Proposed Methods: FMDS and NMDS

The core innovation lies in treating the squared distance matrix $E$ as a low-rank product of smaller matrices. By selecting a small set of $n$ "landmark" points (where $n \ll p$), the authors introduce two interpolation strategies:

Fast-MDS (FMDS)

FMDS is an axiomatic approach that assumes the distance function is smooth across the manifold. It utilizes a bi-Laplacian operator to interpolate distances from landmarks to the remaining points. Unlike spectral methods that truncate high-frequency eigenvectors, FMDS operates in the spatial domain, capturing fine-grained local details more effectively.

Comparison of interpolation methods: The bi-Laplacian operator captures the true surface more accurately than Dirichlet interpolation.

Nyström-MDS (NMDS)

NMDS is a data-driven approach that "learns" interpolation coefficients from the distances between the landmarks themselves. It acts as a regularized version of the Nyström method, preventing the overfitting and noise sensitivity that often affect standard landmark-based reconstructions.

To avoid ever forming the full $p \times p$ matrix, the authors employ a QR factorization trick, decomposing landmark-based matrices into a form that allows for final embedding coordinates to be found via a much smaller eigenvalue decomposition.

Key Insights and Results

The transition from the spectral domain to the spatial domain (FMDS) proves to be a critical "aha moment." By using the bi-Laplacian as a prior, the authors maintain accuracy without the smoothing artifacts common in spectral truncation. Furthermore, the method serves as a high-speed distance engine; once the small matrices are computed, the geodesic distance between any two points can be approximated in $O(n)$ time, reaching speeds of 500 million distances per second.

Performance Metrics

  • Accuracy: NMDS achieved an approximation error of just 0.007% compared to the full MDS solution.
  • Efficiency: The algorithms embedded 10,000-vertex shapes in less than one second.
  • Robustness: The approximations demonstrated better average accuracy than the popular Fast Marching Method when compared to exact geodesic paths, despite being orders of magnitude faster.

Canonical Forms

The method successfully produces "canonical forms"—bending-invariant 3D representations. These forms remain consistent regardless of the pose of the object, such as a giraffe standing versus sitting.

Canonical forms generated for various 3D shapes, demonstrating bending-invariant representations across different poses.

Conclusion and Future Directions

Fast Classical Scaling transforms a traditionally heavy algorithm into a lightweight tool capable of processing millions of distances nearly instantaneously. While the choice of landmarks (currently handled via Farthest Point Sampling) and the initial graph dependency remain areas for refinement, the ability to perform high-fidelity 3D shape embedding on massive meshes marks a major step forward for non-rigid shape analysis. Future work may extend these techniques to non-Euclidean target spaces, such as hyperbolic space, to better accommodate hierarchical data structures.

Summary updated

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