Balanced Twin Weight Factorization for Efficient MLLMs
Bryan A. Plummer, Shan Lu, Keval Doshi, Noranart Vesdapunt, Wei Wang, Jim Thomas, Kah Kuen Fu
Abstract
Weight Factorization (WF) methods aim to reduce a model's latency, memory, or both. These typically decompose a pretrained model into two or more factors that approximate the original model weights with fewer parameters and floating point operations (FLOPs). However, translating fewer FLOPs into reduced latency is challenging for WF methods in practice due to overhead introduced by replacing a single large weight matrix with multiple smaller ones. To address this, we propose Balanced Twin Weight Factorization (BTWF), which uses the unique structure of factorized models to simultaneously lower latency and increase learning capacity. Specifically, BTWF operates in the shared basis WF setting, where two or more layers are decomposed into a shared basis matrix and a layer-specific mixing matrix. If these shared layers have the same input (i.e., are twins), then we need only perform this shared forward pass once, reducing inference time. However, twin layers are often of varying sizes, and methods from prior work tend to favor the larger layer. In contrast, our approach boosts performance by combining Factor Component Balancing (FCB), which ensures every shared member is well represented in the selected factors, with Block Contribution Balancing (BCB), which considers downstream model effects. Further, we also show that an overparameterized BTWF, where some layer's factors result in higher FLOPs than the original during training, can boost task performance without additional resources at test time. Experiments on six models over nine benchmarks show BTWF obtains a 2-6% gain over the state-of-the-art without expensive finetuning (1-3.5% gain with it) at comparable computational costs.
Create a lesson
Metadata
- Categories
- cs.CV, cs.CL
Related papers
LeViT-UNet++: Towards Balanced Fine-Grained Details and Context for Efficient Medical Image Segmentation
Shared title terminologycs.CVGuoping Xu, Jinling Zhu, Liuyue Li
ET: Efficient Transfer from Softmax to Hybrid Attention
Shared title terminologycs.CVGuangfu Guo, Xiaoqian Lu, Linsey Pang et al.
Adapt, Label, Distill: Foundation-Model Supervision for Efficient Object Detection
Shared title terminologycs.CVZhengye Yang, Anthony Wang, Yuyang Li et al.
HyMTS: A Multiscale Tensor Factorization-Based Network for Hyperspectral Image Restoration
Shared title terminologycs.CVLei Xu, Fahad Sohrab, Moncef Gabbouj et al.
TowerBridge: Bridging the Dual-Encoder Modality Gap via Weight-Space Programming
Shared title terminologycs.CVHani Alomari, Md Atabuzzaman, Chris Thomas
On-Policy Codec Distillation for Efficient All-in-One Video Generation
Shared title terminologycs.CVBoyang Wang, Kevin Blackburn-Matzen, Oindrila Saha et al.