Mitigating the Impact of Retention Loss on Inference Accuracy in 65 nm Single-Poly Floating-Gate Analog In-Memory Computing
This paper demonstrates through experiments on a 65 nm single-poly floating-gate analog in-memory computing array and system-level simulations that combining circuit-level compensation with algorithmic batch normalization recalibration can recover inference accuracy within 2–4% of the baseline after 60 days of retention loss.
Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a world where your computer doesn't just crunch numbers in a factory, but thinks like a brain, using electricity to mimic the way neurons fire. This is the realm of Analog In-Memory Computing. Instead of shuttling data back and forth between a memory bank and a processor (which is like running to the kitchen every time you need a spoon), this technology stores the "weights" of a neural network—the brain's memories and lessons—right inside the memory cells themselves. It's like having a library where the books can also do the math for you.
However, there's a catch. These memory cells are often made of tiny, floating islands of electric charge. Over time, just like a leaky balloon slowly losing air, these cells naturally lose their charge. This is called retention loss. In a digital world, a little bit of lost charge might just flip a 0 to a 1, which is easy to fix. But in this analog brain, the charge is the answer. If the charge drifts, the math gets wrong, and the computer might mistake a cat for a toaster. Scientists are desperate to figure out how to keep these "leaky" memory brains accurate for months or years, because if they can't, this super-efficient technology will never leave the lab.
This paper dives into that exact problem using a specific type of memory chip built with standard 65 nm technology (a common manufacturing size). The researchers, Mirko Brazzini and his team, wanted to see if they could stop a neural network from forgetting its lessons as the memory cells slowly leaked charge over time. They didn't just guess; they built a real chip, programmed it, and watched what happened over 60 days.
The team discovered that the charge loss happens in two distinct ways, like two different kinds of weather affecting a garden. First, there is a systematic drift, where every cell loses charge in a predictable, average way, shifting the whole garden's growth in one direction. Second, there is stochastic noise, a chaotic, random jitter where some cells lose a little more and some a little less, creating a messy, unpredictable pattern.
To fix this, the team tried two different tools, like a gardener using both a sprinkler and a fertilizer. The first tool was circuit-level compensation. They realized that by simply adjusting the "read voltage" (the pressure used to check the memory), they could counteract the predictable, average drift. It's like turning up the volume on a radio to compensate for a signal that's getting slightly quieter for everyone. The second tool was algorithmic recalibration, specifically something called Batch Normalization Recalibration (BNR). This is a software trick that re-tunes the neural network's internal settings to handle the random, chaotic noise that the voltage adjustment couldn't fix. It's like teaching the brain to ignore the static on the radio and focus on the song.
The results were promising. When they tested their system on two different neural networks (VGG-10 and WideResNet-28-10) trained to recognize images, they found that doing nothing was a disaster; after 60 days, the accuracy plummeted. Using just the voltage adjustment helped, but the network still struggled with the random noise. Using just the software recalibration helped with the noise but missed the big drift. However, when they combined both the voltage adjustment and the software recalibration, the system was a hero. In their simulations, which were calibrated with real experimental data, the network recovered its baseline accuracy to within just 2-4% even after 60 days.
The paper is careful to note that this isn't a magic wand that solves everything forever. The results are based on system-level simulations that were carefully tuned to match real-world measurements from their 65 nm chip. They explicitly show that you cannot rely on just one method; you need both the hardware fix and the software fix to get the job done. While the paper doesn't claim this is a solved problem for all future computers, it demonstrates a clear, practical path forward. It suggests that with these combined techniques, floating-gate analog chips could potentially run reliable, long-term inference tasks for deep learning, keeping their "memories" sharp for at least two months without needing a reset.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.