Modern AI faces a "von Neumann bottleneck": the energy cost of moving data between processors and memory is orders of magnitude higher than the computation itself. Analog In-Memory Computing (AIMC) offers a solution by performing matrix-vector multiplications directly within non-volatile memory (NVM) devices like Phase-Change Memory (PCM) or Resistive RAM (RRAM).
However, unlike digital bits, analog states are governed by messy physics. The primary obstacle to deploying these chips is conductance drift—a phenomenon where the electrical resistance of a memory cell changes over time, causing the "weights" of a neural network to literally decay.
The Physics of Hardware Forgetting
In a PCM device, information is stored by toggling the material between amorphous and crystalline states. The resulting electrical conductance represents a numerical weight. But as Manuel Le Gallo and Abu Sebastian explain in Mixed-Precision Memcomputing, these physical states are not static. Due to atomic structural relaxation, the conductance typically follows a logarithmic decay over time.
This drift acts as a form of "hardware-level forgetting." A model that achieves 99% accuracy immediately after programming might drop to 70% a week later as its weights shift. Research in this field focuses on three strategies to bridge the gap between volatile physics and stable mathematics: Mixed-Precision Architectures, Hardware-Aware Training, and Drift Compensation.
Mixed-Precision Architectures
One way to handle noisy analog hardware is to not rely on it for everything. Manuel Le Gallo and colleagues proposed a mixed-precision architecture that combines the best of both worlds.
In this setup, the heavy lifting—the massive matrix multiplications—is performed in energy-efficient analog crossbars. Meanwhile, a high-precision digital processor manages the weight updates or "refines" the analog output. This hybrid approach allows systems to solve complex linear equations or train deep networks with the accuracy of a supercomputer but at a fraction of the energy cost.
Hardware-Aware Training (HAT)
If we know the hardware will be noisy and prone to drift, we can prepare the neural network for it during the training phase. This is known as Hardware-Aware Training (HAT).
Malte J. Rasch and Charles Mackin have demonstrated that by injecting noise and simulating drift during software training, the resulting models develop an inherent resilience (Nature Communications 2023). The network learns to find "flat minima" in the loss landscape—regions where small shifts in weight values don't significantly change the output. Katie Spoon and Stefano Ambrogio applied these techniques to Transformer models, achieving near-software-equivalent accuracy even after simulating a month of device drift (Frontiers Comput. Neurosci. 2021).
Post-Programming Compensation
Even with robust training, the physical weights will still move. Researchers use two primary methods to correct this after the chip is deployed:
- Drift Compensation Factors: Since drift often follows a predictable logarithmic trend, researchers like An Chen use periodic recalibration. By measuring the drift of a few "reference" cells, the system can calculate a global scaling factor to mathematically boost the signals from the rest of the array, effectively "re-aligning" the weights without the energy cost of re-programming (Nature Communications 2025).
- Optimized Programming: Instead of programming a cell to the exact target weight, Charles Mackin suggests programming it to a state that will drift into the target value over time (Research 2021). This "aiming ahead" strategy significantly extends the useful life of the programmed weights.
Toward Reliable Analog AI
The goal of this research is to move analog computing from a laboratory curiosity to a commercial reality. Recent milestones, such as the HERMES chip—a 64-core analog processor developed by Manuel Le Gallo and team (Nature Electronics 2023)—demonstrate that these mitigation strategies work. By combining hardware-aware training with sophisticated drift compensation, these chips can run complex workloads like ResNets and LSTMs with high throughput and energy efficiency, proving that we can build reliable intelligence on top of inherently unstable physical foundations.