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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
15987完成签到,获得积分10
刚刚
刚刚
刚刚
范马勇次郎完成签到,获得积分10
刚刚
如月霖完成签到,获得积分10
1秒前
1秒前
句号完成签到,获得积分10
2秒前
搜集达人应助liu采纳,获得10
2秒前
MG_XSJ完成签到,获得积分10
2秒前
3秒前
Lum发布了新的文献求助10
3秒前
共享精神应助zhangxi采纳,获得10
3秒前
shea发布了新的文献求助10
4秒前
Ade完成签到,获得积分10
4秒前
远_完成签到 ,获得积分10
4秒前
4秒前
领导范儿应助勤恳傲旋采纳,获得10
4秒前
高高的采蓝完成签到 ,获得积分10
4秒前
5秒前
sanyecai发布了新的文献求助10
5秒前
LDDD发布了新的文献求助10
6秒前
6秒前
科研通AI5应助可爱安筠采纳,获得150
6秒前
6秒前
风中白易完成签到,获得积分10
7秒前
机灵的觅山完成签到,获得积分20
7秒前
8秒前
款款完成签到,获得积分10
9秒前
9秒前
小马甲应助sssssssdsds采纳,获得10
10秒前
10秒前
11秒前
11秒前
烟花应助PaoPao采纳,获得10
11秒前
Abdurrahman发布了新的文献求助10
11秒前
12秒前
ux发布了新的文献求助10
12秒前
小蘑菇应助kk采纳,获得10
12秒前
12秒前
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Manipulating the Mouse Embryo: A Laboratory Manual, Fourth Edition 1000
Comparison of spinal anesthesia and general anesthesia in total hip and total knee arthroplasty: a meta-analysis and systematic review 500
INQUIRY-BASED PEDAGOGY TO SUPPORT STEM LEARNING AND 21ST CENTURY SKILLS: PREPARING NEW TEACHERS TO IMPLEMENT PROJECT AND PROBLEM-BASED LEARNING 500
Founding Fathers The Shaping of America 500
Distinct Aggregation Behaviors and Rheological Responses of Two Terminally Functionalized Polyisoprenes with Different Quadruple Hydrogen Bonding Motifs 460
Writing to the Rhythm of Labor Cultural Politics of the Chinese Revolution, 1942–1976 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 催化作用 遗传学 冶金 电极 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 4572570
求助须知:如何正确求助?哪些是违规求助? 3993286
关于积分的说明 12361873
捐赠科研通 3666367
什么是DOI,文献DOI怎么找? 2020752
邀请新用户注册赠送积分活动 1054961
科研通“疑难数据库(出版商)”最低求助积分说明 942355