A New Framework for Mobile Agent Success with Neuromorphic Computing

Intelligent mobile agents, such as uncrewed ground vehicles (UGVs) or aerial vehicles (UAVs), encounter a hurdle in conducting machine learning tasks with limited power, relying on small portable batteries. A study by Putra and Shafique (2024) introduces NeuroNAS, a novel framework that refines neuromorphic computing for these devices, delivering capable performance while adhering to stringent hardware limits.
Addressing the Power Constraint in Mobile Agents
Mobile agents, like UGVs and UAVs, must handle machine learning tasks, such as recognizing images, with precision while using minimal energy. Powered by compact batteries, these devices prioritize energy conservation. Standard machine learning models often consume substantial power, draining batteries rapidly. Neuromorphic computing offers a solution through Spiking Neural Networks (SNNs), which are computer models inspired by the human brain. Different from typical models, SNNs process information only when changes happen, like a motion sensor light that turns on only when someone moves, a method called eventbased processing that uses very little energy.
Specialized hardware accelerators, which are chips designed to speed up specific tasks, can further boost SNN performance, yet they often encounter a memory wall issue, where energy is mostly spent on fetching data from memory rather than doing the actual computing. In-memory Computing (IMC), a technique that does calculations right inside the memory itself, resolves this by reducing the need to move data around, much like working at your desk instead of running to another room for every paper. IMC uses technologies like resistive random access memory (RRAM), a type of memory that can store data without power and switch states quickly, cutting down on energy use. However, many SNN models are not tailored for IMC hardware, resulting in performance gaps, such as inaccuracy or processing speed, and unmet hardware boundaries, including memory, physical space, and power consumption.
Gaps in Existing SNN Design Approaches
Current SNN design methods often rely on neural architecture search (NAS), a process that automatically designs the best structure for a neural network. These approaches, however, fail to account for the unique demands of mobile agents and IMC hardware, such as restrictions on memory, space, speed, and energy. Many SNNs are derived from conventional Artificial Neural Networks (ANNs), which are standard computer models that process data in a steady flow, unlike SNNs that work with bursts of activity, missing out on SNN-specific traits, like handling time-based information, leading to reduced accuracy. A case study by Putra and Shafique (2024) using the CIFAR100 dataset, a collection of small images used to test recognition systems, revealed that applying memory limits during NAS can lower space, speed, and energy demands while preserving accuracy, suggesting a path toward more resourceful designs.
NeuroNAS A Hardwareaware Path to SNN Development
To bridge these gaps, Putra and Shafique (2024) propose NeuroNAS, a framework that rapidly develops SNNs for neuromorphic IMC, achieving precise results while respecting hardware boundaries. NeuroNAS employs a hardware aware spiking neural architecture search, meaning it designs networks while keeping the hardware’s limits in mind, focusing on three distinct steps to refine SNNs for mobile agents.
First, it optimizes SNN operations by choosing those that improve accuracy without increasing memory needs, ensuring the system works well within the limited resources of mobile devices. Experiments showed that operations, like 3×3 convolution (3x3Conv), a process where a small 3-by-3 grid scans an image to pick out features like edges or patterns, and skip connections (SkipCon), which let information jump ahead in the network to keep important details from being lost, are essential for accuracy. Meanwhile, 3×3 average pooling (3x3AvgPool), which shrinks data by averaging values in a 3-by-3 grid to simplify it, can compress memory with minimal accuracy loss, much like summarizing a long story without losing the main point. Larger operations, such as 5×5 or 7×7 convolutions, which use bigger grids to scan images, were excluded due to their higher memory costs despite accuracy gains.
Second, NeuroNAS constructs an SNN architecture, or the overall structure of the network, that fosters capable learning and streamlined deployment on IMC hardware. It designs neural cells, small building blocks of the network structured as directed acyclic graphs, which are like flowcharts where information moves in one direction without looping back, and nodes link through selected operations, like 3x3Conv and SkipCon. To reduce memory use, NeuroNAS applies quantization, a technique that lowers the precision of numbers in the network, such as reducing weights (values that determine how much each piece of data matters) to 8bit, similar to rounding a number to save space. A Quantization aware Fitness Evaluation (QaFE) policy assesses network candidates during the search by feeding sample data, measuring differences between samples with a mathematical method called Hamming distance, which counts how many spots two data sets differ, like comparing two strings of lights to see how many bulbs don’t match, and calculating a fitness score to gauge learning potential under quantized conditions.
Third, it uses a search algorithm that factors in hardware limits, such as memory, space, speed, and energy, to identify an SNN that balances precision with resourcefulness. This algorithm tests various neural cell setups, quantizes the network, checks memory usage, and verifies compliance with all limits. If requirements are met, it computes a fitness score, retaining the topperforming architecture. Adjustments ensure accurate space, speed, and energy calculations by considering the precision of RRAM devices and SNN weights.
IMC Hardware and SNN Mapping Approach
NeuroNAS aligns with a specific IMC hardware design, based on the SpikeFlow architecture, which includes compute tiles (small processing units), a neuron module (which imitates brain cells to process signals), a global accumulator (a tool to add up results), a pooling module (which simplifies data), and a global buffer (a temporary storage space), all linked via a network on-chip system, a setup that lets parts of the chip talk to each other. Each tile houses processing elements, buffers (small storage areas), and accumulators, with processing elements containing crossbars of RRAM devices for direct inmemory computations. These crossbars manage multiply and accumulate operations, a basic math step in neural networks where numbers are multiplied and added up, using components like analog to digital converters, which turn physical signals into digital data, and shift and add circuits, which help with the math by shifting numbers and adding them.
The SNN mapping approach distributes weights (the importance scores in the network) and input data across crossbars resourcefully. A 3×3 weight kernel, a small grid of values used to scan data, is spread over multiple crossbars, with elements mapped to specific columns, while different filters (tools that highlight specific features) occupy distinct columns in the same crossbar. Input data follows a similar partitioning, promoting reuse of weights and features to cut energy use. This method allows a single network layer, a stage in the network that processes data, to span multiple tiles, but restricts multiple layers from sharing a tile, optimizing hardware resource use.
Performance Advances with NeuroNAS
Tested via a PyTorch implementation, a popular tool for building machine learning models, on Nvidia RTX A6000 MultiGPU machines, which are powerful computers for handling complex tasks, NeuroNAS demonstrated its capabilities across datasets, such as CIFAR10, CIFAR100, and TinyImageNet200, which are collections of images used to test recognition systems. It produced SNNs with 8bit weight precision that retained strong accuracy, while delivering notable gains over existing methods. NeuroNAS achieved search times up to 6.6 times faster, reduced space usage by 92 percent, improved speed by 1.2 times, and cut energy use by 84 percent. Unlike state of the art methods, such as SNASNet, which often failed to meet all hardware limits, NeuroNAS consistently complied with these requirements.
Accuracy results showed NeuroNAS matching or surpassing SNASNet, with approximately 91 percent on CIFAR10, 64 percent on CIFAR100, and 53 percent on TinyImageNet200 at higher precision levels, with minor reductions at 8bit precision. It also excelled in energy conservation compared to ANN based methods, saving up to 86 percent energy versus solutions like APNAS, while keeping accuracy within 2 percent. Faster search times stemmed from a reduced search space, achieved by limiting operations, trimming redundant candidates, and embedding limits early in the process.
Realworld Applications for Mobile Agents
Taking from your interest in neuromorphic computing applications, NeuroNAS holds promise for mobile agents across various sectors. In environmental monitoring, UAVs could leverage it to classify terrain or detect shifts, like deforestation, using minimal power to extend flight duration. In agriculture, UGVs might assess crop health, conducting thorough inspections without needing frequent recharges, supporting sustainable farming. For search and rescue, mobile agents could navigate disaster zones, identifying objects or individuals while preserving energy for prolonged missions. These uses capitalize on NeuroNAS’s reduced energy and space demands, making it a practical tool for real world scenarios.
Future Steps for Neuromorphic Innovation
Obstacles persist in expanding NeuroNAS for wider adoption. It requires testing with more intricate tasks, such as real world object detection, to confirm its potency across diverse scenarios. Validation on physical IMC hardware, beyond simulations, is also necessary to verify its practical performance. Future efforts could integrate NeuroNAS with techniques like dynamic pruning, a method that removes unneeded network parts during operation, much like trimming dead branches from a tree, to further lower energy use. Collaboration among researchers, industry, and developers can refine this framework, while investor support can drive its deployment, ensuring mobile agents meet realworld needs responsibly.
Conclusion
The NeuroNAS framework by Putra and Shafique (2024) advances neuromorphic computing for intelligent mobile agents, blending hardware aware design with a streamlined SNN architecture search to deliver precise results within strict limits. By optimizing operations, applying quantization, and using a tailored search algorithm, it achieves up to 92 percent space savings, 1.2 times speed improvements, 84 percent energy reductions, and 6.6 times faster searches compared to existing methods. Spanning environmental monitoring to search and rescue, its practical applications are diverse. Overcoming scalability and hardware validation hurdles will set the stage for resourceful mobile agents across multiple domains.
Citation
Putra RV, Shafique M. NeuroNAS Enhancing Efficiency of Neuromorphic Inmemory Computing for Intelligent Mobile Agents through Hardwareaware Spiking Neural Architecture Search. arXiv Preprint 2407.00641 [cs.NE] 2024. https://doi.org/10.48550/arXiv.2407.00641
