Nextdoor's path from pre-trained to fine-tuned embedding models for notifications, feed, and search ranking
Nextdoor needed richer content representations to capture nuanced user signals and improve personalization across products, while managing the high storage and serving costs of large fixed-dimensionality embeddings updated daily at scale.
Pre-trained off-the-shelf models were trained on public benchmark datasets with semantics different from the Nextdoor domain, and their high fixed dimensionality caused significant storage and serving costs. Earlier word embedding models produced higher rates of null search queries.
Fine-tuned embedding models delivered significant performance lifts in OKR metrics for notifications and feed, reduced null query rates significantly, improved query expansion latencies by more than 10x, and improved user-post cosine similarity by up to 16% while reducing embedding dimensionality by more than 10x.
Show all 6 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Fine-tuned embedding models delivered significant performance lifts in OKR metrics for notifications and feed, reduced null query rates significantly, improved query expansion latencies by more than 10x, and improved…
What tools did this team use?
Sentence-BERT, SBERT, pytorch, SageMaker, FeatureStore, Airflow, HSNWlib, BERTopic, CLIP.
What results were reported?
Query expansion latency improvement: more than 10x; User-post cosine similarity improvement: up to 16%; Embedding dimensionality reduction: more than 10x; product OKR metric performance: significant performance lifts (source-reported, not independently verified).
What failed first in this deployment?
Pre-trained off-the-shelf models were trained on public benchmark datasets with semantics different from the Nextdoor domain, and their high fixed dimensionality caused significant storage and serving costs.
How is this back office ops AI workflow structured?
Content text extraction → Multilingual entity embedding generation → User embedding aggregation → Domain fine-tuning with user feedback → Feature ingestion to FeatureStore → Similarity feature computation and logging → Downstream ranking model promotion.