- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
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
Paper formatting concerns
No issues with the paper formatting
Final justification
My initial rating was BR. After the rebuttal and the authors' clarifications, I increased it to BA.
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.