Paper Reading AI Learner

PruMUX: Augmenting Data Multiplexing with Model Compression

2023-05-24 04:22:38
Yushan Su, Vishvak Murahari, Karthik Narasimhan, Kai Li

Abstract

As language models increase in size by the day, methods for efficient inference are critical to leveraging their capabilities for various applications. Prior work has investigated techniques like model pruning, knowledge distillation, and data multiplexing to increase model throughput without sacrificing accuracy. In this paper, we combine two such methods -- structured pruning and data multiplexing -- to compound the speedup gains obtained by either method. Our approach, PruMUX, obtains up to 7.5-29.5X throughput improvement over BERT-base model with accuracy threshold from 80% to 74%. We further study various combinations of parameters (such as sparsity and multiplexing factor) in the two techniques to provide a comprehensive analysis of the tradeoff between accuracy and throughput in the resulting models. We then propose Auto-PruMUX, a meta-level model that can predict the high-performance parameters for pruning and multiplexing given a desired accuracy loss budget, providing a practical method to leverage the combination effectively.

Abstract (translated)

随着语言模型规模的日益增加,高效推理方法对于利用其在不同应用程序中的能力至关重要。先前的工作已经研究了模型修剪、知识蒸馏和数据编码等技术,以在不牺牲准确性的情况下增加模型吞吐量。在本文中,我们将这两种方法结合起来——结构化修剪和数据编码,以加倍 either 方法所取得的速度提升。我们的算法是 PruMUX,它在BERT基础模型的准确性阈值从80%降至74%的情况下,取得了7.5-29.5X的吞吐量改进。我们进一步研究了这两种方法中的各种参数组合(如稀疏性和编码因子),以提供对结果模型准确性和吞吐量之间的权衡的全面分析。我们随后提出了 Auto-PruMUX,一个高级别模型,它可以预测修剪和编码高性能参数,给定所需的准确性损失预算,提供一个有效的方法,有效地利用它们的组合。

URL

https://arxiv.org/abs/2305.14706

PDF

https://arxiv.org/pdf/2305.14706.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot