[Paper Review] Teaching a machine to see: unsupervised image segmentation and categorisation using growing neural gas and hierarchical clustering
This paper proposes an unsupervised machine learning framework that combines growing neural gas (GNG) and hierarchical clustering to automatically segment and label astronomical images without prior labeling. Trained on one Hubble Frontier Fields image (Abell 2744), the model successfully classifies early- and late-type galaxies in an unseen field (MACS 0416.1-2403), demonstrating consistent, human-like segmentation and labeling of complex galaxy structures in a fully automated, scalable manner.
We present a novel unsupervised learning approach to automatically segment and label images in astronomical surveys. Automation of this procedure will be essential as next-generation surveys enter the petabyte scale: data volumes will exceed the capability of even large crowd-sourced analyses. We demonstrate how a growing neural gas (GNG) can be used to encode the feature space of imaging data. When coupled with a technique called hierarchical clustering, imaging data can be automatically segmented and labelled by organising nodes in the GNG. The key distinction of unsupervised learning is that these labels need not be known prior to training, rather they are determined by the algorithm itself. Importantly, after training a network can be be presented with images it has never 'seen' before and provide consistent categorisation of features. As a proof-of-concept we demonstrate application on data from the Hubble Space Telescope Frontier Fields: images of clusters of galaxies containing a mixture of galaxy types that would easily be recognised and classified by a human inspector. By training the algorithm using one field (Abell 2744) and applying the result to another (MACS0416.1-2403), we show how the algorithm can cleanly separate image features that a human would associate with early and late type galaxies. We suggest that the algorithm has potential as a tool in the automatic analysis and data mining of next-generation imaging and spectral surveys, and could also find application beyond astronomy.
Motivation & Objective
- To develop an unsupervised machine learning method for automatic image segmentation and categorization in large-scale astronomical surveys.
- To eliminate reliance on pre-labeled data by enabling the algorithm to discover and assign labels based solely on intrinsic image features.
- To demonstrate the method’s ability to generalize across datasets by training on one Hubble Frontier Fields cluster and applying it to another unseen cluster.
- To enable scalable, consistent, and automated analysis of petabyte-scale imaging surveys such as LSST and Euclid.
- To explore the potential of the method beyond astronomy in fields like medical or satellite imaging.
Proposed method
- The method uses growing neural gas (GNG) to encode the feature space of pixel data, learning a topological representation of image structures.
- Feature vectors are constructed from local intensity, color, and spatial gradient information to capture morphological and photometric properties.
- Hierarchical clustering is applied to the GNG nodes to group similar features into distinct categories, forming the basis for image segmentation.
- Node labels are assigned based on cluster centroids, with a relabeling procedure to reduce redundancy and improve interpretability.
- The trained model is applied to unseen images by mapping new pixels to the nearest GNG node and inheriting its cluster label.
- The algorithm is highly parallelizable, with classification time scaling linearly with image size, enabling efficient processing of large datasets.
Experimental results
Research questions
- RQ1Can an unsupervised learning approach automatically segment and label galaxies in astronomical images without prior human-labeled data?
- RQ2Can a model trained on one galaxy cluster field generalize to another unseen field and correctly distinguish early- and late-type galaxies?
- RQ3How effective is the combination of growing neural gas and hierarchical clustering in preserving morphological and photometric structure in image segmentation?
- RQ4To what extent can the algorithm identify subtle or ambiguous features such as resolved spiral arms and bulges in complex galaxies?
- RQ5What is the computational efficiency of the method when applied to large imaging surveys, and can it scale to petabyte-level data?
Key findings
- The algorithm successfully segmented and labeled early- and late-type galaxies in the MACS 0416.1-2403 field using only training data from Abell 2744, demonstrating generalization across datasets.
- The model achieved clean separation of galaxy types, including recognition of lensed features and spatially resolved structures like bulges and spiral arms.
- The algorithm produced consistent classifications across different images, with dual labeling observed in resolved galaxies due to distinct morphological components.
- Training time was 39.5 milliseconds per pixel, and inference took 1.7 milliseconds per pixel on a standard desktop, indicating strong scalability potential.
- The method is fully parallelizable and can be accelerated via GPU computing, with CUDA porting underway to improve performance.
- The approach is generalizable to other data types, including spectral data, and applicable beyond astronomy in medical, satellite, and security imaging.
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.