Clark Hash: Stateless Sparse Johnson-Lindenstrauss Quantization for Neural Embeddings
Not on the map. Why?
Abstract (arXiv)
Clark Hash is a small method for storing neural embeddings in less space. It normalizes each database vector, applies a deterministic sparse signed Johnson-Lindenstrauss projection, clips the result, and stores a fixed-width scalar-quantized code. Queries stay in floating point and are scored against the stored sketches. In the default 384-dimensional sentence-embedding setting, Clark Hash stores a cosine-search vector in 48 bytes instead of 1536 bytes for dense f32 storage. This is 32x smaller. The method does not need a training pass, learned codebooks, rotations, or corpus statistics before new vectors can be stored. We describe the codec, the Rust implementation, and a multilingual sentence-similarity evaluation on 9,304 labeled pairs from 29 subsets. With a multilingual MiniLM encoder, the 48-byte sketches reached 0.910 and 0.946 macro Pearson correlation with dense cosine scores on STS17 and STS22. Clark Hash is not a new Johnson-Lindenstrauss theorem and it is not a replacement for approximate nearest-neighbor indexes. It is a simple stateless codec for compact embedding storage.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 12 references that are in the map. First posted on arXiv 27 May 2026.
Builds on
4 of 12 references.
References · 4
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddings
- 2026Spectral-LSH: Sub-Quadratic Prompt Compression via Krylov-Projected Locality-Sensitive Hashing
- 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacity
- 2025Projection and Quantisation: A Unifying View of Learning to Hash, from Random Projections to the RAG Era
- 2026Where Post-Training Quantization Breaks Text Embedders: A Measured Map Across Four Embedder Families
- 2026On the Spectral Flattening of Quantized Embeddings
- 2025SQuat: Subspace-orthogonal KV Cache Quantization
- 2021Hash Layers For Large Sparse Models