Object-independent evaluation of small-data astronomical image classifiers: architecture, representation, and acquisition shortcuts
Organizations: Institute of Geoscience and Exact Sciences, São Paulo State University (UNESP), Av. 24 A, 1515, Rio Claro, 13506-900, São Paulo, Brazil
Abstract
Reported performance in small astronomical image datasets can reflect object reuse, field-of-view differences, acquisition settings, and catalogue-derived properties as well as astronomical morphology. We designed \dataset{} to measure these effects in a four-class task comprising galaxies, globular clusters, nebulae, and open clusters. The dataset contains 370 catalogue-supported physical objects, each represented by three Digitised Sky Survey FITS bands, and uses a group-constrained split of 222 training, 75 validation, and 73 test objects. We compared a custom CNN--Transformer trained from scratch with ImageNet-pretrained ResNet-50 and ViT-B/16 under an adaptive full-field representation, a common angular field, and two central-region-masked controls, using three fixed seeds. In the one-pass object-independent test, mean balanced accuracy on the adaptive view was , , and for the custom model, ResNet-50, and ViT-B/16, respectively. No primary architecture contrast rejected its null after Holm correction; ResNet-50 and ViT-B/16 differed by 0.007 balanced-accuracy points (95% cluster-bootstrap interval ). Controls based on acquisition and catalogue metadata reached 0.721--0.735, and central-region-masked adaptive views reached 0.731--0.800. These results demonstrate generalisation to unseen physical objects, but also show that image context, acquisition settings, and catalogue-derived object properties carry substantial class information. In this regime, high accuracy cannot be interpreted as evidence that a classifier learned target morphology, and the comparison does not isolate architecture from pretraining.
Figures & tables
| Class | Objects | Minimum | First quartile | Median | Third quartile | Maximum |
|---|---|---|---|---|---|---|
| Galaxies | 98 | 5 | 5 | 5 | 5 | 23 |
| Globular clusters | 92 | 5 | 5 | 5 | 6.14 | 15.64 |
| Nebulae | 85 | 5 | 5 | 15 | 15 | 120 |
| Open clusters | 95 | 5 | 15 | 27.2 | 71.5 | 120 |
| Split | Galaxies | Globular | Nebulae | Open | Total |
|---|---|---|---|---|---|
| Training | 59 | 55 | 51 | 57 | 222 |
| Validation | 20 | 19 | 17 | 19 | 75 |
| Test | 19 | 18 | 17 | 19 | 73 |
| Family | Initialization | Optimizer | Base LR | Weight decay |
|---|---|---|---|---|
| Custom CNN–Transformer | From scratch | Adam | ||
| ResNet-50 | ImageNet-1K | AdamW | ||
| ViT-B/16 | ImageNet-1K | AdamW |
| Family | Balanced accuracy | Macro-F1 |
|---|---|---|
| Custom CNN–Transformer | 0.752 | |
| ResNet-50 | 0.859 | |
| ViT-B/16 | 0.856 |
| Family | Representation | Balanced accuracy | Macro-F1 |
|---|---|---|---|
| Custom CNN–Transformer | B | ||
| ResNet-50 | B | ||
| Family | Representation | Balanced accuracy | Macro-F1 | Accuracy |
|---|---|---|---|---|
| Custom CNN–Transformer | A | |||
| B | ||||
| ResNet-50 | A | |||
| B |
| First | Second | Metric | Difference | 95% interval | Raw | Holm |
|---|---|---|---|---|---|---|
| Custom | ResNet-50 | Accuracy | 0.032 | 0.191 | ||
| Custom | ResNet-50 | Balanced accuracy | 0.016 | 0.130 | ||
| Custom | ResNet-50 | Macro-F1 | 0.009 | 0.077 | ||
| Custom | ViT-B/16 | Accuracy | 0.101 | 0.404 | ||
| Custom | ViT-B/16 | Balanced accuracy | 0.057 | 0.285 | ||
| Custom | ViT-B/16 | Macro-F1 | 0.023 | 0.159 |
Image Classification
Image classification assigns semantic labels to images, enabling recognition of objects, scenes, conditions, and fine-grained categories.
See all 412 papers