Star-Transformer
Qipeng Guo Email: Xipeng Qiu Thanks: Corresponding Author. Email: Pengfei Liu Email: Yunfan Shao Email: Xiangyang Xue Email: Affiliation: Shanghai Key Laboratory of Intelligent Information Processing, Fudan University Affiliation: School of Computer Science, Fudan University Affiliation: New York University Zheng Zhang Thanks: work done at NYU Shanghai, now with AWS Shanghai AI Lab. Email:
Abstract
Although Transformer has achieved great successes on many NLP tasks, its heavy structure with fully-connected attention connections leads to dependencies on large training data. In this paper, we present Star-Transformer, a lightweight alternative by careful sparsification. To reduce model complexity, we replace the fully-connected structure with a star-shaped topology, in which every two non-adjacent nodes are connected through a shared relay node. Thus, complexity is reduced from quadratic to linear, while preserving the capacity to capture both local composition and long-range dependency. The experiments on four tasks (22 datasets) show that Star-Transformer achieved significant improvements against the standard Transformer for the modestly sized datasets.
原文 arXiv:1902.09113;中英对照 + 大白话阅读 https://aha.fim.ai/paper/1902.09113v3