MAT: Processing In-Memory Acceleration for Long-Sequence Attention

计算机科学 内存占用 流式处理 管道(软件) 能源消耗 加速度 高效能源利用 并行计算 调度(生产过程) 序列(生物学) 图像处理 实时计算 人工智能 图像(数学) 生物 操作系统 电气工程 物理 工程类 经济 经典力学 程序设计语言 遗传学 运营管理 生态学
作者
Minxuan Zhou,Yunhui Guo,Weihong Xu,Bin Li,Kevin W. Eliceiri,Tajana Rosing
出处
期刊:Design Automation Conference 被引量:1
标识
DOI:10.1109/dac18074.2021.9586212
摘要

Attention-based machine learning is used to model long-term dependencies in sequential data. Processing these models on long sequences can be prohibitively costly because of the large memory consumption. In this work, we propose MAT, a processing in-memory (PIM) framework, to accelerate long-sequence attention models. MAT adopts a memory-efficient processing flow for attention models to process sub-sequences in a pipeline with much smaller memory footprint. MAT utilizes a reuse-driven data layout and an optimal sample scheduling to optimize the performance of PIM attention. We evaluate the efficiency of MAT on two emerging long-sequence tasks including natural language processing and medical image processing. Our experiments show that MAT is $2.7 \times$ faster and $3.4 \times$ more energy efficient than the state-of-the-art PIM acceleration. As compared to TPU and GPU, MAT is $5.1 \times$ and $16.4 \times$ faster while consuming $27.5 \times$ and $41.0 \times$ less energy.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
楚乐倩发布了新的文献求助10
刚刚
木木啊完成签到,获得积分10
刚刚
HiQ应助UltraYuan采纳,获得20
刚刚
领导范儿应助天真怀梦采纳,获得10
刚刚
暴躁的水蜜桃完成签到 ,获得积分10
1秒前
2秒前
3秒前
科研通AI6.3应助欣喜安蕾采纳,获得10
3秒前
FashionBoy应助xiaxianong采纳,获得10
3秒前
3秒前
3秒前
11发布了新的文献求助10
3秒前
Timo干物类发布了新的文献求助10
4秒前
玉洁完成签到,获得积分10
4秒前
4秒前
小马甲应助生动曼冬采纳,获得10
5秒前
晴晴晴发布了新的文献求助10
5秒前
务实天空完成签到,获得积分10
5秒前
6秒前
李爱国应助111222采纳,获得10
6秒前
顾矜应助Magic采纳,获得10
7秒前
Vicky0503发布了新的文献求助10
7秒前
Sky完成签到,获得积分10
7秒前
高强发布了新的文献求助10
7秒前
8秒前
超级的战斗机完成签到,获得积分10
8秒前
wzait07发布了新的文献求助10
8秒前
楚乐倩完成签到,获得积分20
8秒前
李健的粉丝团团长应助vffg采纳,获得10
8秒前
9秒前
勤奋小张发布了新的文献求助10
9秒前
9秒前
洛楠发布了新的文献求助10
9秒前
寂寞的连碧完成签到,获得积分10
10秒前
卡瓦丽咔发布了新的文献求助10
10秒前
知性的初翠完成签到,获得积分10
10秒前
口腔飞飞完成签到 ,获得积分10
11秒前
科研通AI6.4应助辛勤寻凝采纳,获得10
11秒前
在水一方应助细腻初雪采纳,获得10
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Organometallic Chemistry of the Transition Metals 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
Leading Academic-Practice Partnerships in Nursing and Healthcare: A Paradigm for Change 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6437487
求助须知:如何正确求助?哪些是违规求助? 8251936
关于积分的说明 17557101
捐赠科研通 5495747
什么是DOI,文献DOI怎么找? 2898511
邀请新用户注册赠送积分活动 1875316
关于科研通互助平台的介绍 1716303