Zubnet AIAprenderWiki › Catastrophic Forgetting
Training

Catastrophic Forgetting

Catastrophic Interference
Cuando una red neuronal entrenada en una nueva tarea pierde su capacidad de realizar tareas aprendidas previamente. Fine-tunear un modelo con datos de atención al cliente podría hacerlo genial en soporte pero terrible en código. El nuevo aprendizaje sobrescribe los pesos que codificaban las capacidades antiguas, «olvidándolas».

Por qué importa

El olvido catastrófico es el desafío central del fine-tuning y el aprendizaje continuo. Es por qué no puedes simplemente seguir fine-tuneando un modelo tarea tras tarea y esperar que lo haga todo bien. También es por qué técnicas como LoRA (que solo modifican un pequeño subconjunto de parámetros) y la selección cuidadosa de learning rate son críticas para preservar las capacidades del modelo base.

Deep Dive

The root cause is weight sharing: the same parameters encode multiple capabilities, and updating them for a new task disrupts the existing encodings. In a large neural network, knowledge isn't stored in dedicated neurons — it's distributed across the weights in complex, overlapping patterns (superposition). Modifying those weights for new knowledge inevitably disturbs old knowledge.

Mitigation Strategies

Several techniques reduce forgetting. Low learning rates during fine-tuning minimize weight changes. LoRA adds new trainable parameters while keeping the original weights frozen. Elastic Weight Consolidation (EWC) identifies which weights are important for old tasks and penalizes changes to them. Replay methods mix old task data into new task training. None fully solve the problem — there's always a trade-off between plasticity (learning new things) and stability (retaining old things).

The Continual Aprendering Dream

Continual learning (also called lifelong learning) is the research goal of building models that can keep learning from new data without forgetting old capabilities — the way humans do. Current LLMs sidestep this by training once on a massive dataset and then fine-tuning carefully. True continual learning remains an open problem and would be transformative: imagine a model that keeps learning from every conversation without degrading.

Conceptos relacionados

← Todos los términos
← Cartesia Cerebras →