Back to search

Oklahoma State University

End-to-end digital VLSI architecture for accelerating tiny transformer- based masked language models

Abstract

dc:description.abstract

Most tiny transformer-based language model accelerators offload embedding layer computations and memory to an external CPU due to large memory requirements. This Digital Very-Large-Scale Integration (VLSI) architecture is an end-to-end implementation of a masked token prediction tiny language model in hardware, including the embedding layer and weights on-chip. The model uses multi-headed self-attention to identify a masked token by analyzing contextual relationships among neighboring words and predicting the word that best fits the missing position. These attention computations are done using Fuse Multiply- Add (FMA) arrays and quantized model weights strategically packed and stored in memory. Each layer computation in the model, such as Layer Normalization, Softmax, and Gaussian Error Linear Unit (GELU) are efficiently designed and are utilized for computations entirely on-chip. After each stage of the model is computed, the resulting 128x128 matrix is stored in 32 parallel RAM blocks for efficient matrix storage and access. Internal model precision underwent heavy quantization and pruning to ensure efficient implementation of the entire model in digital hardware. To our knowledge, this is the first end-to-end digital VLSI implementation of a tiny transformer-based masked language model.

Degree

thesis:*
Discipline thesis:degree_discipline
Electrical Engineering
Grantor
Oklahoma State University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Johnson, Zachary E.
Advisor dc:contributor.advisor
  • Shahabuddin, Shahriar
Committee members dc:contributor.committeemember
  • Stine, James Edward
  • Cheng, Qi

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • Open Access
  • Copyright is held by the author who has granted the Oklahoma State University Library the non-exclusive right to share this material in its institutional repository. Contact Digital Library Services at lib-dls@okstate.edu or 405-744-9161 for the permission policy on the use, reproduction or distribution of this material.
Language dc:language
en_US

Identifiers

dc:identifier.*
Mods Identifier Filename
Johnson_okstate_0664M_19808.pdf

Chain of custody

source
Harvested from
Oklahoma State University
Base URL
openresearch.okstate.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Johnson, Zachary E.. End-to-end digital VLSI architecture for accelerating tiny transformer- based masked language models. Oklahoma State University, 2026. https://hdl.handle.net/20.500.14446/350480