Neural method for Explicit Mapping of Quasi-curvature Locally Linear Embedding in image retrieval

Shenglan Liu, Jun Wu, Lin Feng, Feilong WangarXiv 2017

TL;DR

This paper introduces a novel framework for efficient image retrieval by combining a new manifold learning technique, Quasi-curvature Locally Linear Embedding (QLLE), with a neural-network-based mapping function. By using Extreme Learning Machines (ELM) to learn an explicit mapping from high-dimensional features to low-dimensional embeddings, the authors achieve state-of-the-art precision and significantly faster processing for new, "out-of-sample" images.

What Problem Does This Paper Address?

In the world of computer vision, images are often represented as high-dimensional vectors. While these vectors contain rich information, their sheer size makes similarity-based ranking (the core of image retrieval) computationally expensive.

Manifold learning algorithms like Locally Linear Embedding (LLE) attempt to solve this by projecting data into a lower-dimensional space that preserves the "shape" or manifold of the original data. However, traditional LLE has two major flaws:

  1. The Linearity Trap: It assumes local neighborhoods are strictly linear, which is often a poor assumption for complex real-world image data.
  2. The Out-of-Sample Problem: Most spectral manifold algorithms don't provide a mathematical "bridge" (an explicit mapping function) to handle new data points. To embed a new image, you'd theoretically have to re-run the expensive eigen-decomposition on the entire dataset.

Methods

The authors propose a two-stage solution to bridge these gaps:

1. Quasi-curvature Locally Linear Embedding (QLLE)

Instead of assuming every neighborhood is linear, QLLE introduces a quasi-curvature index. This index measures how much a local neighborhood deviates from a flat plane. If the curvature is too high (exceeding a threshold $\eta$), the algorithm adaptively adjusts the neighborhood to ensure the local linearity assumption actually holds. This results in a more faithful low-dimensional representation of the training data.

2. Neural Method (NM) for Explicit Mapping

To solve the out-of-sample problem, the authors use Landmarks and Extreme Learning Machines (ELM).

  • They select a small subset of "landmark" points from the original data.
  • They calculate the low-dimensional coordinates for these landmarks using QLLE.
  • They train an ELM—a type of neural network where input weights are random and only output weights are learned—to find the explicit function $f(x)$ that maps original points to their QLLE coordinates.

Because ELM training is essentially a simple least-squares problem, it is incredibly fast and provides a ready-to-use formula for any new image that comes into the system.

Datasets

The researchers evaluated their approach on three standard benchmarks:

  • Corel-1K: 1,000 images across 10 categories.
  • Corel-10K: 10,000 images across 100 categories.
  • Cifar-10: 60,000 small images across 10 categories.

They used PUD descriptors (280 dimensions) for the Corel datasets and GIST descriptors (512 dimensions) for Cifar-10 as the starting high-dimensional features.

Key Insights and Ideas

  • Curvature Matters: By acknowledging that manifolds aren't perfectly flat, QLLE creates a more robust embedding than standard LLE.
  • Landmarks as Anchors: You don't need to compute the manifold for every single point in a massive dataset. A well-chosen subset of landmarks can capture the underlying structure, which a neural network can then generalize.
  • ELM for Speed: Using an Extreme Learning Machine provides the "explicit expression" that manifold learning usually lacks, making the system viable for real-time, online image retrieval.

Key Results

The proposed NM-LLE* (Neural Method + QLLE) consistently outperformed Principal Component Analysis (PCA) and other state-of-the-art out-of-sample methods like LLL-LLE.

  • Higher Precision: As seen in Figure 3 (Corel-1K) and Figure 5 (Corel-10K), the NM-LLE* method achieves higher precision across various dimensions compared to its peers.

Precision comparison on Corel-1K Precision comparison on Corel-10K

  • Efficiency: While PCA is technically the fastest, it suffers from lower precision. NM-LLE offers a superior balance, being significantly faster than standard LLE or LLL-LLE while providing better retrieval accuracy. For example, in the Cifar-10 dataset (Figure 2), NM-LLE maintains a manageable time cost even as dimensions increase.
Fig. 2: The time consuming of the four methods and original feature in Cifar-10

Limitations and Future Work

The authors note one significant caveat: while their Neural Method is excellent for retrieval and recognition, it may not perfectly preserve the intricate manifold structure of "hand-crafted" data as well as pure manifold learning algorithms do. This makes it a specialized tool for retrieval rather than a general-purpose manifold visualization tool. The team plans to address this structural preservation in future research.

Summary updated

BibTeX
@misc{liu2017neural,
  author = {Shenglan Liu and Jun Wu and Lin Feng and Feilong Wang},
  title = {{Neural method for Explicit Mapping of Quasi-curvature Locally Linear Embedding in image retrieval}},
  year = {2017},
  eprint = {1703.03957},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.03957},
}
Figure