FTerViT: Fully Ternary Vision Transformer
Szymon RucińskiPietro BonazziEngin TüretkenSNSimon Narduzzi
Michele MagnoNadim Maamari Szymon Ruciński
Pietro Bonazzi
Engin Türetken
SNSimon Narduzzi

Michele Magno
Nadim Maamari
+6
FTerViT introduces the first fully ternarized Vision Transformer, extending ternarization beyond encoder layers to all weight matrices and normalization parameters, while keeping activations 8-bit. This is enabled by two new operators, TernaryBitConv2d with per-channel scaling for patch embedding and TernaryLayerNorm, together with knowledge distillation and a lightweight quantization-aware recovery phase. On a matched DeiT-S backbone it reaches 77.47% ImageNet-1K top-1 at 5.81 MB, and with DeiT-III-S at 384x384 the ternary W2A8 model attains 82.43% at 6.09 MB (~15x compression, -2.42 pp versus FP32), exceeding prior ternary ViTs by up to 8 pp. The authors also report the first ternary ViT deployment on an ESP32-S3 microcontroller, achieving 79.64% top-1 with FTerViT-Small at 224x224.

arXiv ·
· May 20, 2026