Building Search Systems: Dense Embeddings, MLOps and Evaluation Metrics

Episode 9 67 min

Daniel Svonava Co-founder of Superlinked

Episode 9 · Building Search Systems: Dense Embeddings, MLOps and Evaluation Metrics

67 min

What we talked about

Daniel Svonava is an entrepreneurial technologist who co-founded Superlinked, the company behind VectorHub, a resource for vector search. He describes a career that started with competitive programming in high school, internships at Google and IBM Research, and a first startup, followed by work as tech lead for machine learning infrastructure at YouTube Ads before he started Superlinked. Alexey invites him to explain how to build search systems that combine dense embeddings, MLOps and meaningful evaluation metrics.

Daniel frames search as a decision problem: a system has a lot of information, and it must choose which pieces matter in a given situation. Alexey recalls the bag-of-words vector space work from the 1970s and the Introduction to Information Retrieval book. Daniel explains the classic pipeline. An inverted index produces candidates quickly, and a ranking model then reorders them with more context, which is where most of the MLOps complexity sits. He describes the weaknesses of keyword search as brittle, since it depends on exact word forms, synonyms and a growing set of configuration rules.

Dense vectors come next. Embeddings put documents, queries and other entities in a shared space, so that similar items are close to each other. Daniel explains that the vector database stores these embeddings and performs nearest-neighbor search, and that the costly part is computing the embeddings, both at ingestion and at query time. Changing the embedding model means recomputing the stored vectors. Multi-modal search is possible with CLIP, which maps text and images into one space, so a text query can find images. Hybrid search combines vector similarity with filters, recency and popularity, and Daniel explains how time can be encoded into the vector or handled with a weight at query time.

On the limits of LLMs, Daniel says that an LLM alone is not a good retrieval system, and that specialized encoders are often better for this task. For choosing tools, he says that Lucene and Elasticsearch are often enough, and that a dedicated vector database makes sense when the workload needs it. For a mid-size e-commerce company, he recommends prototyping with embeddings and CLIP before building a production pipeline.

Measurement is the last topic. Daniel says that business metrics, such as revenue attribution and A/B tests, matter more than the search engine's internal scores, and that offline evaluation helps engineers iterate faster. The practical advice is to start with a prototype that uses embeddings, measure the result against business outcomes, and keep the pipeline flexible enough to swap models.

Chapters

  1. 1:47 Guest Introduction: Daniel Svonava, Superlinked & VectorHub 1 min
  2. 2:40 Career Highlights: Internships, YouTube Ads, and Startups 2 min
  3. 4:59 Competitive Programming Influence on Engineering 1 min
  4. 6:20 Framing Search: Decision Problem & Relevance 3 min
  5. 9:10 Information Retrieval vs Recommender Boundaries; Representation Learning 2 min
  6. 11:29 From Bag-of-Words to Dense Vector Representations 1 min
  7. 12:45 Inverted Index Mechanics, Candidate Generation & Ranking 4 min
  8. 16:45 Practical Indexing: Document Chunking and Ingestion 1 min
  9. 17:40 Use Existing Engines: Lucene and Open-source Tools 1 min
  10. 18:49 Index Data Structures: Trees, Alphabetical Ordering, and Lookups 1 min
  11. 20:02 Search Maintenance: Brittleness, Synonyms, and Configuration Debt 2 min
  12. 21:55 Multi-modal Retrieval and Personalization Requirements 5 min
  13. 27:21 Vector Databases: Storing Embeddings and Nearest-Neighbor Search 2 min
  14. 29:00 Vector Compute: Ingestion Encoding vs Query-Time Encoding 1 min
  15. 30:22 Pipeline Challenges: Recomputing Embeddings and Model Versioning 2 min
  16. 32:43 CLIP Example: Text-to-Image Cross-modal Search <1 min
  17. 33:13 Embedding Strategy Changes: Model Swaps and Pipeline Flexibility 1 min
  18. 34:00 Hybrid Search: Combining Vector Similarity with Filters and Recency 2 min
  19. 36:21 Custom Embeddings, Ranking Models, and MLOps Trade-offs 2 min
  20. 38:11 Multi-embedding Design: Titles, Content, Images, and Behavioral Signals 2 min
  21. 39:53 Expressing Constraints: Lucene Must/Should vs Vector-query Approaches 1 min
  22. 40:48 Recency and Bias: Encoding Time and Applying Weights in Embeddings 1 min
  23. 41:56 Timestamp & Positional Encoding Techniques in Vector Space 3 min
  24. 45:11 Normalizing Components and Late-binding Query Weights 1 min
  25. 46:18 LLM Contexting: Prompted Timestamps and Limitations 1 min
  26. 47:37 Limits of LLM-only Retrieval; Value of Specialized Encoders 2 min
  27. 49:36 Resources & Tutorials: VectorHub Guides on Combining Modalities 3 min
  28. 52:35 Vendor Selection: Vector DB Feature Comparison and Trade-offs 2 min
  29. 54:56 When to Use Lucene/Elasticsearch vs Dedicated Vector Databases 3 min
  30. 57:48 E-commerce Strategy: Prototype with Embeddings for Mid-size D2C <1 min
  31. 58:17 Rapid Prototyping with CLIP and Steps to Productionize 3 min
  32. 1:01:25 Measuring Search Impact: Business Metrics, A/B Testing, and USD 2 min
  33. 1:03:50 Operational Metrics, Offline Evaluation, and Empowering Engineers 3 min
  34. 1:06:48 Closing Remarks and How to Connect with Daniel/VectorHub <1 min

