Abstract
In mobile object recognition, the transmission of high-dimensional local features like SIFT creates a significant bandwidth bottleneck. While binary hashing reduces data traffic, standard symmetric matching—where both client and server features are binarized—often leads to substantial accuracy loss due to quantization errors. This paper proposes an asymmetric matching framework where clients transmit compact binary codes while the server maintains high-precision real-valued descriptors. To bridge the representational gap, we introduce a scale factor optimization and a real vector decomposition technique. The latter approximates real vectors using binary bases, enabling distance computations via efficient bitwise operations. Our method achieves an 8x speedup over standard asymmetric matching and significantly outperforms conventional binary matching in accuracy.
Introduction
The proliferation of mobile devices has increased the demand for efficient client-server image recognition. A typical workflow involves extracting local features (e.g., SIFT) on a mobile client and transmitting them to a server for database matching. However, the high dimensionality of these features (128 bytes for SIFT) strains mobile networks. Binary hashing is a common compression technique, but "symmetric" matching suffers from high quantization error. We propose an "asymmetric" approach: binarize only the client-side features to save bandwidth, while leveraging the server's computational resources to match against original real-valued vectors.
Methodology
The proposed system relies on two primary innovations to make asymmetric matching both accurate and efficient.
Scale Factor Optimization
Binary codes and real vectors exist in different numerical scales. A binary code's Euclidean norm is fixed at $\sqrt{L}$, whereas real vectors vary. To align these spaces, we introduce a scale factor $\alpha$ that minimizes the distance between training binary codes and their corresponding real vectors. This alignment is crucial for the Euclidean distance to remain a meaningful similarity metric across different representation formats.
Real Vector Decomposition
Directly computing Euclidean distances between binary codes and real vectors is computationally expensive due to floating-point arithmetic. We address this by decomposing the server's real vector $\mathbf{y}$ into $k$ binary basis vectors and associated weights ($\mathbf{y} \approx \mathbf{Mc}$). This transformation allows the distance calculation to be reframed as a series of fast Hamming distance operations (XOR and bit-counts), which are highly optimized in modern CPU architectures.
Results and Discussion
We evaluated the method using a dataset of seven IEEE Spectrum magazine issues, using homography matrices for ground truth matching. The asymmetric method (BC-RV) demonstrated superior accuracy over symmetric binary matching (BC-BC), particularly at lower bit lengths (32 and 64 bits).
The decomposition method provided an 8x speedup in distance computation compared to raw real-vector matching. Furthermore, storing decomposed components reduced server-side memory requirements to 21% of the original real-vector storage for 32-bit codes.
As shown in the matching rate analysis, the proposed method maintains high performance even with a small number of bases $k$, outperforming existing state-of-the-art techniques like Hare's method and closely approximating the performance of non-decomposed real vectors.
Conclusion
Asymmetric representation effectively balances the trade-off between bandwidth and accuracy in mobile recognition systems. By combining scale factor optimization with efficient binary decomposition, we achieve high-precision keypoint matching with significant computational and memory savings. Future work will explore the method's performance on non-planar 3D objects and its generalizability to other domains such as speech recognition.
Summary updated