Unsupervised Machine Learning for the Classification of Astrophysical X-ray Sources
Víctor Samuel Pérez-Díaz, Juan Rafael Martínez-Galarza, Alexander Caicedo, Raffaele D'Abrusco
TL;DR
This paper tackles the challenge of classifying Chandra X-ray sources in CSC with limited labeled data by adopting an unsupervised cluster-then-label framework. It uses Gaussian Mixture Models to cluster per-detection X-ray features, links clusters to known classes via SIMBAD and Mahalanobis-distance-based scoring, and outputs probabilistic class assignments for 8,756 sources across 14,507 detections, with master classifications computed through hard and soft voting. The approach habilitates robust identification of young stellar objects and differentiates large accretors (AGN/QSO/Seyfert) from small accretors (X-ray binaries), showing results consistent with the unified AGN model and X-ray variability physics. The work delivers a reproducible methodology with public code and a Streamlit-based playground, enabling broader adoption for upcoming all-sky X-ray surveys and catalogs.
Abstract
The automatic classification of X-ray detections is a necessary step in extracting astrophysical information from compiled catalogs of astrophysical sources. Classification is useful for the study of individual objects, statistics for population studies, as well as for anomaly detection, i.e., the identification of new unexplored phenomena, including transients and spectrally extreme sources. Despite the importance of this task, classification remains challenging in X-ray astronomy due to the lack of optical counterparts and representative training sets. We develop an alternative methodology that employs an unsupervised machine learning approach to provide probabilistic classes to Chandra Source Catalog sources with a limited number of labeled sources, and without ancillary information from optical and infrared catalogs. We provide a catalog of probabilistic classes for 8,756 sources, comprising a total of 14,507 detections, and demonstrate the success of the method at identifying emission from young stellar objects, as well as distinguishing between small-scale and large-scale compact accretors with a significant level of confidence. We investigate the consistency between the distribution of features among classified objects and well-established astrophysical hypotheses such as the unified AGN model. This provides interpretability to the probabilistic classifier. Code and tables are available publicly through GitHub. We provide a web playground for readers to explore our final classification at https://umlcaxs-playground.streamlit.app.
