In Defense of MinHash Over SimHash
Not on the map. Why?
Abstract (arXiv)
MinHash and SimHash are the two widely adopted Locality Sensitive Hashing (LSH) algorithms for large-scale data processing applications. Deciding which LSH to use for a particular problem at hand is an important question, which has no clear answer in the existing literature. In this study, we provide a theoretical answer (validated by experiments) that MinHash virtually always outperforms SimHash when the data are binary, as common in practice such as search. The collision probability of MinHash is a function of resemblance similarity (R), while the collision probability of SimHash is a function of cosine similarity (S). To provide a common basis for comparison, we evaluate retrieval results in terms of S for both MinHash and SimHash. This evaluation is valid as we can prove that MinHash is a valid LSH with respect to S, by using a general inequality S2≤ R≤ fracS2-S. Our worst case analysis can show that MinHash significantly outperforms SimHash in high similarity region. Interestingly, our intensive experiments reveal that MinHash is also substantially better than SimHash even in datasets where most of the data points are not too similar to each other. This is partly because, in practical data, often R≥ fracSz-S holds where z is only slightly larger than 2 (e.g., z≤ 2.1). Our restricted worst case analysis by assuming fracSz-S≤ R≤ fracS2-S shows that MinHash indeed significantly outperforms SimHash even in low similarity region. We believe the results in this paper will provide valuable guidelines for search in practice, especially when the data are sparse.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Jul 2014.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 4; 2024: 3; 2025: 2.
11 papers.
- 2024Arena Learning: Build Data Flywheel for LLMs Post-training via Simulated Chatbot Arenacited by 26
- 2022pNLP-Mixer: an Efficient all-MLP Architecture for Languagecited by 19
- 2025MRAMG-Bench: A Comprehensive Benchmark for Advancing Multimodal Retrieval-Augmented Multimodal Generationcited by 15
- 2023Differential Privacy with Random Projections and Sign Random Projectionscited by 5
- 2023Differentially Private One Permutation Hashing and Bin-wise Consistent Weighted Samplingcited by 3
- 2021C-MinHash: Rigorously Reducing K Permutations to Twocited by 2
- 2023Large-Scale Distributed Learning via Private On-Device Locality-Sensitive Hashingcited by 1
- 2024Unlock the Correlation between Supervised Fine-Tuning and Reinforcement Learning in Training Code Large Language Modelscited by 1
- 2025Building Domain-Specific Small Language Models via Guided Data Generationcited by 1
- 2023Pb-Hash: Partitioned b-bit Hashingcited by 0
- 2024Improving LSH via Tensorized Random Projectioncited by 0
- 2025Building Domain-Specific Small Language Models via Guided Data Generation23 Nov 2025
- 2025MRAMG-Bench: A Comprehensive Benchmark for Advancing Multimodal Retrieval-Augmented Multimodal Generation6 Feb 2025
- 2024Arena Learning: Build Data Flywheel for LLMs Post-training via Simulated Chatbot Arena15 Jul 2024
- 2024Unlock the Correlation between Supervised Fine-Tuning and Reinforcement Learning in Training Code Large Language Models14 Jun 2024
- 2024Improving LSH via Tensorized Random Projection11 Feb 2024
- 2023Pb-Hash: Partitioned b-bit Hashing28 Jun 2023
- 2023Differentially Private One Permutation Hashing and Bin-wise Consistent Weighted Sampling13 Jun 2023
- 2023Large-Scale Distributed Learning via Private On-Device Locality-Sensitive Hashing5 Jun 2023
- 2023Differential Privacy with Random Projections and Sign Random Projections22 May 2023
- 2022pNLP-Mixer: an Efficient all-MLP Architecture for Language9 Feb 2022
- 2021C-MinHash: Rigorously Reducing K Permutations to Two7 Sep 2021