Deviation-Based Learning