Vision Transformer
Vision Transformer
- Tasks
- Classification
- Application areas
- Computer vision
- Common metrics
- Accuracy, Precision, Recall, F1-score, ROC-AUC
- Papers in the repository
- 0
Description and architecture
ViT.
Splits the image into patches, embeds them, then a Transformer encoder.
Inputs and outputs: Image → class
What can be optimized?
patch size, depth, heads, learning_rate, warmup, weight_decay, dropout
Advantages
High scalability with large data
Limitations
Needs pre-training on huge data
Relationship table: three separate kinds of evidence
Theoretical fit Theoretically suitable optimization types
| Optimization type | Rationale | Conditions of use |
|---|---|---|
| Hyperparameter Optimization | Model performance is sensitive to its hyperparameters, and the search space is mixed and non-differentiable, so population-based algorithms are suited to exploring it. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Neural Architecture Search | The architecture (number of layers, filters, connections) is a large discrete space; evolutionary and swarm algorithms are well-known NAS methods. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Loss Function Optimization | The weights of the components of a composite loss function (such as Dice + CE) can be searched as a continuous optimization problem. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Data Augmentation | Searching for the augmentation policy (types of transformations and their strength) is a well-known optimization problem. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Training Strategy Optimization | Training parameters (batch size, number of epochs, regularization) can be tuned with black-box search. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Learning Rate Optimization | The learning-rate schedule and optimizer parameters strongly affect convergence and can be tuned as continuous hyperparameters. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Model Compression | Model compression is multi-objective by nature: accuracy versus size and inference time. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Pruning | Choosing the filters/channels to remove is a large binary problem suited to binary encoding. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Quantization | Setting the bit precision of each layer (mixed precision) is a discrete multi-objective problem. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Class Imbalance Optimization | Class weights, the decision threshold or resampling ratios can be optimized for a balanced metric (F1, Balanced Accuracy). | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
| Model Selection | Model selection and its hyperparameters can be encoded together in one vector (CASH) and evaluated with cross-validation. | The evaluation cost is high: use data subsets, fewer epochs or surrogate models. |
Published result Algorithms that appeared with this model in repository papers
An aspect that did not appear in the current search results within the repository.
Tested by the user Completed experiments recorded by lab users
No completed experiments have been recorded for this model yet.
Reference
Dosovitskiy et al., An Image is Worth 16x16 Words (arXiv 2010.11929) 10.48550/arXiv.2010.11929
