Taking RNA-RNA Interaction to Machine Peak

IF 5.6 2区 计算机科学 Q1 COMPUTER SCIENCE, THEORY & METHODS
Chiranjeb Mondal;Sanjay Rajopadhye
{"title":"Taking RNA-RNA Interaction to Machine Peak","authors":"Chiranjeb Mondal;Sanjay Rajopadhye","doi":"10.1109/TPDS.2024.3380443","DOIUrl":null,"url":null,"abstract":"RNA-RNA interactions (RRIs) are essential in many biological processes, including gene transcription, translation, and localization. They play a critical role in diseases such as cancer and Alzheimer’s. Algorithms to model RRI typically use dynamic programming and have the complexity \n<inline-formula><tex-math>$\\Theta (N^{3} \\, M^{3})$</tex-math></inline-formula>\n in time and \n<inline-formula><tex-math>$\\Theta (N^{2} \\, M^{2})$</tex-math></inline-formula>\n in space where \n<inline-formula><tex-math>$N$</tex-math></inline-formula>\n and \n<inline-formula><tex-math>$M$</tex-math></inline-formula>\n are the lengths of the two RNA sequences. This makes it both essential and challenging to parallelize them. Previous efforts to do so have been hand-optimized, which is prone to human error and costly to develop and maintain. This paper presents a multi-core CPU parallelization of BPMax, one of the simpler RRI algorithms, generated by a user-guided polyhedral code generation tool, \n<small><monospace><b>AlphaZ</b></monospace></small>\n. The user starts with a mathematical specification of the dynamic programming algorithm and provides the choice of polyhedral program transformations such as schedules, memory-maps, and multi-level tiling. \n<small><monospace><b>AlphaZ</b></monospace></small>\n automatically generates highly optimized code. At the lowest level, we implemented a small hand-optimized register-tiled “matrix max-plus” kernel and integrated it with our tool-generated optimized code. Our final optimized program version is about \n<inline-formula><tex-math>$400\\times$</tex-math></inline-formula>\n faster than the base program, translating to around 312 GFLOPS, more than half of our platform's \n<i>Roofline Machine Peak</i>\n (\n<small><monospace><b>RMP</b></monospace></small>\n) performance. On a single core, we attain 80% of \n<small><monospace><b>RMP</b></monospace></small>\n. The main kernel in the algorithm, whose complexity is \n<inline-formula><tex-math>$\\Theta (N^{3} \\, M^{3})$</tex-math></inline-formula>\n, attains 58 GFLOPS on a single-core and 344 GFLOPS on multi-core (90% and 58% of \n<small><monospace><b>RMP</b></monospace></small>\n, respectively).","PeriodicalId":13257,"journal":{"name":"IEEE Transactions on Parallel and Distributed Systems","volume":null,"pages":null},"PeriodicalIF":5.6000,"publicationDate":"2024-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Parallel and Distributed Systems","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10477681/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

RNA-RNA interactions (RRIs) are essential in many biological processes, including gene transcription, translation, and localization. They play a critical role in diseases such as cancer and Alzheimer’s. Algorithms to model RRI typically use dynamic programming and have the complexity $\Theta (N^{3} \, M^{3})$ in time and $\Theta (N^{2} \, M^{2})$ in space where $N$ and $M$ are the lengths of the two RNA sequences. This makes it both essential and challenging to parallelize them. Previous efforts to do so have been hand-optimized, which is prone to human error and costly to develop and maintain. This paper presents a multi-core CPU parallelization of BPMax, one of the simpler RRI algorithms, generated by a user-guided polyhedral code generation tool, AlphaZ . The user starts with a mathematical specification of the dynamic programming algorithm and provides the choice of polyhedral program transformations such as schedules, memory-maps, and multi-level tiling. AlphaZ automatically generates highly optimized code. At the lowest level, we implemented a small hand-optimized register-tiled “matrix max-plus” kernel and integrated it with our tool-generated optimized code. Our final optimized program version is about $400\times$ faster than the base program, translating to around 312 GFLOPS, more than half of our platform's Roofline Machine Peak ( RMP ) performance. On a single core, we attain 80% of RMP . The main kernel in the algorithm, whose complexity is $\Theta (N^{3} \, M^{3})$ , attains 58 GFLOPS on a single-core and 344 GFLOPS on multi-core (90% and 58% of RMP , respectively).
将 RNA-RNA 相互作用提升到机器峰值
RNA-RNA 相互作用(RRIs)在许多生物过程中都至关重要,包括基因转录、翻译和定位。它们在癌症和阿尔茨海默氏症等疾病中起着至关重要的作用。建立 RRI 模型的算法通常使用动态编程,在时间上具有 $\Theta (N^{3} \, M^{3})$ 的复杂度,在空间上具有 $\Theta (N^{2} \, M^{2})$ 的复杂度,其中 $N$ 和 $M$ 是两个 RNA 序列的长度。因此,将它们并行化既重要又具有挑战性。以往的并行化工作都是手工优化,容易出现人为错误,而且开发和维护成本高昂。本文介绍了一种由用户引导的多面体代码生成工具 AlphaZ 生成的多核 CPU 并行化 BPMax 算法,它是较简单的 RRI 算法之一。用户从动态编程算法的数学规范开始,提供多面体程序变换的选择,如时间表、内存映射和多级平铺。AlphaZ 可自动生成高度优化的代码。在最底层,我们实现了一个小型手工优化的寄存器平铺 "矩阵 max-plus "内核,并将其与工具生成的优化代码集成在一起。我们的最终优化程序版本比基础程序快约 400 倍,约为 312 GFLOPS,超过我们平台 Roofline Machine Peak (RMP) 性能的一半。在单核上,我们达到了 RMP 的 80%。算法中的主内核复杂度为 $\Theta (N^{3} \, M^{3})$,在单核上达到 58 GFLOPS,在多核上达到 344 GFLOPS(分别为 RMP 的 90% 和 58%)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Parallel and Distributed Systems
IEEE Transactions on Parallel and Distributed Systems 工程技术-工程:电子与电气
CiteScore
11.00
自引率
9.40%
发文量
281
审稿时长
5.6 months
期刊介绍: IEEE Transactions on Parallel and Distributed Systems (TPDS) is published monthly. It publishes a range of papers, comments on previously published papers, and survey articles that deal with the parallel and distributed systems research areas of current importance to our readers. Particular areas of interest include, but are not limited to: a) Parallel and distributed algorithms, focusing on topics such as: models of computation; numerical, combinatorial, and data-intensive parallel algorithms, scalability of algorithms and data structures for parallel and distributed systems, communication and synchronization protocols, network algorithms, scheduling, and load balancing. b) Applications of parallel and distributed computing, including computational and data-enabled science and engineering, big data applications, parallel crowd sourcing, large-scale social network analysis, management of big data, cloud and grid computing, scientific and biomedical applications, mobile computing, and cyber-physical systems. c) Parallel and distributed architectures, including architectures for instruction-level and thread-level parallelism; design, analysis, implementation, fault resilience and performance measurements of multiple-processor systems; multicore processors, heterogeneous many-core systems; petascale and exascale systems designs; novel big data architectures; special purpose architectures, including graphics processors, signal processors, network processors, media accelerators, and other special purpose processors and accelerators; impact of technology on architecture; network and interconnect architectures; parallel I/O and storage systems; architecture of the memory hierarchy; power-efficient and green computing architectures; dependable architectures; and performance modeling and evaluation. d) Parallel and distributed software, including parallel and multicore programming languages and compilers, runtime systems, operating systems, Internet computing and web services, resource management including green computing, middleware for grids, clouds, and data centers, libraries, performance modeling and evaluation, parallel programming paradigms, and programming environments and tools.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信