Day 45: Catastrophic Forgetting Checks

Day 45: Catastrophic Forgetting Checks
6 views
This guide focuses on catastrophic forgetting for production systems, with practical trade-offs for reliability, security, and cost. Domain fine-tunes go feral: they ace your SDK suite and forget try/finally. Without a hold-out general pack, you ship a specialist idiot. Day 45 installs the gate.
⚡ TL;DR: Maintain a frozen general coding eval. Block deploy if general score drops beyond budget even when domain score rises. Plot base vs candidate on both axes.
python
def gate(scores: dict, budgets: dict) -> bool:
    if scores["domain"] < budgets["domain_min"]:
        return False
    if scores["general"] < budgets["general_floor"]:
        return False
    if scores["general"] < budgets["general_baseline"] - budgets["max_drop"]:
        return False
    return True
General pack contents: language fundamentals, common libraries you still use, security basics, and “don’t delete tests.” Keep it stable — churning the pack hides regressions. Archive base checkpoint scores forever.

catastrophic forgetting: production guidance

  • [ ] Frozen general pack versioned
  • [ ] Automated gate in training CI
  • [ ] Max drop budget agreed
  • [ ] Failure examples ticketed
  • [ ] Base scores archived
  • [ ] Pareto plots in the release notes

Series navigation

← Day 44 · Day 46 → Last updated September 11, 2026 Related: Designing a URL Shortener That Handles 100 Million Requests Per Day; Policy-as-Code for AI: OPA Checks Before Every Shell Execution; Day 76: p99 of Agents: Queueing, Not Just Model Latency.

Watch: 100 Days of AI on YouTube

Short videos from CheatCoders, one AI engineering topic per day.

Open the playlist on YouTube · CheatCoders on YouTube

Deep-dive PDF

Get the expanded guide for this post — extra diagrams-style checklists, failure modes, and a production walkthrough. Free when you subscribe to CheatCoders.

Already subscribed? or open the subscribe page.


Discover more from CheatCoders

Subscribe to get the latest posts sent to your email.

Comments

No comments yet. Why don’t you start the discussion?

Leave a comment

No account needed. Name and email are optional.