When VLAD Met Hilbert

Mehrtash Tafazzoli Harandi, Mathieu Salzmann, Fatih Porikli

Abstract

Traditional Vector of Locally Aggregated Descriptors (VLAD) is constrained by Euclidean assumptions, limiting its effectiveness for structured data like covariance matrices or subspaces. This paper introduces a kernelized VLAD framework (kVLAD) and its subspace-based approximation (sVLAD). By mapping descriptors into a Reproducing Kernel Hilbert Space (RKHS), these methods preserve the underlying geometry of non-vector data and capture complex nonlinear relationships. Experimental results demonstrate state-of-the-art performance across various datasets, including SPD and Grassmann manifolds, while maintaining computational efficiency.

Introduction

In computer vision, the aggregation of local features into a global image representation is a critical step for tasks such as object recognition and action classification. The Vector of Locally Aggregated Descriptors (VLAD) has long been a preferred method due to its efficiency and robustness with limited training data. However, standard VLAD is limited by two primary "Euclidean" constraints: it assumes local descriptors are simple vectors and relies on linear models that fail to capture complex, nonlinear relationships inherent in visual data.

Modern vision research highlights that "structured" data—such as Symmetric Positive Definite (SPD) matrices (covariance descriptors) or Grassmannian points (subspaces)—often capture richer information than flat vectors. To address these limitations, this paper proposes a framework to move VLAD into Reproducing Kernel Hilbert Spaces (RKHS), enabling it to handle non-vector data and nonlinear relationships naturally.

Methodology

The authors introduce two primary formulations: Kernel VLAD (kVLAD) and Subspace-based VLAD (sVLAD).

Kernel VLAD (kVLAD)

kVLAD maps descriptors and cluster centers into an implicit, high-dimensional Hilbert space using a kernel function. By leveraging the "kernel trick," the method computes local difference vectors in this Hilbert space without explicitly defining the mapping function. This allows for the computation of distances or inner products between image representations using standard kernel operations, preserving the underlying geometry of structured data.

Subspace-based VLAD (sVLAD)

While kVLAD is powerful, it can be computationally demanding for large-scale datasets due to the nature of implicit kernel representations. sVLAD addresses this by approximating the Hilbert space locally for each cluster using a low-dimensional subspace. By projecting data onto these local subspaces, sVLAD generates an explicit, finite-dimensional representation. This explicit form not only improves speed but also enables the use of standard post-processing techniques like "signed square rooting" (SSR) normalization, which significantly boosts performance.

Experimental Results

The proposed methods were evaluated across three data types: SPD manifolds, Grassmann manifolds, and standard Euclidean space.

Performance on Structured Data

On SPD manifold datasets such as QMUL and HOCoffee, both kVLAD and sVLAD significantly outperformed previous state-of-the-art methods like Riemannian-VLAD (R-VLAD). As shown in Table 1, sVLAD achieved a notable 84.1% accuracy on the HOC dataset, surpassing R-VLAD's 81.3%.

Table 1: Comparison of recognition accuracy on SPD manifold datasets (QMUL, HOCoffee, HOC).

Similarly, on Grassmann manifolds, sVLAD demonstrated superior performance. For the Ballet action recognition dataset, sVLAD reached 94.4% accuracy, outperforming holistic methods such as Grassmannian Sparse Coding (79.7%).

Table 2: Comparison of recognition accuracy on Grassmann manifold datasets (Ballet, CIFAR, CMU-PIE).

Efficiency and Generalization

Beyond accuracy, sVLAD offers substantial efficiency gains. In head-pose estimation tasks, it encoded images ten times faster than the Riemannian version of VLAD. Furthermore, the framework generalizes well to standard Euclidean datasets; on Pascal VOC 2007, sVLAD outperformed traditional VLAD and other common kernel approximations like Nyström or Fourier features.

Conclusion

By kernelizing the VLAD framework, this work successfully bridges the gap between efficient image aggregation and the complex geometry of structured data. The introduction of sVLAD provides a practical, high-performance alternative to implicit kernel methods, offering both accuracy and speed. Future work may involve extending this kernelization framework to Fisher Vectors, further expanding the reach of nonlinear image representations in computer vision.

Summary updated

BibTeX
@inproceedings{harandi2016when,
  author = {Mehrtash Tafazzoli Harandi and Mathieu Salzmann and Fatih Porikli},
  title = {{When VLAD Met Hilbert}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.560},
}
Figure