Problem
HelloFresh runs many machine learning systems that need to understand its products (meal kits and ready-to-eat meals) and its customers' tastes. The company ships over 1 billion meals a year to customers in 18 countries. Models must work across brands, product types, languages and local recipes. HelloFresh wanted to speed up model prototyping and deployment and to improve model performance.
Example from the article: local meals in Australia and Sweden look very different, yet the same models must understand both.
Solution in brief
HelloFresh built Platter, an internal platform that provides learned product and customer embeddings in one shared space. Product embeddings come from a graph of products and their metadata. Customer embeddings are built from product embeddings plus order and website interactions, so a customer vector lands in the same space as products. Downstream models use these vectors and do not need market-specific features.
Questions this case answers
- How to provide a shared entity representation that downstream models can reuse when the underlying data differs by market, product type and language
- How to compare users and items directly in one vector space and keep the user vectors current as behavior arrives
- How to give recommendation and personalization models one shared representation of products and customers across countries, brands and languages?
- How to build customer taste embeddings that can be compared directly with product embeddings?
Tools and methods
- Product-metadata graph embeddings — learn product vectors from a graph in which metadata nodes link products
- Customer embeddings in the product space — summarize a customer's taste from product embeddings and interactions, updated on each order or site interaction
- Evaluation suite — general and use-case-specific tasks to test changes and monitor drift
- Standardizing ETL — decouples graph and embedding generation from source data in each brand, product type and language
Google or a one-time email code. No password.