单层随机加权Transformer中隐藏着什么?
What's Hidden in a One-layer Randomly Weighted Transformer?
摘要:
我们证明,隐藏在一层随机加权神经网络,存在子网络,可以实现令人印象深刻的性能,而无需修改的权重初始化,在机器翻译任务。为了找到单层随机加权神经网络的子网络,我们将不同的二进制掩码应用于相同的权重矩阵以生成不同的层。隐藏在一层随机加权的Transformer中,我们发现可以在IWSLT 14/WMT 14上实现29.45/17.29 BLEU的子网络。使用固定的预训练嵌入层,之前找到的子网络比IWSLT 14/WMT 14上训练的Transformer small/base小,但可以匹配98%/92%(34.14/25.24 BLEU)的性能。此外,我们证明了在这种情况下更大更深的Transformers的有效性,以及不同初始化方法的影响。我们在https://github.com/sIncerass/one_layer_lottery_ticket上发布了源代码。
英文摘要:
We demonstrate that, hidden within one-layer randomly weighted neural networks, there exist subnetworks that can achieve impressive performance, without ever modifying the weight initializations, on machine translation tasks. To find subnetworks for one-layer randomly weighted neural networks, we apply different binary masks to the same weight matrix to generate different layers. Hidden within a one-layer randomly weighted Transformer, we find that subnetworks that can achieve 29.45/17.29 BLEU on IWSLT14/WMT14. Using a fixed pre-trained embedding layer, the previously found subnetworks are smaller than, but can match 98%/92% (34.14/25.24 BLEU) of the performance of, a trained Transformer small/base on IWSLT14/WMT14. Furthermore, we demonstrate the effectiveness of larger and deeper transformers in this setting, as well as the impact of different initialization methods. We released the source code at https://github.com/sIncerass/one_layer_lottery_ticket.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。