atlas

Research map / Architectures and efficiency / Quantization

Mixture of Scales: Memory-Efficient Token-Adaptive Binarization for Large Language Models

NeurIPS 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of LLMs · 3 citations (OpenAlex)

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 BinaryMoS, a 1-bit LLM binarization method whose scaling factors are multiple experts linearly combined per token by a learned router, trained with quantization-aware knowledge distillation.

Problem

Binarizing LLM weights to 1 bit greatly degrades linguistic performance, and prior LLM binarization methods either add high memory overhead or still lose much accuracy.

Approach

Replace static per-dimension scaling factors of binarized weights with multiple scaling experts for input and output dimensions, which a softmax router merges per token into token-adaptive scales, adding only a small memory overhead compared with MoE over full weight matrices.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use token-adaptive scaling experts instead of OneBit's static scaling1-bit LLM binarization · WikiText2, OPT-125M; OPT-1.3B; LLaMA-1-7B; LLaMA-1-13B; LLaMA-2-7B; LLaMA-2-13Bperplexity: 39.45 -> 36.46; 20.36 -> 18.45; 8.48 -> 7.97; 7.65 -> 7.16; 8.60 -> 7.88; 7.56 -> 7.08Helped
Use token-adaptive scaling experts instead of OneBit's static scaling1-bit LLM binarization · C4, OPT-125M; OPT-1.3B; LLaMA-1-7B; LLaMA-1-13B; LLaMA-2-7B; LLaMA-2-13Bperplexity: 35.58 -> 33.13; 20.76 -> 18.83; 10.49 -> 9.72; 9.56 -> 8.81; 10.74 -> 9.75; 9.67 -> 8.91Helped
Use token-adaptive scaling experts instead of OneBit's static scaling1-bit LLM binarization · Common Sense tasks average, OPT-125M; OPT-1.3B; LLaMA-1-7B; LLaMA-1-13B; LLaMA-2-7B; LLaMA-2-13Bzero-shot accuracy: 42.84 -> 43.37; 47.50 -> 49.34; 52.36 -> 54.48; 55.10 -> 56.68; 52.42 -> 54.01; 55.29 -> 57.09Helped
Increase scaling experts from 1 to 2 (ablation)BinaryMoS · LLaMA-1-7B quick assessment, WikiText2perplexity: 9.33 -> 9.19Helped
Increase scaling experts from 2 to 4 (ablation)BinaryMoS · LLaMA-1-7B quick assessment, WikiText2perplexity: 9.19 -> 8.92Helped
Increase scaling experts from 2 to 4 (ablation)BinaryMoS · LLaMA-1-7B quick assessment, C4perplexity: 12.18 -> 11.85Helped
Increase scaling experts from 4 to 8 (ablation)BinaryMoS · LLaMA-1-7B quick assessmentperplexity: 8.92 -> 9.17; 11.85 -> 12.28Hurt
Train on WikiText2 only rather than the mixed WikiText2 and C4 dataset (ablation)BinaryMoS, LLaMA-1-7B · C4perplexity: 11.85 -> 28.61Hurt
Train on WikiText2 only rather than the mixed WikiText2 and C4 dataset (ablation)BinaryMoS, LLaMA-1-7B · Common Sense tasks averagezero-shot accuracy: 50.61 -> 45.32Hurt
Train on C4 only rather than the mixed WikiText2 and C4 dataset (ablation)BinaryMoS, LLaMA-1-7B · WikiText2perplexity: 8.92 -> 13.76Hurt
Train on generated data rather than the mixed WikiText2 and C4 dataset (ablation)BinaryMoS, LLaMA-1-7B · Common Sense tasks averagezero-shot accuracy: 50.61 -> 49.42Hurt
Use 4 scaling experts instead of 1 (ablation)BinaryMoS · LLaMA-1-7B quick assessment, Common Sense tasks averagezero-shot accuracy: 48.89 -> 50.61Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText2 C4

Benchmarks: WikiText2 C4 BoolQ PIQA HellaSwag WinoGrande ARC-e ARC-c

Metrics: perplexity zero-shot accuracy memory footprint latency

Baselines: PB-LLM BiLLM OneBit GPTQ OmniQuant

Builds on: OneBit BiLLM PB-LLM Mixture of Experts knowledge distillation

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