{"title":"将 RNA-RNA 相互作用提升到机器峰值","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":"{\"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}","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}
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).
期刊介绍:
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.