paper-with-me

홈 › Papers

Clark Hash: Stateless Sparse Johnson-Lindenstrauss Quantization for Neural Embeddings

2026-05-27 · Stanislav Kirdey, Clark Labs Inc 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.

📄 PDF Abstract BibTeX arXiv:2605.28034

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Johnson-Lindenstrauss embeddings for noisy vectors -- taking advantage of the noise

2022-09-01 · Zhen Shao

This paper investigates theoretical properties of subsampling and hashing as tools for approximate Euclidean norm-preserving embeddings for vectors with (unknown) additive Gaussian noises. Such embeddings are sometimes c…

Dimensionality ReductionLEMMA

Generic LSH Families for the Angular Distance Based on Johnson-Lindenstrauss Projections and Feature Hashing LSH

2017-04-15 · Luis Argerich, Natalia Golmar

In this paper we propose the creation of generic LSH families for the angular distance based on Johnson-Lindenstrauss projections. We show that feature hashing is a valid J-L projection and propose two new LSH families b…

valid

Dimensionality reduction with subgaussian matrices: a unified theory

2014-02-17 · Sjoerd Dirksen

We present a theory for Euclidean dimensionality reduction with subgaussian matrices which unifies several restricted isometry property and Johnson-Lindenstrauss type results obtained earlier for specific data sets. In p…

Dimensionality Reduction

Toward a unified theory of sparse dimensionality reduction in Euclidean space

2013-11-11 · Jean Bourgain, Sjoerd Dirksen, Jelani Nelson

Let $\Phi\in\mathbb{R}^{m\times n}$ be a sparse Johnson-Lindenstrauss transform [KN14] with $s$ non-zeroes per column. For a subset $T$ of the unit sphere, $\varepsilon\in(0,1/2)$ given, we study settings for $m,s$ requi…

compressed sensingDimensionality ReductionLEMMA

Understanding Sparse JL for Feature Hashing

2019-03-08 · NeurIPS 2019 12 · Meena Jagadeesan

Feature hashing and other random projection schemes are commonly used to reduce the dimensionality of feature vectors. The goal is to efficiently project a high-dimensional feature vector living in $\mathbb{R}^n$ into a …