Efficient learning requires memorizing class-specific information and accumulating knowledge about general mechanisms.