Which Pretrain Samples to Rehearse when Finetuning Pretrained Models?
<|reference_start|>Which Pretrain Samples to Rehearse when Finetuning Pretrained Models?: Fine-tuning pretrained foundational models on specific tasks is now the de facto approach for text and vision tasks. A known pitfall of this approach is the forgetting of pretraining knowledge that happens during finetuning. Rehearsing samples randomly from the pretrain dataset is a common approach to alleviate such forgetting. However, we find that random mixing unintentionally includes samples which are not (yet) forgotten or unlearnable by the model. We propose a novel sampling scheme, mix-cd, that identifies and prioritizes samples that actually face forgetting, which we call collateral damage. Since directly identifying collateral damage samples is computationally expensive, we propose a procedure to estimate the distribution of such samples by tracking the statistics of finetuned samples. Our approach is lightweight, easy to implement, and can be seamlessly integrated into existing models, offering an effective means to retain pretrain performance without additional computational costs.<|reference_end|>
@article{bai2024which,
    title={Which Pretrain Samples to Rehearse when Finetuning Pretrained Models?},
    author={Andrew Bai, Chih-Kuan Yeh, Cho-Jui Hsieh, Ankur Taly},
    journal={arXiv preprint arXiv:2402.08096},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.08096},
    primaryClass={cs.LG}
}