atlas

Research map / Architectures and efficiency / Quantization

BiPer: Binary Neural Networks using a Periodic Function

CVPR 2024 · Architectures and efficiency › Quantization · approach: Binary neural networks · 12 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 BiPer, a binary neural network method that binarizes weights with a square-wave (sign of sine) in the forward pass and uses a sine surrogate gradient in the backward pass, with frequency controlling quantization error.

Problem

Binary neural networks suffer accuracy degradation because the sign function has zero gradient almost everywhere, and STE-style smooth surrogates create forward/backward mismatch that destabilizes gradients.

Approach

Use a binary periodic square wave (sign of sin(ω0 w)) for binarization in the forward pass and the derivative of the sine function with the same period as a differentiable surrogate in the backward pass; the frequency ω0 controls quantization error and is used to initialize weights in a two-stage training scheme.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use periodic binarization rather than sign binarization in the second training stage (ablation)BiPer two-stage training · CIFAR-10, ResNet-18/20Precision: 93.01 -> 93.93Helped
Vary the periodic-function frequency ω0 (ablation)BiPer · CIFAR-10, ResNet-18/20Top-1 precisionMixed
Choose an intermediate frequency ω0 = 20 (ablation)BiPer · CIFAR-10, ResNet-18/20Top-1 precisionHelped
Use a higher frequency to reduce weight quantization error (ablation)BiPer Stage 1 · CIFAR-10, ResNet-18/20Top-1 precisionHurt
Binarize weights and keep activations real instead of binarizing both (ablation)BiPer · CIFAR-10, ResNet-20Top-1 accuracy: 91.20% vs 91.20%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet ILSVRC-2012

Benchmarks: CIFAR-10 ImageNet

Metrics: Top-1 accuracy Top-5 accuracy quantization error

Baselines: XNOR-Net BNN DoReFa DSQ SLB IR-Net RBNN ReCU ReSTE MST DIR-Net LCR-BNN

Builds on: straight-through estimator Bi-Real Net ReSTE ReCU IR-Net

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