ReFT: Representation Finetuning for Language Models. Wu, Z., Arora, A., Wang, Z., Geiger, A., Jurafsky, D., Manning, C. D., & Potts, C. May, 2024. arXiv:2404.03592
Paper doi abstract bibtex Parameter-efficient finetuning (PEFT) methods seek to adapt large neural models via updates to a small number of weights. However, much prior interpretability work has shown that representations encode rich semantic information, suggesting that editing representations might be a more powerful alternative. We pursue this hypothesis by developing a family of Representation Finetuning (ReFT) methods. ReFT methods operate on a frozen base model and learn task-specific interventions on hidden representations. We define a strong instance of the ReFT family, Low-rank Linear Subspace ReFT (LoReFT), and we identify an ablation of this method that trades some performance for increased efficiency. Both are drop-in replacements for existing PEFTs and learn interventions that are 15x–65x more parameter-efficient than LoRA. We showcase LoReFT on eight commonsense reasoning tasks, four arithmetic reasoning tasks, instruction-tuning, and GLUE. In all these evaluations, our ReFTs deliver the best balance of efficiency and performance, and almost always outperform state-of-the-art PEFTs. We release a generic ReFT training library publicly at https://github.com/stanfordnlp/pyreft.
@misc{wu_reft_2024,
title = {{ReFT}: {Representation} {Finetuning} for {Language} {Models}},
shorttitle = {{ReFT}},
url = {http://arxiv.org/abs/2404.03592},
doi = {10.48550/arXiv.2404.03592},
abstract = {Parameter-efficient finetuning (PEFT) methods seek to adapt large neural models via updates to a small number of weights. However, much prior interpretability work has shown that representations encode rich semantic information, suggesting that editing representations might be a more powerful alternative. We pursue this hypothesis by developing a family of Representation Finetuning (ReFT) methods. ReFT methods operate on a frozen base model and learn task-specific interventions on hidden representations. We define a strong instance of the ReFT family, Low-rank Linear Subspace ReFT (LoReFT), and we identify an ablation of this method that trades some performance for increased efficiency. Both are drop-in replacements for existing PEFTs and learn interventions that are 15x--65x more parameter-efficient than LoRA. We showcase LoReFT on eight commonsense reasoning tasks, four arithmetic reasoning tasks, instruction-tuning, and GLUE. In all these evaluations, our ReFTs deliver the best balance of efficiency and performance, and almost always outperform state-of-the-art PEFTs. We release a generic ReFT training library publicly at https://github.com/stanfordnlp/pyreft.},
urldate = {2024-11-26},
publisher = {arXiv},
author = {Wu, Zhengxuan and Arora, Aryaman and Wang, Zheng and Geiger, Atticus and Jurafsky, Dan and Manning, Christopher D. and Potts, Christopher},
month = may,
year = {2024},
note = {arXiv:2404.03592},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language, Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"6WthoEanP6e62bMn8","bibbaseid":"wu-arora-wang-geiger-jurafsky-manning-potts-reftrepresentationfinetuningforlanguagemodels-2024","author_short":["Wu, Z.","Arora, A.","Wang, Z.","Geiger, A.","Jurafsky, D.","Manning, C. D.","Potts, C."],"bibdata":{"bibtype":"misc","type":"misc","title":"ReFT: Representation Finetuning for Language Models","shorttitle":"ReFT","url":"http://arxiv.org/abs/2404.03592","doi":"10.48550/arXiv.2404.03592","abstract":"Parameter-efficient finetuning (PEFT) methods seek to adapt large neural models via updates to a small number of weights. However, much prior interpretability work has shown that representations encode rich semantic information, suggesting that editing representations might be a more powerful alternative. We pursue this hypothesis by developing a family of Representation Finetuning (ReFT) methods. ReFT methods operate on a frozen base model and learn task-specific interventions on hidden representations. We define a strong instance of the ReFT family, Low-rank Linear Subspace ReFT (LoReFT), and we identify an ablation of this method that trades some performance for increased efficiency. Both are drop-in replacements for existing PEFTs and learn interventions that are 15x–65x more parameter-efficient than LoRA. We showcase LoReFT on eight commonsense reasoning tasks, four arithmetic reasoning tasks, instruction-tuning, and GLUE. In all these evaluations, our ReFTs deliver the best balance of efficiency and performance, and almost always outperform state-of-the-art PEFTs. We release a generic ReFT training library publicly at https://github.com/stanfordnlp/pyreft.","urldate":"2024-11-26","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Wu"],"firstnames":["Zhengxuan"],"suffixes":[]},{"propositions":[],"lastnames":["Arora"],"firstnames":["Aryaman"],"suffixes":[]},{"propositions":[],"lastnames":["Wang"],"firstnames":["Zheng"],"suffixes":[]},{"propositions":[],"lastnames":["Geiger"],"firstnames":["Atticus"],"suffixes":[]},{"propositions":[],"lastnames":["Jurafsky"],"firstnames":["Dan"],"suffixes":[]},{"propositions":[],"lastnames":["Manning"],"firstnames":["Christopher","D."],"suffixes":[]},{"propositions":[],"lastnames":["Potts"],"firstnames":["Christopher"],"suffixes":[]}],"month":"May","year":"2024","note":"arXiv:2404.03592","keywords":"Computer Science - Artificial Intelligence, Computer Science - Computation and Language, Computer Science - Machine Learning","bibtex":"@misc{wu_reft_2024,\n\ttitle = {{ReFT}: {Representation} {Finetuning} for {Language} {Models}},\n\tshorttitle = {{ReFT}},\n\turl = {http://arxiv.org/abs/2404.03592},\n\tdoi = {10.48550/arXiv.2404.03592},\n\tabstract = {Parameter-efficient finetuning (PEFT) methods seek to adapt large neural models via updates to a small number of weights. However, much prior interpretability work has shown that representations encode rich semantic information, suggesting that editing representations might be a more powerful alternative. We pursue this hypothesis by developing a family of Representation Finetuning (ReFT) methods. ReFT methods operate on a frozen base model and learn task-specific interventions on hidden representations. We define a strong instance of the ReFT family, Low-rank Linear Subspace ReFT (LoReFT), and we identify an ablation of this method that trades some performance for increased efficiency. Both are drop-in replacements for existing PEFTs and learn interventions that are 15x--65x more parameter-efficient than LoRA. We showcase LoReFT on eight commonsense reasoning tasks, four arithmetic reasoning tasks, instruction-tuning, and GLUE. In all these evaluations, our ReFTs deliver the best balance of efficiency and performance, and almost always outperform state-of-the-art PEFTs. We release a generic ReFT training library publicly at https://github.com/stanfordnlp/pyreft.},\n\turldate = {2024-11-26},\n\tpublisher = {arXiv},\n\tauthor = {Wu, Zhengxuan and Arora, Aryaman and Wang, Zheng and Geiger, Atticus and Jurafsky, Dan and Manning, Christopher D. and Potts, Christopher},\n\tmonth = may,\n\tyear = {2024},\n\tnote = {arXiv:2404.03592},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language, Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Wu, Z.","Arora, A.","Wang, Z.","Geiger, A.","Jurafsky, D.","Manning, C. D.","Potts, C."],"key":"wu_reft_2024","id":"wu_reft_2024","bibbaseid":"wu-arora-wang-geiger-jurafsky-manning-potts-reftrepresentationfinetuningforlanguagemodels-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2404.03592"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Computation and Language","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/pa511","dataSources":["MpmemwLeQzDcKDq6x"],"keywords":["computer science - artificial intelligence","computer science - computation and language","computer science - machine learning"],"search_terms":["reft","representation","finetuning","language","models","wu","arora","wang","geiger","jurafsky","manning","potts"],"title":"ReFT: Representation Finetuning for Language Models","year":2024}