Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Perplexity Rethinks RAG with New Open-Weights 9B Contextual Embedding Model

Perplexity and turbopuffer launched a highly anticipated preview of a new contextual embedding model.

MarkTechPost 3 min read

Perplexity Rethinks RAG with New Open-Weights 9B Contextual Embedding Model

Perplexity Research, in collaboration with turbopuffer, has launched a highly anticipated preview of its new contextual embedding model, pplx-embed-v2-context-9b-preview. Designed to supercharge Retrieval-Augmented Generation (RAG) pipelines, the open-weights model introduces a novel training paradigm that retrieves not just an answer, but the specific surrounding context required to verify it.

The model is currently available as a self-hosted preview on Hugging Face under the permissive MIT license. While it hasn't yet debuted on the official Perplexity API, developers can load the weights immediately using recent versions of the transformers library.

Moving Beyond the "Gold Passage"

Traditional RAG systems are notorious for losing context. When lengthy documents are sliced into manageable chunks, critical dependencies—like entities, definitions, or structural headers—are often separated from the text that relies on them.

While recent "late chunking" techniques have helped preserve some document structure, standard training methods still rely on identifying a single "gold chunk" per query. This binary approach turns all other relevant passages into negative examples. In practice, this actively penalizes the model for retrieving the supplementary evidence necessary to fact-check an LLM's answer, while driving up annotation costs.

A Dynamic Teacher-Student Training Paradigm

To fix this flaw, Perplexity employs a sophisticated teacher-student training method. The "teacher" is Perplexity's query-aware context compression model, which reads both the query and the full document simultaneously to score every individual token for relevance.

Rather than forcing a one-hot "gold" label, these token scores are pooled to create soft targets for various document chunks. The student model learns via distillation (forward KL divergence) and an InfoNCE document loss inspired by ColBERT.

Because the heavy-lifting teacher model is only utilized during training, the resulting embedding model operates with zero added latency or storage overhead during inference. Under the hood, the system is built upon an in-house 9B-parameter ColBERT retrieval foundation. It leverages Matryoshka representation learning to seamlessly support 2048 and 1024 dimensions, while quantization-aware training allows for highly efficient native int8 embeddings.

Setting New Benchmarks with Context-Bench

To rigorously evaluate the new model without the risk of training data contamination, turbopuffer developed a private, 21-domain benchmark called context-bench. Testing across 12 distinct contextual capabilities with blind submissions, the new Perplexity model posted formidable results:

  • Unmatched Recall: At K=10, the model achieved a 45.5% answer recall and 40.6% evidence recall.
  • Crushing the Competition: It significantly outperformed its closest competitor, voyage-context-4, besting it by 14.4 points in answer recall and 5.0 points in evidence recall at K=10.
  • Storage Efficiency: Perplexity's 1024-dimensional int8 vectors require just 1 KB of storage per vector, yet they manage to slightly edge out Voyage's 2048-dimensional float32 vectors, which demand 8 KB.
  • Robust Flexibility: The embeddings maintained high performance regardless of chunk size, showing minimal score decay when scaled between 64 and 512 tokens.

By ditching binary labels in favor of dynamic token-level scoring, Perplexity's pplx-embed-v2-context-9b-preview represents a major leap forward for developers looking to build more accurate, verifiable, and contextually aware enterprise AI applications.

React