Abstract
AttendNets are a family of ultra-compact deep neural networks designed for "TinyML" applications on low-power edge devices. By leveraging a novel self-attention mechanism called Visual Attention Condensers (VACs) and an automated machine-driven design process, AttendNets achieve significantly higher accuracy than MobileNet-V1 while using approximately 4x fewer parameters and 3x fewer computations. This paper details the architecture of VACs and the resulting AttendNet models, demonstrating their efficiency on the ImageNet50 benchmark.
Introduction
The deployment of deep learning on edge devices is often hindered by the "Edge AI" challenge: a conflict between the high computational demands of state-of-the-art models and the strict power and memory constraints of embedded hardware. While model compression and efficient manual architectures like MobileNets have made progress, powerful mechanisms like self-attention remain largely underutilized in TinyML due to their high computational overhead. AttendNets address this by introducing a self-attention mechanism that serves as an efficiency tool rather than a resource drain.
Methods
Visual Attention Condensers (VACs)
The core innovation of AttendNets is the Visual Attention Condenser (VAC). Unlike traditional self-attention modules, VACs are designed as standalone building blocks that optimize spatial-channel relationships with minimal overhead. The process involves four key stages: down-mixing channel dimensionality, condensing spatial information to identify areas of interest, embedding and expanding these relationships into a selective attention map, and finally up-mixing to restore dimensionality.
Machine-Driven Design Exploration
Rather than manual tuning, the authors employed Generative Synthesis, a machine-driven design process. By setting specific constraints—such as a minimum 71% accuracy on ImageNet50 and 8-bit weight precision—the AI explorer identified optimal macro- and micro-architectures. This resulted in two distinct models: AttendNet-A and AttendNet-B. These architectures feature a heterogeneous mix of VACs and "PEPE" (Projection-Expansion-Projection-Expansion) modules.
Results
Evaluation on the ImageNet50 benchmark reveals that AttendNets significantly outperform traditional efficient architectures.
- AttendNet-B vs. MobileNet-V1: AttendNet-B achieved a 7.2% higher accuracy while requiring 4.17x fewer parameters and 3x fewer computations (FLOPs). Furthermore, 8-bit quantization resulted in 16.7x lower weight memory requirements.
- AttendNet-A: This model achieved the highest top-1 accuracy in the study at 73.2%, surpassing AttoNet-A while maintaining a smaller footprint.
A key finding from the machine-designed architectures is the "front-loading" of attention; VACs are predominantly used in the early stages of the network, suggesting that selective attention is most effective at low-to-medium levels of abstraction for filtering background noise.
Conclusion
AttendNets demonstrate that self-attention, when properly condensed, can be a primary driver of efficiency in TinyML. By combining VACs with machine-driven design, these models set a new standard for on-device image recognition. Future work will explore the application of AttendNets to downstream tasks such as object detection and semantic segmentation.
Summary updated