Doordash
Read post

Building a unified consumer memory for personalization at scale

DoorDash built a unified consumer memory platform that extracts semantic understanding from behavioral signals (orders, browsing, searches) and makes it available across all personalization surfaces. The system uses LLMs to generate structured 'memory blocks' — versioned, domain-specific summaries like dietary preferences, brand affinities, and dining patterns — organized into three layers: long-term, in-session, and explicit context. These memory blocks are encoded two ways for ML consumption: dense asymmetric embeddings for semantic similarity matching, and a heterogeneous context graph for relational reasoning between consumers, brands, taxonomies, and concepts. The platform powers personalized carousels and ranking models, with selective recomputation to manage LLM compute costs. Key lessons include treating memory blocks as semantic matching primitives for both ML and LLM systems, decoupling extraction from encoding, and maintaining full versioning/lineage for every component.

    #llm#embeddings#recommendation-systems
Jun 08•16m read time•From careersatdoordash.com
Post cover image
Table of contents
Gaps addressedThree memory layersLong-term memory engineThe encoding challenge for ML modelsDense embeddings from memoriesMemory context graphScaling memory generationHow we are using unified consumer memoryLessons learnedFuture directionsConclusionAcknowledgments
105 Impressions
Doordash's image
Doordash

DoorDash offers insights into food delivery technology, logistics, and customer experience. Develope...

22 Followers

•

42 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard