📖 Step 9: AI/LLM#309 / 498

Catastrophic Forgetting

Catastrophic Forgetting

📖One-line summary

The phenomenon where a model forgets previously learned knowledge when trained on new data.

💡Easy explanation

AI's fatal flaw of forgetting old knowledge when it learns new things. Train it on medical data and it might lose the ability to hold a normal conversation.

✨Example

새 지식 배우면 옛 지식 증발

일반 대화
90%
↓ 의료 데이터 추가 학습 ↓
일반 대화
30% 📉
의료 지식
85%

⚡Vibe coding prompt examples

>_

After fine-tuning, the model can no longer answer basic general-knowledge questions. Summarize evaluation methods to check when catastrophic forgetting is suspected.

>_

Write replay-style training code that mixes in part of the original data to reduce catastrophic forgetting when fine-tuning on new domain data.

>_

Compare catastrophic forgetting mitigation techniques such as LoRA, replay, and EWC by implementation difficulty and effectiveness.

Try these prompts in your AI coding assistant!