IR2V EC

作者
S. VenkataKeerthy,Rohit Aggarwal,Shalini Jain,Maunendra Sankar Desarkar,Ramakrishna Upadrasta,Y. N. Srikant
出处
期刊:ACM Transactions on Architecture and Code Optimization [Association for Computing Machinery]
卷期号:17 (4): 1-27 被引量:72
标识
DOI:10.1145/3418463
摘要

We propose IR2V EC , a Concise and Scalable encoding infrastructure to represent programs as a distributed embedding in continuous space. This distributed embedding is obtained by combining representation learning methods with flow information to capture the syntax as well as the semantics of the input programs. As our infrastructure is based on the Intermediate Representation (IR) of the source code, obtained embeddings are both language and machine independent. The entities of the IR are modeled as relationships, and their representations are learned to form a seed embedding vocabulary . Using this infrastructure, we propose two incremental encodings: Symbolic and Flow-Aware . Symbolic encodings are obtained from the seed embedding vocabulary , and Flow-Aware encodings are obtained by augmenting the Symbolic encodings with the flow information. We show the effectiveness of our methodology on two optimization tasks (Heterogeneous device mapping and Thread coarsening). Our way of representing the programs enables us to use non-sequential models resulting in orders of magnitude of faster training time. Both the encodings generated by IR2V EC outperform the existing methods in both the tasks, even while using simple machine learning models. In particular, our results improve or match the state-of-the-art speedup in 11/14 benchmark-suites in the device mapping task across two platforms and 53/68 benchmarks in the thread coarsening task across four different platforms. When compared to the other methods, our embeddings are more scalable , is non-data-hungry , and has better Out-Of-Vocabulary (OOV) characteristics .
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
无心的闭月完成签到,获得积分10
1秒前
1秒前
陶醉妙芹完成签到,获得积分10
1秒前
Orange123完成签到,获得积分10
1秒前
2秒前
2秒前
2秒前
传奇3应助超级初夏采纳,获得10
3秒前
LYDDDDD完成签到,获得积分10
3秒前
yyyyyy完成签到,获得积分10
4秒前
上官若男应助张浩采纳,获得10
4秒前
FengXmath完成签到,获得积分10
4秒前
小马甲应助calm采纳,获得10
4秒前
5秒前
5秒前
5秒前
5秒前
5秒前
tutututu发布了新的文献求助10
5秒前
6秒前
江闹闹发布了新的文献求助10
6秒前
欧阳慕山完成签到,获得积分10
6秒前
南山无梅落完成签到 ,获得积分10
6秒前
DW应助青梅煮酒采纳,获得10
7秒前
7秒前
等待geduo完成签到 ,获得积分10
7秒前
guositing完成签到,获得积分10
7秒前
xiaowang发布了新的文献求助10
7秒前
王俊完成签到,获得积分10
7秒前
1168163完成签到,获得积分10
8秒前
8秒前
8秒前
汉堡包应助Mr.Ren采纳,获得10
8秒前
许多完成签到,获得积分10
9秒前
彭于晏应助甜甜耶耶采纳,获得10
9秒前
平淡晓蓝发布了新的文献求助10
9秒前
青年才俊发布了新的文献求助10
9秒前
kxy发布了新的文献求助30
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Rosenblum, Global Change Biology 800
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7779194
求助须知:如何正确求助?哪些是违规求助? 9319472
关于积分的说明 20371752
捐赠科研通 7366612
什么是DOI,文献DOI怎么找? 3319432
关于科研通互助平台的介绍 2467388
邀请新用户注册赠送积分活动 2334917