As deep learning models continue to scale, traditional digital hardware faces a severe bottleneck: the "memory wall." Moving millions of weights between separate memory and processing units consumes massive amounts of time and energy. Analog In-Memory Computing (AIMC) offers an elegant alternative. By utilizing crossbar arrays of resistive memory devices—such as memristors, phase-change memory, or charge-trap flash—AIMC performs matrix-vector multiplications directly within the memory substrate itself, leveraging physical laws like Ohm’s law for multiplication and Kirchhoff’s law for addition.
However, translating the mathematical elegance of neural networks into physical hardware introduces a messy reality. The most persistent obstacle to achieving digital-level accuracy during training is asymmetric conductance updates.
The Core Problem: Asymmetric Conductance
In an ideal neural network simulation, updating a weight is perfectly symmetric: if you add a small value $\Delta w$ to a weight and later subtract the exact same value $\Delta w$, you return precisely to your starting point.
Physical analog devices do not behave this way. As documented by Onen et al., the physical mechanisms responsible for increasing a device's conductance (potentiation) and decreasing it (depression) are fundamentally different. For instance, in filamentary memristors, potentiation might involve the gradual drift of ionic vacancies to form a conductive pathway, while depression often involves an abrupt thermal reset that ruptures the filament.
Ideal Symmetric Update:
W -> (+Pulse) -> W + ΔW -> (-Pulse) -> W
Real Asymmetric Update:
W -> (+Pulse) -> W + ΔW_pos -> (-Pulse) -> W + ΔW_pos - ΔW_neg (≠ W)
Because bidirectional updates of equal magnitude do not cancel each other out, the weight fails to return to its original state. Furthermore, this behavior is highly non-linear and state-dependent. As modeled by Georgiou et al. using generalized window functions, the rate of conductance change skews dramatically as the device approaches its physical boundaries. This asymmetry introduces severe errors when attempting high-precision calculations, such as single-step four-quadrant matrix multiplications (Le Gallo et al.).
Why Asymmetry Ruins Optimization
Standard optimization algorithms like Stochastic Gradient Descent (SGD) assume that gradient steps are unbiased. When forced onto asymmetric hardware, this assumption collapses.
The intuition behind this failure was formalized by Chen et al. and Wu et al., who demonstrated that asymmetric response functions introduce a persistent mathematical bias. This bias acts as an unintended implicit penalty—mathematically similar to L2 regularization (weight decay)—that constantly pulls the weights toward a hardware-defined equilibrium point.
If the optimal weight configuration for a task lies far from this physical equilibrium, the network cannot reach it. The optimization process hits a premature performance plateau, causing training to stall regardless of how long it runs. This vulnerability is not unique to standard deep networks; it also plagues alternative architectures like Spiking Neural Networks (Payvand et al.) and local, biologically plausible learning rules (Høier et al.).
Algorithmic Mitigations: Decoupled Gradient Accumulation
To bypass these hardware limitations without waiting for perfect materials, researchers have developed specialized optimization frameworks. The most prominent strategy is decoupled gradient accumulation.
Instead of applying gradient updates directly to the volatile analog devices after every step, the updates are accumulated in a high-precision digital auxiliary matrix. As explained by Lammie et al., this auxiliary matrix acts as a buffer. Only when the accumulated gradient crosses a specific threshold does the system trigger a programming pulse to update the primary analog weights.
[Loss Gradient] ──> [Digital Auxiliary Matrix (Accumulation)]
│
(Threshold Crossed?)
▼
[Analog Crossbar Array (Pulse)]
This decoupling prevents the rapid weight saturation and drift caused by frequent, lopsided physical updates. To facilitate the design of these algorithms, toolkits like the IBM Analog Hardware Acceleration Kit (aihwkit) integrate these non-idealities directly into standard deep learning frameworks, allowing researchers to perform hardware-aware training simulations (Rasch et al.). Furthermore, Chen et al. introduced asymmetry-aware discrete-time modeling, which embeds the hardware's specific drift characteristics directly into the optimization mathematics, allowing the algorithm to anticipate and counteract the bias.
Architectural Mitigations: Multi-Device Synapses
Another way to neutralize asymmetry is through architectural design. If a single device cannot behave symmetrically, a team of devices can be coordinated to balance the load.
Boybat et al. proposed a multi-memristive synapse architecture that uses multiple physical devices to represent a single weight. This system employs independent digital counters for potentiation and depression to regulate the frequency of programming pulses. If a material's reset pulse is significantly stronger than its set pulse, the gatekeeping counters ensure that reset pulses are delivered less frequently, effectively balancing the lopsided nature of the material.
At a larger scale, Rasch et al. utilized two-tile systems to isolate weight updates from the primary weight matrix, preventing the accumulation of errors across the network. Early hardware calibration techniques, such as those introduced by Figueroa et al. for floating-gate memory, laid the groundwork for these modern multi-device compensation strategies.
The Ultimate Goal: Material Symmetry
While algorithmic and architectural workarounds are highly effective, they add digital overhead to a system whose primary appeal is low-power analog efficiency. The ultimate solution lies in engineering materials that are inherently linear and symmetric.
Researchers have explored various material candidates to achieve this goal:
- Charge-Trap Flash (CTF): By optimizing the conductance range of flash memory cells, the authors of Bhatt et al. achieved highly predictable, linear updates that enabled software-equivalent accuracy on standard datasets.
- 2D Materials: Gate-tunable mechanisms using materials like graphene offer precise control over synaptic behavior, smoothing out non-linearities (Shen et al.).
- Electrochemical Memory (ECRAM): In a major step forward, the authors of Chen and Lin demonstrated an open-loop programmable ECRAM array. Because the physical mechanism of ion insertion and extraction in ECRAM is exceptionally symmetrical and linear, the design completely eliminates the need for complex algorithmic feedback loops, proving that proper material design can unlock the full, unencumbered potential of analog AI.
Key Foundational Work
Window functions and sigmoidal behaviour of memristive systems (2016) — contributed 2 concept elements to this direction.
On-Chip Compensation of Device-Mismatch Effects in Analog VLSI Neural Networks (2004) — contributed 1 concept elements to this direction.