模态膨胀:MLLM推理的能量特性与优化机会
Modality Inflation: Energy Characterization and Optimization Opportunities for MLLM Inference
AI总结:
本文研究了多模态大语言模型推理中的能量特性与优化机会,发现模态膨胀导致额外能耗,并提出阶段级DVFS优化方法以提升能效。
摘要:
多模态大语言模型(MLLMs)是通过整合额外模态构建在纯文本LLM之上,从而实现多模态理解和更广泛的应用。然而,这些新增的模态引入了跨模态之间之前未探索的能量权衡,目前仍缺乏深入理解,因为大多数先前工作集中在纯文本模型上。在本文中,我们研究了模态膨胀,这是效率低下的一大来源,其中多模态输入通过额外的编码阶段和扩展的令牌序列增加推理工作负载。我们通过将流水线分解为视觉编码、prefill和解码阶段,提供了对MLLM推理中能量消耗的首次详细、阶段级分析。使用在NVIDIA A100 GPU上评估的四个代表性MLLMs,我们量化了多模态推理相比纯文本基线所需的额外能量,观察到在相同输入下,不同模型的开销范围从17%到94%不等。我们的结果表明,能量瓶颈在不同模型架构中差异显著,原因要么是计算密集型的视觉编码器,要么是prefill阶段中大视觉令牌序列的下游影响。通过分析GPU电源轨迹,我们进一步揭示了多模态执行期间GPU利用率不足的现象,并展示了输入复杂性导致模型之间显著不同的能量扩展行为。最后,我们证明了阶段级动态电压和频率调整(DVFS)是一种有效的优化方法,仅对性能产生适度影响即可实现节能。这些发现为设计更节能的多模态LLM服务系统提供了实用见解和具体指导。
英文摘要:
Multimodal large language models (MLLMs) are built on text-only LLMs by incorporating additional modalities, enabling multimodal understanding and a broader range of applications. However, these additions introduce a previously unexplored energy trade-off across modalities that remains poorly understood, as most prior work focuses on text-only models. In this paper, we examine modality inflation, a key source of inefficiency in which multimodal inputs increase inference workloads through extra encoding stages and expanded token sequences. We provide the first detailed, stage-level analysis of energy consumption in MLLM inference by breaking the pipeline into vision encoding, prefill, and decoding stages. Using four representative MLLMs evaluated on NVIDIA A100 GPU, we quantify the additional energy required for multimodal inference compared to text-only baselines, observing overheads ranging from 17% to 94% across models for identical inputs. Our results show that energy bottlenecks differ widely across model architectures, stemming either from compute-heavy vision encoders or from the downstream impact of large visual token sequences during prefill. By examining GPU power traces, we further uncover substantial GPU underutilization during multimodal execution and show that input complexity leads to markedly different energy scaling behaviors across models. Finally, we demonstrate that stage-wise dynamic voltage and frequency scaling (DVFS) is an effective optimization, allowing energy savings with only modest performance impact. Together, these findings offer practical insights and concrete guidance for designing more energy-efficient multimodal LLM serving systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。