Shopify's judge-critic learning loop makes a small specialist model beat frontier LLMs

PyTorch · x · 2026-10-21

At PyTorch Conference 2026, Shopify senior staff ML engineer Cody Mazza-Anthony presented a continual learning loop built on PyTorch and vLLM, using Buyer Profile as the example: a calibrated judge flags low-scoring outputs in production, critics diagnose each failure, and a replay with a critic hint is re-scored by the judge. Accepted repairs expand the training data. A small specialist model trained this way outperforms a frontier model on the task, with inference further optimized via prompt compression.

Related event: Shopify Shows Small Models Beating Frontier Models via Continuous Learning Loop(2 posts)→

Original post →

More from coding & agent

coding & agent channel →