arXiv:2604.21952cs.LGcs.AI2026-04中稿 · the Design, Automa…

软硬协同优化多模态大模型,提升推理效率与能效。

Focus Session: Hardware and Software Techniques for Accelerating Multimodal Foundation Models

论文配图:Focus Session: Hardware and Software Techniques for Accelerating Multimodal Foundation Models
图 1 · 摘自论文原文
  • 通过混合精度量化与结构化剪枝压缩模型,降低计算开销。
  • 采用推测解码与模型级联策略,动态选择模型规模以提速。
  • 专为变压器负载设计加速器,支持医疗与代码生成任务。

本文提出一种多层次的多模态基础模型(MFMs)加速方法,融合软硬件协同设计与优化流水线,显著降低计算与内存需求。在模型开发阶段,通过领域特定微调提升性能。具体包括:基于层次感知的混合精度量化和结构剪枝,优化Transformer块与MLP通道;采用推测解码、小到大模型级联路由机制,结合轻量自检判断是否升级至大模型;同时对序列长度、视觉分辨率与步幅进行联合优化,并实现图级操作融合。为高效执行,数据流依据底层硬件架构优化,结合内存高效的注意力机制,满足片上带宽与延迟预算。使用专用硬件加速器处理Transformer负载,可通过专家设计或大模型辅助设计实现。该方法在医疗多模态模型与代码生成任务中验证有效,并拓展至节能脉冲多模态模型。

原文摘要 · Abstract (English)

This work presents a multi-layered methodology for efficiently accelerating multimodal foundation models (MFMs). It combines hardware and software co-design of transformer blocks with an optimization pipeline that reduces computational and memory requirements. During model development, it employs performance enhancements through fine-tuning for domain-specific adaptation. Our methodology further incorporates hardware and software techniques for optimizing MFMs. Specifically, it employs MFM compression using hierarchy-aware mixed-precision quantization and structural pruning for transformer blocks and MLP channels. It also optimizes operations through speculative decoding, model cascading that routes queries through a small-to-large cascade and uses lightweight self-tests to determine when to escalate to larger models, as well as co-optimization of sequence length, visual resolution & stride, and graph-level operator fusion. To efficiently execute the model, the processing dataflow is optimized based on the underlying hardware architecture together with memory-efficient attention to meet on-chip bandwidth and latency budgets. To support this, a specialized hardware accelerator for the transformer workloads is employed, which can be developed through expert design or an LLM-aided design approach. We demonstrate the effectiveness of the proposed methodology on medical-MFMs and on code generation tasks, and conclude with extensions toward energy-efficient spiking-MFMs.

多模态模型软硬协同模型压缩推理加速

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。