qZACH-ViT: Quantization-Aware Intrinsic Explanations with Recursive Attribution-Stabilized Optimization

📅 2026-07-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the longstanding trade-off between model efficiency and interpretability in medical image classification by proposing qZACH-ViT, the first framework to unify quantization-aware training with intrinsic interpretability. Built upon the CLS-token-free and position-encoding-free ZACH-ViT architecture, the model integrates mixed-precision INT8 quantization with a recursive intrinsic attribution mechanism, further enhanced by a novel Recursive Attribution Stability Optimization (RASO) strategy that improves attribution consistency through gradient norm matching and removal of conflicting attributions. Evaluated across seven MedMNIST datasets, the INT8-quantized model surpasses its FP32 baseline by an average accuracy gain of 0.0368, achieves 99.9751% prediction consistency, yields attribution map similarity exceeding 0.9999, reduces model size by 70%, and accelerates CPU inference by up to 2.39×.
📝 Abstract
Compact medical-image classifiers need efficiency and interpretable evidence, yet these goals are often addressed separately. We introduce qZACH-ViT, a quantization-aware extension of the zero-token (CLS-token-free), position-free ZACH-ViT backbone with recursive intrinsic patch-level class evidence. We also introduce Recursive Attribution-Stabilized Optimization (RASO), which norm-matches classification and attribution gradients and removes attribution components that conflict with classification. We evaluate four controlled conditions on seven MedMNIST datasets using 50 training images per class and ten fixed seeds, completing 280 runs. All 210 qZACH-ViT checkpoints are converted to executable mixed-precision ONNX INT8 graphs containing 16 signed INT8 MatMulInteger projections with INT32 accumulation. Deployed mixed-precision INT8 qZACH-ViT with Adam improves the FP32 ZACH-ViT baseline mean on all seven datasets, with a mean paired gain of 0.0313 in the dataset-specific primary metric; qZACH-ViT with RASO yields a mean gain of 0.0368. Across 964,920 source-to-INT8 test comparisons, prediction agreement is 99.9751\%, with a mean absolute primary-metric change of 0.000133 and a maximum of 0.004386. Across 3,600 matched intrinsic maps, mean cosine similarity is 0.999955, mean rank correlation is 0.9944, and mean top-10\% overlap is 0.9692. ONNX artifacts are 70.0\% smaller than source checkpoints and provide $1.41\times$ and $2.39\times$ end-to-end CPU speedups with one and four threads. RASO significantly reduces sufficiency error and improves input-noise stability over Adam with the same attribution loss, but does not dominate every predictive or explainable artificial intelligence (XAI) metric. These results establish qZACH-ViT as a deployable compact intrinsically explainable model and RASO as a targeted stability-oriented optimization procedure.
Problem

Research questions and friction points this paper is trying to address.

quantization-aware
interpretable AI
medical image classification
intrinsic explanations
model efficiency
Innovation

Methods, ideas, or system contributions that make the work stand out.

Quantization-Aware
Intrinsic Explainability
Recursive Attribution-Stabilized Optimization
Vision Transformer
Medical Image Classification