paper-with-me

Papers

Simplifying Transformer Blocks

2023-11-03 · Bobby He, Thomas Hofmann

A simple design recipe for deep Transformers is to compose identical building blocks. But standard transformer blocks are far from simple, interweaving attention and MLP sub-blocks with skip connections & normalisation layers in precise arrangements. This complexity leads to brittle architectures, where seemingly minor changes can significantly reduce training speed, or render models untrainable. In this work, we ask to what extent the standard transformer block can be simplified? Combining signal propagation theory and empirical observations, we motivate modifications that allow many block components to be removed with no loss of training speed, including skip connections, projection or value parameters, sequential sub-blocks and normalisation layers. In experiments on both autoregressive decoder-only and BERT encoder-only models, our simplified transformers emulate the per-update training speed and performance of standard transformers, while enjoying 15% faster training throughput, and using 15% fewer parameters.

📄 PDF Abstract BibTeX arXiv:2311.01906

Code (1)

bobby-he/simplified_transformers 공식 구현 pytorch

Tasks

Decoder

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Residual Connection 설명 없음
Weight Decay 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

SGHormer: An Energy-Saving Graph Transformer Driven by Spikes

2024-03-26 · Huizhe Zhang, Jintang Li, Liang Chen, Zibin Zheng

Graph Transformers (GTs) with powerful representation learning ability make a huge success in wide range of graph tasks. However, the costs behind outstanding performances of GTs are higher energy consumption and computa…

Representation Learning

Transformers learn through gradual rank increase

2023-06-12 · NeurIPS 2023 11 · Enric Boix-Adsera, Etai Littwin, Emmanuel Abbe, Samy Bengio 외

We identify incremental learning dynamics in transformers, where the difference between trained and initial weights progressively increases in rank. We rigorously prove this occurs under the simplifying assumptions of di…

Incremental Learning

Swarm-in-Blocks: Simplifying Drone Swarm Programming with Block-Based Language

2025-08-15 · Agnes Bressan de Almeida, Joao Aires Correa Fernandes Marsicano arxiv

Swarm in Blocks, originally developed for CopterHack 2022, is a high-level interface that simplifies drone swarm programming using a block-based language. Building on the Clover platform, this tool enables users to creat…

DARTS: Double Attention Reference-based Transformer for Super-resolution

2023-07-17 · Masoomeh Aslahishahri, Jordan Ubbens, Ian Stavness

We present DARTS, a transformer model for reference-based image super-resolution. DARTS learns joint representations of two image distributions to enhance the content of low-resolution input images through matching corre…

Image Super-ResolutionKnowledge DistillationSSIMSuper-Resolution

Coordinate In and Value Out: Training Flow Transformers in Ambient Space

2024-12-05 · Yuyang Wang, Anurag Ranjan, Josh Susskind, Miguel Angel Bautista

Flow matching models have emerged as a powerful method for generative modeling on domains like images or videos, and even on unstructured data like 3D point clouds. These models are commonly trained in two stages: first,…