{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/rethinking-embedding-coupling-in-pre-trained-1","title":"Rethinking embedding coupling in pre-trained language models","arxiv_id":"2010.12821","date":"2020-10-24","proceeding":"ICLR 2021 1","authors":["Hyung Won Chung","Thibault Févry","Henry Tsai","Melvin Johnson","Sebastian Ruder"],"abstract":"We re-evaluate the standard practice of sharing weights between input and output embeddings in state-of-the-art pre-trained language models. We show that decoupled embeddings provide increased modeling flexibility, allowing us to significantly improve the efficiency of parameter allocation in the input embedding of multilingual models. By reallocating the input embedding parameters in the Transformer layers, we achieve dramatically better performance on standard natural language understanding tasks with the same number of parameters during fine-tuning. We also show that allocating additional capacity to the output embedding provides benefits to the model that persist through the fine-tuning stage even though the output embedding is discarded after pre-training. Our analysis shows that larger output embeddings prevent the model's last layers from overspecializing to the pre-training task and encourage Transformer representations to be more general and more transferable to other tasks and languages. Harnessing these findings, we are able to train models that achieve strong performance on the XTREME benchmark without increasing the number of parameters at the fine-tuning stage.","url_abs":"https://arxiv.org/abs/2010.12821v1","url_pdf":"https://arxiv.org/pdf/2010.12821v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"rethinking-embedding-coupling-in-pre-trained-1","repo_url":"https://github.com/Beacontownfc/rembert_paddle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"paddle","reach":{"status":"ok"}},{"paper_slug":"rethinking-embedding-coupling-in-pre-trained-1","repo_url":"https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/language_model/rembert","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"paddle","reach":null},{"paper_slug":"rethinking-embedding-coupling-in-pre-trained-1","repo_url":"https://github.com/yangyucheng000/University/tree/main/model-1/rembert","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"rethinking-embedding-coupling-in-pre-trained-1","repo_url":"https://github.com/yangyucheng000/University/tree/main/model-3/rembert","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"cross-lingual-ner","task_name":"Cross-Lingual NER"},{"task_slug":"cross-lingual-natural-language-inference","task_name":"Cross-Lingual Natural Language Inference"},{"task_slug":"cross-lingual-paraphrase-identification","task_name":"Cross-Lingual Paraphrase Identification"},{"task_slug":"cross-lingual-question-answering","task_name":"Cross-Lingual Question Answering"},{"task_slug":"named-entity-recognition-ner","task_name":"Named Entity Recognition (NER)"},{"task_slug":"natural-language-understanding","task_name":"Natural Language Understanding"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/cross-lingual-ner-on-ner","task":"Cross-Lingual NER","dataset":"NER","model":"Coupled","rank_in_archive_order":1,"of":2,"metrics":{"F1":"69.2"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-ner-on-ner","task":"Cross-Lingual NER","dataset":"NER","model":"Decoupled","rank_in_archive_order":2,"of":2,"metrics":{"F1":"68.9"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-natural-language-inference-on-4","task":"Cross-Lingual Natural Language Inference","dataset":"XNLI","model":"Decoupled","rank_in_archive_order":2,"of":5,"metrics":{"Accuracy":"71.3"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-natural-language-inference-on-4","task":"Cross-Lingual Natural Language Inference","dataset":"XNLI","model":"Coupled","rank_in_archive_order":3,"of":5,"metrics":{"Accuracy":"70.7"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-question-answering-on-mlqa","task":"Cross-Lingual Question Answering","dataset":"MLQA","model":"Coupled","rank_in_archive_order":2,"of":3,"metrics":{"EM":"37.3","F1":"53.1"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-question-answering-on-mlqa","task":"Cross-Lingual Question Answering","dataset":"MLQA","model":"Decoupled","rank_in_archive_order":3,"of":3,"metrics":{"F1":"53.1"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-question-answering-on-tydiqa","task":"Cross-Lingual Question Answering","dataset":"TyDiQA-GoldP","model":"Decoupled","rank_in_archive_order":8,"of":11,"metrics":{"EM":"42.8","F1":"58.1"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-question-answering-on-xquad","task":"Cross-Lingual Question Answering","dataset":"XQuAD","model":"Decoupled","rank_in_archive_order":2,"of":4,"metrics":{"EM":"46.9","F1":"63.8"},"uses_additional_data":false},{"leaderboard":"/sota/cross-lingual-question-answering-on-xquad","task":"Cross-Lingual Question Answering","dataset":"XQuAD","model":"Coupled","rank_in_archive_order":3,"of":4,"metrics":{"EM":"46.2","F1":"63.2"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.12821","mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}