Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Michael S., Ruia, Rishi A., Kewalram, Arnav, Dharmapuram, Saathvik, Sharma, Utkarsh, Zhu, Kevin
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2512.18934
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914213784453120
author Zhang, Michael S.
Ruia, Rishi A.
Kewalram, Arnav
Dharmapuram, Saathvik
Sharma, Utkarsh
Zhu, Kevin
author_facet Zhang, Michael S.
Ruia, Rishi A.
Kewalram, Arnav
Dharmapuram, Saathvik
Sharma, Utkarsh
Zhu, Kevin
contents Catastrophic forgetting poses a fundamental challenge in continual learning, particularly when models are quantized for deployment efficiency. We systematically investigate the interplay between quantization precision (FP16, INT8, INT4) and replay buffer strategies in large language models, revealing unexpected dynamics. While FP16 achieves superior initial task performance (74.44% on NLU), we observe a striking inversion on subsequent tasks: quantized models outperform FP16 by 8-15% on final task forward accuracy, with INT4 achieving nearly double FP16's performance on Code generation (40% vs 20%). Critically, even minimal replay buffers (0.1%) dramatically improve retention - increasing NLU retention after Math training from 45% to 65% across all precision levels - with INT8 consistently achieving the optimal balance between learning plasticity and knowledge retention. We hypothesize that quantization-induced noise acts as implicit regularization, preventing the overfitting to new task gradients that plagues high-precision models. These findings challenge the conventional wisdom that higher precision is always preferable, suggesting instead that INT8 quantization offers both computational efficiency and superior continual learning dynamics. Our results provide practical guidelines for deploying compressed models in continual learning scenarios: small replay buffers (1-2%) suffice for NLU tasks, while Math and Code benefit from moderate buffers (5-10%), with quantized models requiring less replay than FP16 to achieve comparable retention. Code is available at https://github.com/Festyve/LessIsMore.
format Preprint
id arxiv_https___arxiv_org_abs_2512_18934
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle When Less is More: 8-bit Quantization Improves Continual Learning in Large Language Models
Zhang, Michael S.
Ruia, Rishi A.
Kewalram, Arnav
Dharmapuram, Saathvik
Sharma, Utkarsh
Zhu, Kevin
Machine Learning
Artificial Intelligence
Catastrophic forgetting poses a fundamental challenge in continual learning, particularly when models are quantized for deployment efficiency. We systematically investigate the interplay between quantization precision (FP16, INT8, INT4) and replay buffer strategies in large language models, revealing unexpected dynamics. While FP16 achieves superior initial task performance (74.44% on NLU), we observe a striking inversion on subsequent tasks: quantized models outperform FP16 by 8-15% on final task forward accuracy, with INT4 achieving nearly double FP16's performance on Code generation (40% vs 20%). Critically, even minimal replay buffers (0.1%) dramatically improve retention - increasing NLU retention after Math training from 45% to 65% across all precision levels - with INT8 consistently achieving the optimal balance between learning plasticity and knowledge retention. We hypothesize that quantization-induced noise acts as implicit regularization, preventing the overfitting to new task gradients that plagues high-precision models. These findings challenge the conventional wisdom that higher precision is always preferable, suggesting instead that INT8 quantization offers both computational efficiency and superior continual learning dynamics. Our results provide practical guidelines for deploying compressed models in continual learning scenarios: small replay buffers (1-2%) suffice for NLU tasks, while Math and Code benefit from moderate buffers (5-10%), with quantized models requiring less replay than FP16 to achieve comparable retention. Code is available at https://github.com/Festyve/LessIsMore.
title When Less is More: 8-bit Quantization Improves Continual Learning in Large Language Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2512.18934