Exploring the Frontiers of Softmax: Provable Optimization, Applications in Diffusion Model, and Beyond
6 May · Yang Cao, Yingyu Liang, Zhenmei Shi +1 · arXiv:2405.03251
The softmax activation function plays a crucial role in the success of large language models (LLMs), particularly in the self-attention mechanism of the widely adopted Transformer architecture. However, the underlying learning dynamics that contribute to the effectiveness of softmax remain largely unexplored. As a step towards better understanding, this paper provides a theoretical study of the optimization and…