Structured Feature Similarity with Explicit Feature Map

Takumi KobayashiCVPR 2016

Abstract

This research introduces a novel similarity measure for image features that treats them as structured tensors rather than simple vectors. By adapting the Structural Similarity (SSIM) index and deriving an explicit feature map, the authors enable complex similarity computations via high-speed dot products, significantly improving robustness and accuracy in tasks like keypoint matching, image retrieval, and classification.

Introduction

In computer vision, comparing two features (such as SIFT or HOG descriptors) is a foundational task. Traditionally, researchers rely on $L_2$ (Euclidean) or $\chi^2$ distances. However, these metrics suffer from two major flaws: they often fail to align with human perceptual similarity, and they discard inherent structural information. Most descriptors are extracted from spatial grids but are typically "flattened" into a single long vector, which makes the matching process sensitive to noise and minor spatial shifts. This paper bridges this gap by making the Structural Similarity (SSIM) index—the gold standard for image quality assessment—robust and computationally efficient for general feature matching.

Methods

The proposed "Structured Feature Similarity" approach is built on three core pillars:

  1. Tensor Representation: Instead of a vector, the feature is treated as a three-way tensor ($I \times J \times K$). The authors compare various ways to group these elements (Vector, Matrix, Tensor, and Element-wise) and find that the TENSOR structure—which preserves relationships along each dimension—provides the best balance of robustness and discriminative power.
Comparison of different tensor representations for feature descriptors.
  1. Additive SSIM ($S_{add}$): Standard SSIM is multiplicative, meaning a single noisy component can significantly degrade the entire score. The authors propose an additive version that combines three components: Mean ($M$) for luminance/bias, Variance ($V$) for contrast/scaling, and Correlation ($C$) for structural relationships.
Analysis of individual SSIM components (Mean, Variance, Correlation) and their combinations.
  1. Explicit Feature Map: Calculating SSIM for every pair of features is computationally slow. The authors mathematically derive a mapping function $g(x)$ such that the similarity between $x$ and $y$ is approximately the dot product $g(x)^\top g(y)$. This allows the use of fast linear algebra libraries (BLAS) and makes the features compatible with efficient linear classifiers like SVMs.

Evaluation and Results

The method was evaluated across several standard benchmarks, including keypoint matching (Mikolajczyk and Schmid), image quality (TID2008), image retrieval (Oxford Building), and image classification (INRIA Person, Scene-15, and SUN-397).

  • Superior Robustness: In SIFT matching, the TENSOR structure significantly outperformed the standard VECTOR approach and the $L_2$ metric.
  • Massive Speedup: Using the explicit feature map reduced computation time from 1146.5 ns to just 65.7 ns per sample pair—a nearly 17x speedup that makes it practical for large-scale applications.
  • State-of-the-Art Performance: On the Oxford Building dataset, the proposed method achieved a Mean Average Precision (mAP) of 73.2, beating $L_2$ (67.6) and $\chi^2$ (71.2). Applying this method to standard CNN features improved classification accuracy on the Scene-15 dataset from 90.3% to 91.2%.

Discussion and Conclusion

By treating features as tensors, the algorithm respects the spatial and orientation relationships present during feature extraction. The shift from a multiplicative to an additive SSIM formula provides the robustness needed for real-world matching, while the explicit feature map turns a complex similarity measure into a simple dot product for massive speedups.

While the method is slightly less effective than original SSIM for pure image quality assessment (0.5489 vs 0.5768 correlation), it excels in matching tasks. The main trade-off is increased dimensionality, which requires more memory to store transformed features. Future work may leverage the metric properties of this similarity measure to develop more efficient data structures for nearest-neighbor searches.

Summary updated

BibTeX
@inproceedings{kobayashi2016structured,
  author = {Takumi Kobayashi},
  title = {{Structured Feature Similarity with Explicit Feature Map}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.136},
}
Figure