A fast image matching algorithm based on locality-sensitive hashing

Abstract The exponential growth of multimedia data in today’s highly digitized, mobile-centric society poses formidable challenges to efficient data storage and rapid information retrieval. To overcome these bottlenecks, we introduce ViT-LSH, a highly optimized algorithm that seamlessly integrates Vision Transformer (ViT) with locality-sensitive hashing (LSH) to deliver unprecedented image matching accuracy and retrieval speeds. The superiority of ViT-LSH stems from its dual-engine architecture. First, the ViT module revolutionizes feature extraction by dividing images into fixed-size patches and projecting them into token sequences without relying on down-sampling. This perfectly preserves the original image resolution and achieves exceptional global information modeling for semantic segmentation. Second, the LSH module drastically minimizes space consumption and accelerates query processing by mapping proximate data points to identical hash values. Evaluated against five existing baseline schemes, our LSH approach demonstrates vastly superior time and space efficiency while guaranteeing highly accurate approximate nearest neighbor queries. The proposed algorithm follows a streamlined, robust pipeline: image preprocessing (e.g., denoising) and segmentation, followed by ViT-driven feature extraction, dimensionality reduction, and LSH-based hash coding. By utilizing Hamming distance for direct similarity calculation, the system achieves ultra-fast sorting and matching. Extensive experimental results unequivocally validate that ViT-LSH provides a massive leap forward in both the computational efficiency and precision of large-scale image matching.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2026-03-27
DOI
https://doi.org/10.1007/s44163-026-01151-0
Primary Topic
Advanced Image and Video Retrieval Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A fast image matching algorithm based on locality-sensitive hashing

Q. H. Wang, Jinhua Sun, Weiwei Zhuang, Zhijun Song et al.
Discover Artificial Intelligence
Advanced Image and Video Retrieval Techniques
article

A fast image matching algorithm based on locality-sensitive hashing

Q. H. Wang, Jinhua Sun, Weiwei Zhuang, Zhijun Song, Yuping Song, Wei Li, Xiaoyan Yang
article en

Abstract

Abstract The exponential growth of multimedia data in today’s highly digitized, mobile-centric society poses formidable challenges to efficient data storage and rapid information retrieval. To overcome these bottlenecks, we introduce ViT-LSH, a highly optimized algorithm that seamlessly integrates Vision Transformer (ViT) with locality-sensitive hashing (LSH) to deliver unprecedented image matching accuracy and retrieval speeds. The superiority of ViT-LSH stems from its dual-engine architecture. First, the ViT module revolutionizes feature extraction by dividing images into fixed-size patches and projecting them into token sequences without relying on down-sampling. This perfectly preserves the original image resolution and achieves exceptional global information modeling for semantic segmentation. Second, the LSH module drastically minimizes space consumption and accelerates query processing by mapping proximate data points to identical hash values. Evaluated against five existing baseline schemes, our LSH approach demonstrates vastly superior time and space efficiency while guaranteeing highly accurate approximate nearest neighbor queries. The proposed algorithm follows a streamlined, robust pipeline: image preprocessing (e.g., denoising) and segmentation, followed by ViT-driven feature extraction, dimensionality reduction, and LSH-based hash coding. By utilizing Hamming distance for direct similarity calculation, the system achieves ultra-fast sorting and matching. Extensive experimental results unequivocally validate that ViT-LSH provides a massive leap forward in both the computational efficiency and precision of large-scale image matching.

Discover Artificial Intelligence
Xiamen University (CN), Jiangsu Second Normal University (CN), Inner Mongolia Electric Power Survey & Design Institute (China) (CN), Inner Mongolia Autonomous Region Meteorological Bureau (CN), Xiamen University of Technology (CN), Southeast University (CN)
Openalex Percentile: Top 5%
Advanced Image and Video Retrieval Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.