How Lightweight Can A Vision Transformer Be
<|reference_start|>How Lightweight Can A Vision Transformer Be: In this paper, we explore a strategy that uses Mixture-of-Experts (MoE) to streamline, rather than augment, vision transformers. Each expert in an MoE layer is a SwiGLU feedforward network, where V and W2 are shared across the layer. No complex attention or convolutional mechanisms are employed. Depth-wise scaling is applied to progressively reduce the size of the hidden layer and the number of experts is increased in stages. Grouped query attention is used. We studied the proposed approach with and without pre-training on small datasets and investigated whether transfer learning works at this scale. We found that the architecture is competitive even at a size of 0.67M parameters.<|reference_end|>
@article{tan2024how,
    title={How Lightweight Can A Vision Transformer Be},
    author={Jen Hong Tan},
    journal={arXiv preprint arXiv:2407.17783},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.17783},
    primaryClass={cs.CV cs.AI}
}