SAGA: Synthesis Augmentation with Genetic Algorithms for In-Memory Sequence Optimization
Andey Robins, Mike Borowczak
TL;DR
The paper tackles the data-movement bottleneck of von-Neumann architectures by leveraging processing-in-memory with MAGIC, reframing operation sequencing as a topological-sort permutation problem. It introduces SAGA, a genetic-algorithm–based synthesis augmentation that operates after netlist transcription to minimize the in-memory footprint and improve overall efficiency. Across 10 benchmark MAGIC circuits, SAGA achieves up to 52.8% memory-footprint reductions, up to 22.4% cycle improvements, and up to 128% gains in efficiency, with an average memory-cell reduction of about 32% and average efficiency improvement around 27.5%. The work demonstrates a viable, open-source CAD workflow where machine-learning–inspired optimization augments traditional design steps to enhance PIM performance, highlighting substantial practical impact for in-memory circuit evaluation.
Abstract
The von-Neumann architecture has a bottleneck which limits the speed at which data can be made available for computation. To combat this problem, novel paradigms for computing are being developed. One such paradigm, known as in-memory computing, interleaves computation with the storage of data within the same circuits. MAGIC, or Memristor Aided Logic, is an approach which uses memory circuits which physically perform computation through write operations to memory. Sequencing these operations is a computationally difficult problem which is directly correlated with the cost of solutions using MAGIC based in-memory computation. SAGA models the execution sequences as a topological sorting problem which makes the optimization well-suited for genetic algorithms. We then detail the formation and implementation of these genetic algorithms and evaluate them over a number of open circuit implementations. The memory-footprint needed for evaluating each of these circuits is decreased by up to 52% from existing, greedy-algorithm-based optimization solutions. Over the 10 benchmark circuits evaluated, these modifications lead to an overall improvement in the efficiency of in-memory circuit evaluation of 128% in the best case and 27.5% on average.
