Robots--like people--use 'imagination' to learn concepts