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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
1秒前
独特乘云发布了新的文献求助10
2秒前
2秒前
2秒前
单薄的诗柳完成签到,获得积分20
3秒前
szk完成签到,获得积分10
3秒前
朝露发布了新的文献求助10
4秒前
奋斗的蓝蜗牛完成签到,获得积分10
5秒前
5秒前
5秒前
机械工关注了科研通微信公众号
5秒前
小鲨鱼完成签到,获得积分20
6秒前
Philwen完成签到 ,获得积分10
6秒前
hhhh发布了新的文献求助10
6秒前
6秒前
jtj完成签到 ,获得积分20
6秒前
cocolu应助吖吖采纳,获得10
6秒前
AlvinCZY完成签到,获得积分10
7秒前
7秒前
7秒前
duanhuiyuan应助小程同学采纳,获得10
7秒前
7秒前
8秒前
森予发布了新的文献求助10
8秒前
9秒前
Lin应助陈陈陈采纳,获得10
10秒前
丰知然应助163.com采纳,获得10
10秒前
10秒前
在水一方应助俊逸的翅膀采纳,获得10
10秒前
丸子发布了新的文献求助10
10秒前
林秋沐完成签到 ,获得积分10
10秒前
10秒前
猪猪hero发布了新的文献求助10
11秒前
充电宝应助旺旺采纳,获得10
12秒前
12秒前
12秒前
北北斤完成签到 ,获得积分10
12秒前
12秒前
12秒前
高分求助中
Production Logging: Theoretical and Interpretive Elements 2500
Востребованный временем 2500
Aspects of Babylonian celestial divination : the lunar eclipse tablets of enuma anu enlil 1500
Agaricales of New Zealand 1: Pluteaceae - Entolomataceae 1040
Healthcare Finance: Modern Financial Analysis for Accelerating Biomedical Innovation 1000
Classics in Total Synthesis IV: New Targets, Strategies, Methods 1000
Devlopment of GaN Resonant Cavity LEDs 666
热门求助领域 (近24小时)
化学 医学 材料科学 生物 工程类 有机化学 生物化学 纳米技术 内科学 物理 化学工程 计算机科学 复合材料 基因 遗传学 物理化学 催化作用 细胞生物学 免疫学 电极
热门帖子
关注 科研通微信公众号,转发送积分 3454862
求助须知:如何正确求助?哪些是违规求助? 3050097
关于积分的说明 9020280
捐赠科研通 2738771
什么是DOI,文献DOI怎么找? 1502291
科研通“疑难数据库(出版商)”最低求助积分说明 694453
邀请新用户注册赠送积分活动 693159