Mixed-Precision Memcomputing

Manuel Le Gallo, Abu Sebastian, Roland Mathis, Matteo Manica, Tomas Tuma, Costas Bekas, Alessandro Curioni, Evangelos Eleftheriou

Introduction

Traditional computing architectures are increasingly constrained by the physical limits of CMOS scaling and the "von Neumann bottleneck"—the energy-intensive movement of data between processors and memory. In-memory computing (IMC) offers a compelling alternative by performing calculations directly within memory using physical laws like Ohm’s Law. However, IMC typically suffers from low precision due to the inherent noise and variability of nanoscale devices, such as phase-change memory (PCM). This research introduces a "mixed-precision" architecture that overcomes these limitations, achieving high-precision results with the energy efficiency of analog hardware.

System Architecture and Methodology

The proposed hybrid system partitions computational tasks into two distinct domains: a high-precision digital unit and a low-precision analog computational memory unit.

Mixed-precision architecture and iterative refinement algorithm. (a) The system consists of a high-precision digital unit (CPU/DRAM) and a low-precision unit based on memristive arrays. (b) The iterative refinement process uses the low-precision unit as an inner solver for matrix-vector multiplications, while the digital unit calculates residuals to refine the solution.

As shown in the architecture diagram, the "inner solver" utilizes a crossbar array of nearly one million PCM devices to perform the bulk of the work—matrix-vector multiplications—in an analog, inexact manner. Meanwhile, a standard digital CPU calculates the "residual" (the error) of the approximate solution using high-precision arithmetic. This error is fed back into the system to iteratively refine the answer using Krylov subspace methods, such as Conjugate Gradient or GMRES.

This approach follows an "80/20 rule": by offloading the most computationally expensive tasks to efficient analog hardware, a minimal amount of digital correction can pull the final solution to machine precision ($10^{-15}$). The authors even demonstrated that programming a simplified, "banded" version of the matrix into memory—ignoring small off-diagonal values—still allowed the system to converge correctly, further enhancing efficiency.

Implementation and Device Characteristics

The low-precision unit relies on the physical states of PCM devices. While these devices are susceptible to noise and drift, the mixed-precision framework is designed to treat these as tolerable perturbations.

Device-level implementation and performance characteristics. (a) Schematic of a PCM device. (b) Measured current vs. programmed conductance and voltage. (c-d) Comparison of computed vs. exact values and the error distribution for different averaging factors (K).

The implementation uses PCM devices where conductance represents matrix elements. By averaging across $K$ devices, the system can mitigate some of the device-to-device variability. The researchers successfully solved systems of up to 5,000 linear equations using 998,752 PCM devices, demonstrating the scalability of the architecture.

Key Results and Energy Efficiency

The mixed-precision solver was evaluated using synthetic covariance matrices and real-world RNA expression data from The Cancer Genome Atlas (TCGA). Key findings include:

  • High Accuracy: The system achieved a solution error as low as $10^{-15}$, matching the precision of high-end digital supercomputers.
  • Energy Gains: The hybrid approach demonstrated a 6.8x to 24x improvement in energy efficiency compared to traditional high-precision digital implementations.
  • FPGA Comparison: When compared to a dedicated 4-bit FPGA multiplier, the PCM-based crossbar consumed up to 80 times less energy.

Limitations and Future Outlook

Despite its success, several challenges remain for commercialization. Conductance drift in PCM devices requires periodic calibration to maintain accuracy. Furthermore, the peripheral circuitry (ADCs and DACs) currently accounts for a significant portion of the power and area overhead. Future research will focus on optimizing these peripherals and testing the system's robustness against "ill-conditioned" mathematical problems where convergence may be more sensitive to analog noise.

Summary updated

BibTeX
@inproceedings{gallo2018mixed,
  author = {Manuel Le Gallo and Abu Sebastian and Roland Mathis and Matteo Manica and Tomas Tuma and Costas Bekas and Alessandro Curioni and Evangelos Eleftheriou},
  title = {{Mixed-Precision Memcomputing}},
  booktitle = {Nature Electronics},
  year = {2018},
  doi = {10.1038/s41928-018-0054-8},
}
Figure