BTWF:面向高效MLLM的平衡双权重分解方法
Balanced Twin Weight Factorization for Efficient MLLMs
BTWF在共享基权重分解框架下,将输入相同的孪生层合并为一次共享前向计算以降低推理时延,并结合Factor Component Balancing与Block Contribution Balancing提升性能。在6个模型、9个基准上,BTWF在相当计算成本下较SOTA提升2-6%(经微调后提升1-3.5%)。训练阶段允许部分层因子FLOPs高于原模型,测试时无需额外资源即可提升任务表现。
arXiv:2611.21459v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org