FTerViT: Fully Ternary Vision Transformer
Szymon Ruciński, Pietro Bonazzi, Engin Turetken, Simon Narduzzi, Michele Magno, Nadim Maamari
NeurIPS 2026
TL;DR. Knowledge distillation enables ternarization of sensitive ViT components including patch embeddings, layer normalization, and classifier heads. We propose compact ternary models with minimal accuracy loss for low-power chips.
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. In 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}\times$ compression, $-\times$224 resolution, 5.81,MB), we achieve 79.64% ImageNet-1K top-1 accuracy.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
All reviewers reach a consensus on acceptance, after one reviewer takes the rebuttal and the remaining limitations into account, and raises initial rating to Borderline Accept. The FTerViT ternarize the encoder’s linear layers, and the patch embedding, LayerNorm parameters, which is unlike prior methods generally ternarize some of them. The paper further proposes a 2-phase quantization aware distillation scheme and demonstrates deployment on an ESP32-S3-EYE microcontroller. However, there are some references of "TernaryCLIP: Efficiently compressing vision-language models with ternary weights and distilled knowledge" with wrong author list, and 'Vision transformer quantization with multi-step knowledge distillation' on wrong publication venue. They should be corrected.
Final justification
All reviewers reach a consensus on the final decision after rebuttal, but with two Problematic references needs to be fixed in the final version.
Read meta-review
Meta-review
All reviewers reach a consensus on acceptance, after one reviewer takes the rebuttal and the remaining limitations into account, and raises initial rating to Borderline Accept. The FTerViT ternarize the encoder’s linear layers, and the patch embedding, LayerNorm parameters, which is unlike prior methods generally ternarize some of them. The paper further proposes a 2-phase quantization aware distillation scheme and demonstrates deployment on an ESP32-S3-EYE microcontroller. However, there are some references of "TernaryCLIP: Efficiently compressing vision-language models with ternary weights and distilled knowledge" with wrong author list, and 'Vision transformer quantization with multi-step knowledge distillation' on wrong publication venue. They should be corrected.
Final justification
All reviewers reach a consensus on the final decision after rebuttal, but with two Problematic references needs to be fixed in the final version.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a fully ternarized ViT called FTerViT. The prior ternary ViTs (e.g., TerViT) leave the patch embedding, LayerNorm affines, and classifier head in FP32/INT8. Here, FTerViT constrains all weight matrices and normalization parameters to {−1, 0, +1}. The technical contributions are mainly 1) TernaryBitConv2d with per-channel scaling and TernaryLayerNorm. 2) two-phase quantization-aware distillation training guidelines with standalone inference engine deployed on a microcontroller chip. The main results are 82.43% ImageNet-1K top-1 at 6.09 MB for DeiT-III-S at 384x384, and on-device deployment of a 5.81 MB model at approx. 79.6% ImageNet-1K top-1 accuracy at 224x224.
Strengths and weaknesses
Strengths:
S1: The storage footprint problem of ViT that FTerViT addresses is real and well-explained. Fig. 1 (b) shows that DeiT-T has 14.5x more model size compared to the full ternary model, which is critical for real-time deployment on microcontroller chips.
S2: FTerViT demonstrates concrete on-device deployment. The authors provide a standalone pure-C language inference engine running on a microcontroller. They measure power, latency, and energy (Fig. 6 and Tab. 7), showing the 5.81 MB model fits in flash while the 88.3 MB FP32 version cannot load.
S3: The component-level fidelity checks (Fig. 3), show reasonable diligence. The authors examine weight distributions, cosine similarity of patch embed features and classifier logit correlation to verify that representational structure survives ternarization. The fidelity is good for TernaryBitConv2d and TernaryBitLinear.
Weaknesses:
W1: The TernaryBitLinear layer is adopted from prior work (BitNet), and per-channel conv scaling is standard practice. The real contribution is the empirical finding that sensitive layers can be ternarized via knowledge distillation, which should be the framing. Also, the authors compared only with INT8 quantized for the MobileNet-V2 family, while MobileNet-V3 and V4 are missing.
W2: The statistical support for DeiT-III-S and TerViT is not strong. The authors mentioned in the checklist in 7. Experiment statistical significance section, most results are from single runs, but the 2-3% gain margins are too close without multiple seeds or a variance estimate at least.
W3: A critical baseline comparison is missing: a fully ternary model with the sensitive layers kept at INT8. Without seeing the accuracy and size impact of ternarizing those layers, it's unclear if full ternarization makes the right tradeoff or just a feasible one.
W4: The best numbers of FTerViT is based on a stronger backbone DeiT-III (83-85% FP32) vs. TerViT's DeiT-S (79.86%). The comparison is not fair since the same backbone comparison shows only 3.27% gain (FTerViT-DeiT-S 77.47% vs TerViT 74.2%), but in the abstract, it's mentioned "up to 8pp" figure relies on the backbone difference. This comparison is not apple-to-apple.
W5: Fig. 3 (c) shows the ternarized LayerNorm's scale parameter converging near +1 (almost identical transform) while the shift is poorly reproduced. This may imply the scale is removable rather than usefully ternary, which raises a question about the effectiveness of the TernaryLayerNorm. The authors should engage with this directly in the main paper and elaborate more on this.
W6: There are minor inconsistencies in reported numbers. The deployed accuracy is variously given as 79.64% (abstract/body/caption of Figure 1), while its reported 79.75% in the red text over Fig 1a, and 79.3% (Table 7).
Questions
- Given γ -> 1 in TernaryLayerNorm, does removing the learnable scale entirely change accuracy?
- Can you provide multi-seed results (or a variance estimate) for the main DeiT-III-S claim?
- B.1 Latency and Memory Results profiling is for DeiT-III-S. Could you provide a clear and apples-to-apples latency comparison with TernaryViT and all quantized methods of quantized ViT methods in Tab.3? The size is important, but latency is also extremely important.
Limitations
Yes
Final justification
My initial rating was BR. After the rebuttal and the authors' clarifications, I increased it to BA.
Formatting concerns
No issues with the paper formatting
4 comments
Dear Reviewer,
We would like to follow-up with ImageNet-1K results.
W3 (fully ternary vs sensitive-layers-at-INT8, identical recipe)
We trained the requested baseline with encoder ternary, patch embedding, classifier head and LayerNorm affines at INT8. The training setup is identical to our FTerViT-DeiT-S run. After the identical two-phase training: 78.28% at 6.33 MB, vs FTerViT-DeiT-S 77.47% at 5.81 MB. The hybrid is more accurate. Full ternarization adds the remaining 9% of compression for 0.81 pp of accuracy. Both points favor the paper: the same unchanged two-phase training strategy produced both models, so our training strategy generalizes across precision assignments, and the freed memory of FTerViT-DeiT-X is real margin on an MCU device, where flash is the binding constraint. Full ternarization that we promote in the paper is the size-optimal point of one general recipe, not a forced compromise. The revision will present both operating points that you requested side by side.
W2 + Q2 (variance)
We ran the multi-seed estimate on the main FTerViT-DeiT-III-S claim itself on Imagenet-1K: Reproduced training using 5 seeds with accuracy of 79.70 +/- 0.08 (mean +/- std, n=5), with the published 79.64 inside the interval. The matched-backbone FTerViT-DeiT-S gives 77.45 +/- 0.07 (n=5), published 77.47 inside. On both backbones the seed noise is smaller than the +3.27 pp margin over TerViT that W2 asked to verify.
W5 + Q1 (gamma)
Clarification: the 0.979 in Fig. 3c is a cosine similarity, not the value of gamma, and gamma carries a scale (0.63 to 3.86 on the released FTerViT-DeiT-III-S checkpoint). We measured your question three ways. (1) Deleting gamma from the trained model collapses it: 77.51% -> 0.17% (FTerViT-DeiT-S), 79.62% -> 4.44% (FTerViT-DeiT-III-S). (2) Training with gamma fixed to 1 from the start costs nothing for FTerViT-DeiT-S: 77.46% vs 77.47% (within noise). (3) Fixing gamma to 1 only for the Phase 2 recovers FTerViT-DeiT-III-S to 77.99% vs 79.70 +/- 0.08.
The scaling gamma provides is essential the network can learn it elsewhere only when trained without gamma from the beginning. TernaryLayerNorm stores this scaling in 2 bits like every other parameter. A gamma-free variant is possible and we will note it as an option. We keep the ternary gamma because its negligible size, stays drop-in compatible with trained checkpoints, and its removal is not free in every configuration. (0.77 pp at DeiT-Tiny/CIFAR-100). It is also another contribution.
We hope these results address the remaining concerns, and we are glad to answer any follow-up questions.
Reply to authors
Hi Authors,
Thank you for the rebuttal. In particular, the new apples-to-apples comparisons, the comparisons with relevant baselines, and the new ImageNet-1K results have partially addressed my concerns. However, comparisons with MobileNetV3/V4 are still missing, and it's not clear if the proposed method is better than them or not. Also, the reported INT8 speedup remains relatively modest at only 1.27×. Taking the rebuttal and the remaining limitations into account, I will raise my initial rating to Borderline Accept.
Dear Reviewer,
Thank you very much for raising your rating. On the two remaining points:
MobileNetV3/V4 comparison.
We extracted MobileNet variants from the original papers, searched the literature. All accuracies are ImageNet-1K top-1 on the official validation set.
| Model | FP32 top-1 | Published 8-bit top-1 | Storage (8-bit) | vs FTerViT (5.81 MB, 8 MB device) | Source |
|---|---|---|---|---|---|
| MobileNetV3-Small 1.0 | 67.4 | 64.9 (TFLite) | 2.5 MB | fits, -12.6 pp below ours | Howard et al., ICCV 2019, Tab. 3-4 |
| MobileNetV3-Large 1.0 | 75.2 | 73.8 (TFLite), 75.17 | 5.4 MB | fits, -2.3 pp below ours | Howard et al., ICCV 2019, Tab. 4; Park & Yoo, ECCV |
| 2020, Tab. 1 | |||||
| MobileNetV4-Conv-S | 73.8 | not reported | 3.8 MB | fits, but below ours even at FP32 (-3.7 pp) | Qin et al., ECCV 2024, Tab. 6 |
| MobileNetV4-Conv-M | 79.9 | not reported | 9.2 MB | exceeds the memory | Qin et al., ECCV 2024, Tab. 6 |
| MobileNetV4-Conv-L | 82.9 | not reported | 31 MB | too big: 5x over the flash budget | Qin et al., ECCV 2024, Tab. 6 |
| FTerViT-DeiT-S (ours) | -- | 77.47 (ternary) | 5.81 MB | deployed on the device | this paper |
| FTerViT-DeiT-III-S (ours) | -- | 79.64 (ternary,5-seed: 79.70 +/- 0.08) | 5.81 MB | fits | this paper |
1.27x speedup over INT8.
We agree with you it is modest, and the paper's claim is not speed-led: the measurement is at identical arithmetic, where the packed-ternary format also cuts energy per inference and the primary benefit is that 2-bit storage is what fits DeiT-classmodels on the 8 MB device at all.
We thank you again for the constructive exchange and perspective, which has measurably improved the paper.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The work takes on the challenge of fully ternarizing ViTs for edge deployment. Prior ternary ViT works ternarize encoder linear layers while patch embedding, LayerNorm parameters, and classifier head are in higher precision. To address this, FTerViT proposes a fully ternary ViT that ternarize the weight-carrying components. The method uses TernaryBitLinear for fully connected layers, and introduce TernaryBitConv2d for the patch embedding convolution, and TernaryLayerNorm. They also use a two-phase training protocol, where an initial training phase is followed by a low-learning-rate recovery phase to improve accuracy. For evaluation, they apply their method on ImageNet-1K using DeiT-based models and report accuracy, reduced model size, and compression compared with SoTA methods. They also demonstrate deployment on an ESP32-S3-EYE microcontroller, showing hardware benefits compared with an FP32 implementation.
Strengths and weaknesses
The paper presents FTerViT, a Fully Ternary Vision Transformer aimed at reducing model size and improving embedded inference efficiency. Unlike prior ternary ViT approaches that mainly ternarize the encoder’s linear layers, this work also targets the patch embedding, LayerNorm parameters. The paper further proposes a 2-phase quantization aware distillation scheme and demonstrates deployment on an ESP32-S3-EYE microcontroller.
The work is motivated for edge devices and MCU results show clear strength demonstrating latency and energy reductions over FP32. The TernaryBitConv2d module with per-channel scaling is also a reasonable contribution, since patch-embedding filters can have heterogeneous magnitudes and can be sensitive to aggressive quantization.
However, the paper should be more precise in its claims. Since the paper uses 8-bit activations and MCU uses FP32 activations, it would be better to specify that the contribution is fully ternary weights/parameters, not fully ternary end-to-end arithmetic. Similarly, TernaryLayerNorm seems to ternarize only the learnable alpha and beta parameters, not the full LayerNorm computation. One concern is that the reported gains may partly come from the two-phase training schedule rather than the proposed ternary modules themselves.
The paper should include stronger ablations, especially an encoder-only ternary baseline trained with the same scheme, and separate results for ternarized patch embedding, classifier, and LayerNorm affine parameters.
Overall, the paper is interesting and relevant for edge ViT deployment, especially due to its embedded implementation. Its originality is moderate since TernaryBitLinear follows prior BitNet/ViT-1.58b-style methods, while the extension to patch embedding and full weight-carrying module coverage is the more novel part.
Questions
- Since the paper uses 8-bit activations and MCU implementation uses FP32 activations, it would be helpful to specify that the contribution is fully ternary weights/parameters, not fully ternary end-to-end arithmetic.
- Please separate the effect of the proposed modules from the two-phase training schedule. Since Phase 2 gives a 3-4 pp gain, an encoder-only ternary baseline trained with the same scheme would clarify whether the improvement comes from FTerViT or the LR restart.
- Please include ablations study specifically for: encoder-only, + patch embedding, + classifier head, + LayerNorm, and full model. This would show which ternary component actually contributes to accuracy loss.
- Please clarify the scalability claim. MCU deployment justifies small models, but “scaling is straightforward” should either be supported by some study or softened.
Limitations
Yes
Final justification
the rebuttal addressed part of my concerns. Considering all, I decided to remain my initial rating at 4
Formatting concerns
none
2 comments
Dear Reviewer,
Thank you for the careful reading of the paper and the valuable comments.
Q1 (fully ternary weights/parameters, not arithmetic). We will clarify that the patch embedding, encoder layers, classifier head, and LayerNorm affine parameters are ternary, while activations are INT8 and the arithmetic itself is not ternary.
Q2/Q3 (component ablations under one scheme). This part was also flagged by other reviewers and the AC. We will isolate which components of FTerViT contribute to the accuracy, including an encoder-only ternary baseline trained with the same two-phase scheme, for the DeiT-S model trained on ImageNet-1k.
Q4 (scalability claim). Since the goal of the paper is MCU deployment, models beyond DeiT-S are not of interest, and supporting the claim would require training DeiT-B and larger, which is not the goal of the paper. We will soften that claim.
We appreciate your feedback and hope these clarifications are helpful. Should you need any further details during the rebuttal phase, please feel free to reach out to.
Dear Reviewer,
Following up on our previous reply, we were able to run the promised isolation on DeiT-S / ImageNet-1K. All numbers are top-1 on the official ImageNet-1K.
Q2 (modules vs the two-phase schedule)
The encoder-only-ternary baseline you proposed, trained under the identical unchanged two-phase scheme (patch embedding, classifier head, and LayerNorm affines at INT8), reaches 78.28% at 6.33 MB, vs 77.47% at 5.81 MB for the fully ternary model. The same recipe produced both models, so the schedule is not tuned to one precision assignment, and the restart is not the source of the margin: before any restart, the Phase-1 fully ternary model already exceeds TerViT (75.05 vs 74.2), with Phase 2 adding +2.42 pp on top. Full ternarization is the size-optimal point of one general recipe: the added INT8 components cost 0.81 pp and buy the final 9% of compression.
Q3 (per-component results)
Moving one component at a time to INT8 (fully ternary reference under the same training protocol: 77.35): patch embedding 77.27, classifier head 77.53, LayerNorm affines 76.77. No single component dominates. Multi-seed variance bounds all of these deltas: 5-seed replication gives 79.70 +/- 0.08 on FTerViT-DeiT-III-S (published 79.64 inside the interval) and 77.45 +/- 0.07 on FTerViT-DeiT-S (published 77.47 inside).
Q1 and Q4. Both commitments stand as stated: the revision scopes the contribution as fully ternary weights and normalization affines (activations remain 8-bit in training and FP32 on the MCU), and the scalability claim is softened to the observed trend.
We thank you again for a review whose suggested experiments directly improved the paper, and we are glad to answer any further questions.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper observes that "ternary" Vision Transformers in the literature only ternarize the encoder linear layers, leaving the patch-embedding convolution, LayerNorm affine parameters, and classifier head in INT8/FP32. At 2-bit weight precision, these residual full-precision components dominate the model's byte footprint (e.g., 38% of DeiT-Tiny's size from <4% of parameters), which is the binding constraint for microcontroller deployment. FTerViT ternarizes all weight matrices and normalization affines to {−1,0,+1} via three operators: TernaryBitLinear (the BitNet b1.58 absmean scheme), TernaryBitConv2d (per-channel absmean scaling for the patch embedding), and TernaryLayerNorm (absmean-ternarized γ/β). Training uses forward-KL knowledge distillation from a frozen same-architecture FP32 teacher, in two phases (a long high-LR phase to saturation, then a short low-LR recovery that adds 3–4 pp). A layer-sensitivity analysis (Taylor-FO and Hessian-trace) motivates why these components were previously left un-quantized. Results: a W2A8 DeiT-III-S at 384² reaches 82.43% ImageNet-1K top-1 at 6.09 MB (≈15× compression, −2.42 pp vs FP32); the DeiT-S variant reaches 77.47% (+3.27 pp over TerViT). The paper also reports the first ternary ViT deployed on an ESP32-S3 microcontroller, with on-device latency, memory, and power profiling.
Strengths and weaknesses
Quality. The empirical work is solid and unusually complete for a deployment-oriented paper. The motivation is well quantified (Fig. 1b storage breakdown; Table 2 sensitivity analysis), the results are strong and consistent across backbones/datasets (ImageNet, CIFAR), and the component-level fidelity analysis (cosine similarity of patch-embed features, LayerNorm parameters, classifier-logit correlation, attention rollout) gives credible evidence that representations are preserved. The two-phase training study (Fig. 2, Table 5) is a genuinely useful, well-documented finding: a 10-epoch low-LR restart recovers as much as 150 extra high-LR epochs. The real ESP32-S3 deployment with power measurements is a strength the community will value. My main quality concern is the absence of ablations isolating the paper's own contributions. Given that TerViT reported a 22.4 pp collapse under full ternarization, the central scientific question is why FTerViT succeeds — is it the new operators (per-channel TernaryBitConv2d, TernaryLayerNorm), the same-architecture KD, the two-phase schedule, or simply the stronger DeiT-III backbone? The paper does not disentangle these. There is no per-tensor vs per-channel ablation for the patch embedding, no "ternarize each sensitive component individually" study, and no KD-vs-no-KD comparison at full ternarization. As written, it is plausible that most of the gain comes from KD rather than the proposed operators, which would change the framing of the contribution.
Clarity. The paper is well written and well illustrated; the operators are precisely defined (Eqs. 1–6), and the figures are informative. One clarity/consistency issue: the on-device accuracy is reported as 79.3% (Table 7) vs 79.64% (main text) — please reconcile. The framing of latency could also be clearer (see Significance).
Significance. The practical message — that the "unquantizable" components can be ternarized with KD, at MCU-relevant footprints — is useful and the deployment is a real first. However, the significance is dented by two framing issues. (1) Comparison fairness. The headline "up to 8 pp" / 82.43% relies on DeiT-III-S at 384² (FP32 = 84.85%), a stronger, higher-resolution backbone than the DeiT-S (FP32 = 79.86%) used by TerViT and others; the apples-to-apples number is FTerViT-DeiT-S 77.47% vs TerViT 74.2% (+3.27 pp). The abstract/intro should foreground the matched-backbone comparison rather than the backbone-advantaged one. (2) Activation bitwidth. Table 3 compares a W2A8 model against W2A2/W1A1 baselines (e.g., Q-ViT W2A2 = 72.1); 8-bit activations are substantially easier, so accuracy comparisons across these regimes are not like-for-like and should be flagged. (3) Practicality of deployment. End-to-end MCU latency is 21 s/inference (0.0475 inf/s), which undercuts the "always-on, low-power vision" motivation; and the 1.71× speed/55% energy wins are measured on a single DeiT-Tiny FC layer, not end-to-end. The deployment is a valuable feasibility demonstration but should be presented as such.
Originality. Modest. The ternary mechanism is taken directly from BitNet b1.58 ("as defined in BitNet-1.58b"); TernaryBitConv2d is standard per-channel absmean scaling, and TernaryLayerNorm is the same absmean scheme applied to affine parameters. The novelty is therefore primarily empirical — showing this combination plus same-architecture KD overcomes a limitation prior work reported as prohibitive — rather than a new quantization technique. This is a worthwhile finding but the methodological novelty is incremental.
Questions
- Isolate the contribution (most important). Please add ablations that disentangle the sources of the gain at full ternarization: (a) per-channel vs per-tensor scaling for TernaryBitConv2d; (b) ternarizing patch-embed / LayerNorm / head individually vs jointly; (c) with vs without KD (and same-arch vs label-only) under identical settings. This directly tests whether the success is due to the proposed operators or primarily the distillation recipe.
- Matched-backbone framing. Could you foreground the DeiT-S vs TerViT-DeiT-S comparison (+3.27 pp) as the primary result, and clearly label the 82.43%/"8 pp" figures as backbone- and resolution-advantaged?
- Activation bitwidth. Please clarify in Table 3 which baselines are W2A2/W1A1 vs W2A8, and if possible report an FTerViT W2A2/W2A4 point so readers can compare under matched activation precision.
- Latency/practicality. 21 s/inference seems far from "always-on." Can you report end-to-end (not single-layer) ternary-vs-INT8 latency/energy, and clarify the realistic use cases given this throughput?
Limitations
Partially.
Formatting concerns
None.
2 comments
Dear Reviewer,
We are grateful for your careful review and valuable suggestions. Your perspective is much appreciated. Please find our responses to all of your questions below.
Firstly we ran the ablations you asked for inside the discussion time period. We performed proxy grid runs for CIFAR-100, DeiT-Tiny, using distillation, one shared full precision teacher, one seed and isolated parameters. We acknowledge that scaling results to the ImageNet-scale replication of these ablations requires more time and is committed for the camera-ready submission.
Q1c (with vs. without distillation)
Our DeiT-Tiny / CIFAR-100 ablation shows that removing distillation costs accuracy loss of 3.17 pp when comparing with our DeiT-Tiny / CIFAR-100, keeping the teacher but replacing its soft output with its hard prediction leads to the loss of 3.16 pp. We ran DeiT-Tiny training on CIFAR-100 to reproduce reported full two-phase run using 3 different seeds. The spread is pp. We acknowledge that distillation is the enabler that allows us to push quantization further in ViT. The gain is the teacher's output distribution: not the operators, and not merely having a teacher. We are confident that gain comes from KD rather than the proposed operators. Operators are the means to implement ternary quantization for models.
Q1b (ternarizing each component). Full run under one recipe; all numbers are Phase-2 top-1 deltas relative to our fully ternary DeiT-Tiny on CIFAR-100 (seed spread 0.42 pp): encoder-only +0.63 pp; + ternary classifier head +0.44 pp; + ternary LayerNorm affines -1.55 pp; + ternary patch embedding = the fully ternary model, 0. Full ternarization costs only 0.63 pp against encoder-only, no single component dominates, and removing the distillation effect (-3.17 pp) exceeds the entire ladder. The cost of ternarizing the LayerNorm affines depends on the surrounding precision: next to INT8 patch and head it is free at best (+0.07 pp), while next to an FP32 patch embedding it is the largest single step in the ladder
Q1a (per-channel vs. per-tensor patch embedding).. Per-channel and per-tensor is negligible for CIFAR-100.
Evidence beyond accuracy.
Layer by layer against the FP32 teacher, the distilled student matches better at every block and the gap widens with depth. In the weights, ternary sign patterns are near-identical across the patch embedding, the encoder and the normalization layers regardless of loss; they differ only at the classifier head, where training without soft targets drifts. Ternarization is not the obstacle. Shaping the output end of the network is, and a label does not carry enough information to do it. We solve this obstacle and show that under KD with a strong teacher the limits of ternary quantization can be pushed to extremes.
A control that went against us, reported as such. Training with cross-entropy alone, accuracy falls, though it stays well above what cross-entropy reaches on its own. Cross-entropy neither finds the distilled solution nor keeps it.
Q2 (matched-backbone framing). Agreed. The abstract will lead with FTerViT-DeiT-S 77.47% vs. TerViT 74.2% (+3.27 pp), and label the 82.43%/"8 pp" figures as backbone-, resolution advantaged.
Q3 (activation bitwidth). We cannot produce a W2A2/W2A4 point this cycle. The Table 3 caption will state which rows are W2A2/W1A1 and which are W2A8. Our direct comparators (TerViT, ViT-1.58b) are W2A8, so the headline rows are matched.
Q4 (latency and practicality). Agreed. "Always-on" is the wrong phrase and will be removed; the deployment is presented as a feasibility result. The storage-format speedup is labelled kernel-level wherever cited. A fully-INT8 DeiT-S does not fit this device, so no end-to-end INT8 baseline is available on it. We will update application of our system to plant-disease check one photo per node per hour or day, Industrial state monitoring sampled every N minutes on unpowered infrastructure.
Clarity (79.3% vs. 79.64%). Corrected at source. We overlooked this mistakes.
We appreciate your feedback and hope these clarifications are helpful. Should you need any further details during the rebuttal phase, please feel free to reach out, and we kindly invite you to reconsider our work in light of these explanations.
Dear Reviewer,
We would like to follow up on ImageNet-1K dataset isolation controls you asked within the discussion window. All numbers are top-1 on the official dataset.
Q1a (per-channel vs per-tensor, ImageNet)
We conducted additional experiments for FTerViT-DeiT-S using 5 seeds.We report: FTerViT-DeiT-S per-channel 77.35 +/- 0.04 vs per-tensor 77.27 +/- 0.05. Per-channel helps, but marginally consistent with adopting standard practice.
Q1b (per-component, ImageNet)
We measured each component separately: one component at a time set to INT8, trained identical across components patch embedding 77.27, classifier head 77.53 , LayerNorm affines 76.77. No single component dominates the accuracy of the full model. The joint version, all three at INT8 trained from scratch under the identical full recipe, reaches 78.28% at 6.33 MB vs 77.47% at 5.81 MB fully ternary. The same unchanged recipe produced both models, so the training strategy generalizes across precision assignments, and full ternarization is the size-optimal point of one general recipe.
Q1c (KD contribution, ImageNet)
Phase 2 re-run with the distillation term removed (cross-entropy only), 5 seeds: 76.89 +/- 0.08 vs 77.45 +/- 0.07 with distillation, a 0.56 pp cost. The full-training contribution is larger (3.17 pp in the CIFAR two-phase ablation). The mechanism differs and we measured both. In full training (CIFAR-100), the loss function changes the weights of exactly one component: ternary sign patterns are near-identical across the patch embedding, encoder, and normalization layers regardless of loss, and only the classifier head drifts without soft targets (every other component matches to within 0.05%). A one-hot label does not carry enough information to place 1000 decision boundaries precisely, the teacher's output distribution does. In the short ImageNet restart, by contrast, both losses leave sign patterns essentially unchanged in every component, so the 0.56 pp gain there flows through weight magnitudes and scales rather than sign flips. Distillation helps at every stage of training, early by shaping the output end of the network and late by refining within a fixed sign structure.
Variance. 5-seed replication on both backbones: FTerViT-DeiT-III-S 79.70 +/- 0.08 (published 79.64 inside), FTerViT-DeiT-S 77.45 +/- 0.07 (published 77.47 inside).
On originality, we hope these results sharpen the framing you suggested the contribution is the empirical demonstration, now isolated at ImageNet scale, that distillation (not the operators) is what makes full ternarization work.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Dear Reviewer,
We would like to thank you for your insightful feedback. We highly appreciate your perspective, and we address all of your questions below. We ran the experiments you requested within the discussion window: a variance estimate, an INT8 sensitive-layer baseline, and a γ ablation.
W1: The contribution
We agree with your observation that the main scientific contribution is the finding that, under knowledge distillation and with a proper implementation, components that were considered too sensitive can be quantized. The literature treats the patch embedding, the classifier head, and the normalization affines as un-ternarizable, and reports collapse when they are ternarized: TerViT's own Table 3 falls from 66.6% to 44.2% under exactly this change. We question this convention and compress the model further. The introduced operators are the means to implement this inside the model. We measured it on DeiT-Tiny and CIFAR-100: training without distillation costs an accuracy loss of −3.17 pp compared to our FTerDeiT-Tiny. We present a smaller model, better suited to the edge and to memory bandwidth, which is a very topical issue. The abstract and introduction will be reframed accordingly, and we will include MobileNet-V3/V4 rows in the revision.
W2 / Q2: Statistical support, multi-seed or variance estimate
We ran three full two-phase runs on CIFAR-100 with DeiT-Tiny, giving σ=0.42 pp. The matched-backbone ImageNet margin over TerViT (+3.27 pp) is ∼8× this proxy. Multi-seed ImageNet training (1-2 days per run on 8×L40S) is committed for the camera-ready.
W3: Critical baseline, sensitive layers at INT8
We ran with an identical training recipe (Table 3), the TerViT-style precision assignment (patch + head INT8, LayerNorm FP32) on DeiT-S with CIFAR-100 and KD gains 0.49 pp (1.2σ) at +9.6 procent serialized size. Full ternarization is therefore the size-optimal point, at minimal accuracy cost. The revision will state the trade-off between hardware friendliness and storage size instead of a pure accuracy benefit. Ternary LayerNorm affines cost nothing relative to FP32 ones (+0.07 pp) for this example.
W4: Backbone fairness
The abstract will precisely show the matched-backbone +3.27 pp (77.47 vs. 74.2, both DeiT-S), and we will make it clear to the reader that the DeiT-S III result (82.43%, the "8 pp" figure) is backbone- and resolution-advantaged. We use DeiT-S III to show the full potential that can be realized on the edge, which prior work has not tested.
W5 / Q1: Is the ternary LayerNorm scale removable?
Fixing γ≡1 costs 0.77 pp (1.8σ, consistent in both phases), and removing the affine entirely costs 5.17 pp. We checked this on DeiT-Tiny and CIFAR-100. On the released DeiT-III-S checkpoint, the learned γ never uses the −1 level, but its absmean scale spans 6.1× (0.63 to 3.86), which an identity γ cannot express.
W6: Number inconsistencies
The numerical inconsistency was an oversight on our part, and we have fixed it. Independently, all released checkpoints report consistent results.
Q3 / Q4: Apple-to-apple latency comparison
We are concerned that a measured like-for-like latency table across Table 3 cannot be constructed: none of the compared works reports latency on common hardware, and the W1A1/W2A2/W2A8 baselines lack production GPU kernels, so any GPU timing we produced would be measuring fake-quantized FP32, which would almost certainly perform worse than bf16 or any native GPU format. Instead, we provide (I) column (W×A) for every row of Table 3, which is hardware-independent and auditable, and (II) a measured comparison at identical arithmetic, where packed ternary is 1.71× faster than FP32 and 1.27× faster than INT8 and on-device inference profile in Table 7. The paper's claim is size- and energy-driven, and the revision labels it as such. We also replace "always-on" with "duty-cycled / event-triggered", since at 21.06 s per inference the deployment is a demonstration, not a continuous-sensing system.
We appreciate your feedback and hope these clarifications are helpful. Should you need any further details during the rebuttal phase, please feel free to reach out, and we kindly invite you to reconsider our work in light of these explanations.