paper-with-me

홈 › Papers

BiT: Robustly Binarized Multi-distilled Transformer

2022-05-25 · Zechun Liu, Barlas Oguz, Aasish Pappu, Lin Xiao, Scott Yih, Meng Li, Raghuraman Krishnamoorthi, Yashar Mehdad

Modern pre-trained transformers have rapidly advanced the state-of-the-art in machine learning, but have also grown in parameters and computational complexity, making them increasingly difficult to deploy in resource-constrained environments. Binarization of the weights and activations of the network can significantly alleviate these issues, however, is technically challenging from an optimization perspective. In this work, we identify a series of improvements that enables binary transformers at a much higher accuracy than what was possible previously. These include a two-set binarization scheme, a novel elastic binary activation function with learned parameters, and a method to quantize a network to its limit by successively distilling higher precision models into lower precision students. These approaches allow for the first time, fully binarized transformer models that are at a practical level of accuracy, approaching a full-precision BERT baseline on the GLUE language understanding benchmark within as little as 5.9%. Code and models are available at: https://github.com/facebookresearch/bit.

📄 PDF Abstract BibTeX arXiv:2205.13016

Code (3)

facebookresearch/bit 공식 구현 pytorch
facebookresearch/ternary_binary_transformer pytorch
pwc-1/Paper-8/tree/main/bit mindspore

Tasks

Binarization

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Weight Decay 설명 없음
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…
Adam 설명 없음
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

Robustly Optimized and Distilled Training for Natural Language Understanding

2021-03-16 · Haytham ElFadeel, Stan Peshterliev

In this paper, we explore multi-task learning (MTL) as a second pretraining step to learn enhanced universal language representation for transformer language models. We use the MTL enhanced representation across several …

Knowledge DistillationMachine Reading ComprehensionMulti-Task LearningNatural Language Inference+2

BreakingBED -- Breaking Binary and Efficient Deep Neural Networks by Adversarial Attacks

2021-03-14 · Manoj Rohit Vemparala, Alexander Frickenstein, Nael Fasfous, Lukas Frickenstein 외

Deploying convolutional neural networks (CNNs) for embedded applications presents many challenges in balancing resource-efficiency and task-related accuracy. These two aspects have been well-researched in the field of CN…

Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deployment

2024-07-16 · Yuhao Ji, Chao Fang, Shaobo Ma, Haikuo Shao 외

Transformer models have revolutionized AI tasks, but their large size hinders real-world deployment on resource-constrained and latency-critical edge devices. While binarized Transformers offer a promising solution by si…

QuantizationScheduling

Transformer-based approaches to Sentiment Detection

2023-03-13 · Olumide Ebenezer Ojo, Hoang Thang Ta, Alexander Gelbukh, Hiram Calvo 외

The use of transfer learning methods is largely responsible for the present breakthrough in Natural Learning Processing (NLP) tasks across multiple domains. In order to solve the problem of sentiment detection, we examin…

text-classificationText ClassificationTransfer Learning

BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge

2024-01-22 · Yuhao Ji, Chao Fang, Zhongfeng Wang

Existing binary Transformers are promising in edge deployment due to their compact model size, low computational complexity, and considerable inference accuracy. However, deploying binary Transformers faces challenges on…