arXiv:cs.AI· Hyeongheon Cha, Young D. Kwon, Sung-Ju Lee·· 10 小时前AI 评分33
QuAR:面向量化 ViT 的单次量化器对齐重校准测试时自适应方法
Test-Time Adaptation of Quantized ViTs via Single-Pass Quantizer-Aligned Recalibration
AI 导读
QuAR 是一种面向量化 ViT 的单次测试时自适应方法,无需反向传播、不更新任何模型参数,通过在冻结量化器输入端重校准激活值,将测试流的逐通道统计量映射回源校准分布。
正文
Abstract:Post-training quantization is a standard route to fitting vision transformers (ViTs) into edge compute and memory budgets, yet quantized models become especially brittle under distribution shift. Test-time adaptation (TTA) addresses such shifts without labels, but most existing approaches are poorly aligned with the constraints of quantized inference. Prevailing TTA methods recover accuracy through backpropagation, while backprop-free methods often still incur overhead from extra forward passes or parameter updates, and lightweight feature- or logit-level methods recover only part of the loss. Across these approaches, a quantization-specific failure mode that amplifies the drop is not directly targeted: under shift, activations occupy frozen quantizers' calibrated ranges differently, distorting their code distribution. We propose Quantizer-Aligned Recalibration (QuAR), a single-pass TTA method tailored to quantized ViTs that neither backpropagates nor updates any model parameters. QuAR recalibrates activations at the input to a frozen quantizer, mapping the test stream's running per-channel statistics back toward the source calibration. On ImageNet-C with ViT-B, QuAR achieves the highest mean accuracy among state-of-the-art backprop-free TTA methods at 3-, 4-, 6- and 8-bit weight/activation precision, outperforming the strongest baseline by 2.28 points at 8 bits and 4.00 at 3 bits, with 46% lower latency and a memory overhead of only 0.17 MB (0.01% of peak inference memory). Analysis and diagnostics trace the gain to a reduced per-channel mismatch at these quantizers, which restores the code distribution the baselines leave unchanged or distort further. A single fixed configuration remains ahead across continual streams, non-i.i.d. label shift, seven out-of-distribution suites, and three other backbones.
| Comments: | 44 pages, 6 figures. Code at this https URL |
| Subjects: | Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.08358 [cs.CV] |
| (or arXiv:2610.08358v1 [cs.CV] for this version) | |
| https://doi.org/10.48550/arXiv.2610.08358 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Hyeongheon Cha [view email]
[v1]
Tue, 6 Oct 2026 13:48:33 UTC (423 KB)
来源:arXiv:cs.AI · arxiv.org