---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=shopify&tag=machine-learning"
---

# Posts

Filtered by topics: Machine learning, source: Shopify Engineering.

Posts 1–10 of 10, page 1 of 1, newest first.

## 2026-10-20

- [Cross-store product clustering across millions of stores](https://swe.quest/articles/cross-store-product-clustering-across-millions-of-stores-c9b1fdcfbed466c6.md): Shopify Engineering · 2026-10-20 · Hard · 13 min read · Machine learning, E-commerce, Vector search, Algorithms, LLMs
  Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

## 2026-02-25

- [The generative recommender behind Shopify's commerce engine](https://swe.quest/articles/the-generative-recommender-behind-shopify-s-commerce-engine-f5ed1bac0cf956d4.md): Shopify Engineering · 2026-02-25 · Hard · 8 min read · Recommendations & ranking, Model training, Machine learning, E-commerce
  Shopify built a foundational generative recommender on HSTU that treats buyer journeys as raw event sequences and trains an autoregressive, causally masked model to predict the next product.

## 2025-11-12

- [Building world-class product search at Shopify: Where C++ excellence meets ML innovation](https://swe.quest/articles/building-world-class-product-search-at-shopify-where-c-excellence-meets-ml-0dc65e1a92fe63ec.md): Shopify Engineering · 2025-11-12 · Easy · 5 min read · Search, Performance engineering, C & C++, Machine learning, Language design
  Shopify's product search runs ML ranking models (transformers, neural rankers, CatBoost/LightGBM) at native C++ speed through RankFlow, a Python-like ranking DSL, and TurboDSL, its execution engine.

## 2025-05-08

- [Evolution of Product Classification at Shopify: From Categories to Comprehensive Product Understanding](https://swe.quest/articles/evolution-of-product-classification-at-shopify-from-categories-to-comprehensive-f7af0d3e764e6a0d.md): Shopify Engineering · 2025-05-08 · Medium · 8 min read · Inference & serving, Machine learning, E-commerce, LLMs, ML platforms
  Shopify's product classification evolved from a 2018 TF-IDF logistic regression model through a 2020 multi-modal classifier to a Vision Language Model system built on the Shopify Product Taxonomy, which covers over 10,000 categories and 1,000+ attributes.

## 2022-07-21

- [Data-Centric Machine Learning: Building Shopify Inbox’s Message Classification Model](https://swe.quest/articles/data-centric-machine-learning-building-shopify-inbox-s-message-classification-89547c88c3590e73.md): Shopify Engineering · 2022-07-21 · Medium · 12 min read · Machine learning, Model training, Privacy, Communications
  Shopify Inbox's message classifier improved from ~70% to ~90% accuracy, and from ~35% to ~80% high-confidence coverage, by investing in better training data rather than model tweaks.

## 2022-02-11

- [Shopify's Playbook for Scaling Machine Learning](https://swe.quest/articles/shopify-s-playbook-for-scaling-machine-learning-01ef31091481dd96.md): Shopify Engineering · 2022-02-11 · Easy · 12 min read · ML platforms, Machine learning, Threat detection, E-commerce
  Shopify's approach to scaling machine learning grew out of its first ML product, an order fraud detector that replaced a rule-based system with a high false-positive rate.

## 2021-11-11

- [Using Propensity Score Matching to Uncover Shopify Capital’s Effect on Business Growth](https://swe.quest/articles/using-propensity-score-matching-to-uncover-shopify-capital-s-effect-on-business-8bb147b3b69bd1fb.md): Shopify Engineering · 2021-11-11 · Hard · 10 min read · Machine learning, Analytics & OLAP, Payments & fintech
  Shopify estimated the causal effect of Shopify Capital on merchant sales using propensity score matching, treating US first-time Capital adopters in January 2019 as the treatment group and Canadian shops that later pre-qualified (when Capital wasn't yet available in Canada) as the control.

## 2021-09-08

- [Using Rich Image and Text Data to Categorize Products at Scale](https://swe.quest/articles/using-rich-image-and-text-data-to-categorize-products-at-scale-d20fb07ad5fcc987.md): Shopify Engineering · 2021-09-08 · Medium · 12 min read · Machine learning, Model training, E-commerce, Computer vision
  Shopify rebuilt its product categorization model as a multi-task, multi-class neural network that predicts all seven levels of the hierarchical Google Product Taxonomy.

## 2021-08-25

- [5 Steps for Building Machine Learning Models for Business](https://swe.quest/articles/5-steps-for-building-machine-learning-models-for-business-9d6ce609a5ab2c3d.md): Shopify Engineering · 2021-08-25 · Medium · 15 min read · Machine learning, ML platforms, Evaluation
  A five-step workflow for building ML models in a business context: confirm ML is warranted (defer it for brand-new products and beat a heuristic baseline first), start with simple models and basic features or off-the-shelf pretrained components, and pick a metric tied to business impact before optimizing.

## 2021-04-28

- [A Five-Step Guide for Conducting Exploratory Data Analysis](https://swe.quest/articles/a-five-step-guide-for-conducting-exploratory-data-analysis-3c4e43a9ff125846.md): Shopify Engineering · 2021-04-28 · Medium · 16 min read · Analytics & OLAP, Machine learning
  Exploratory data analysis can follow a five-step framework: understand context and dataset size, check for missing data, describe and classify features as continuous, discrete or categorical, examine distributions and time trends, and identify correlations.

Same list as RSS: [https://swe.quest/feed.xml?source=shopify&tag=machine-learning](https://swe.quest/feed.xml?source=shopify&tag=machine-learning). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
