Task Vector Quantization for Memory-Efficient Model Merging
No official code found. Best implementation: AIM-SKKU/TVQ (8 stars, Python, last commit 2025-08-21).
Abstract
Model merging enables efficient multi-task models by combining task-specific fine-tuned checkpoints. However, storing multiple task-specific checkpoints requires significant memory, limiting scalability and restricting model merging to larger models and diverse tasks.
Show full abstractHide
In this paper, we propose quantizing task vectors (i.e., the difference between pre-trained and fine-tuned checkpoints) instead of quantizing fine-tuned checkpoints. We observe that task vectors exhibit a narrow weight range, enabling lowprecision quantization ($\leq 4$ bit) within existing task vector merging frameworks. To further mitigate quantization errors within ultra-low bit precision (e.g., 2 bit), we introduce Residual Task Vector Quantization, which decomposes the task vector into a base vector and offset component. We allocate bits based on quantization sensitivity, ensuring precision while minimizing error within a memory budget. Experiments on image classification and dense prediction show our method maintains or improves model merging performance while using only 8 % of the memory required for full-precision checkpoints. Our code is available at https://aim-skku.github.io/TVQ/.