Machine learning drives the self-discovery of pulses that stabilize quantum systems in the face of environmental noise.