What two decades of research on self-driving labs and AI for science teach us, and how we are building a formulation lab that learns.