Embedding Based on Function Approximation for Large Scale Image Search.

Thanh-Toan Do, Ngai-Man Cheung · DOI

TL;DR

This paper introduces FAemb and its faster counterpart F-FAemb, novel embedding methods that represent images as single vectors by approximating complex functions. These methods achieve state-of-the-art performance in large-scale image retrieval tasks, outperforming existing techniques like VLAD and Fisher Vectors.

What Problem Does This Paper Address?

The core challenge in large-scale image retrieval is efficiently representing an image with a single, discriminative vector that captures the essence of its local features (like SIFT descriptors). Traditional methods often struggle to balance representation power with computational efficiency, especially when dealing with millions of images. Existing techniques like VLAD and Fisher Vectors, while effective, have limitations. The authors observe a connection between these methods and the idea of approximating nonlinear functions in high-dimensional spaces. They aim to leverage this connection to develop a more powerful and scalable embedding approach.

Methods

The paper proposes two main embedding methods:

  • FAemb (Function Approximation Embedding): This method is inspired by Taylor's theorem for approximating nonlinear functions. It views the embedding process as a way to linearly approximate a complex, high-dimensional function. FAemb uses coordinate coding and aims to minimize both the function approximation error and the reconstruction error of the original feature. It can incorporate up to second-order derivatives of the function.
  • F-FAemb (Fast Function Approximation Embedding): Recognizing that FAemb's online embedding step can be computationally intensive for large datasets, the authors derive a "fast" version. F-FAemb achieves this by relaxing the function approximation bound, allowing for a closed-form solution for computing the coefficient vectors. This significantly speeds up the embedding process without a substantial loss in performance.

Both methods involve an "offline learning" phase to determine anchor points (visual vocabulary) and an "online embedding" phase to generate the image representation for new images. They also incorporate post-processing steps like whitening, democratic aggregation, and power-law normalization to further enhance retrieval performance.

Datasets

The paper evaluates its methods on several standard image retrieval datasets:

  • Holidays: A dataset of holiday images.
  • Oxford5k: A dataset of buildings in Oxford.
  • Oxford105k: An extension of Oxford5k with 100k negative images for large-scale evaluation.
  • Holidays+Flickr1M: A large-scale dataset combining the Holidays dataset with 1 million negative images from Flickr.

Key Insights and Ideas

  • Function Approximation as a Unifying Principle: The paper posits that many existing embedding methods (like VLAD and TLCC) can be viewed through the lens of approximating nonlinear functions. This insight allows them to generalize and improve upon these methods.
  • Taylor's Theorem for Feature Embedding: Applying Taylor's theorem provides a principled way to construct embeddings that capture higher-order information from local features, leading to more discriminative representations.
  • The Trade-off Between Approximation and Speed: The core innovation of F-FAemb lies in finding a practical balance. By slightly relaxing the function approximation criteria, they achieve a closed-form solution, making the method scalable for large-scale image retrieval.
  • Post-processing is Crucial: Whitening, democratic aggregation, and power-law normalization are shown to be essential steps that significantly boost the performance of the proposed embedding methods.

Key Results

  • State-of-the-Art Performance: Both FAemb and F-FAemb consistently outperform existing methods like VLAD, Fisher, Temb, and VLAT on the Holidays and Oxford5k datasets, especially when using rotation normalization.
  • Scalability of F-FAemb: F-FAemb demonstrates significant speedups (e.g., ~11 times faster than FAemb) and achieves competitive or superior results on large-scale datasets like Oxford105k.
  • Improved Representation Power: FAemb and F-FAemb achieve higher mean Average Precision (mAP) compared to VLAT, VLAD, and Temb, even with fewer anchor points. For instance, FAemb improves mAP over VLAT by +1.8% to +3.9% on Holidays and Oxford5k.
  • Competitive with CNNs: When using CNN features as input, F-FAemb still achieves competitive results, outperforming CNNs on the Oxford5k dataset by a significant margin (+16.2%).
  • Effective for Binary Representations: F-FAemb also shows strong performance when compressed into binary codes, outperforming Temb at higher bit lengths.

Limitations and Future Work

  • Computational Cost of FAemb: The original FAemb method requires iterative optimization for online embedding, making it less suitable for very large-scale datasets. This is addressed by F-FAemb.
  • Parameter Sensitivity: While not explicitly detailed as a limitation, the performance of the methods is shown to be influenced by parameters like the number of anchor points (n) and the regularization parameter (μ).
  • Future Work: The paper implicitly suggests future work by demonstrating the effectiveness of their methods with various local features (SIFT, CNN) and in different settings (short vectors, binary codes), indicating potential for further exploration in these areas. The authors also mention that further speedups are possible by optimizing implementations using mex files.

Summary updated

BibTeX
@article{do2016embedding,
  author = {Thanh-Toan Do and Ngai-Man Cheung},
  title = {{Embedding Based on Function Approximation for Large Scale Image Search.}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2016},
  doi = {10.1109/tpami.2017.2686861},
}
Figure