Beyond MACs: Hardware Efficient Architecture Design for Vision Backbones

Moritz Nottebaum, Matteo Dunnhofer, Christian MicheloniarXiv 2026 · DOI

TL;DR

This paper demonstrates that relying on Multiply-Accumulate (MAC) operations to measure deep learning model efficiency is highly misleading, especially for edge devices where memory access and parallelism dictate actual runtime. To solve this, the authors introduce LowFormer, a hardware-efficient vision backbone family powered by "Lowtention"—a lightweight alternative to Multi-Head Self-Attention that drastically cuts latency while matching or exceeding state-of-the-art accuracy across diverse vision tasks.

What Problem Does This Paper Address?

When designing vision models for edge deployment (e.g., robotics, autonomous driving, or mobile apps), researchers typically try to minimize the number of MACs to make the model "faster." However, the authors show that a lower MAC count does not automatically translate to lower real-world latency.

This discrepancy happens because MAC counts ignore two crucial hardware realities:

  1. Memory Access Costs: Time spent waiting to fetch data from memory can create massive bottlenecks.
  2. Parallelism: Modern hardware can execute multiple operations simultaneously. A model with more MACs can actually run faster if those operations can be heavily parallelized.

As shown in the paper's benchmarks, models from different architectural families with identical latencies can vary wildly in their MAC counts, proving that optimizing for MACs alone leads to suboptimal designs for edge hardware.

MAC count vs Latency on Jetson TX2

Methods

The authors first conduct an exhaustive empirical analysis of common architectural design elements across multiple devices (Nvidia GPUs, Jetson TX2, iPhone 13, and Raspberry Pi 5). Using these insights, they design LowFormer:

  • Lowtention Block: Standard Multi-Head Self-Attention (MHSA) scales quadratically and is notoriously slow on the edge. Lowtention mitigates this by applying channel compression (halving the channel dimension) and resolution downsampling (performing attention on a lower spatial resolution) before the core attention mechanism. It uses depthwise and pointwise convolutions to handle the up/downscaling and act as conditional position embeddings.
  • Macro Architecture Design: LowFormer uses a 5-stage macro design. The first three stages are purely convolutional, utilizing fused Mobile Inverted Bottleneck (MBConv) blocks—which replace depthwise layers with standard convolutions—where channel counts are low ($\le 256$) to maximize hardware utilization. Lowtention is reserved strictly for the final two stages.
  • Edge GPU Variants (LowFormer-E): For highly parallel edge GPUs like the Jetson TX2, the authors propose variants that reduce network depth, remove memory-bound Multi-Layer Perceptrons (MLPs), or eliminate attention entirely to favor parallel processing over sequential execution.

Datasets

The architecture was validated across a comprehensive suite of benchmarks:

  • Image Classification: ImageNet-1K (core training), with transfer learning evaluated on Oxford-IIIT-Pets, Stanford Cars, and Oxford-102 Flowers.
  • Object Detection: COCO 2017 (integrated into the RetinaNet framework).
  • Semantic Segmentation: ADE20K (integrated into Semantic FPN).
  • Image Retrieval: GPR1200.
  • Visual Object Tracking: Evaluated across six tracking benchmarks (LaSOT, GOT10K, TREK-150, NfS30, AVisT, and UAV123) using a customized tracking framework called LowFormer-Track.

Key Insights and Ideas

  • The Depthwise Convolution Trap: While depthwise convolutions drastically reduce MAC counts, they are highly memory-bandwidth bound. On edge devices, standard ungrouped convolutions can execute the same number of MACs up to 34× faster because they better utilize hardware parallelism.
  • Fuse Early, Unfuse Late: Fusing MBConv blocks increases MACs but significantly reduces latency in the early stages of a network where channel dimensions are small (<256). In later stages with high channel counts, traditional unfused MBConv becomes more efficient.
  • Resolution Costs More Than Channels: Convolutions operating at higher spatial resolutions are consistently slower than those operating at lower resolutions with higher channel counts, even when MAC counts are identical. Efficient architectures should minimize layers in early, high-resolution stages.
  • Aggressive Attention Scaling: Compressing both channels and spatial resolution around the core attention mechanism yields massive edge speedups with zero loss in ImageNet top-1 accuracy.

Key Results

LowFormer models consistently outperform recent state-of-the-art backbones in the speed-accuracy trade-off across various hardware platforms:

  • ImageNet-1K Classification: LowFormer-B0 achieves 78.4% top-1 accuracy, running twice as fast as EfficientMod-xs on the Jetson TX2 and 38% faster on an ARM CPU. LowFormer-B1 achieves 79.9% top-1 accuracy, outperforming MobileOne-S4 and RepViT-M1.1 while maintaining lower latency.
  • Edge GPU Optimization: The edge-optimized LowFormer-E1 cuts Jetson TX2 latency from 18.1 ms (base model B1.5) to 6.2 ms, while maintaining a high top-1 accuracy of 78.8%.
  • Downstream Tasks: When plugged into RetinaNet for object detection on COCO, LowFormer-B2 outperforms FAT-B0 by +1.0 AP while delivering 93% higher backbone throughput.
Top-1 Accuracy vs Jetson TX2 Latency

Limitations and Future Work

The authors note that the optimizations introduced for the edge GPU variants (LowFormer-E)—which trade higher MAC counts for better parallel execution—do not translate well to mobile hardware like the iPhone 13 NPU. On mobile NPUs, these variants do not provide a consistent speedup compared to the base models.

Future work includes exploring hardware-aware architecture designs specifically optimized for mobile NPUs alongside edge GPUs, or investigating automated neural architecture search (NAS) guided directly by multi-device latency metrics rather than MACs.

Summary updated

BibTeX
@misc{nottebaum2026beyond,
  author = {Moritz Nottebaum and Matteo Dunnhofer and Christian Micheloni},
  title = {{Beyond MACs: Hardware Efficient Architecture Design for Vision Backbones}},
  year = {2026},
  eprint = {2603.26551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.26551},
}
Figure