LL-ViT: Edge Deployable Vision Transformers with Look Up Table Neurons

Shashank Nag, Alan T. L. Bacellar, Zachary Susskind, Anshul Jha, Logan Liberty, Aishwarya Sivakumar, Eugene B. John, Krishnan Kailas, Priscila M. V. Lima, Neeraja J. Yadwadkar, Felipe M. G. França, Lizy K. JohnarXiv 2025 · DOI

Abstract

Vision Transformers (ViTs) have set new benchmarks in computer vision, yet their deployment on resource-constrained edge devices remains difficult due to significant memory and computational overhead. This paper introduces LL-ViT, an architecture that replaces traditional Multi-Layer Perceptron (MLP) layers with learnable Look-Up Table (LUT) neurons. By co-designing the model with a custom FPGA accelerator, LL-ViT reduces model size by 60% and improves energy efficiency by 1.9× compared to quantized baselines, fitting entirely within on-chip memory without sacrificing accuracy.

The MLP Bottleneck in Vision Transformers

While the self-attention mechanism is often cited as the primary innovation of ViTs, the Multi-Layer Perceptron (MLP) layers used for channel mixing represent the true hardware bottleneck. In standard models like DeiT-T, MLP blocks account for approximately 65% of total parameters and 56% of operations.

DeiT-T Parameter and MAC Distribution highlights the dominance of MLP layers in standard ViT architectures.

On FPGAs, these memory-heavy layers often exceed on-chip Block RAM (BRAM) capacity, forcing reliance on energy-intensive off-chip memory (DDR) or aggressive quantization that degrades model performance. LL-ViT solves this by rethinking channel mixing through the lens of Weightless Neural Networks.

Methodology: Learned-LUT Channel Mixing

The core of LL-ViT is the Learned-LUT Channel Mixer, which replaces traditional multiply-accumulate (MAC) operations with lookup operations.

The LL-ViT architecture (a) incorporates a LUT-based Channel Mixer (b) featuring Thermometer Encoding and Feed-Forward LUT layers, followed by a Conditional Summation Layer (c).

The process involves several key stages:

  1. Thermometer Encoding: Input activations are transformed into a sequence of bits (thermometer code), which serve as addresses for the LUTs.
  2. LUT-based Layers: These layers use the encoded bits to retrieve values from learnable Look-Up Tables. Unlike static LUTs, these are optimized during training using a differentiable Extended Finite Difference approach.
  3. Conditional Summation: To maintain high precision, a final layer sums "encoded values" conditioned on the binary outputs of the preceding LUT layers.

This architecture allows the model to eliminate roughly 50% of total multiplications. By reducing the model size from 5.06 MB to 1.93 MB, the entire weight set can reside on-chip, eliminating the "energy tax" of external memory access.

Hardware-Algorithm Co-design

The authors developed a custom FPGA processing element (PE) tailored for the LUT mixer. While the Self-Attention mechanism continues to use a standard systolic array, the LUT mixer utilizes dedicated logic that bypasses the need for Digital Signal Processing (DSP) slices. This co-design ensures that the algorithmic efficiency translates directly into hardware performance.

Experimental Results

LL-ViT was evaluated across several benchmarks, including CIFAR-10, CIFAR-100, Tiny-ImageNet, and Flowers-102.

  • Accuracy: The model achieved 95.5% on CIFAR-10 and 60.9% on Tiny-ImageNet, matching the performance of INT8 quantized ViT baselines.
  • Efficiency: On a Xilinx Virtex FPGA, LL-ViT demonstrated a 1.9× improvement in energy efficiency and a 1.3× reduction in latency compared to the baseline.
  • Throughput: The system achieved a throughput of 1083 FPS within a modest 10.9W power budget.

Conclusion and Future Work

LL-ViT demonstrates that replacing MAC-based MLPs with learnable LUTs is a viable path for deploying high-performance Transformers on the edge. While the current work focuses on the channel mixer, future research may explore applying similar LUT-based logic to the token mixer (Self-Attention) and scaling the approach to larger datasets like ImageNet-1k.

Summary updated

BibTeX
@misc{nag2025ll,
  author = {Shashank Nag and Alan T. L. Bacellar and Zachary Susskind and Anshul Jha and Logan Liberty and Aishwarya Sivakumar and Eugene B. John and Krishnan Kailas and Priscila M. V. Lima and Neeraja J. Yadwadkar and Felipe M. G. França and Lizy K. John},
  title = {{LL-ViT: Edge Deployable Vision Transformers with Look Up Table Neurons}},
  year = {2025},
  eprint = {2511.00812},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.00812},
}
Figure