Daniel Svonava Co-founder of Superlinked

Daniel Svonava is a co-founder of Superlinked, an ML infrastructure startup that makes it easier to build information retrieval heavy systems, from recommender engines to enterprise LLM applications. He previously spent six years as a tech lead for ML infrastructure at YouTube Ads, where his ad performance forecasting engine powers the purchase of $10B of ads per year. His 20-year career spans competitive programming, algorithm research, and Google and IBM Research internships.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Evaluation

How teams judge whether ML, LLM, RAG, product, and production systems are good enough to trust.

Information Retrieval

Information retrieval as the design of retrieval units, indexes, candidate generation, prefilters, and the handoff to ranking or generation.

Production

Production for data, ML, and AI systems, covering deployment, monitoring, reliability, ownership, and cost.

Search

Search as the product system that turns retrieval, ranking, answers, recommendations, constraints, and evaluation into a useful surface.

Vector Databases

Vector databases as the storage, indexing, and nearest-neighbor retrieval layer for embeddings.

Embeddings

Embeddings as representations for semantic search, RAG, recommendations, multimodal retrieval, and language systems.

MLOps

Reference page for MLOps as the operating discipline for production machine learning systems.

A/B Testing

A/B testing as randomized product evaluation, with assignment, metrics, noise, power, and rollout decisions.

Graph RAG vs Vector RAG

How relationship context compares with passage context when a RAG system builds an LLM prompt.

KPIs

Key performance indicators for defining, choosing, operating, and challenging metrics in data and ML work.

Knowledge Graph vs Vector Search

Compare explicit graph representations with vector similarity search for relationship retrieval, provenance, and embedding similarity.

LLM System Design Interview

Prepare for LLM system design interviews with production patterns for RAG, agents, evaluation, safety, latency, cost, and operations.

LLM and RAG Production Roadmap

A learning and rollout roadmap for teams moving from bounded LLM workflows to RAG, evaluation, agents, and production readiness.

ML Personalization

How personalization uses ranking, user context, analytics, privacy, healthcare safeguards, evaluation, and monitoring in ML systems.

ML System Design Interview

Prepare for ML system design interviews with timed answer plans, prompt practice, tradeoffs, portfolio walkthroughs, and production examples.

RAG Evaluation Workflow

A practical workflow for RAG eval: user tasks, gold examples, retrieval checks, answer checks, citations, review, traces, and feedback.

Recommendation Systems

Recommendation systems as data, ranking, personalization, experimentation, and production operations work.

Search Relevance

How production search teams define ranking quality, filters, business goals, and useful result order.

Search/RAG Project Checklist

Review checklist for one chosen search or RAG implementation: corpus, chunking, baselines, citations, evaluation artifacts, traces, and production constraints.

Streaming

Event streaming for real-time pipelines, Kafka architectures, schema management, feature stores, fraud systems, and search.

Tools

How data and ML teams choose and sustain tools across data engineering, MLOps, search, RAG, open source, and developer experience.

Vector Database vs Search Engine

Vector databases and search engines compared by service ownership, migration paths, filters, ranking handoffs, and operations.

Related events

Related books

Production‑Ready Data Science

Are you a data scientist or analyst struggling to take your Jupyter Notebook prototypes to the next level? Have you encountered challenges with code organization, reproducibility, or collaboration as your data science projects grow in complexity? This book is the solution you've been seeking.

Khuyen Tran

Reliable Machine Learning

22 questions answered

Whether you're part of a small startup or a multinational corporation, this practical book shows data scientists, software and site reliability engineers, product managers, and business owners how to run and establish ML reliably, effectively, and accountably within your organization. You'll gain insight into everything from how to do model monitoring in production to how to run a well-tuned model development team in a product organization.

Todd Underwood Kranti K. Parisa Cathy Chen Niall Murphy

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club