Mid

What is catastrophic forgetting and how do you limit it?

How to answer it in an AI engineer interview: what is being tested, a step-by-step framework, a sample answer and the mistakes to avoid.

$19.99 on Gumroad, instant download40% off with code EARLYBF until Nov 3, 11:59 PM PTEARLYBF: 40% off until Nov 3

Smaller start: Score your answers against 50 rubrics, $9. 50 AI engineer questions, one rubric each, PDF on Gumroad.

Practiced one out loud? Paste your answer into the free self-check and get a score in 30 seconds

What the interviewer is testing

Whether you know fine-tuning can damage existing capabilities and can name practical ways to prevent and detect it.

Answer framework

  1. Define it: training on a narrow task overwrites weights that supported other skills, so general ability or instruction following drops.
  2. Use parameter-efficient methods such as LoRA, which leave the base weights frozen.
  3. Mix in general or replay data alongside the task data.
  4. Train gently: lower learning rates, fewer epochs, early stopping.
  5. Measure: run general capability and safety evals before and after, not just the target task.

Sample answer

Catastrophic forgetting is when fine-tuning on a new, narrow task makes the model worse at things it used to do. The gradients from the new data move shared weights without any signal to preserve other skills. A model tuned hard on medical summaries, for example, might become worse at following general instructions, or lose some of its safety behavior.

I limit it in a few ways. Parameter-efficient fine-tuning such as LoRA trains small adapter weights while the base weights stay frozen, which reduces drift. I mix a portion of general instruction data, or examples of the original behaviors, into the training set so the model keeps practicing them. And I train conservatively, with a modest learning rate, a small number of epochs and early stopping based on a validation set.

Most importantly, I measure it. Before and after training, I run the task eval plus a regression suite that covers general instruction following, reasoning and safety refusals. A fine-tune that improves the target task by a few points but breaks refusals is not shippable.

Likely follow-ups

Does LoRA prevent forgetting completely? No; it reduces it, but the adapted model can still behave worse on other tasks, so regression evals remain necessary.

Common mistakes

The PlaybookWant the full method?

The 0 to 1 AI Engineer Interview Playbook covers the answer frameworks, system-design walkthroughs and an 8-week plan.

Get the playbook 40% off with code EARLYBF until Nov 3, 11:59 PM PTEARLYBF: 40% off until Nov 3

Smaller start: Score your answers against 50 rubrics, $9. 50 AI engineer questions, one rubric each, PDF on Gumroad.

Interviewing for PM or TPM? See the full PM package, $59 on Gumroad: a resume system, a PM, TPM and PGM interview handbook, a 1:1 cheat sheet and a PM playbook. PM and TPM content, not AI engineer prep.

Related questions

Based on question #55 in the full question bank.