Weaviate Podcast7h ago56 min

ZeroEntropy with Ghita Houir Alami - Weaviate Podcast #150!

Weaviate Podcast · 56 min
image: Weaviate Podcast

Ghita Houir Alami, Co-Founder of ZeroEntropy and now leading Model Research at Notion, joins the Weaviate Podcast to discuss training rerankers, calibrated relevance, and where search models fit in the age of agents. The conversation opens with the ZeroEntropy story: starting from an end-to-end search API, realizing the models powering it mattered most, and shipping a reranker first because swapping in a stateless last-stage API call is far easier for customers than re-embedding a whole corpus. A partnership powering Notion's enterprise search, plus fast query-rewriting models for parallel searches, led to the acquisition.From there, the discussion dives into small, task-specific decision models and turning cross-encoders into classifiers. Most rerankers trained with triplet loss cluster their scores between 0.4 and 0.6, but a calibrated score unlocks a dynamic K, returning three results or twenty depending on actual relevance, a natural partner to Weaviate's autocut. Ghita then explains zELO, the method behind zerank-1 and zerank-2: hard negative mining eventually surfaces unlabeled positives, so ZeroEntropy instead trained on pairwise comparisons, fit Elo scores through a Thurstone model with sparse sampling of pairwise battles, and distilled a pairwise reranker into an efficient pointwise one that nearly matches its accuracy.The conversation moves into infrastructure, from quantization-aware training and reranker-specific batching across US GPUs to blending reserved capacity with Modal for bursty traffic. Ghita makes the case for multi-stage retrieval, since embeddings alone hit dimensionality limits, with a small listwise stage on top only when needed. On agentic search, she argues a lightweight reranking step saves expensive LLM tokens, citing Cursor's finding that semantic search made Composer use fewer tokens with fewer undos, while Notion's harness shows that models that search more answer better. Instruction-following rerankers redefine relevance itself: for a memory system, "I'm highly allergic to nuts" is the most relevant answer to "What should I cook for dinner tonight?" Metadata like price is often better handled by a separate model such as XGBoost or Weaviate's Boost API.The episode closes on the excitement of post-training open-weight models for repeatable tasks inside companies, RSI and using AI to train AI!

the episode at Weaviate Podcast →