Spherical Embedding and Classification

Richard C. Wilson, Edwin R. Hancock

Introduction

In pattern recognition, objects are frequently represented based on their dissimilarities. The standard approach is to embed these objects as points in Euclidean space. However, many real-world dissimilarity measures—such as those used in gesture recognition, protein matching, or graph analysis—are indefinite. This means the similarity matrix contains negative eigenvalues, and distances often violate the triangle inequality.

Forcing such data into a flat Euclidean "box" leads to a poor fit and the loss of critical structural nuances. While pseudo-Euclidean spaces can handle indefiniteness, they are non-metric, which causes a breakdown in the concept of locality. This paper introduces a method to embed these indefinite datasets onto a curved hypersphere, providing a metric-consistent framework for classification.

Methodology

The authors propose embedding data onto a hypersphere, a Riemannian manifold that is curved but remains metric. This ensures that geodesic distances (the shortest paths along the surface) are well-behaved, allowing for the use of standard geometric tools like means and nearest-neighbor logic.

The Embedding Procedure

The core technical contribution is an optimization-based embedding procedure that utilizes Lie group theory:

  1. Lie Algebra Representation: To avoid the complexity of optimizing directly on a curved surface, the authors use the Exponential Map and Log Map. These tools map points from the manifold to a local, flat "tangent space" where optimization is performed before being "wrapped" back onto the sphere.
  2. Efficient Gradient Descent: A gradient descent scheme minimizes "stress" (the difference between actual and target distances). To ensure efficiency for large datasets, the authors derive an optimal step-size by solving the smallest root of a cubic equation at each iteration.
  3. Manifold Classification: The authors adapt the Nearest Mean Classifier (NMC) for the manifold by calculating the "intrinsic mean" through an iterative procedure, allowing for classification directly on the curved surface.

Experimental Evaluation

The proposed method was tested on 21 diverse indefinite datasets across various domains, including computer vision, bioinformatics, and text analysis.

Characteristics of the 21 indefinite datasets used in the study, including size, Negative Eigenfraction (NEF), triangle inequality violations, and asymmetry.

The "indefiniteness" of these datasets was quantified using the Negative Eigenfraction (NEF). As shown in the table above, the Zongker dataset (handwritten digits) proved to be the most extreme with an NEF of 0.419. Other datasets, such as Chickenpieces, exhibited significant triangle inequality violations and varying degrees of asymmetry.

Results and Discussion

The experimental results demonstrate that hyperspheres are a highly flexible "home" for indefinite data. Key findings include:

  • High Fidelity: 18 out of the 21 datasets were embedded with less than 10% RMS error.
  • Classification Stability: For approximately half of the datasets, 1-Nearest Neighbor (1NN) performance was nearly identical before and after embedding. Notably, for the highly indefinite Zongker dataset, the embedding process significantly improved 1NN accuracy.
  • NMC Performance: The Nearest Mean Classifier on the manifold showed mixed results. It performed exceptionally well on Newsgroups and CatCortex but struggled with the Chickenpieces data, suggesting that the "mean" of a class on a sphere isn't always a good representative for every type of data.
  • Curvature as a Feature: The authors argue that the non-Euclidean nature of data contains useful information. A curved manifold provides the necessary "room" to represent these relationships faithfully while maintaining metricity.

Conclusion

The hypersphere is not a universal solution. The Chickenpieces dataset series, for instance, appeared unsuitable for spherical embedding. The authors suggest this is likely because the underlying structure of such data might be better represented by hyperbolic space (which has constant negative curvature, unlike the positive curvature of a sphere). Future work will focus on automatically determining the optimal manifold geometry and radius for a given dataset to further minimize representation error.

Summary updated

BibTeX
@inproceedings{wilson2010spherical,
  author = {Richard C. Wilson and Edwin R. Hancock},
  title = {{Spherical Embedding and Classification}},
  booktitle = {SSPR/SPR},
  year = {2010},
  doi = {10.1007/978-3-642-14980-1\_58},
}
Figure