Learning To Overcome Compulsive Habits