Neural network-based anomaly detection for high-resolution X-ray spectroscopy — arXiv2