
coat_tiny
Image classification1,733 ops5.5M params
Co-scale conv-attentional image Transformer: multi-scale encoder branches that talk to each other.
Image classification · 460 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
timm.create_model('coat_lite_mini', pretrained=False) About this model's family
CoaT, short for Co-scale conv-attentional image Transformers, is a Transformer-based image classifier equipped with co-scale and conv-attentional mechanisms. The co-scale mechanism keeps the Transformer encoder branches intact at each individual scale while letting representations learned at different scales communicate with one another.
The authors realize it with a series of serial and parallel blocks. The conv-attentional mechanism folds a relative position embedding into the factorized attention module through an efficient convolution-like implementation. Together these give image Transformers enriched multi-scale and contextual modeling capabilities.
On ImageNet, relatively small CoaT models attain superior classification results compared with similar-sized convolutional neural networks and image or vision Transformers. The backbone is also shown to work for object detection and instance segmentation. The paper was accepted to ICCV 2021 as an oral.
Key idea. A Transformer image classifier whose co-scale mechanism lets encoder branches at different scales communicate, and whose conv-attentional module implements relative position embeddings as an efficient convolution-like operation.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{xu2021coscaleconvattentionalimagetransformers,
title={Co-Scale Conv-Attentional Image Transformers},
author={Weijian Xu and Yifan Xu and Tyler Chang and Zhuowen Tu},
year={2021},
eprint={2104.06399},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2104.06399},
}