{"id":"arxiv:2405.16325","kind":"preprint","title":"SLoPe: Double-Pruned Sparse Plus Lazy Low-Rank Adapter Pretraining of LLMs","authors":["Mohammad Mozaffari","Amir Yazdanbakhsh","Zhao Zhang","Maryam Mehri Dehnavi"],"author_count":4,"year":2024,"published":"2024-05-25","venue":null,"cited_by":null,"doi":null,"arxiv_id":"2405.16325","nct_id":null,"source_url":"https://arxiv.org/abs/2405.16325","archive_url":"https://space-kitty.com/papers/arxiv:2405.16325","updated":"2025-01-25","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/2405.16325","abstract":"We propose SLoPe, a Double-Pruned Sparse Plus Lazy Low-rank Adapter Pretraining method for LLMs that improves the accuracy of sparse LLMs while accelerating their pretraining and inference and reducing their memory footprint. Sparse pretraining of LLMs reduces the accuracy of the model, to overcome this, prior work uses dense models during fine-tuning. SLoPe improves the accuracy of sparsely pretrained models by adding low-rank adapters in the final 1% iterations of pretraining without adding significant overheads to the model pretraining and inference. In addition, SLoPe uses a double-pruned backward pass formulation that prunes the transposed weight matrix using N:M sparsity structures to enable an accelerated sparse backward pass. SLoPe accelerates the training and inference of models with billions of parameters up to $1.25\\times$ and $1.54\\times$ respectively (OPT-33B and OPT-66B) while reducing their memory usage by up to $0.63\\times$ and $0.61\\times$ for training and inference respectively.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.LG","cs.AI"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}