paper-with-me

Papers

Efficient Transformer-based Large Scale Language Representations using Hardware-friendly Block Structured Pruning

2020-09-17 · Findings of the Association for Computational Linguistics 2020 · Bingbing Li, Zhenglun Kong, Tianyun Zhang, Ji Li, Zhengang Li, Hang Liu, Caiwen Ding

Pre-trained large-scale language models have increasingly demonstrated high accuracy on many natural language processing (NLP) tasks. However, the limited weight storage and computational speed on hardware platforms have impeded the popularity of pre-trained models, especially in the era of edge computing. In this work, we propose an efficient transformer-based large-scale language representation using hardware-friendly block structure pruning. We incorporate the reweighted group Lasso into block-structured pruning for optimization. Besides the significantly reduced weight storage and computation, the proposed approach achieves high compression rates. Experimental results on different models (BERT, RoBERTa, and DistilBERT) on the General Language Understanding Evaluation (GLUE) benchmark tasks show that we achieve up to 5.0x with zero or minor accuracy degradation on certain task(s). Our proposed method is also orthogonal to existing compact pre-trained language models such as DistilBERT using knowledge distillation, since a further 1.79x average compression rate can be achieved on top of DistilBERT with zero or minor accuracy degradation. It is suitable to deploy the final compressed model on resource-constrained edge devices.

📄 PDF Abstract BibTeX arXiv:2009.08065

Code (0)

등록된 구현이 없습니다.

Tasks

Edge-computingKnowledge Distillation

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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…
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.
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…

Similar Papers 제목 키워드 기반

Distributed Representations Enable Robust Multi-Timescale Symbolic Computation in Neuromorphic Hardware

2024-05-02 · Madison Cotteret, Hugh Greatorex, Alpha Renner, Junren Chen 외

Programming recurrent spiking neural networks (RSNNs) to robustly perform multi-timescale computation remains a difficult challenge. To address this, we describe a single-shot weight learning scheme to embed robust multi…

Memory and Bandwidth are All You Need for Fully Sharded Data Parallel

2025-03-04 · Jiangtao Wang, Jan Ebert, Oleg Filatov, Stefan Kesselheim

Transformer models have revolutionized a wide spectrum of disciplines, especially in language processing. The recent success has proven that model size scalability is crucial for achieving superior performance metrics. H…

AllGPU

Multi-scale Transformer Language Models

2020-05-01 · Sandeep Subramanian, Ronan Collobert, Marc'Aurelio Ranzato, Y-Lan Boureau

We investigate multi-scale transformer language models that learn representations of text at multiple scales, and present three different architectures that have an inductive bias to handle the hierarchical nature of lan…

Inductive BiasLanguage ModelingLanguage Modelling

HAT: Hardware-Aware Transformers for Efficient Natural Language Processing

2020-05-28 · ACL 2020 6 · Hanrui Wang, Zhanghao Wu, Zhijian Liu, Han Cai 외

Transformers are ubiquitous in Natural Language Processing (NLP) tasks, but they are difficult to be deployed on hardware due to the intensive computation. To enable low-latency inference on resource-constrained hardware…

CPUDecoderGPUMachine Translation+3

SchGen: PCB Schematic Generation with Semantic-Grounded Code Representations

2026-05-28 · Qinpei Luo, Ruichun Ma, Xinyu Zhang, Lili Qiu arxiv

Printed circuit board (PCB) schematic design defines nearly all electronic hardware, but it remains manual and expertise-intensive. While generative AI has advanced digital and analog IC design, PCB schematic generation …