On the Optimization and Generalization of Multi-head Attention. Deora, P., Ghaderi, R., Taheri, H., & Thrampoulidis, C.
On the Optimization and Generalization of Multi-head Attention [link]Paper  abstract   bibtex   
The training and generalization dynamics of the Transformer’s core mechanism, namely the Attention mechanism, remain under-explored. Besides, existing analyses primarily focus on singlehead attention. Inspired by the demonstrated benefits of overparameterization when training fullyconnected networks, we investigate the potential optimization and generalization advantages of using multiple attention heads. Towards this goal, we derive convergence and generalization guarantees for gradient-descent training of a single-layer multi-head self-attention model, under a suitable realizability condition on the data. We then establish primitive conditions on the initialization that ensure realizability holds. Finally, we demonstrate that these conditions are satisfied for a simple tokenized-mixture model. We expect the analysis can be extended to various data-model and architecture variations.
@misc{deora-arxiv2023,
	title = {On the Optimization and Generalization of Multi-head Attention},
	url = {http://arxiv.org/abs/2310.12680},
	abstract = {The training and generalization dynamics of the Transformer’s core mechanism, namely the Attention mechanism, remain under-explored. Besides, existing analyses primarily focus on singlehead attention. Inspired by the demonstrated benefits of overparameterization when training fullyconnected networks, we investigate the potential optimization and generalization advantages of using multiple attention heads. Towards this goal, we derive convergence and generalization guarantees for gradient-descent training of a single-layer multi-head self-attention model, under a suitable realizability condition on the data. We then establish primitive conditions on the initialization that ensure realizability holds. Finally, we demonstrate that these conditions are satisfied for a simple tokenized-mixture model. We expect the analysis can be extended to various data-model and architecture variations.},
	number = {{arXiv}:2310.12680},
	publisher = {{arXiv}},
	author = {Deora, Puneesh and Ghaderi, Rouzbeh and Taheri, Hossein and Thrampoulidis, Christos},
	urldate = {2024-08-30},
	date = {2023-10-19},
	langid = {english},
	eprinttype = {arxiv},
	eprint = {2310.12680 [cs, math, stat]},
	keywords = {Computer Science - Machine Learning, Mathematics - Optimization and Control, Statistics - Machine Learning},
	file = {Deora et al. - 2023 - On the Optimization and Generalization of Multi-he.pdf:/Users/ukreddy/Zotero/storage/89CJM5AR/Deora et al. - 2023 - On the Optimization and Generalization of Multi-he.pdf:application/pdf},
}

Downloads: 0