TL;DR
In-Memory Computing (IMC) promises to break the "memory wall" by performing AI math directly inside memory chips, slashing energy use and latency. However, designing both a neural network and the exotic, noisy analog hardware it runs on is a massive, tangled puzzle. This survey reviews Hardware-Aware Neural Architecture Search (HW-NAS) for IMC—automated tools that co-design AI models and IMC hardware—and maps out what works, what is missing, and where the field needs to go next.
What Problem Does This Paper Address?
Traditional computers (von Neumann architectures) waste huge amounts of time and energy shuttling data back and forth between memory and processors. IMC solves this by performing Matrix-Vector Multiplications (MVMs)—the mathematical backbone of deep learning—directly inside memory crossbar arrays using devices like SRAM, RRAM, or Phase-Change Memory (PCM).
While IMC is fast and energy-efficient, it introduces tricky hardware quirks: analog noise, device-to-device variability, conductance drift over time, and power-hungry Analog-to-Digital Converters (ADCs) that can consume up to 90% of a compute element's area and energy. Standard Neural Architecture Search (NAS) ignores these hardware realities, and manual co-design is impossible when the design space exceeds $10^{35}$ combinations. The authors address the need for a comprehensive roadmap of HW-NAS specifically tailored for IMC.
Methods
Because this is a survey paper, it categorizes and compares existing HW-NAS frameworks for IMC rather than proposing a single new algorithm. It breaks the HW-NAS pipeline into four core components:
- Search Space: Frameworks can search over neural network parameters (layers, channels, kernel sizes), model compression (quantization bit-widths, pruning policies), and IMC hardware parameters (crossbar size, ADC/DAC resolution, device precision, buffer size).
- Problem Formulation: Depending on the goal, problems are framed as single-objective (two-stage or constrained optimization) or multi-objective (scalarization or Pareto optimization, such as NSGA-II, to balance accuracy against latency or energy).
- Search Strategies: The main workhorses are Reinforcement Learning (RL), Evolutionary Algorithms (EA), and Differentiable Search (DS, which uses gradient-based optimization over a weight-sharing "super-network"), alongside Bayesian Optimization.
- Hardware Cost Estimation: Evaluating a candidate design's hardware metrics can be done via real-time chip measurements (accurate but slow), Look-Up Tables (LUTs), analytical simulators (like DNN+NeuroSim, MNSIM, AIHWKit, and PUMAsim), or ML-based prediction models.
Datasets
As a review paper, this work does not introduce new datasets. It notes that the surveyed IMC HW-NAS frameworks almost exclusively evaluate Convolutional Neural Networks (CNNs) on standard computer vision datasets—most notably CIFAR-10 (using models like ResNet, VGG, and LeNet). The authors explicitly highlight the absence of standardized HW-NAS benchmarks for IMC (analogous to NAS-Bench-101/201/360 in standard NAS).
Key Insights and Ideas
- Hardware non-idealities change the optimal AI model: Analog noise, thermal/shot noise, and conductance drift don't just degrade accuracy—they actively shift which neural network architecture is optimal for a given chip.
- Joint optimization beats two-stage search: Searching for network and hardware parameters jointly can uncover global optima (for instance, matching convolution kernel sizes to crossbar sizes), whereas two-stage methods risk getting trapped in local optima.
- No "one-stop shop" exists yet: None of the surveyed IMC HW-NAS frameworks can simultaneously perform NAS, quantization, and pruning in a single unified flow.
- System-level mapping is a blind spot: Most frameworks focus on device and circuit parameters while ignoring how data moves to and from off-chip memory (DRAM/cache) or how compilers and Instruction Set Architectures (ISAs) translate software into IMC instructions.
Key Results
Because existing frameworks use different baselines, simulators, and target models, a strict apples-to-apples comparison is not yet possible. However, individual frameworks demonstrate substantial gains:
- AnalogNAS (EA + AIHWKit): Achieved 2% higher accuracy, 4x faster search, and 1.2x better energy efficiency compared to a ResNet32 baseline.
- Gibbon (EA + MNSIM): Delivered 8.4–41.3x search speedup, 10.7% higher accuracy, and 6.48x lower Energy-Delay Product (EDP) compared to prior IMC NAS frameworks.
- FLASH (SHGO + NeuroSim/BookSim): Achieved over 27,729x faster search than RL-based methods by using a training-free accuracy predictor.
- Auto-prune (RL + MNSIM): Reached a 3.3x compression rate, 9x area efficiency, and 12x energy efficiency over an unpruned VGG16 model.
- CF-MESMO: Reduced computation cost by 90.91% compared to NSGA-II when searching for optimal hardware parameters.
Limitations and Future Work
The authors identify several open challenges for the field:
- Unification and Benchmarking: Creating a single framework that combines NAS, pruning, and quantization, backed by standardized, open-source IMC HW-NAS benchmarks for fair comparison.
- Beyond CNNs: Extending HW-NAS for IMC to modern architectures like Transformers and Graph Neural Networks, as well as non-vision tasks (e.g., biomedical or language processing).
- Full-Stack Co-Design: Integrating dataflow mapping, off-chip memory hierarchy optimization, automated compiler/ISA generation, and support for non-standard IMC architectures.
Summary updated