XBTorch: A Unified Framework for Modeling and Co-Design of Crossbar-Based Deep Learning Accelerators

Osama Yousuf, Andreu L. Glasmann, Martin Lueker-Boden, Sina Najmaei, Gina C. Adam
1/11/2026
cs.ETcs.AIcs.LG

Official code: ADAM-Lab-GW/xbtorch (7 stars, BSD-3-Clause, last commit 2026-01-13).

Abstract

Emerging memory technologies have gained significant attention as a promising pathway to overcome the limitations of conventional computing architectures in deep learning applications. By enabling computation directly within memory, these technologies - built on nanoscale devices with tunable and nonvolatile conductance - offer the potential to drastically reduce energy consumption and latency compared to traditional von Neumann systems. This paper introduces XBTorch (short for CrossBarTorch), a novel simulation framework that integrates seamlessly with PyTorch and provides specialized tools for accurately and efficiently modeling crossbar-based systems based on emerging memory technologies. Through detailed comparisons and case studies involving hardware-aware training and inference, we demonstrate how XBTorch offers a unified interface for key research areas such as device-level modeling, cross-layer co-design, and inference-time fault tolerance. While exemplar studies utilize ferroelectric field-effect transistor (FeFET) models, the framework remains technology-agnostic - supporting other emerging memories such as resistive RAM (ReRAM), as well as enabling user-defined custom device models. The code is publicly available at: https://github.com/ADAM-Lab-GW/xbtorch

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

XBTorch: A comprehensive crossbar-based deep neural network simulation framework.

70PythonMay 21, 20249 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{yousuf2026xbtorch,
  title  = {XBTorch: A Unified Framework for Modeling and Co-Design of Crossbar-Based Deep Learning Accelerators},
  author = {Osama Yousuf and Andreu L. Glasmann and Martin Lueker-Boden and Sina Najmaei and Gina C. Adam},
  year   = {2026},
  eprint = {2601.07086},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.07086v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.07086.svg)](https://codeofpaper.com/paper/2601.07086)

Discussion