Modular Transformers: Compressing Transformers into Modularized Layers for Flexible Efficient Inference
원문 초록
Pre-trained Transformer models like T5 and BART have advanced the state of the art on a wide range of text generation tasks. Compressing these models into smaller ones has become critically important for practical use. Common neural network compression techniques such as knowledge distillation or quantization are limited to static compression where the compression ratio is fixed. In this paper, we introduce Modular Transformers, a modularized encoder-decoder framework for flexible sequence-to-sequence model compression. Modular Transformers train modularized layers that have the same function of two or more consecutive layers in the original model via module replacing and knowledge distillation. After training, the modularized layers can be flexibly assembled into sequence-to-sequence models that meet different performance-efficiency trade-offs. Experimental results show that after a single training phase, by simply varying the assembling strategy, Modular Transformers can achieve flexible compression ratios from 1.1x to 6x with little to moderate relative performance drop.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Head Network Distillation: Splitting Distilled Deep Neural Networks for Resource-Constrained Edge Computing Systems
Distilled Split Deep Neural Networks for Edge-Assisted Real-Time Systems
DETRPose: Real-time end-to-end transformer model for multi-person pose estimation
FIMA-Q: Post-Training Quantization for Vision Transformers by Fisher Information Matrix Approximation
RecGPT: A Foundation Model for Sequential Recommendation
LINR-PCGC: Lossless Implicit Neural Representations for Point Cloud Geometry Compression
토론
이 논문과 연결된 포럼 글이 아직 없습니다.