Improving Transformer Optimization Through Better Initialization
Xiao Shi Huang*, Felipe Perez*, Jimmy Ba, Maksims Volkovs
1
Improving Transformer Optimization Through Better Initialization - - PowerPoint PPT Presentation
Improving Transformer Optimization Through Better Initialization Xiao Shi Huang*, Felipe Perez*, Jimmy Ba, Maksims Volkovs 1 Transformer in Detail Removing Warmup: T-Fixup Agenda Experimental Results Summary 2
Xiao Shi Huang*, Felipe Perez*, Jimmy Ba, Maksims Volkovs
1
2
3
4
5
6
Error signal decreases with a large input
7
8
grows with layer depth
9
grows with layer depth
10
grows with layer depth
11
Goal: Control the total change on the output
Control output change in residual blocks:
controlled when:
projection matrices
embedding layers
decoder parameters by (9N)-1/4
0.67N-1/4
12
13
14
15
training
16
17
18
19
20
21
22
Contact: Xiao Shi (Gary) Huang gary@layer6.ai
23
[1]: Liu, L. etc. On the variance of the adaptive learning rate and beyond. In ICLR, 2020 [2]: Xiong, R. etc. On layer normalization in the transformer architecture. In ICML, 2020 [3]: Zhang, H. etc. Fixup initialization: residual learning without normalization, In ICLR, 2019 [4]: Wang. Q. etc. Learning deep transformer models for machine translation. In ACL, 2019 [5]: Zhang, B. etc. Improving deep transformer with depth-scaled initialization and merged
, 2019 [6]: Xu. H. etc. Why deep transformers are difficult to converge? From computation order to Lipschitz restricted parameter initialization. In Arxiv