PANDA: Processing-in-MRAM Accelerated De Bruijn Graph based DNA Assembly

Shaahin Angizi, Naima Ahmed Fahmi, Wei Zhang, Deliang FanarXiv 2020

Abstract

PANDA is a specialized Processing-in-Memory (PIM) platform designed to accelerate de novo DNA assembly using Spin-Orbit Torque MRAM (SOT-MRAM). By redesigning memory sense amplifiers to perform complex logic operations in-situ, PANDA mitigates the Von-Neumann bottleneck. Experimental results demonstrate an 18x speedup and 11x power reduction compared to traditional CPU-based architectures, significantly outperforming existing PIM solutions.

Introduction: The Challenge of DNA Assembly

Modern DNA sequencing generates millions of short, overlapping fragments. Reconstructing the original genome from these "short reads"—a process known as de novo assembly—is a massive computational challenge. The primary bottleneck in this process is the "Von-Neumann wall": the constant movement of data between the CPU and RAM. In standard de Bruijn graph-based assemblers, over 80% of execution time is consumed by hashmap creation and graph traversal.

DNA assembly pipeline and computational bottlenecks.

The PANDA Architecture: In-Memory Computing with SOT-MRAM

PANDA (Processing-in-MRAM Accelerated De Bruijn Graph based DNA Assembly) addresses these bottlenecks by performing computations directly within the memory. The platform utilizes Spin-Orbit Torque MRAM (SOT-MRAM), which offers superior speed and endurance compared to traditional non-volatile memories like STT-MRAM.

The core innovation of PANDA lies in its Reconfigurable Sense Amplifiers (SA). Unlike standard memory, PANDA's SAs are modified to perform 2-input and 3-input logic operations (AND, OR, XOR, and Majority) directly on the bit-lines. This allows for a "single-cycle" adder, enabling complex arithmetic and comparisons without data leaving the memory array. This is a significant leap over previous PIM designs that required 7+ cycles for an XOR operation.

PANDA architecture featuring reconfigurable sense amplifiers for in-memory logic.

Algorithmic and Hardware Co-Design

PANDA's efficiency stems from a tight integration between hardware and software. The de Bruijn graph assembly process is modularized into three PIM-optimized stages:

  1. Hash Table Creation: Counting unique "k-mers" (short DNA sequences).
  2. Graph Construction: Establishing connections between sequences.
  3. Graph Traversal: Identifying the Eulerian path to reconstruct the genome.

To maximize parallelism, PANDA employs a correlated data mapping scheme. This partitioning ensures that related DNA sequences are stored within the same memory sub-array, minimizing inter-array communication and maximizing local processing speed.

Performance Evaluation

The researchers evaluated PANDA using the Trinity Sample Genome Bank, testing across various k-mer lengths ($k=22$ to $32$). Benchmarks against a Quad-Core Intel i7-7700 CPU and other PIM technologies (STT-MRAM, ReRAM, and DRAM-based Ambit) revealed significant gains:

  • Massive Speedup: PANDA is approximately 18x faster than a high-end CPU for the assembly task.
  • Energy Efficiency: Power consumption is reduced by ~11x compared to the CPU.
  • Breaking the Memory Wall: The "Memory Bottleneck Ratio" (the time the system spends waiting for data) dropped from 65% on a CPU to less than 17% on PANDA.
  • PIM Comparison: PANDA outperforms other recent PIM platforms by 2x to 4x because its specialized sense amplifiers handle the specific logic of DNA assembly much more efficiently.

Conclusion and Future Directions

PANDA represents a significant leap in genomic computing by breaking the memory wall. While the current design introduces a 30% area overhead and requires further software stack development for seamless integration, its performance gains are transformative. Future work will focus on accelerating the "scaffolding" stage of assembly—using long-range information to bridge gaps between reconstructed chunks—and refining the instruction set architecture (ISA) for broader bioinformatic applications.

Summary updated

BibTeX
@misc{angizi2020panda,
  author = {Shaahin Angizi and Naima Ahmed Fahmi and Wei Zhang and Deliang Fan},
  title = {{PANDA: Processing-in-MRAM Accelerated De Bruijn Graph based DNA Assembly}},
  year = {2020},
  eprint = {2008.06177},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.06177},
}
Figure