1bit-Merging: Dynamic Quantized Merging for Large Language Models
Liu, Shuqi, Wu, Han, He, Bowei, Liu, Zehua, Han, Xiongwei, Yuan, Mingxuan, Song, Linqi
–arXiv.org Artificial Intelligence
Recent advances in large language models have led to specialized models excelling in specific domains, creating a need for efficient model merging techniques. While traditional merging approaches combine parameters into a single static model, they often compromise task-specific performance. However, task-specific routing methods maintain accuracy but introduce substantial storage overhead. We present \texttt{1bit}-Merging, a novel framework that integrates task-specific routing with 1-bit quantized task vectors to balance performance and storage efficiency. Our approach leverages the observation that different task-specific models store knowledge in distinct layers-chat models primarily in attention layers and math/code models in MLP layers-enabling targeted compression strategies. Through extensive experiments with LLaMA2 and Mistral model families across chat, mathematical reasoning, and code generation tasks, we demonstrate that \texttt{1bit}-Merging achieves comparable or superior performance to existing methods while significantly reducing storage requirements. Our framework offers a practical solution for combining specialized models while maintaining their individual strengths and addressing the storage challenges of current approaches.
arXiv.org Artificial Intelligence
Feb-15-2025
- Country:
- Africa > Rwanda
- Asia > China
- Hong Kong (0.04)
- Europe > Austria
- Vienna (0.14)
- North America > United States
- Florida > Miami-Dade County
- Miami (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Maryland > Baltimore (0.04)
- Florida > Miami-Dade County
- Genre:
- Research Report (0.64)
- Technology: