arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.21952cs.LGcs.AIcs.ARcs.NEcs.RO
收藏

聚焦会议:加速多模态基础模型的硬件和软件技术

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

eBRAIN Lab, New York University (NYU) Abu Dhabi(eBRAIN实验室,纽约大学(NYU)阿布扎比)

Muhammad Shafique, Abdul Basit, Muhammad Abdullah Hanif, Alberto Marchisio, Rachmad Vidya Wicaksana Putra, Minghao Shao

AI总结:

本文提出了一种多层方法,通过硬件和软件协同设计和优化流程,提升多模态基础模型的效率。方法包括混合精度量化、结构剪枝、推测解码等技术,结合硬件加速器优化计算和内存需求,验证了在医疗和代码生成任务中的有效性。

摘要:

本文提出了一种多层方法,用于高效加速多模态基础模型(MFMs)。该方法结合了transformer块的硬件和软件协同设计,并采用优化流程以减少计算和内存需求。在模型开发过程中,通过微调实现领域特定适应。此外,该方法还结合了硬件和软件技术来优化MFMs。具体而言,它使用层次感知混合精度量化和结构剪枝来压缩transformer块和MLP通道。同时,通过推测解码、模型级联(将查询路由通过小到大级联)以及轻量级自测试来决定何时升级到更大模型,以及序列长度、视觉分辨率与步长的协同优化。为了高效执行模型,数据流基于底层硬件架构进行优化,并通过内存高效的注意力机制满足芯片带宽和延迟预算。为此,采用专用的transformer工作负载硬件加速器,该加速器可通过专家设计或LLM辅助设计方法开发。我们在医疗MFMs和代码生成任务中展示了所提方法的有效性,并进一步扩展到能效更高的脉冲MFMs。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