Processing-in-memory for genomics workloads

William Andrew Simon, Leonid Yavits, Konstantina Koliogeorgi, Yann Falevoz, Yoshihiro Shibuya, Dominique Lavenier, Irem Boybat, Klea Zambaku, Berkan Sahin, Mohammad Sadrosadati, Onur Mutlu, Abu Sebastian, Rayan Chikhi, The BioPIM Consortium, Can AlkanarXiv 2025 · DOI

Abstract

The BioPIM Project addresses the "data movement wall" in genomics by integrating computation directly into memory. Through the co-design of bioinformatics algorithms and Processing-in-Memory (PIM) architectures, researchers achieved significant performance gains, including up to 31x speedups and 16.5x improved power efficiency over traditional CPU/GPU systems. This work paves the way for portable, real-time genome analysis in clinical and field settings.

The Genomic Data Movement Wall

Genomic data production is expanding at an exponential rate, outstripping the capabilities of traditional computing hardware. A primary bottleneck in modern bioinformatics is the "data movement wall": the energy and time required to move terabytes of data from storage to central processing units (CPUs or GPUs). This movement often consumes the vast majority of resources in a workflow.

As the field moves toward "P4 medicine" (Predictive, Preventive, Personalized, and Participatory), there is an urgent need for handheld, low-power devices capable of real-time analysis at the point of care. The BioPIM Project aims to eliminate this bottleneck by performing calculations directly within memory chips.

Overview of the genomics pipeline from sequencing to downstream analysis.

PIM Architectures: PnM and PuM

The researchers categorize PIM solutions into two main architectural paradigms:

  1. Processing-near-Memory (PnM): This approach integrates lightweight logic units directly onto the memory die or logic layer (e.g., UPMEM DPUs). It reduces data travel distance while maintaining classical logic structures.
  2. Processing-using-Memory (PuM): A more radical approach that leverages the analog physical properties of memory arrays (like SRAM or Resistive RAM) to perform bitwise operations or dot products directly on the bitlines.

Algorithm-Architecture Co-design

A key insight of the BioPIM Project is that standard bioinformatics algorithms cannot simply be ported to PIM hardware. Effective utilization requires fundamental co-design. For example, the Pair-Hidden Markov Model (Pair-HMM) used in variant calling was modified to operate in the logarithmic domain using fixed-point arithmetic, avoiding the slow floating-point emulation common in current PIM hardware.

Tasks with low data reuse, such as k-mer matching, are ideal for PuM's massive SIMD-like operations. Conversely, complex dynamic programming algorithms like the Wavefront Algorithm (WFA) are better suited for the flexible processing units found in PnM architectures.

Performance and Efficiency Gains

The evaluation of BioPIM across various genomics tasks demonstrated substantial improvements over traditional architectures:

  • Sequence Alignment: The KSW2 library achieved a 9x speedup and 3.7x energy reduction on UPMEM. The Wavefront Algorithm (WFA) saw speedups up to 31x depending on read length.
  • Variant Calling: The GAPiM implementation delivered 2x the speed of CPU SIMD and 3x the speed of FPGA solutions.
  • Basecalling: The CiMBA PuM-based accelerator achieved 2x the throughput of embedded GPUs with 16.5x better power efficiency.
  • Pathogen Classification: An SRAM-based solution (GCOC) achieved 96% sensitivity for bacterial/viral detection while consuming only 1.27 mW.
Basecalling acceleration using neural networks and image processing in PIM architectures.

Challenges and Future Work

Despite these gains, several challenges remain for widespread adoption. Current PnM hardware often lacks native floating-point support, and some tasks, like sorting, still show marginal gains over highly optimized CPU instructions.

To bridge the gap between hardware and end-users, the BioPIM Consortium is developing the BioPIM Library (BPL) and TransPimLib. These software layers aim to provide accessible APIs for bioinformaticians. Furthermore, as the field shifts from LSTM-based models to Transformers for basecalling, architectural adjustments will be necessary to maintain performance leads.

Summary updated

BibTeX
@misc{simon2025processing,
  author = {William Andrew Simon and Leonid Yavits and Konstantina Koliogeorgi and Yann Falevoz and Yoshihiro Shibuya and Dominique Lavenier and Irem Boybat and Klea Zambaku and Berkan Sahin and Mohammad Sadrosadati and Onur Mutlu and Abu Sebastian and Rayan Chikhi and The BioPIM Consortium and Can Alkan},
  title = {{Processing-in-memory for genomics workloads}},
  year = {2025},
  eprint = {2506.00597},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.00597},
}
Figure