Computer Vision Lab Experiments Attention Rollout on DeiT

Attention Rollout on DeiT

An attention flow map in a real vision transformer (needs the DeiT pack).

For researchers (advanced)AdvancedVisual explanation and attention maps

Experiment steps

  1. Choose DeiT-Tiny.
  2. Run Rollout.
  3. Switch to last-layer attention.

Expected result

An enlarged 14×14 map.

Algorithm: Aggregating attention across layers (Attention Rollout)

Preparing the lab…

Your images are processed inside your browser and are neither uploaded to the server nor stored. Do not upload images containing patient identifying data.

Related lessons