Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →

Q38HardSystem design

Design a continuous improvement pipeline that periodically fine-tunes a model on production feedback.

30-second answerSay your answer out loud first, then reveal.
Continuous fine-tuning pipeline: production traces become signals, are curated, labelled into pairs and versioned, then trained and evaluated against the production model; a better candidate goes to the registry, shadow and canary, and online monitoring decides promote or rollback, while a worse one stops with a report.

Key safeguards

  1. Feedback is biased: thumbs-up data rewards pleasing answers (sycophancy risk). Prefer expert-reviewed and outcome-verified examples.
  2. Data contamination: keep eval data strictly separate from training data (hash-based overlap checks).
  3. Feedback loops: training on the model's own outputs can amplify errors. Include human-written or verified data and diversity checks.
  4. Regression protection: a general-capability and safety eval suite must not regress (catastrophic forgetting).
  5. Cadence: triggered by data volume or drift, not blindly weekly; compare cost vs gain.
  6. Governance: consent and contractual rights to use customer data for training; data retention and deletion propagated to training sets (and retraining when deletion requires it).

Slow is fine. Stopping is the only problem.