English

Hashing-Baseline: Rethinking Hashing in the Age of Pretrained Models

Machine Learning 2026-01-29 v2 Information Retrieval

Abstract

Information retrieval with compact binary embeddings, also referred to as hashing, is crucial for scalable fast search applications, yet state-of-the-art hashing methods require expensive, scenario-specific training. In this work, we introduce Hashing-Baseline, a strong training-free hashing method leveraging powerful pretrained encoders that produce rich pretrained embeddings. We revisit classical, training-free hashing techniques: principal component analysis, random orthogonal projection, and threshold binarization, to produce a strong baseline for hashing. Our approach combines these techniques with frozen embeddings from state-of-the-art vision and audio encoders to yield competitive retrieval performance without any additional learning or fine-tuning. To demonstrate the generality and effectiveness of this approach, we evaluate it on standard image retrieval benchmarks as well as a newly introduced benchmark for audio hashing.

Keywords

Cite

@article{arxiv.2509.14427,
  title  = {Hashing-Baseline: Rethinking Hashing in the Age of Pretrained Models},
  author = {Ilyass Moummad and Kawtar Zaher and Lukas Rauch and Alexis Joly},
  journal= {arXiv preprint arXiv:2509.14427},
  year   = {2026}
}