Quantization reduces memory, compute and power needs for Transformers. Binarizing weights meets these needs but introduces errors. Approximate memory cuts power further but adds more errors. Binary Transformers show large accuracy loss only at high Bit Error Rates. The paper proposes PIES to protect critical binary weights at low overhead. PIES exploits permutation invariance in Transformers to group and protect critical weights. Simulation shows PIES recovers most performance loss at BERs up to 10%. PIES uses significantly lower overhead than traditional error correction. The code for PIES is released on GitHub. Results confirm feasibility on resource-limited edge devices.
What it unlocks
Running binary Transformers on approximate memory with aggressive voltage scaling on low-power edge devices.
- BER = 5% or 10%
- 10% BER performance recovery
What you need to act on it
- binary Transformer weights
- approximate memory hardware
Sources