When robots sleep, do they dream of algorithms?