[Paper Review] Astroformer: More Data Might not be all you need for Classification
Astroformer proposes a hybrid transformer-convolutional architecture with a novel stack design, relative self-attention, and optimized data augmentation and regularization to achieve state-of-the-art performance in low-data regimes. It achieves 94.86% top-1 accuracy on the Galaxy10 DECals dataset with only 17,736 labeled images, outperforming prior methods by 4.62% and setting new SOTA on CIFAR-100 and Tiny ImageNet.
Recent advancements in areas such as natural language processing and computer vision rely on intricate and massive models that have been trained using vast amounts of unlabelled or partly labeled data and training or deploying these state-of-the-art methods to resource constraint environments has been a challenge. Galaxy morphologies are crucial to understanding the processes by which galaxies form and evolve. Efficient methods to classify galaxy morphologies are required to extract physical information from modern-day astronomy surveys. In this paper, we introduce Astroformer, a method to learn from less amount of data. We propose using a hybrid transformer-convolutional architecture drawing much inspiration from the success of CoAtNet and MaxViT. Concretely, we use the transformer-convolutional hybrid with a new stack design for the network, a different way of creating a relative self-attention layer, and pair it with a careful selection of data augmentation and regularization techniques. Our approach sets a new state-of-the-art on predicting galaxy morphologies from images on the Galaxy10 DECals dataset, a science objective, which consists of 17736 labeled images achieving 94.86% top-$1$ accuracy, beating the current state-of-the-art for this task by 4.62%. Furthermore, this approach also sets a new state-of-the-art on CIFAR-100 and Tiny ImageNet. We also find that models and training methods used for larger datasets would often not work very well in the low-data regime.
Motivation & Objective
- To address the challenge of training high-performing models in low-data regimes where large-scale pretraining is infeasible.
- To improve galaxy morphology classification in astronomy, a critical task for understanding galaxy formation and evolution.
- To develop a method that generalizes well with limited labeled data, avoiding reliance on synthetic data or transfer learning.
- To establish a new state-of-the-art for galaxy morphology classification on the Galaxy10 DECals dataset.
Proposed method
- Proposes a hybrid transformer-convolutional architecture inspired by CoAtNet and MaxViT, with a redesigned stack structure to improve feature learning.
- Introduces a modified relative self-attention mechanism to enhance long-range dependency modeling while maintaining efficiency.
- Employs a custom data augmentation strategy based on regional dropout to improve robustness and generalization.
- Applies careful regularization techniques, including weight decay and learning rate scheduling, to prevent overfitting in low-data settings.
- Trains models from scratch in a supervised setting without transfer learning, focusing on sample-efficient learning.
- Uses a combination of RandAugment and other augmentation layers to improve data efficiency and model generalization.
Experimental results
Research questions
- RQ1Can a hybrid transformer-convolutional architecture achieve state-of-the-art performance in low-data image classification without pretraining?
- RQ2How do architectural design choices, such as stack structure and attention mechanism, affect performance in low-data regimes?
- RQ3To what extent do data augmentation and regularization techniques improve generalization when labeled data is scarce?
- RQ4Can a model trained from scratch on a small dataset like Galaxy10 DECals outperform transfer-learned models in the same setting?
- RQ5Does the performance of vision transformers degrade significantly in low-data regimes, and can this be mitigated with architectural and training modifications?
Key findings
- Astroformer achieves 94.86% top-1 accuracy on the Galaxy10 DECals dataset, a 4.62% improvement over the previous state-of-the-art.
- The method sets a new state-of-the-art on CIFAR-100 with a top-1 accuracy of 93.36% on the largest Astroformer variant.
- On Tiny ImageNet, Astroformer achieves a top-1 accuracy of 89.38%, establishing a new SOTA for this benchmark.
- The model generalizes well in low-data regimes, with a small gap between training loss and evaluation accuracy, indicating strong generalization capability.
- Models trained on synthetic data or with standard ViT training protocols perform poorly in low-data settings, highlighting the need for specialized designs.
- The ablation study shows that edge-on galaxies without bulge and disturbed galaxies contribute most to error, suggesting these classes are more challenging to classify.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.