Comparative Study of Generative Models for Early Detection of Failures in Medical Devices