Shopify's 0.8B fine-tuned model beats GPT-5.6-sol (xhigh) on buyer profile task

Shopify's ML team fine-tuned a 0.8B model that outperforms GPT-5.6-sol (xhigh) on the specialized Buyer Profile task, scoring 84.6. The methodology uses a data flywheel with on-policy self distillation: (1) calibrate an LLM-as-judge with human labels; (2) continuously mine low-scoring samples from production traffic; (3) have a strong reasoning model and human reviewers fix errors by providing hints, not just correct answers; (4) fold repaired samples back into training with SFT, on-policy distillation, and GRPO, then redeploy. On-policy self distillation means the student samples its own trajectories and the teacher (which is the same model augmented with hints) gives dense token-level supervision. This compresses reasoning ability into the weights, eliminating the need for a high-reasoning mode at inference. The team emphasizes that gradient descent in continuous parameter space absorbs thousands of corrections smoothly, unlike brittle prompt rule additions. The result: system prompt compressed from 9.1K tokens to 1.1K gist tokens. The trade-off is loss of generalization, but for a well-defined, high-volume, stable-distribution task, quality rises while latency and cost drop.