アプリケーション・ドリブンなデータセントリック計算機システムの研究
ダイチ フジキ, Daichi Fujiki, 大地 藤木 · KeiO Associated Repository of Academic Resources (Keio University) · 2022
本研究では、グラフ解析及びゲノム解析を対象に、データセントリックな計算機システムを検討・検証した。グラフ解析は大量のイレギュラーなメモリアクセスがある代表的なアプリケーションであり、その中でも、本研究で対象としたグラフニューラルネットワーク(GNN)は複雑なメモリアクセスと些細でない計算強度を必要とするハイブリッド性のあるアプリケーションである。本研究では、複数メモリ階層に渡るインメモリ計算スタックを想定し、グラフのノード特徴処理に関する時間的及び空間的局所性を活用可能とした複数階層で計算可能なメモリシステムを設計した。本研究は、GNNの詳細なプロファイリングを行ったうえ、コアカーネルであるGEMM及びSpMMのマッピング手法及びタスクスケジューリング手法を考案した。特に、局所性を意識したスケジューリング手法が結果に大きく依存することを発見し、機械学習を使用して各メモリでの性能予測を行い、スケジューリングに生かしている。また、PyTorchのトレースを使用したシミュレータを開発し、様々なグラフに対する評価を行い、提案手法が性能を平均4.8倍向上させることを示した。本研究の成果の一部をまとめた論文は2022年度のMicroに採録された。 ゲノム解析に関しては、MinIONというシーケンサを使用したゲノムシークエンシング環境を立ち上げ、機械学習を使用したゲノム分類器の評価を行っている。MinIONの出力であるイオン電流波形を使用してゲノム分類をするとき、AGTCへの変換及びマッピングにデータ移動及び計算コストがかかることに着目し、機械学習を使用し波形から直接分類する方法を考案したうえで、その精度を多様な病原体ゲノムに対して検証している。本研究による段階別モデルにより、従来手法比7%以上の精度向上を達成し、一部では7倍以上の再現率を達成している。本研究はリアルタイム性を要すことから、FPGAやエッジTPUを使用し、考案した機械学習手法を高速化する手法を引き続き検討中である。 In this study, we designed and evaluated data-centric computer systems for graph analysis and genome analysis. Graph analysis is a common application with a large amount of irregular memory accesses, and among them, we target the graph neural network (GNN), a hybrid application requiring complex memory accesses and non-trivial computation. In this study, we envisioned an in-memory computation stack across a memory hierarchy and designed a memory system that can perform computation at multiple hierarchies exploiting the temporal and spatial locality of the node feature processing of a graph. After detailed profiling of the GNN, we devised mapping and task scheduling methods for the primary kernels, GEMM and SpMM. In particular, we found that locality-aware scheduling can make a large improvement to the results, and we used machine learning to predict the performance at each memory, which is then utilized for scheduling. We also developed a simulator using PyTorch traces and evaluated it using various graphs, showing that the proposed method improves performance by an average of 4.8 times. A paper summarizing some of the results of this research has been accepted to Micro in 2022. For genome analysis, we have set up a genome sequencing environment using MinION sequencer and are evaluating a genome classifier using machine learning. We have been developing a method to classify genomes directly from waveforms using machine learning, and are testing the accuracy of this method on a variety of pathogen genomes. The multi-layered model in this study achieved an accuracy improvement of more than 7% accuracy, and in some cases, a recall of more than 7 times higher than that of the conventional method. Since this research requires real-time performance, we are still investigating ways to accelerate the machine learning method using FPGAs and edge TPUs.
Cited by 0 works.