All models

AIM (Adapt Image Models)

A frozen CLIP ViT-B/16 image model turned into a video action recognizer by small spatial, temporal and joint adapters.

Video · 1,053 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (15 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Task
Video
Family
AIM
Parameters
96.8M
Operations
1,053
Framework
PyTorch
Recurrent
No
Published
ICLR 2023
Cited by
100 (as of 29 October 2026)
Authors
Taojiannan Yang, Yi Zhu, Yusheng Xie and others
License
Apache-2.0
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14530
Graph hash
d30955f4a015a593f9995d3150d865ecba2955bef083964701128121c1c264e3
Skeleton hash
ed69860e56ae893d52cd70c9092b0fb33d6201782900897bd26f8ea074564e92
Architecture hash
9324ac0ce9788c1887cf454f26eb4ee040a19e95c03d7b456a1e737d4ac6e730
Diagram SHA-256
f501c51581733804e8f19e370a490e2a02d095b73775ac344172240a4a7a9cb3
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

AIM (Adapting Image Models) turns a pre-trained image transformer into a video action recognizer without retraining it. The paper argues that fully finetuning such video models can be computationally expensive and unnecessary, given how well pre-trained image transformers transfer. AIM instead freezes the pre-trained image model and adds a few lightweight adapters for spatial adaptation, temporal adaptation and joint adaptation, which gradually give it spatiotemporal reasoning. During training only the adapters are updated.

The paper reports competitive or better performance than prior methods with substantially fewer tunable parameters on four video action recognition benchmarks. In the repository's Kinetics 400 table, the CLIP ViT-B/16 model with 32x3x1 views reaches 84.7 top-1 accuracy.

Key idea. AIM showed that a frozen pre-trained image transformer with lightweight spatial, temporal and joint adapters can match or beat prior video action recognition methods with far fewer tunable parameters.

  • aim
  • adapt image models
  • adapting image models
  • video action recognition
  • adapters
  • parameter-efficient fine-tuning
  • frozen clip vit
  • kinetics-400
  • spatiotemporal adaptation
  • video understanding

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{yang2023aimadaptingimagemodels,
      title={AIM: Adapting Image Models for Efficient Video Action Recognition}, 
      author={Taojiannan Yang and Yi Zhu and Yusheng Xie and Aston Zhang and Chen Chen and Mu Li},
      year={2023},
      eprint={2302.03024},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2302.03024}, 
}