Exploration of Low-Energy Floating-Point Flash Attention Mechanism for 18nm FD-SOI CMOS Integration at the Edge

In this work we study the sizing and feasibility of a processing element for the calculation of the attention mechanism used in the Transformer models, using floating point representation. We show that the Flash Attention implementation is needed to enable circuit integration at the edge. Different floating point formats, both standard and non standard representations, were explored and synthesized in 18nm FD-SOI CMOS to compare their area and leakage power. The quality of the results is assessed against a pytorch BERT reference model. The best representation found is a non-standard 12-bit floating point architecture that computes a single block of Flash Attention. Once compared to a RISC- V CPU synthesized with the same technology, shows 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> less energy consumption and 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sup> less latency, whilst providing a result with low mean error.

Authors

Institutions

Publication Details

Published
2024-08-11
DOI
https://doi.org/10.1109/mwscas60917.2024.10658822
Primary Topic
Integrated Circuits and Semiconductor Failure Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploration of Low-Energy Floating-Point Flash Attention Mechanism for 18nm FD-SOI CMOS Integration at the Edge

Sylvain Clerc, Tifenn Hirtzlin, Benoît Larras, Antoine Frappé et al.
Integrated Circuits and Semiconductor Failure Analysis
article

Exploration of Low-Energy Floating-Point Flash Attention Mechanism for 18nm FD-SOI CMOS Integration at the Edge

Sylvain Clerc, Tifenn Hirtzlin, Benoît Larras, Antoine Frappé, Andreia Cathelin, Filipe Pouget, Joaquin Antonio Cornejo
article en

Abstract

In this work we study the sizing and feasibility of a processing element for the calculation of the attention mechanism used in the Transformer models, using floating point representation. We show that the Flash Attention implementation is needed to enable circuit integration at the edge. Different floating point formats, both standard and non standard representations, were explored and synthesized in 18nm FD-SOI CMOS to compare their area and leakage power. The quality of the results is assessed against a pytorch BERT reference model. The best representation found is a non-standard 12-bit floating point architecture that computes a single block of Flash Attention. Once compared to a RISC- V CPU synthesized with the same technology, shows 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> less energy consumption and 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sup> less latency, whilst providing a result with low mean error.

Vol. abs/1910.01108
Centre National de la Recherche Scientifique (FR), Université de Lille (FR), Commissariat à l'Énergie Atomique et aux Énergies Alternatives (FR), CEA Grenoble (FR), STMicroelectronics (France) (FR), Laboratoire d'Électronique des Technologies de l'Information (FR), Université Polytechnique Hauts-de-France (FR), École Centrale de Lille (FR), Université Grenoble Alpes (FR)
Affordable and clean energy
Openalex Percentile: Top 87%
Integrated Circuits and Semiconductor Failure Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Exploration of Low-Energy Floating-Point Flash Attention Mechanism for 18nm FD-SOI CMOS Integration at the Edge — Sylvain Clerc, Tifenn Hirtzlin, et al. · (2024) | TGRS Research Map | TGRS