atlas

Research map / Architectures and efficiency / Quantization

Reshape and Adapt for Output Quantization (RAOQ): Quantization-aware Training for In-memory Computing Systems

ICML 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RAOQ, a quantization-aware training framework (A-shift, W-reshape, BitAug, ADC-LoRA) that mitigates ADC quantization error in in-memory computing so CNNs and transformers keep near-baseline accuracy at low ADC bit precision.

Problem

ADC quantization in analog in-memory computing has fixed quantization step and clipping, which causes large accuracy degradation for modern CNN and transformer models, and vanilla QAT fails to recover it.

Approach

Improve SQNR of ADC inputs by shifting unsigned activations to signed (A-shift) and applying a kurtosis penalty to reshape weight distributions (W-reshape); adapt models by randomly sampling neighboring ADC bit precisions during training (BitAug); and reduce training cost with an MSE-initialized LoRA (ADC-LoRA).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply RAOQ instead of vanilla QATResNet50 · ImageNetaccuracy: 72.05 -> 76.27Helped
Apply RAOQ instead of vanilla QATBERT-base · SQuAD 1.1F1: 82.43 -> 87.67Helped
Apply RAOQ instead of vanilla QATOPT-1.3B · WikiText-2perplexity: 30.14 -> 14.42Helped
Apply RAOQ instead of vanilla QATYOLOv5s · COCO2017mAP: 20.32 -> 28.49Helped
Add A-shift (ablation)ResNet50 · ImageNetaccuracy: 72.05 -> 75.77Helped
Add W-reshape (ablation)ResNet50 · ImageNetaccuracy: 72.05 -> 75.01Helped
Add BitAug (ablation)ResNet50 · ImageNetaccuracy: 72.05 -> 75.65Helped
Add A-shift and W-reshape (ablation)ResNet50 · ImageNetaccuracy: 72.05 -> 76.02Helped
Add A-shift, W-reshape, and BitAug (ablation)ResNet50 · ImageNetaccuracy: 72.05 -> 76.27Helped
Add ADC-LoRA (ablation)BERT-large · SQuAD 1.1F1: 89.08 -> 89.28Helped
Add ADC-LoRA (ablation)OPT-1.3B · WikiText-2perplexity: 14.39 -> 14.42Hurt
Add ADC-LoRA (ablation)BLOOM-1.7B · WikiText-2perplexity: 17.05 -> 17.06Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet COCO 2017 SQuAD 1.1 WikiText-2 WikiText-103 CIFAR-10

Benchmarks: ImageNet COCO 2017 SQuAD 1.1 WikiText-2 WikiText-103 CIFAR-10

Metrics: top-1 accuracy mAP F1 perplexity SQNR

Baselines: vanilla QAT Jin et al. 2022 Sun et al. 2021 Wei et al. 2020

Builds on: LSQ+ LoRA NetAug kurtosis regularization for quantization (Shkolnik et al., 2020)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy