Universal Transformers

Recurrent neural networks (RNNs) sequentially process data by updating their state with each new data point, and have long been the de facto choice for sequence modeling tasks. However, their inherently sequential computation makes them slow to train. Feed-forward and convolutional architectures have recently been shown to achieve superior results on some sequence modeling tasks such as machine translation, with the added advantage that they concurrently process all inputs in the sequence, leading to easy parallelization and faster training times. Despite these successes, however, popular feed-forward sequence models like the Transformer fail to generalize in many simple tasks that recurrent models handle with ease, e.g. copying strings or even simple logical inference when the string or formula lengths exceed those observed at training time. We propose the Universal Transformer (UT), a parallel-in-time self-attentive recurrent sequence model which can be cast as a generalization of the Transformer model and which addresses these issues. UTs combine the parallelizability and global receptive field of feed-forward sequence models like the Transformer with the recurrent inductive bias of RNNs. We also add a dynamic per-position halting mechanism and find that it improves accuracy on several tasks. In contrast to the standard Transformer, under certain assumptions, UTs can be shown to be Turing-complete. Our experiments show that UTs outperform standard Transformers on a wide range of algorithmic and language understanding tasks, including the challenging LAMBADA language modeling task where UTs achieve a new state of the art, and machine translation where UTs achieve a 0.9 BLEU improvement over Transformers on the WMT14 En-De dataset.

Sequence to SequenceLearning with Neural…Sequence to Sequence Learning with Neural NetworksNeural Turing MachinesNeural Turing MachinesDropout: a simple way toprevent neural networks…Dropout: a simple way to prevent neural networks from overfittingWeakly Supervised MemoryNetworksWeakly Supervised Memory NetworksNeural MachineTranslation by Jointly…Neural Machine Translation by Jointly Learning to Align and TranslateAdaptive ComputationTime for Recurrent…Adaptive Computation Time for Recurrent Neural NetworksLayer NormalizationLayer NormalizationNeural GPUs LearnAlgorithmsNeural GPUs Learn AlgorithmsScaling Memory-AugmentedNeural Networks with…Scaling Memory-Augmented Neural Networks with Sparse Reads and WritesAttention Is All YouNeedAttention Is All You NeedWeighted TransformerNetwork for Machine…Weighted Transformer Network for Machine TranslationConvolutional Sequenceto Sequence LearningConvolutional Sequence to Sequence LearningLanguage Modeling withDeep TransformersLanguage Modeling with Deep TransformersLightweight andEfficient Neural Natura…Lightweight and Efficient Neural Natural Language Processing with Quaternion NetworksSelf-Attentive Model forHeadline GenerationSelf-Attentive Model for Headline GenerationGenerative LanguageModeling for Automated…Generative Language Modeling for Automated Theorem ProvingThe Benchmark LotteryThe Benchmark LotterySelf-Attention NetworksCan Process Bounded…Self-Attention Networks Can Process Bounded Hierarchical LanguagesPosition Information inTransformers: An…Position Information in Transformers: An OverviewLinear algebra withtransformersLinear algebra with transformersLessons on ParameterSharing across Layers i…Lessons on Parameter Sharing across Layers in TransformersTowards energy-efficientDeep Learning: An…Towards energy-efficient Deep Learning: An overview of energy-efficient approaches along the Deep Learning LifecycleChain of ThoughtEmpowers Transformers t…Chain of Thought Empowers Transformers to Solve Inherently Serial ProblemsTrained TransformersLearn Linear Models…Trained Transformers Learn Linear Models In-ContextUniversal TransformersUniversal Transformers過去の参考文献中心の論文この論文を引用する論文古い新しい

ノードをクリックするとフォーカスを固定、空白をクリックすると本論文に戻ります。ホバーで一時的にプレビューできます。各ノードのページはタイトルから開けます。