In AI research, the optimization of Large Language Models (LLMs) remains a significant challenge, crucial for advancing the field's practical applications and sustainability. Building upon the foundational work of Professor Song Han's lab at MIT, this paper introduces a novel approach in developing Mini-GPTs via contextual pruning. Our methodology strategically prunes the computational architecture of traditional LLMs, like Phi-1.5, focusing on retaining core functionalities while drastically reducing model sizes. We employ the technique across diverse and complex datasets, including US law, Medical Q&A, Skyrim dialogue, English-Taiwanese translation, and Economics articles. The results underscore the efficiency and effectiveness of contextual pruning, not merely as a theoretical concept but as a practical tool in developing domain-specific, resource-efficient LLMs. Contextual pruning is a promising method for building domain-specific LLMs, and this research is a building block towards future development with more hardware compute, refined fine-tuning, and quantization.
GPTSee: Enhancing Moment Retrieval and Highlight Detection via Description-Based Similarity Features
School of Physics and Electronics, Hubei Normal University(湖北师范大学物理与电子科学学院);School of Electronic Science and Engineering, Nanjing University(南京大学电子科学与工程学院)
POP: Online Structural Pruning Enables Efficient Inference of Large Foundation Models
Korea Advanced Institute of Science and Technology(韩国科学技术院);University of Tokyo, Tokyo, Japan(东京大学);Tokyo Institute of Technology, Tokyo, Japan(东京技术大学)
Iterative Structured Pruning for Large Language Models with Multi-Domain Calibration
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学先进交叉学科学院)
Frustratingly Easy Task-aware Pruning for Large Language Models
Zhongguancun Institute of Artificial Intelligence(中关村人工智能研究院);University of Science and Technology of China(中国科学技术大学);Xi’an Jiaotong University(西安交通大学)
SparseSwaps: Tractable LLM Pruning Mask Refinement at Scale
Department for AI in Society, Science, and Technology, Zuse Institute Berlin, Germany(人工智能与社会、科学与技术部门,柏林Zuse研究所,德国);Institute of Mathematics, Technische Universität Berlin, Germany(数学研究所,柏林技术大学,德国)
Towards Robust Calibration Dataset for Domain-General Mixture of Experts Pruning
Institute of Information Science, Academia Sinica(中央研究院資訊科學研究所);National Taiwan University of Science and Technology(國立臺灣科技大學);AI Research Center, Hon Hai Research Institute(鴻海研究院人工智能研究中心)