Sparse Upcycling: Inference Inefficient Finetuning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Doubov, Sasha, Sardana, Nikhil, Chiley, Vitaliy
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916479855755264
author Doubov, Sasha
Sardana, Nikhil
Chiley, Vitaliy
author_facet Doubov, Sasha
Sardana, Nikhil
Chiley, Vitaliy
contents Small, highly trained, open-source large language models are widely used due to their inference efficiency, but further improving their quality remains a challenge. Sparse upcycling is a promising approach that transforms a pretrained dense model into a Mixture-of-Experts (MoE) architecture, increasing the model's parameter count and quality. In this work, we compare the effectiveness of sparse upcycling against continued pretraining (CPT) across different model sizes, compute budgets, and pretraining durations. Our experiments show that sparse upcycling can achieve better quality, with improvements of over 20% relative to CPT in certain scenarios. However, this comes with a significant inference cost, leading to 40% slowdowns in high-demand inference settings for larger models. Our findings highlight the trade-off between model quality and inference efficiency, offering insights for practitioners seeking to balance model quality and deployment constraints.
format Preprint
id arxiv_https___arxiv_org_abs_2411_08968
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Sparse Upcycling: Inference Inefficient Finetuning
Doubov, Sasha
Sardana, Nikhil
Chiley, Vitaliy
Machine Learning
Computation and Language
Small, highly trained, open-source large language models are widely used due to their inference efficiency, but further improving their quality remains a challenge. Sparse upcycling is a promising approach that transforms a pretrained dense model into a Mixture-of-Experts (MoE) architecture, increasing the model's parameter count and quality. In this work, we compare the effectiveness of sparse upcycling against continued pretraining (CPT) across different model sizes, compute budgets, and pretraining durations. Our experiments show that sparse upcycling can achieve better quality, with improvements of over 20% relative to CPT in certain scenarios. However, this comes with a significant inference cost, leading to 40% slowdowns in high-demand inference settings for larger models. Our findings highlight the trade-off between model quality and inference efficiency, offering insights for practitioners seeking to balance model quality and deployment constraints.
title Sparse Upcycling: Inference Inefficient Finetuning
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2411.08968