SparseGrad: A Selective Method for Efficient Fine-tuning of MLP Layers. Chekalina, V., Rudenko, A., Mezentsev, G., Mikhalev, A., Panchenko, A., & Oseledets, I. October, 2024. arXiv:2410.07383
Paper doi abstract bibtex The performance of Transformer models has been enhanced by increasing the number of parameters and the length of the processed text. Consequently, fine-tuning the entire model becomes a memory-intensive process. High-performance methods for parameter-efficient fine-tuning (PEFT) typically work with Attention blocks and often overlook MLP blocks, which contain about half of the model parameters. We propose a new selective PEFT method, namely SparseGrad, that performs well on MLP blocks. We transfer layer gradients to a space where only about 1\% of the layer's elements remain significant. By converting gradients into a sparse structure, we reduce the number of updated parameters. We apply SparseGrad to fine-tune BERT and RoBERTa for the NLU task and LLaMa-2 for the Question-Answering task. In these experiments, with identical memory requirements, our method outperforms LoRA and MeProp, robust popular state-of-the-art PEFT approaches.
@misc{chekalina_sparsegrad_2024,
title = {{SparseGrad}: {A} {Selective} {Method} for {Efficient} {Fine}-tuning of {MLP} {Layers}},
shorttitle = {{SparseGrad}},
url = {http://arxiv.org/abs/2410.07383},
doi = {10.48550/arXiv.2410.07383},
abstract = {The performance of Transformer models has been enhanced by increasing the number of parameters and the length of the processed text. Consequently, fine-tuning the entire model becomes a memory-intensive process. High-performance methods for parameter-efficient fine-tuning (PEFT) typically work with Attention blocks and often overlook MLP blocks, which contain about half of the model parameters. We propose a new selective PEFT method, namely SparseGrad, that performs well on MLP blocks. We transfer layer gradients to a space where only about 1{\textbackslash}\% of the layer's elements remain significant. By converting gradients into a sparse structure, we reduce the number of updated parameters. We apply SparseGrad to fine-tune BERT and RoBERTa for the NLU task and LLaMa-2 for the Question-Answering task. In these experiments, with identical memory requirements, our method outperforms LoRA and MeProp, robust popular state-of-the-art PEFT approaches.},
urldate = {2024-10-18},
publisher = {arXiv},
author = {Chekalina, Viktoriia and Rudenko, Anna and Mezentsev, Gleb and Mikhalev, Alexander and Panchenko, Alexander and Oseledets, Ivan},
month = oct,
year = {2024},
note = {arXiv:2410.07383},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},
}
Downloads: 0
{"_id":"6ByqHxuwsP9Q6rmB7","bibbaseid":"chekalina-rudenko-mezentsev-mikhalev-panchenko-oseledets-sparsegradaselectivemethodforefficientfinetuningofmlplayers-2024","author_short":["Chekalina, V.","Rudenko, A.","Mezentsev, G.","Mikhalev, A.","Panchenko, A.","Oseledets, I."],"bibdata":{"bibtype":"misc","type":"misc","title":"SparseGrad: A Selective Method for Efficient Fine-tuning of MLP Layers","shorttitle":"SparseGrad","url":"http://arxiv.org/abs/2410.07383","doi":"10.48550/arXiv.2410.07383","abstract":"The performance of Transformer models has been enhanced by increasing the number of parameters and the length of the processed text. Consequently, fine-tuning the entire model becomes a memory-intensive process. High-performance methods for parameter-efficient fine-tuning (PEFT) typically work with Attention blocks and often overlook MLP blocks, which contain about half of the model parameters. We propose a new selective PEFT method, namely SparseGrad, that performs well on MLP blocks. We transfer layer gradients to a space where only about 1\\% of the layer's elements remain significant. By converting gradients into a sparse structure, we reduce the number of updated parameters. We apply SparseGrad to fine-tune BERT and RoBERTa for the NLU task and LLaMa-2 for the Question-Answering task. In these experiments, with identical memory requirements, our method outperforms LoRA and MeProp, robust popular state-of-the-art PEFT approaches.","urldate":"2024-10-18","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Chekalina"],"firstnames":["Viktoriia"],"suffixes":[]},{"propositions":[],"lastnames":["Rudenko"],"firstnames":["Anna"],"suffixes":[]},{"propositions":[],"lastnames":["Mezentsev"],"firstnames":["Gleb"],"suffixes":[]},{"propositions":[],"lastnames":["Mikhalev"],"firstnames":["Alexander"],"suffixes":[]},{"propositions":[],"lastnames":["Panchenko"],"firstnames":["Alexander"],"suffixes":[]},{"propositions":[],"lastnames":["Oseledets"],"firstnames":["Ivan"],"suffixes":[]}],"month":"October","year":"2024","note":"arXiv:2410.07383","keywords":"Computer Science - Artificial Intelligence, Computer Science - Computation and Language","bibtex":"@misc{chekalina_sparsegrad_2024,\n\ttitle = {{SparseGrad}: {A} {Selective} {Method} for {Efficient} {Fine}-tuning of {MLP} {Layers}},\n\tshorttitle = {{SparseGrad}},\n\turl = {http://arxiv.org/abs/2410.07383},\n\tdoi = {10.48550/arXiv.2410.07383},\n\tabstract = {The performance of Transformer models has been enhanced by increasing the number of parameters and the length of the processed text. Consequently, fine-tuning the entire model becomes a memory-intensive process. High-performance methods for parameter-efficient fine-tuning (PEFT) typically work with Attention blocks and often overlook MLP blocks, which contain about half of the model parameters. We propose a new selective PEFT method, namely SparseGrad, that performs well on MLP blocks. We transfer layer gradients to a space where only about 1{\\textbackslash}\\% of the layer's elements remain significant. By converting gradients into a sparse structure, we reduce the number of updated parameters. We apply SparseGrad to fine-tune BERT and RoBERTa for the NLU task and LLaMa-2 for the Question-Answering task. In these experiments, with identical memory requirements, our method outperforms LoRA and MeProp, robust popular state-of-the-art PEFT approaches.},\n\turldate = {2024-10-18},\n\tpublisher = {arXiv},\n\tauthor = {Chekalina, Viktoriia and Rudenko, Anna and Mezentsev, Gleb and Mikhalev, Alexander and Panchenko, Alexander and Oseledets, Ivan},\n\tmonth = oct,\n\tyear = {2024},\n\tnote = {arXiv:2410.07383},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Chekalina, V.","Rudenko, A.","Mezentsev, G.","Mikhalev, A.","Panchenko, A.","Oseledets, I."],"key":"chekalina_sparsegrad_2024","id":"chekalina_sparsegrad_2024","bibbaseid":"chekalina-rudenko-mezentsev-mikhalev-panchenko-oseledets-sparsegradaselectivemethodforefficientfinetuningofmlplayers-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2410.07383"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Computation and Language"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/SimonOst","dataSources":["tFvQtGDPkqnJa6Fbq"],"keywords":["computer science - artificial intelligence","computer science - computation and language"],"search_terms":["sparsegrad","selective","method","efficient","fine","tuning","mlp","layers","chekalina","rudenko","mezentsev","mikhalev","panchenko","oseledets"],"title":"SparseGrad: A Selective Method for Efficient Fine-tuning of MLP Layers","year":2024}