KIT | KIT-Bibliothek | Impressum | Datenschutz

TransAxx: Efficient Transformers With Approximate Computing

Danopoulos, Dimitrios ; Zervakis, Georgios; Soudris, Dimitrios; Henkel, Jörg 1
1 Institut für Technische Informatik (ITEC), Karlsruher Institut für Technologie (KIT)

Abstract:

Vision Transformer (ViT) models which were recently introduced by the transformer architecture have shown to be very competitive and often become a popular alternative to Convolutional Neural Networks (CNNs). However, the high computational requirements of these models limit their practical applicability especially on low-power devices. Current state-of-the-art employs approximate multipliers to address the highly increased compute demands of DNN accelerators but no prior research has explored their use on ViT models. In this work we propose TransAxx, a framework based on the popular PyTorch library that enables fast inherent support for approximate arithmetic to seamlessly evaluate the impact of approximate computing on DNNs such as ViT models. Using TransAxx we analyze the sensitivity of transformer models on the ImageNet dataset to approximate multiplications and perform approximate-aware finetuning to regain accuracy. Furthermore, we propose a methodology to generate approximate accelerators for ViT models. Our approach uses a Monte Carlo Tree Search (MCTS) algorithm to efficiently search the space of possible configurations using a hardware-driven hand-crafted policy. ... mehr


Originalveröffentlichung
DOI: 10.1109/TCASAI.2025.3565685
Scopus
Zitationen: 1
Zugehörige Institution(en) am KIT Institut für Technische Informatik (ITEC)
Publikationstyp Zeitschriftenaufsatz
Publikationsmonat/-jahr 12.2025
Sprache Englisch
Identifikator ISSN: 2996-6647
KITopen-ID: 1000192977
Erschienen in IEEE Transactions on Circuits and Systems for Artificial Intelligence
Verlag Institute of Electrical and Electronics Engineers (IEEE)
Band 2
Heft 4
Seiten 288 - 301
Vorab online veröffentlicht am 30.04.2025
Externe Relationen Siehe auch
Schlagwörter Approximate computing, vision transformers, acceleration, Monte Carlo
Nachgewiesen in Scopus
OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page