 SPOILER: The fact that Sonny has dreams in which slave robots are  liberated is a reference to a short story from Asimov called "Robot  Dreams", that does not appear in "I, Robot" but in the later  published "Robot Dreams". This book contains, among others, also the  stories from "I, Robot".