T-REX: Hardware–Software Co-Optimized Transformer Accelerator With Reduced External Memory Access and Enhanced Hardware Utilization

Transformers have emerged as the dominant neural network architecture thanks to their versatility- and human-level performance. However, a transformer model contains a very large number of parameters, which makes the overhead associated with external memory access (EMA), a critical bottleneck in computing systems. In light of this, we develop T-REX, a hardware accelerator for transformers with the goal of minimizing EMA. We develop a novel factorizing training method to reduce the parameter count substantially. We also combine a range of data compression techniques to effectively compress dense and sparse parameter matrices. Furthermore, we develop a dynamic batching technique, which can process multiple short inputs in parallel to increase parameter reuse. Last but not least, we develop a two-directional accessible register file (TRF) and the optimized dataflow to improve throughput and hardware utilization in many back-to-back matrix multiplications (MMs) commonly in a transformer model. The T-REX test chip is prototyped in Intel 16-nm FinFET. It achieves 68–<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$567~\mu $</tex-math> </inline-formula>s/token and 0.41–<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$3.95~\mu $</tex-math> </inline-formula>J/token, demonstrating 1–2 orders of magnitude improvement over the prior work.

Authors

Institutions

Publication Details

Journal
IEEE Journal of Solid-State Circuits
Published
2025-09-03
DOI
https://doi.org/10.1109/jssc.2025.3603187
Citations
1
Primary Topic
Photovoltaic System Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.36

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

T-REX: Hardware–Software Co-Optimized Transformer Accelerator With Reduced External Memory Access and Enhanced Hardware Utilization

Mingoo Seok, Gregory K. Chen, Phil Knag, Seunghyun Moon et al.
1 citations
IEEE Journal of Solid-State Circuits
Photovoltaic System Optimization Techniques
0.36
article

T-REX: Hardware–Software Co-Optimized Transformer Accelerator With Reduced External Memory Access and Enhanced Hardware Utilization

Mingoo Seok, Gregory K. Chen, Phil Knag, Seunghyun Moon, Ram Krishnamurthy, Mao Li
article en
1 citations

Abstract

Transformers have emerged as the dominant neural network architecture thanks to their versatility- and human-level performance. However, a transformer model contains a very large number of parameters, which makes the overhead associated with external memory access (EMA), a critical bottleneck in computing systems. In light of this, we develop T-REX, a hardware accelerator for transformers with the goal of minimizing EMA. We develop a novel factorizing training method to reduce the parameter count substantially. We also combine a range of data compression techniques to effectively compress dense and sparse parameter matrices. Furthermore, we develop a dynamic batching technique, which can process multiple short inputs in parallel to increase parameter reuse. Last but not least, we develop a two-directional accessible register file (TRF) and the optimized dataflow to improve throughput and hardware utilization in many back-to-back matrix multiplications (MMs) commonly in a transformer model. The T-REX test chip is prototyped in Intel 16-nm FinFET. It achieves 68–<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$567~\mu $</tex-math> </inline-formula>s/token and 0.41–<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$3.95~\mu $</tex-math> </inline-formula>J/token, demonstrating 1–2 orders of magnitude improvement over the prior work.

IEEE Journal of Solid-State CircuitsVol. 61(1)
Intel (United States) (US), Konkuk University (KR), Columbia University (US)
Semiconductor Research Corporation
Openalex Percentile: Top 39%
Photovoltaic System Optimization Techniques
0.36
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.