paper-with-me

Papers

Optimizing Deeper Transformers on Small Datasets

2020-12-30 · ACL 2021 5 · Peng Xu, Dhruv Kumar, Wei Yang, Wenjie Zi, Keyi Tang, Chenyang Huang, Jackie Chi Kit Cheung, Simon J. D. Prince, Yanshuai Cao

It is a common belief that training deep transformers from scratch requires large datasets. Consequently, for small datasets, people usually use shallow and simple additional layers on top of pre-trained models during fine-tuning. This work shows that this does not always need to be the case: with proper initialization and optimization, the benefits of very deep transformers can carry over to challenging tasks with small datasets, including Text-to-SQL semantic parsing and logical reading comprehension. In particular, we successfully train $48$ layers of transformers, comprising $24$ fine-tuned layers from pre-trained RoBERTa and $24$ relation-aware layers trained from scratch. With fewer training steps and no task-specific pre-training, we obtain the state-of-the-art performance on the challenging cross-domain Text-to-SQL parsing benchmark Spider. We achieve this by deriving a novel Data-dependent Transformer Fixed-update initialization scheme (DT-Fixup), inspired by the prior T-Fixup work. Further error analysis shows that increasing depth can help improve generalization on small datasets for hard cases that require reasoning and structural understanding.

📄 PDF Abstract BibTeX arXiv:2012.15355

Code (1)

BorealisAI/DT-Fixup pytorch

Tasks

Reading ComprehensionSemantic ParsingSQL ParsingText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
T-Fixup T-Fixup is an initialization method for Transformers
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
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…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

Wide Attention Is The Way Forward For Transformers?

2022-10-02 · Jason Ross Brown, Yiren Zhao, Ilia Shumailov, Robert D Mullins

The Transformer is an extremely powerful and prominent deep learning architecture. In this work, we challenge the commonly held belief in deep learning that going deeper is better, and show an alternative design approach…

CPUtext-classificationText Classification

Optimizing Vision Transformers for Medical Image Segmentation

2022-10-14 · Qianying Liu, Chaitanya Kaul, Jun Wang, Christos Anagnostopoulos 외

For medical image semantic segmentation (MISS), Vision Transformers have emerged as strong alternatives to convolutional neural networks thanks to their inherent ability to capture long-range correlations. However, exist…

Domain AdaptationImage SegmentationMedical Image SegmentationSemantic Segmentation

Multiscale Vision Transformers

2021-04-22 · ICCV 2021 10 · Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li 외

We present Multiscale Vision Transformers (MViT) for video and image recognition, by connecting the seminal idea of multiscale feature hierarchies with transformer models. Multiscale Transformers have several channel-res…

Action ClassificationAction Recognitionimage-classificationImage Classification+1

Masked Image Residual Learning for Scaling Deeper Vision Transformers

2023-09-25 · NeurIPS 2023 11 · Guoxi Huang, Hongtao Fu, Adrian G. Bors

Deeper Vision Transformers (ViTs) are more challenging to train. We expose a degradation problem in deeper layers of ViT when using masked image modeling (MIM) for pre-training. To ease the training of deeper ViTs, we in…

Image Classificationobject-detectionObject DetectionSelf-Supervised Image Classification+2

Going deeper with Image Transformers

2021-03-31 · ICCV 2021 10 · Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve 외

Transformers have been recently adapted for large scale image classification, achieving high scores shaking up the long supremacy of convolutional neural networks. However the optimization of image transformers has been …

image-classificationImage ClassificationTransfer Learning