paper-with-me

Papers

ByteTransformer: A High-Performance Transformer Boosted for Variable-Length Inputs

2022-10-06 · Yujia Zhai, Chengquan Jiang, Leyuan Wang, Xiaoying Jia, Shang Zhang, Zizhong Chen, Xin Liu, Yibo Zhu

Transformers have become keystone models in natural language processing over the past decade. They have achieved great popularity in deep learning applications, but the increasing sizes of the parameter spaces required by transformer models generate a commensurate need to accelerate performance. Natural language processing problems are also routinely faced with variable-length sequences, as word counts commonly vary among sentences. Existing deep learning frameworks pad variable-length sequences to a maximal length, which adds significant memory and computational overhead. In this paper, we present ByteTransformer, a high-performance transformer boosted for variable-length inputs. We propose a padding-free algorithm that liberates the entire transformer from redundant computations on zero padded tokens. In addition to algorithmic-level optimization, we provide architecture-aware optimizations for transformer functional modules, especially the performance-critical algorithm Multi-Head Attention (MHA). Experimental results on an NVIDIA A100 GPU with variable-length sequence inputs validate that our fused MHA outperforms PyTorch by 6.13x. The end-to-end performance of ByteTransformer for a forward BERT transformer surpasses state-of-the-art transformer frameworks, such as PyTorch JIT, TensorFlow XLA, Tencent TurboTransformer, Microsoft DeepSpeed-Inference and NVIDIA FasterTransformer, by 87\%, 131\%, 138\%, 74\% and 55\%, respectively. We also demonstrate the general applicability of our optimization methods to other BERT-like models, including ALBERT, DistilBERT, and DeBERTa.

📄 PDF Abstract BibTeX arXiv:2210.03052

Code (1)

bytedance/bytetransformer 공식 구현 pytorch

Tasks

GPUVocal Bursts Intensity Prediction

Methods 이 논문이 사용한 방법론

Attention 설명 없음
How do I file a dispute with Expedia?*DisputeFastService How do I file a dispute with Expedia? To file a dispute with Expedia, call +1(888) (829) (0881) OR +1(805) (330) (4056), or use their Help Center to submit your case with…
LAMB LAMB is a a layerwise adaptive large batch optimization technique. It provides a strategy for adapting the learning rate in large batch settings. LAMB uses…
DeBERTa DeBERTa is a Transformer-based neural language model that aims to improve the…
ALBERT 설명 없음
DistilBERT 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

Boosted Markov Networks for Activity Recognition

2014-08-06 · Truyen Tran, Hung Bui, Svetha Venkatesh

We explore a framework called boosted Markov networks to combine the learning capacity of boosting and the rich modeling semantics of Markov networks and applying the framework for video-based activity recognition. Impor…

Activity Recognitionfeature selectionGeneral Classification

GBDT-MO: Gradient Boosted Decision Trees for Multiple Outputs

2019-09-10 · Zhendong Zhang, Cheolkon Jung

Gradient boosted decision trees (GBDTs) are widely used in machine learning, and the output of current GBDT implementations is a single variable. When there are multiple outputs, GBDT constructs multiple trees correspond…

Grapevine Disease Prediction Using Climate Variables from Multi-Sensor Remote Sensing Imagery via a Transformer Model

2024-06-11 · Weiying Zhao, Natalia Efremova

Early detection and management of grapevine diseases are important in pursuing sustainable viticulture. This paper introduces a novel framework leveraging the TabPFN model to forecast blockwise grapevine diseases using c…

Disease PredictionManagement

Real-time 3D Facial Tracking via Cascaded Compositional Learning

2020-09-02 · Jianwen Lou, Xiaoxu Cai, Junyu Dong, Hui Yu

We propose to learn a cascade of globally-optimized modular boosted ferns (GoMBF) to solve multi-modal facial motion regression for real-time 3D facial tracking from a monocular RGB camera. GoMBF is a deep composition of…

global-optimizationregression

Point Cloud Transformers applied to Collider Physics

2021-02-09 · Vinicius Mikuni, Florencia Canelli

Methods for processing point cloud information have seen a great success in collider physics applications. One recent breakthrough in machine learning is the usage of Transformer networks to learn semantic relationships …

BIG-bench Machine LearningJet Tagging