Neural Architecture Search (NAS) has traditionally been a "rich person's game." To find a single optimal model, researchers often had to train thousands of candidates from scratch or maintain massive "super-networks" that contain every possible operation in memory simultaneously. This "memory wall" has historically restricted NAS to high-end data centers, leaving mobile devices, microcontrollers, and large-scale graph systems behind.
A growing body of research is dismantling this barrier by integrating hardware constraints—specifically memory footprint—directly into the search process. This shift moves NAS from a search for "accuracy at all costs" to a search for "Pareto-optimal" efficiency.
The Supernet Memory Bottleneck
The most popular form of NAS, Differentiable Architecture Search (DARTS), works by creating a "supernet" where every connection between layers is a weighted sum of all possible operations (e.g., various convolutions, pooling, or skip connections). As Xiangxiang Chu and colleagues note in ROME, this requires storing the entire supernet in GPU memory. For deep networks or high-resolution tasks like semantic segmentation, this footprint quickly exceeds the capacity of even high-end hardware.
To solve this, researchers like HyeongGwon Hong proposed EDAS, which optimizes only one "edge" of the network at a time. By reducing the number of active operations in memory, EDAS can search deeper networks on modest hardware 12x faster than original differentiable methods. Similarly, Albert Eaton Shaw introduced BASE, a Bayesian meta-network that learns to adapt to new tasks in under an hour, bypassing the need for exhaustive, memory-heavy retraining.
Beyond Parameter Counting
A common misconception is that a model's memory usage is defined solely by its number of parameters. However, for edge devices like microcontrollers (MCUs), the real bottleneck is often the peak working memory—the RAM required to store intermediate feature maps (activations) during inference.
In SpArSe, Igor Fedorov and Paul N. Whatmough demonstrate that by explicitly accounting for these activation buffers, NAS can find models that fit into as little as 2KB of RAM. This hardware-aware approach ensures that the search doesn't just produce a "small" model on paper, but one that actually runs without crashing on the target device. Muhammad Shafique applies a similar logic to Spiking Neural Networks (SNNs) in SpikeNAS, using an analytical estimator to filter out architectures that exceed memory budgets before they are even evaluated.
Pruning as a Search Strategy
If the supernet is too large to fit in memory, why not start with a large network and prune it down? This "search-via-pruning" strategy is gaining traction for complex tasks like video generation. Yushu Wu and the team behind SnapGen-V used hardware-aware evolutionary search and aggressive pruning to enable 5-second video generation on an iPhone. By optimizing for the specific VRAM limits of mobile chips, they eliminated out-of-memory errors that typically plague diffusion models.
For temporal data, Matteo Risso and Daniele Jahier Pagliari introduced PIT (Pruning In Time). Instead of searching for dilation factors using expensive reinforcement learning, they frame the search as a structured pruning problem on the time-axis. This allows them to find optimal Temporal Convolutional Networks (TCNs) that are 7x smaller in a single training run.
Scaling to Massive Data
The memory challenge is even more acute when dealing with non-Euclidean data like graphs. Chaoyu Guan and Xin Wang addressed this in GAUSS, the first framework to scale NAS to graphs with billions of edges. They achieved this by using a joint architecture-graph sampling strategy, ensuring that the search process stays within the memory limits of a single GPU day.
Similarly, in the realm of Large Language Models (LLMs), Zongbiao Li developed algorithms to automatically plan parallel training strategies. By calculating the memory requirements for weights, optimizer states, and activations upfront, the system can prune 99% of the search space, instantly discarding strategies that would lead to out-of-memory errors on a cluster.
Conclusion
The evolution of memory-aware NAS represents a transition from theoretical architecture exploration to practical, hardware-constrained engineering. By treating memory not as an afterthought but as a primary objective—alongside accuracy and latency—researchers like Jilin Hu (BaLeNAS) and Rob Geada (SpiderNet) are making automated AI design accessible for everything from the smallest sensors to the largest planetary-scale graphs.