Predictive Mechanisms For Safe Learning In Control Systems