Digital Twin-Enabled Sim-to-Real Reinforcement Learning for Linear and Multi-Level Analog Memristor Programming
Abstract
Developing effective programming strategies for analog memristors remains a key bottleneck for analog in-memory computing because nonlinear and stochastic switching dynamics force optimization to rely on costly, experiment-driven trial-and-error. Here, we present a physics-informed digital twin framework that integrates characterization, modeling, and optimization into a unified workflow, demonstrated on a four-terminal planar TiO2-x memristor. The framework calibrates a physics-based model from experimental data to build a digital twin for large-scale reinforcement learning pretraining; the agent is then fine-tuned on hardware via limited on-device interaction and deployed for multi-level programming. Because simulated episodes run more than four orders of magnitude faster than on-device episodes in wall-clock time, most trial-and-error exploration is shifted from physical hardware to the digital twin. The framework reliably programs linearly spaced conductance levels and automatically discovers policies spanning distinct accuracy-efficiency trade-offs. The most efficient policy achieves 32-level programming in only 45 write pulses on average, approximately 13x fewer than a calibrated feedforward-pulse scheme. Crossbar inference simulations on four image-classification benchmarks, using measured conductance distributions, show that programming precision requirements are strongly task-dependent: simpler tasks tolerate lower placement precision, whereas demanding tasks benefit measurably from tighter control. These results show that reinforcement learning on a physics-informed digital twin can automatically generate programming policies tailored to diverse objectives, providing a practical foundation for autonomous memristor optimization and analog AI hardware deployment.
Create a lesson
Metadata
- Categories
- physics.app-ph, cs.ET
Related papers
End-to-end acoustic channel shaping with twin metasurfaces for stable long-range underwater communication
Shared title terminologyphysics.app-phChen-Yang Li, Hong-Tao Zhou, Yi-Yang Liu et al.
Spatiotemporal programming of shape memory polymers for tunable vibration responses
Shared title terminologyphysics.app-phSamantha Averitt, Jay Sim, Ruike Renee Zhao
Tunable Multi-Frequency-Band Generator and Detector of AC Signals Based on a Spin Hall Device with Two Antiferromagnetic Layers
Shared title terminologyphysics.app-phOleh Shtanko, Volodymyr Prokopenko, Oleksandr Prokopenko
Contrastive local learning in large nonlinear analog circuits
Shared title terminologyphysics.app-phPragyan Pandey, Peter Wu, Deema Alyahya et al.
Reinforcement learning to design near-perfect acoustic absorbers
Shared title terminologyphysics.app-phM. Novelli, R. Arnau, L. M. Garcia-Raffi et al.
The Weight Is in the Reading: Hidden States in Memristors, Memlumors, and Electrochemical Transistors
Shared title terminologyphysics.app-phGonzalo Rivera-Sierra, Heyi Zhang, Daiki Nishioka et al.