potentialpaper

FTerViT: Fully Ternary Vision Transformer

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:38 UTC · e706d7a6a653 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,26 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "9SnaFlb35c"
- }
- ],
- "title": "FTerViT: Fully Ternary Vision Transformer",
- "authors": [
- "Szymon Ruciński",
- "Pietro Bonazzi",
- "Engin Turetken",
- "Simon Narduzzi",
- "Michele Magno",
- "Nadim Maamari"
- ],
- "abstract": "Ternary Vision Transformers offer substantial model compression, however state-of-the-art methods only ternarize the encoder layers, leaving patch embeddings, LayerNorm parameters, and classifier heads in full precision. In compact models targeting resource-constrained processors, such as microcontrollers, these remaining full-precision components determine the total memory footprint, severely limiting deployment efficiency and on-device feasibility.\nIn this work, we introduce a fully ternarized Vision Transformer in which \\emph{all} weight matrices and normalization parameters are ternarized, while activations remain 8-bit (FTerViT). To this end, we introduce two novel operators: TernaryBitConv2d with per-channel scaling for patch embedding and TernaryLayerNorm. FTerViT is trained using knowledge distillation, followed by a lightweight quantization-aware recovery phase. On a matched DeiT-S backbone, FTerViT reaches 77.47\\% ImageNet-1K top-1 at 5.81\\,MB, +3.27\\,pp over TerViT. With the stronger DeiT-III-S backbone at 384$\\times$384 resolution, our ternary W2A8 model achieves 82.43\\% at 6.09\\,MB (${\\sim}$15$\\times$ compression, $-$2.42\\,pp vs.\\ FP32). This backbone- and resolution-advantaged result exceeds prior ternary ViTs by up to 8\\,pp. Finally, we demonstrate the first implementation of ternary vision transformers on a dual-core Xtensa LX7 microcontroller inside the ESP32-S3 system-on-chip. By deploying FTerViT-Small (based on DeiT-III-Small at 224$\\times$224 resolution, 5.81\\,MB), we achieve 79.64\\% ImageNet-1K top-1 accuracy.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "c9e981c4-1731-4e98-9a9c-7250fe52f83b"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,16 @@
+{
+ "title": "FTerViT: Fully Ternary Vision Transformer",
+ "authors": [
+ "Szymon Ruciński",
+ "Pietro Bonazzi",
+ "Engin Turetken",
+ "Simon Narduzzi",
+ "Michele Magno",
+ "Nadim Maamari"
+ ],
+ "abstract": "Ternary Vision Transformers offer substantial model compression, however state-of-the-art methods only ternarize the encoder layers, leaving patch embeddings, LayerNorm parameters, and classifier heads in full precision. In compact models targeting resource-constrained processors, such as microcontrollers, these remaining full-precision components determine the total memory footprint, severely limiting deployment efficiency and on-device feasibility.\nIn this work, we introduce a fully ternarized Vision Transformer in which \\emph{all} weight matrices and normalization parameters are ternarized, while activations remain 8-bit (FTerViT). To this end, we introduce two novel operators: TernaryBitConv2d with per-channel scaling for patch embedding and TernaryLayerNorm. FTerViT is trained using knowledge distillation, followed by a lightweight quantization-aware recovery phase. On a matched DeiT-S backbone, FTerViT reaches 77.47\\% ImageNet-1K top-1 at 5.81\\,MB, +3.27\\,pp over TerViT. With the stronger DeiT-III-S backbone at 384$\\times$384 resolution, our ternary W2A8 model achieves 82.43\\% at 6.09\\,MB (${\\sim}$15$\\times$ compression, $-$2.42\\,pp vs.\\ FP32). This backbone- and resolution-advantaged result exceeds prior ternary ViTs by up to 8\\,pp. Finally, we demonstrate the first implementation of ternary vision transformers on a dual-core Xtensa LX7 microcontroller inside the ESP32-S3 system-on-chip. By deploying FTerViT-Small (based on DeiT-III-Small at 224$\\times$224 resolution, 5.81\\,MB), we achieve 79.64\\% ImageNet-1K top-1 accuracy.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}