paper-with-me

Papers

VTrans: Accelerating Transformer Compression with Variational Information Bottleneck based Pruning

2024-06-07 · Oshin Dutta, Ritvik Gupta, Sumeet Agarwal

In recent years, there has been a growing emphasis on compressing large pre-trained transformer models for resource-constrained devices. However, traditional pruning methods often leave the embedding layer untouched, leading to model over-parameterization. Additionally, they require extensive compression time with large datasets to maintain performance in pruned models. To address these challenges, we propose VTrans, an iterative pruning framework guided by the Variational Information Bottleneck (VIB) principle. Our method compresses all structural components, including embeddings, attention heads, and layers using VIB-trained masks. This approach retains only essential weights in each layer, ensuring compliance with specified model size or computational constraints. Notably, our method achieves upto 70% more compression than prior state-of-the-art approaches, both task-agnostic and task-specific. We further propose faster variants of our method: Fast-VTrans utilizing only 3% of the data and Faster-VTrans, a time efficient alternative that involves exclusive finetuning of VIB masks, accelerating compression by upto 25 times with minimal performance loss compared to previous methods. Extensive experiments on BERT, ROBERTa, and GPT-2 models substantiate the efficacy of our method. Moreover, our method demonstrates scalability in compressing large models such as LLaMA-2-7B, achieving superior performance compared to previous pruning methods. Additionally, we use attention-based probing to qualitatively assess model redundancy and interpret the efficiency of our approach. Notably, our method considers heads with high attention to special and current tokens in un-pruned model as foremost candidates for pruning while retained heads are observed to attend more to task-critical keywords.

📄 PDF Abstract BibTeX arXiv:2406.05276

Code (0)

등록된 구현이 없습니다.

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 &…
Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
WordPiece 설명 없음
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…
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.
Adam 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

PVTransformer: Point-to-Voxel Transformer for Scalable 3D Object Detection

2024-05-05 · Zhaoqi Leng, Pei Sun, Tong He, Dragomir Anguelov 외

3D object detectors for point clouds often rely on a pooling-based PointNet to encode sparse points into grid-like voxels or pillars. In this paper, we identify that the common PointNet design introduces an information b…

3D Object DetectionObjectobject-detectionObject Detection

ConvTransformer: A Convolutional Transformer Network for Video Frame Synthesis

2020-11-20 · Zhouyong Liu, Shun Luo, Wubin Li, Jingben Lu 외

Deep Convolutional Neural Networks (CNNs) are powerful models that have achieved excellent performance on difficult computer vision tasks. Although CNNs perform well whenever large labeled training samples are available,…

Decoder

MS-TCT: Multi-Scale Temporal ConvTransformer for Action Detection

2021-12-07 · CVPR 2022 1 · Rui Dai, Srijan Das, Kumara Kahatapitiya, Michael S. Ryoo 외

Action detection is an essential and challenging task, especially for densely labelled datasets of untrimmed videos. The temporal relation is complex in those datasets, including challenges like composite action, and co-…

Action DetectionTemporal Action Localization

EEG-ConvTransformer for Single-Trial EEG based Visual Stimuli Classification

2021-07-08 · Subhranil Bagchi, Deepti R. Bathula

Different categories of visual stimuli activate different responses in the human brain. These signals can be captured with EEG for utilization in applications such as Brain-Computer Interface (BCI). However, accurate cla…

Brain Computer InterfaceClassificationDiversityEEG+1

MethConvTransformer: A Deep Learning Framework for Cross-Tissue Alzheimer's Disease Detection

2026-01-01 · Gang Qu, Guanghao Li, Zhongming Zhao arxiv

Alzheimer's disease (AD) is a multifactorial neurodegenerative disorder characterized by progressive cognitive decline and widespread epigenetic dysregulation in the brain. DNA methylation, as a stable yet dynamic epigen…

Alzheimer's Disease Detection