atlas

Research map / Architectures and efficiency / Attention and transformers

BVT-IMA: Binary Vision Transformer with Information-Modified Attention

AAAI 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient and robust vision transformers · 5 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 BVT-IMA, which corrects the attention maps of binarized vision transformers with a small learnable information table indexed by Hamming distance, recovering information lost from constant token moduli.

Problem

Binarized vision transformers suffer large accuracy drops, partly because binary self-attention shifts highlighted attention regions away from the correct tokens.

Approach

Binary query/key tokens have constant moduli, so attention scores lose information quantity; the paper models attention scores as Bernoulli trials and replaces the lost information with learnable per-head modification factors indexed by the Hamming distance (d+1 factors), applied via lookup at inference with the same float operations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add information-modified attentionbinary DeiT-Tiny · CIFAR-100Top1 accuracy: 43.59% -> 62.46%Helped
add information-modified attentionbinary DeiT-Small · CIFAR-100Top1 accuracy: 66.41% -> 75.77%Helped
add information-modified attentionbinary DeiT-Tiny · TinyImageNetTop1 accuracy: 24.32% -> 39.67%Helped
add information-modified attentionbinary DeiT-Small · TinyImageNetTop1 accuracy: 38.77% -> 43.42%Helped
add information-modified attentionbinary DeiT-Tiny · ImageNet-1kTop1 accuracy: 21.68% -> 30.03%Helped
add information-modified attentionbinary DeiT-Small · ImageNet-1kTop1 accuracy: 30.73% -> 47.98%Helped
add information-modified attentionbinary DeiT-Base · ImageNet-1kTop1 accuracy: 38.19% -> 62.65%Helped
add information-modified attentionbinary Swin-Tiny · TinyImageNetTop1 accuracy: 58.66% -> 60.85%Helped
add information-modified attentionbinary NesT-Tiny · TinyImageNetTop1 accuracy: 52.21% -> 64.23%Helped
add information-modified attentionbinary Swin-Tiny, activations 1-1/32 · ImageNet-1kTop1 accuracy: 70.80% -> 72.03%Helped
add information-modified attentionbinary NesT-Tiny, activations 1-1/32 · ImageNet-1kTop1 accuracy: 68.70% -> 71.00%Helped
initialize the information table with the Bernoulli prior rather than all factors set to 1 (ablation)DeiT-Tiny with information-modified attention · CIFAR-100Top1 accuracy: 46.04% -> 62.46%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-100 TinyImageNet ImageNet-1k

Benchmarks: CIFAR-100 TinyImageNet ImageNet-1k

Metrics: Top-1 accuracy BOPs FLOPs OPs consistent relative magnitude ratio

Baselines: BiT GSB Q-ViT BiBERT BiViT

Builds on: BiT BiBERT LSQ DeiT

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