Evolving Layer-Specific Scalar Functions for Hardware-Aware Transformer Adaptation
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViTs) achieve state-of-the-art performance on challenging vision tasks, but their deployment on edge devices is hindered by the computational complexity and global reduction bottleneck imposed by layer normalization. Recent methods attempt to bypass this by replacing normalization layers with hardware-friendly scalar approximations. However, these homogeneous replacements do not optimally fit to all layers' behaviour and rely on expensive model retraining. In this work, we propose a highly efficient, hardware-aware framework that utilizes genetic programming (GP) to evolve heterogeneous, layer-specific scalar functions directly from pre-trained weights. Coupled with a novel post-training re-alignment strategy, our approach eliminates the need to retrain models from scratch entirely. Our evolved expressions accurately approximate the target normalization behaviours, capturing 90-93% of the variance (R2) compared to only 70-76% for homogeneous baselines, allowing our modified architecture to recover 84.32% Top-1 ImageNet-1K accuracy on ViT-B and 85.74% on ViT-L in only 20 epochs. By retaining near-baseline accuracy while eliminating the global reduction bottleneck, our approach achieves a strict reduction in both arithmetic complexity and off-chip memory traffic compared to standard LayerNorm, removing a primary barrier to the efficient deployment of ViTs on edge accelerators.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 39 references that are in the map. First posted on arXiv 13 May 2026.
Builds on
21 of 39 references.
References · 21
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
- 2020Discovering Symbolic Models from Deep Learning with Inductive Biasescited by 335
- 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
- 2023Semantic Segmentation using Vision Transformers: A surveycited by 73
- 2025Transformers without Normalizationcited by 69
- 2021NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inferencecited by 25
- 2024PEANO-ViT: Power-Efficient Approximations of Non-Linearities in Vision Transformerscited by 13
9 more
- 2021Improving the Efficiency of Transformers for Resource-Constrained Devicescited by 12
- 2025QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operationscited by 10
- 2023Q-HyViT: Post-Training Quantization of Hybrid Vision Transformers with Bridge Block Reconstruction for IoT Systemscited by 6
- 2024ME-ViT: A Single-Load Memory-Efficient FPGA Accelerator for Vision Transformerscited by 6
- 2025Hardware Acceleration for Neural Networks: A Comprehensive Surveycited by 6
- 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inferencecited by 5
- 2024Distributed Inference with Minimal Off-Chip Traffic for Transformers on Low-Power MCUscited by 3
- 2025Kozax: Flexible and Scalable Genetic Programming in JAXcited by 3
- 2025Refining Datapath for Microscaling ViTscited by 2
Built on by
Not cited yet.