Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Vector search Remove topic Vector search Clear all 11 posts RSS

2026

Faster Retrieval for Better, More Efficient RAG

Research 12 min +120 XP

Maximum inner product search can be amortized by training small neural networks offline on a known query distribution, exploiting the fact that the max-inner-product function is the convex support function of the key set, whose gradient is the best-matching key.

Cross-store product clustering across millions of stores

Case study 13 min +130 XP

Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

Hugging Face

NeoMME: an efficient Multimodal-native and Multilingual Encoder

Research 11 min +110 XP

NeoMME is a family of 260M and 800M multilingual multimodal encoders that feed text tokens and raw 32×32 image patches through a single bidirectional Transformer, trained from scratch with a masked discrete-diffusion text objective instead of reusing a vision tower or causal LM.

Meta Engineering

SilverTorch: Index as Model — A New Retrieval Paradigm for Recommendation Systems

Case study 14 min +140 XP

SilverTorch replaces Meta's microservice-based recommendation retrieval with "Index as Model": the item index, eligibility filter, ANN search, neural reranker and multi-task scorer all become tensors or nn.Modules inside a single PyTorch model served on GPUs in one forward pass.

Google Research

TurboQuant: Redefining AI efficiency with extreme compression

Research 7 min +70 XP

TurboQuant is a data-oblivious vector quantization algorithm that removes the per-block quantization-constant overhead of traditional methods by combining PolarQuant (random rotation plus recursive polar-coordinate transforms with a fixed angle grid) and a 1-bit Quantized Johnson-Lindenstrauss residual stage that removes bias in inner-product estimates.

2025

Vinted Engineering

Dense Retrieval

Case study 12 min +120 XP

Vinted added embedding-based dense retrieval to its multilingual, highly visual marketplace search using a two-tower model: a fine-tuned projection head on frozen multilingual CLIP for queries, and an item tower fusing CLIP image embeddings with categorical metadata, trained contrastively on 100M+ pairs.

2021

The quest for software engineering knowledge.

Look:
Layout: