Expo Talk Panel
Continual Reinforcement Learning for Commerce Assistants
Cody Mazza-Anthony ⋅ Paige Vegna ⋅ Logan Vegna
Pyrmont Theatre
We present a continual reinforcement learning loop that turns observations from production into training signals for the models behind Shopify’s commerce assistants. The autonomous loop combines online and offline signals to identify and cluster cases where the model makes an error, exhibits an undesirable behavior, or does not yet demonstrate a desired behavior. The identified tasks are initially verified to ensure that the targeted behavior is reproducible in the RL gym on the candidate model we are post-training. We amplify the signal by generating synthetic seeds and create a benchmark from the original production seeds. An agent then designs dynamic rubrics and verifiable rewards for each failure mode and backtests them on the existing verification rollouts, resulting in a highly sensitive and accurate auxiliary reward. We build RL environments that match production: each environment is an isolated sandbox that runs Shopify’s real platform and services on a snapshot of a single shop’s PII-scrubbed database.
We train periodically, resuming from the previous model checkpoint and building on its accumulated updates. Each incremental training run uses a mixture of tasks, including the newest behavioral targets, a smaller replay of earlier tasks, and a random set of tasks to prevent overfitting. With this mixture of tasks and the periodic training schedule, the policy fixes new shortcomings and retains the desirable behaviors it has already learned.
Live content is unavailable. Log in and register to view live content