HybridBERT - Making BERT Pretraining More Efficient Through Hybrid Mixture of Attention Mechanisms. Srinivasagan, G. & Ostermann, S. In Cao, Y. (., Papadimitriou, I., Ovalle, A., Zampieri, M., Ferraro, F., & Swayamdipta, S., editors, Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 4: Student Research Workshop), pages 285–291, Mexico City, Mexico, June, 2024. Association for Computational Linguistics.
Paper doi abstract bibtex 1 download Pretrained transformer-based language models have produced state-of-the-art performance in most natural language understanding tasks. These models undergo two stages of training: pretraining on a huge corpus of data and fine-tuning on a specific downstream task. The pretraining phase is extremely compute-intensive and requires several high-performance computing devices like GPUs and several days or even months of training, but it is crucial for the model to capture global knowledge and also has a significant impact on the fine-tuning task. This is a major roadblock for researchers without access to sophisticated computing resources. To overcome this challenge, we propose two novel hybrid architectures called HybridBERT (HBERT), which combine self-attention and additive attention mechanisms together with sub-layer normalization. We introduce a computing budget to the pretraining phase, limiting the training time and usage to a single GPU. We show that HBERT attains twice the pretraining accuracy of a vanilla-BERT baseline. We also evaluate our proposed models on two downstream tasks, where we outperform BERT-base while accelerating inference. Moreover, we study the effect of weight initialization with a limited pretraining budget. The code and models are publicly available at: www.github.com/gokulsg/HBERT/.
@inproceedings{srinivasaganHybridBERTMakingBERT2024,
address = {Mexico City, Mexico},
title = {{HybridBERT} - {Making} {BERT} {Pretraining} {More} {Efficient} {Through} {Hybrid} {Mixture} of {Attention} {Mechanisms}},
url = {https://aclanthology.org/2024.naacl-srw.30/},
doi = {10.18653/v1/2024.naacl-srw.30},
abstract = {Pretrained transformer-based language models have produced state-of-the-art performance in most natural language understanding tasks. These models undergo two stages of training: pretraining on a huge corpus of data and fine-tuning on a specific downstream task. The pretraining phase is extremely compute-intensive and requires several high-performance computing devices like GPUs and several days or even months of training, but it is crucial for the model to capture global knowledge and also has a significant impact on the fine-tuning task. This is a major roadblock for researchers without access to sophisticated computing resources. To overcome this challenge, we propose two novel hybrid architectures called HybridBERT (HBERT), which combine self-attention and additive attention mechanisms together with sub-layer normalization. We introduce a computing budget to the pretraining phase, limiting the training time and usage to a single GPU. We show that HBERT attains twice the pretraining accuracy of a vanilla-BERT baseline. We also evaluate our proposed models on two downstream tasks, where we outperform BERT-base while accelerating inference. Moreover, we study the effect of weight initialization with a limited pretraining budget. The code and models are publicly available at: www.github.com/gokulsg/HBERT/.},
urldate = {2025-05-22},
booktitle = {Proceedings of the 2024 {Conference} of the {North} {American} {Chapter} of the {Association} for {Computational} {Linguistics}: {Human} {Language} {Technologies} ({Volume} 4: {Student} {Research} {Workshop})},
publisher = {Association for Computational Linguistics},
author = {Srinivasagan, Gokul and Ostermann, Simon},
editor = {Cao, Yang (Trista) and Papadimitriou, Isabel and Ovalle, Anaelia and Zampieri, Marcos and Ferraro, Francis and Swayamdipta, Swabha},
month = jun,
year = {2024},
pages = {285--291},
}
Downloads: 1
{"_id":"ekLaPkZnuCo7ws2pH","bibbaseid":"srinivasagan-ostermann-hybridbertmakingbertpretrainingmoreefficientthroughhybridmixtureofattentionmechanisms-2024","author_short":["Srinivasagan, G.","Ostermann, S."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","address":"Mexico City, Mexico","title":"HybridBERT - Making BERT Pretraining More Efficient Through Hybrid Mixture of Attention Mechanisms","url":"https://aclanthology.org/2024.naacl-srw.30/","doi":"10.18653/v1/2024.naacl-srw.30","abstract":"Pretrained transformer-based language models have produced state-of-the-art performance in most natural language understanding tasks. These models undergo two stages of training: pretraining on a huge corpus of data and fine-tuning on a specific downstream task. The pretraining phase is extremely compute-intensive and requires several high-performance computing devices like GPUs and several days or even months of training, but it is crucial for the model to capture global knowledge and also has a significant impact on the fine-tuning task. This is a major roadblock for researchers without access to sophisticated computing resources. To overcome this challenge, we propose two novel hybrid architectures called HybridBERT (HBERT), which combine self-attention and additive attention mechanisms together with sub-layer normalization. We introduce a computing budget to the pretraining phase, limiting the training time and usage to a single GPU. We show that HBERT attains twice the pretraining accuracy of a vanilla-BERT baseline. We also evaluate our proposed models on two downstream tasks, where we outperform BERT-base while accelerating inference. Moreover, we study the effect of weight initialization with a limited pretraining budget. The code and models are publicly available at: www.github.com/gokulsg/HBERT/.","urldate":"2025-05-22","booktitle":"Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 4: Student Research Workshop)","publisher":"Association for Computational Linguistics","author":[{"propositions":[],"lastnames":["Srinivasagan"],"firstnames":["Gokul"],"suffixes":[]},{"propositions":[],"lastnames":["Ostermann"],"firstnames":["Simon"],"suffixes":[]}],"editor":[{"propositions":[],"lastnames":["Cao"],"firstnames":["Yang","(Trista)"],"suffixes":[]},{"propositions":[],"lastnames":["Papadimitriou"],"firstnames":["Isabel"],"suffixes":[]},{"propositions":[],"lastnames":["Ovalle"],"firstnames":["Anaelia"],"suffixes":[]},{"propositions":[],"lastnames":["Zampieri"],"firstnames":["Marcos"],"suffixes":[]},{"propositions":[],"lastnames":["Ferraro"],"firstnames":["Francis"],"suffixes":[]},{"propositions":[],"lastnames":["Swayamdipta"],"firstnames":["Swabha"],"suffixes":[]}],"month":"June","year":"2024","pages":"285–291","bibtex":"@inproceedings{srinivasaganHybridBERTMakingBERT2024,\n\taddress = {Mexico City, Mexico},\n\ttitle = {{HybridBERT} - {Making} {BERT} {Pretraining} {More} {Efficient} {Through} {Hybrid} {Mixture} of {Attention} {Mechanisms}},\n\turl = {https://aclanthology.org/2024.naacl-srw.30/},\n\tdoi = {10.18653/v1/2024.naacl-srw.30},\n\tabstract = {Pretrained transformer-based language models have produced state-of-the-art performance in most natural language understanding tasks. These models undergo two stages of training: pretraining on a huge corpus of data and fine-tuning on a specific downstream task. The pretraining phase is extremely compute-intensive and requires several high-performance computing devices like GPUs and several days or even months of training, but it is crucial for the model to capture global knowledge and also has a significant impact on the fine-tuning task. This is a major roadblock for researchers without access to sophisticated computing resources. To overcome this challenge, we propose two novel hybrid architectures called HybridBERT (HBERT), which combine self-attention and additive attention mechanisms together with sub-layer normalization. We introduce a computing budget to the pretraining phase, limiting the training time and usage to a single GPU. We show that HBERT attains twice the pretraining accuracy of a vanilla-BERT baseline. We also evaluate our proposed models on two downstream tasks, where we outperform BERT-base while accelerating inference. Moreover, we study the effect of weight initialization with a limited pretraining budget. The code and models are publicly available at: www.github.com/gokulsg/HBERT/.},\n\turldate = {2025-05-22},\n\tbooktitle = {Proceedings of the 2024 {Conference} of the {North} {American} {Chapter} of the {Association} for {Computational} {Linguistics}: {Human} {Language} {Technologies} ({Volume} 4: {Student} {Research} {Workshop})},\n\tpublisher = {Association for Computational Linguistics},\n\tauthor = {Srinivasagan, Gokul and Ostermann, Simon},\n\teditor = {Cao, Yang (Trista) and Papadimitriou, Isabel and Ovalle, Anaelia and Zampieri, Marcos and Ferraro, Francis and Swayamdipta, Swabha},\n\tmonth = jun,\n\tyear = {2024},\n\tpages = {285--291},\n}\n\n\n\n","author_short":["Srinivasagan, G.","Ostermann, S."],"editor_short":["Cao, Y. (.","Papadimitriou, I.","Ovalle, A.","Zampieri, M.","Ferraro, F.","Swayamdipta, S."],"key":"srinivasaganHybridBERTMakingBERT2024","id":"srinivasaganHybridBERTMakingBERT2024","bibbaseid":"srinivasagan-ostermann-hybridbertmakingbertpretrainingmoreefficientthroughhybridmixtureofattentionmechanisms-2024","role":"author","urls":{"Paper":"https://aclanthology.org/2024.naacl-srw.30/"},"metadata":{"authorlinks":{}},"downloads":1},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero-group/ndrmyrvtl/5786256","dataSources":["5EQ7rDLpRYyekvrfx","sQkTDbLkogLBe4CBj","tFvQtGDPkqnJa6Fbq","t9hCPkmnzfCrpPP6k"],"keywords":[],"search_terms":["hybridbert","making","bert","pretraining","more","efficient","through","hybrid","mixture","attention","mechanisms","srinivasagan","ostermann"],"title":"HybridBERT - Making BERT Pretraining More Efficient Through Hybrid Mixture of Attention Mechanisms","year":2024,"downloads":1}