Classical Scaling Revisited

Gil Shamai, Yonathan Aflalo, Michael Zibulevsky, Ron KimmelICCV 2015

Abstract

Multidimensional-scaling (MDS) is an information analysis tool. It involves the evaluation of distances between data points, which is a quadratic space-time problem. Then, MDS procedures find an embedding of the points in a low dimensional Euclidean (flat) domain, optimizing for the similarity of inter-points distances. We present an efficient solver for Classical Scaling (a specific MDS model) by extending the distances measured from a subset of the points to the rest, while exploiting the smoothness property of the distance functions. The smoothness is measured by the L2 norm of the Laplace-Beltrami operator applied to the unknown distance function. The Laplace Beltrami reflects the local differential relations between points, and can be computed in linear time. Classical-scaling is thereby reformulated into a quasi-linear space-time complexities procedure.

Introduction

Multidimensional Scaling (MDS) is a cornerstone of data analysis used to embed high-dimensional data into a low-dimensional Euclidean space (like 2D or 3D) while preserving the distances between points. It is particularly useful for "flattening" non-rigid 3D shapes into "canonical forms" that are invariant to how the shape is posed. However, MDS has a massive computational bottleneck: it requires calculating and storing the distances between every pair of points. For a dataset with $p$ points, this results in $O(p^2)$ time and space complexity. Previous attempts to solve this either focused only on local distances, losing global structure, or moved the problem into the "spectral domain," which often required discarding useful information to remain efficient.

Methodology: Fast-MDS (FMDS)

This paper introduces Fast-MDS (FMDS), a highly efficient solver for Classical MDS. The authors propose a three-part strategy to bypass the $O(p^2)$ barrier:

  1. Smart Sampling: Instead of using all points as landmarks, they use Farthest Point Sampling (FPS) to select a small subset of $n$ points (e.g., $n \approx 50$) that are spread out across the manifold.
  2. Distance Interpolation via Smoothness: They treat the unknown full distance matrix as a function that should be "smooth" over the manifold. They use the Laplace-Beltrami operator (LBO)—a mathematical tool that captures the local geometry of a surface—to interpolate the distances from the $n$ landmarks to all other $p$ points. Specifically, they minimize the $L_2$ norm of the LBO applied to the distance function.
  3. Linear Algebra Efficiency: To avoid building the full $p \times p$ matrix, they reformulate the Classical Scaling equations using QR factorization and a smaller eigenvalue decomposition (on a $2n \times 2n$ matrix). This allows for extracting the final coordinates directly in $O(np \log p)$ time.

Experimental Evaluation

The researchers evaluated FMDS on two distinct types of data:

  • TOSCA Database: High-resolution 3D meshes including humans, animals, and mythical creatures, often containing millions of vertices.
  • MNIST Database: 1,200 images of handwritten digits, treated as points in a 784-dimensional space to test performance on high-dimensional manifolds.

Key Results and Insights

Accuracy and Stability

The "stress" (a measure of embedding error) for Fast-MDS was found to be very close to full MDS and significantly lower than other approximation methods like IS-MDS or SSDE. Unlike Nyström-based approximations, which show high variance, FMDS remains stable even with a small number of landmark samples.

Figure 3: Embedding error (stress) vs. number of samples. FMDS (dashed black) shows superior stability and lower error compared to competing methods.

Comparative Performance

Qualitative comparisons demonstrate that FMDS preserves the global structure of the data as effectively as standard MDS, while outperforming other manifold learning techniques like LLE or Laplacian Eigenmaps, which often fail to maintain distinct cluster separations in complex datasets.

Figure 6: Comparison of embedding methods. FMDS produces results nearly identical to full MDS (top left) with significantly lower error (Jf) than KPCA, LLE, or Laplacian Eigenmaps.

Efficiency

By reducing the problem to quasi-linear complexity, the method scales beautifully. While standard MDS fails at a few thousand points due to memory constraints, Fast-MDS handles hundreds of thousands of points in seconds on a standard workstation.

Conclusion

Fast-MDS leverages the inherent smoothness of geodesic distances on manifolds to transform a quadratic problem into a quasi-linear one. While the interpolation relies on the smoothness of the distance function—making it potentially sensitive to extreme noise—the framework offers a powerful new approach for large-scale dimensionality reduction and shape analysis.

Summary updated

BibTeX
@inproceedings{shamai2015classical,
  author = {Gil Shamai and Yonathan Aflalo and Michael Zibulevsky and Ron Kimmel},
  title = {{Classical Scaling Revisited}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  url = {https://openreview.net/forum?id=rkNoq-f_br},
}
Figure