VisionMX: Unlocking Microscaling Post-Training Quantization for Vision Models
Organizations: Arm AI Research (AAIR), Arm Ltd
Abstract
Microscaling (MX) formats are emerging as a hardware-supported approach to efficient training and inference. They combine low-precision elements with shared block scales, but their impact on vision models remains underexplored. We systematically investigate post-training MX quantization across vision models and tasks. An analysis of direct conversion identifies three sources of error: block-scale representation, the poor alignment of some small convolutional weight tensors with nonuniform element grids, and the underuse of signed codes by nonnegative activations. These findings motivate VisionMX, a post-training MX quantization method that optimizes bounded weight rounding and applies a foldable affine correction to activations. We evaluate VisionMX across image classification, object detection, semantic segmentation, and low-light image enhancement using several MX-style formats. It improves on direct conversion and the evaluated post-training quantization baselines, with the largest performance recoveries in architectures most sensitive to MX conversion
Figures & tables
| Format | Method | Tiny | Small | Medium | Large | |||
|---|---|---|---|---|---|---|---|---|
| MobileNetV2 | ResNet-18 | CaiT-XXS24 | ConvNeXt-Tiny | EfficientFormer-L3 | ResNeXt-101 32x8d | EfficientViT-L2 | ||
| 14.30 MB | 46.80 MB | 47.90 MB | 114.40 MB | 125.60 MB | 355.20 MB | 255.00 MB | ||
| Float | – | 72.15 | 69.76 | 78.39 | 82.52 | 82.55 | 82.83 | 85.06 |
| MXFP4 UE8M0 | RTN | 0.40 | 57.72 | 69.48 | 76.27 | 63.07 | 64.89 | 0.10 |
| AdaRound | 41.20 0.45 | 65.73 0.10 | 65.24 0.18 | 78.67 0.05 | 79.33 0.09 | 55.24 0.46 | 2.54 0.37 | |
| QDrop | 57.99 0.14 | 66.27 0.13 | 73.39 0.06 | 79.75 0.06 | 80.17 0.05 | 78.80 0.06 | 4.80 0.13 | |
| Format | Method | Faster R-CNN R50-FPN | RetinaNet R50-FPN | FCOS R50-FPN |
|---|---|---|---|---|
| Float | – | 36.90 | 36.40 | 39.10 |
| MXFP4 UE8M0 | RTN | 24.50 | 23.80 | 25.10 |
| AdaRound | 5.45 0.18 | 30.83 0.08 | 31.96 0.04 | |
| QDrop | 32.45 0.08 | 31.69 0.10 | 33.90 0.10 | |
| VisionMX-LW (Ours) | 2.11 0.12 | 32.62 0.10 | 34.81 0.03 | |
| VisionMX-BW (Ours) | 33.15 0.10 | 32.30 0.08 | 34.69 0.08 |
| Format | Method | DeepLabV3 R50 | DeepLabV3 MobileNetV3 |
|---|---|---|---|
| Float | – | 66.20 | 60.00 |
| MXFP4 UE8M0 | RTN | 56.90 | 4.80 |
| AdaRound | 59.72 0.20 | 20.08 0.61 | |
| QDrop | 62.61 0.19 | 47.21 0.46 | |
| VisionMX-LW (Ours) | 62.24 0.09 | 52.96 0.21 | |
| VisionMX-BW (Ours) | 63.13 0.08 | 53.31 0.28 |
| RR | Bias | AAC | MobileNetV2 | CaiT-XXS24 |
|---|---|---|---|---|
| ✗ | ✗ | ✗ | 52.73 | 73.15 |
| ✗ | ✗ | ✓ | 64.54 | 73.27 |
| ✗ | ✓ | ✗ | 54.91 | 73.16 |
| ✗ | ✓ | ✓ | 64.84 | 73.55 |
| ✓ | ✗ | ✗ | 56.12 | 73.35 |
| ✓ | ✗ | ✓ | 65.24 | 73.50 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Mode | Float | UE8 | Best |
|---|---|---|---|---|
| ResNet-18 | W | 69.76 | 62.43 | 65.87 (UE5M3) |
| ResNet-18 | A | 69.76 | 63.14 | (UE4M4) |
| ConvNeXt-Tiny | W | 82.51 | 81.32 | 81.82 (UE5M3) |
| ConvNeXt-Tiny | A | 82.51 | 78.69 | 80.29 (UE4M4) |
| Format | E/M bits | Bias | Positive scale range |
|---|---|---|---|
| UE8M0 | 8/0 | 0 | – |
| UE7M1 | 7/1 | 63 | – |
| UE6M2 | 6/2 | 31 | – |
| UE5M3 | 5/3 | 15 | – |
| UE4M4 | 4/4 | 7 | – |
| UE3M5 | 3/5 | 3 | – |
| Format | Assignment rule | Weight pair | Loss |
| FP4 | Best up–down | 0.365 | |
| FP4 | Full grid | 0.315 | |
| INT4 | Nearest | 0.117041 | |
| INT4 | Best up–down | 0.110918 | |
| INT4 | Full grid | 0.110918 |
| Format | Method | Tiny | Middle | Large | |
|---|---|---|---|---|---|
| DeiT-T | ViT-S/16 | Swin-T | DeiT-B | ||
| 22.90 MB | 88.20 MB | 114.30 MB | 346.30 MB | ||
| Float | TBD | 72.17 | 81.38 | 81.38 | 81.98 |
| MXFP4 UE8M0 | RTN | 63.54 | 75.12 | 76.97 | 79.71 |
| AdaRound | 61.69 0.06 | 73.07 0.09 | 77.96 0.07 | 78.99 0.02 | |
| QDrop | 66.50 0.11 | 75.88 0.08 | 79.40 0.07 | 80.34 0.03 | |
| Format | Method | RetinexFormer | HVI-CIDNet | ||||
|---|---|---|---|---|---|---|---|
| PSNR | SSIM | LPIPS | PSNR | SSIM | LPIPS | ||
| Float | – | 22.80 | 85.43 | 17.08 | 23.89 | 87.92 | 12.24 |
| MXFP4 UE8M0 | RTN | 22.36 | 76.39 | 22.51 | 20.48 | 73.02 | 26.76 |
| AdaRound | 22.59 | 77.52 | 22.70 | 23.09 0.06 | 77.94 0.21 | 24.92 0.33 | |
| QDrop | 22.55 0.05 | 77.08 0.12 | 22.67 0.19 | 22.93 0.06 | 78.12 0.05 | 24.11 0.13 | |
| VisionMX-LW | 22.45 | 79.98 | 21.38 | 23.33 0.03 | 82.39 0.06 | 18.24 0.19 | |
| Task | Model | Metric | Float | Weight-only | Activation-only |
|---|---|---|---|---|---|
| Classification | MobileNetV2 | Top-1 (%) | 72.15 | 1.86 | 34.43 |
| Classification | DeiT-T | Top-1 (%) | 72.17 | 69.00 | 67.08 |
| Classification | ResNet-18 | Top-1 (%) | 69.76 | 63.14 | 63.29 |
| Classification | CaiT-XXS24 | Top-1 (%) | 78.39 | 74.85 | 74.04 |
| Classification | ConvNeXt-Tiny | Top-1 (%) | 82.52 | 81.30 | 78.63 |
| Classification | EfficientFormer-L3 | Top-1 (%) | 82.55 | 75.46 | 76.85 |
| UE5M3 scale | UE8M0 scale | |||||
| Task | Model | Float | RTN w/o BC | RTN w/ BC | RTN w/o BC | RTN w/ BC |
| Classification | MobileNetV2 | 72.15 | 69.44 | 70.95 | 64.60 | 69.81 |
| Classification | DeiT-T | 72.17 | 71.87 | 71.84 | 71.79 | 71.78 |
| Classification | ResNet-18 | 69.76 | 69.16 | 69.24 | 69.17 | 69.35 |
| Classification | CaiT-XXS24 | 78.39 | 78.18 | 78.17 | 77.97 | 77.95 |
| Classification | ConvNeXt-Tiny | 82.52 | 82.23 | 82.28 | 82.17 | 82.20 |
| RR | Bias | AAC | MobileNetV2 | CaiT-XXS24 |
|---|---|---|---|---|
| ✗ | ✗ | ✗ | 41.80 | 53.86 |
| ✗ | ✗ | ✓ | 64.07 | 60.90 |
| ✗ | ✓ | ✗ | 49.47 | 55.45 |
| ✗ | ✓ | ✓ | 65.46 | 63.89 |
| ✓ | ✗ | ✗ | 47.34 | 59.18 |
| ✓ | ✗ | ✓ | 64.25 | 62.49 |