English

Mini-GPTs: Efficient Large Language Models through Contextual Pruning

Computation and Language 2023-12-21 v1 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2312.12682,
  title  = {Mini-GPTs: Efficient Large Language Models through Contextual Pruning},
  author = {Tim Valicenti and Justice Vidal and Ritik Patnaik},
  journal= {arXiv preprint arXiv:2312.12682},
  year   = {2023}
}

Comments

7 pages, 4 figures, Neurips 2023 styling

R2 v1 2026-06-28T13:57:02.762Z