ERGo: Energy-Efficient Hybrid Graph Neural Network Training on Processing-In-Memory Architectures

Pratyush Dhingra, Chibuike E. Ugwu, Janardhan Rao Doppa, Partha Pratim PandearXiv 2026 · DOI · arXiv

TL;DR

ERGo is a hybrid training framework that significantly boosts the energy efficiency and hardware longevity of Graph Neural Network (GNN) training on Processing-In-Memory (PIM) architectures. By automatically transitioning from full-parameter training to a parameter-efficient phase (using LoRA) at a mathematically optimized "sweet spot," ERGo achieves up to 3.15x speedup and a 33x improvement in hardware lifetime with negligible impact on accuracy.

What Problem Does This Paper Address?

Training Graph Neural Networks (GNNs) is a resource-heavy task involving two main steps: aggregation (gathering data from neighbor nodes) and combination (updating node features). Traditional hardware like CPUs and GPUs often hit a "memory wall," where the processor spends more time waiting for data from off-chip memory than actually computing.

Processing-In-Memory (PIM) architectures aim to solve this by performing calculations directly where the data lives. However, PIM faces its own hurdles:

  1. The Off-Chip Bottleneck: Even in PIM, storing intermediate data for weight updates often exceeds on-chip capacity, forcing expensive trips to external DRAM.
  2. The Endurance Crisis: Many PIM designs use Non-Volatile Memory (NVM), which is energy-efficient but physically wears out after too many write operations (weight updates).

The authors sought a way to train GNNs that minimizes these memory writes and off-chip accesses without sacrificing the model's final predictive power.

Methods

The core of ERGo is a two-phase hybrid training strategy:

  1. Full-Parameter Phase: The model trains normally for the first few epochs (typically 5-10% of the total). This allows the GNN to learn the broad, high-level features of the graph.
  2. Parameter-Efficient Phase (LoRA): ERGo then "freezes" the main weights and switches to Low-Rank Adaptation (LoRA). Instead of updating a massive weight matrix, it updates two much smaller matrices ($A$ and $B$). This drastically reduces the number of trainable parameters and the size of the gradients that need to be stored.
Figure 3: High-level overview of the end-to-end GNN training process with ERGo.

The "Secret Sauce": Conformal Prediction (CP)

The trickiest part is knowing when to switch phases. Switch too early, and accuracy drops; switch too late, and you waste energy. ERGo uses Conformal Prediction, a statistical framework that provides provable guarantees. It trains a regression model to predict the optimal switching point and uses CP to set a "safety margin" (e.g., 95% confidence) to ensure the transition doesn't hurt accuracy.

Hardware Mapping

ERGo is designed for heterogeneous PIM architectures. It maps the frozen, high-density weights to NVM (like ReRAM) and the frequently updated LoRA parameters to high-endurance SRAM. This prevents the NVM from wearing out while keeping the most active data on-chip.

Figure 4: Parameter-efficient phase training pipeline presenting both forward and back-propagation computation. The gradients are

Datasets

The authors evaluated ERGo across a diverse set of graph datasets and GNN models:

  • Datasets: PPI (protein-protein interaction), Reddit, Ogbl-citation2, Cora, and Amazon. These represent a wide range of graph sizes and complexities.
  • Models: Graph Convolutional Networks (GCN), Graph Attention Networks (GAT), and SAGE.

Key Insights and Ideas

  • Non-Linear Learning Gains: GNN accuracy doesn't improve linearly. Most of the "heavy lifting" happens in the first few epochs. ERGo exploits this by switching to a lighter training mode once the model has stabilized.
  • PIM-LoRA Synergy: While LoRA is popular for fine-tuning Large Language Models on GPUs, the authors show it is uniquely powerful for training GNNs from scratch on PIM. In PIM, frozen weights stay on-chip, whereas on a GPU, they are often still fetched from off-chip memory, negating much of the benefit.
  • Reliability as a First-Class Citizen: By using Conformal Prediction, the authors move away from "gut feeling" heuristics for hyperparameter tuning, providing a mathematically grounded way to balance efficiency and accuracy.

Key Results

  • Speed & Energy: Compared to standard full-parameter training on PIM, ERGo achieved up to 3.15x speedup and 10.5x better energy efficiency.
  • Hardware Longevity: In heterogeneous NVM-SRAM setups, ERGo improved the lifetime of NVM cells by up to 33x because it stops writing to them once the LoRA phase begins.
  • Accuracy: The average accuracy loss across all datasets was a mere 0.38%, well within the user-specified 1% margin.
  • Memory Efficiency: ERGo reduced off-chip DRAM access by 5.7x on average.

Limitations and Future Work

  • Offline Training: The Conformal Prediction regressor requires an initial "one-time" offline training phase on representative datasets. While this overhead is negligible during deployment, it does require a pre-existing pool of training data.
  • Fixed Rank: The current implementation uses a fixed rank ($r$) for LoRA. Future work could explore dynamic rank adjustment to further squeeze out efficiency.
  • Scaling: While tested on large datasets like Ogbl, the extreme scaling limits (e.g., trillion-edge graphs) remain an open area for exploration in the context of PIM hardware constraints.

Summary updated

Abstract

Processing-in-memory (PIM) has been proposed as an alternative computing paradigm for training Deep Neural Networks, including Graph Neural Networks (GNNs). Despite these advancements, training GNN workloads on PIM devices necessitates off-chip memory access. This off-chip access is expensive in terms of performance and energy, thereby impacting the overall energy efficiency of the training process on PIM platforms. In this paper, we propose a novel hybrid training framework called ERGo that automatically switches from a full-parameter phase to a parameter-efficient phase during the training process with negligible loss in predictive accuracy. The parameter-efficient phase employs low-rank representations of GNN weights, effectively reducing the number of trainable parameters. This helps in reducing the off-chip access during the end-to-end training process on PIM architectures, leading to notable improvements in both performance and energy efficiency. ERGo outperforms the conventional full-parameter GNN training on a PIM-based platform by up to 3.15x in speedup and enhances energy efficiency by 10.5x. Furthermore, ERGo offers additional advantages when utilized on heterogeneous architectures incorporating non-volatile memory (NVM) and static random-access memory (SRAM). Training on the heterogeneous NVM-SRAM architecture typically utilizes NVM for the forward-pass and SRAM for the backward-pass. However, NVM cells suffer from low device endurance and repeated write operations due to weight updates can lead to poor lifetime. ERGo improves the lifetime of NVM devices by freezing the weights and preventing weight updates in the parameter-efficient phase. Experimental results demonstrate that ERGo improves the lifetime of heterogeneous NVM-SRAM architecture by up to 33x in comparison to full-parameter implementation.
BibTeX
@misc{dhingra2026ergo,
  author = {Pratyush Dhingra and Chibuike E. Ugwu and Janardhan Rao Doppa and Partha Pratim Pande},
  title = {{ERGo: Energy-Efficient Hybrid Graph Neural Network Training on Processing-In-Memory Architectures}},
  year = {2026},
  eprint = {2611.17478},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17478},
}
Figure