Toward Attention-based TinyML: A Heterogeneous Accelerated Architecture and Automated Deployment Flow

Philip Wiese, Gamze İslamoğlu, Moritz Scherer, Luka Macan, Victor J. B. Jung +3 more
8/5/2024
cs.ARcs.LG

No official code found. Best implementation: pulp-platform/Deeploy (73 stars, last commit 2026-04-13).

Abstract

One of the challenges for Tiny Machine Learning (tinyML) is keeping up with the evolution of Machine Learning models from Convolutional Neural Networks to Transformers. We address this by leveraging a heterogeneous architectural template coupling RISC-V processors with hardwired accelerators supported by an automated deployment flow. We demonstrate Attention-based models in a tinyML power envelope with an octa-core cluster coupled with an accelerator for quantized Attention. Our deployment flow enables end-to-end 8-bit Transformer inference, achieving leading-edge energy efficiency and throughput of 2960 GOp/J and 154 GOp/s (0.65 V, 22 nm FD-SOI technology).

View on arXivView PDF

Code Implementations(1)

DNN Compiler for Heterogeneous SoCs

7346C, CMakeAug 7, 20246 months ago
mcuml-compilertinyml

Similar Papers

Cite this paper

@article{wiese2024toward,
  title  = {Toward Attention-based TinyML: A Heterogeneous Accelerated Architecture and Automated Deployment Flow},
  author = {Philip Wiese and Gamze İslamoğlu and Moritz Scherer and Luka Macan and Victor J. B. Jung and Alessio Burrello and Francesco Conti and Luca Benini},
  year   = {2024},
  eprint = {2408.02473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.02473v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.02473.svg)](https://codeofpaper.com/paper/2408.02473)

Discussion