On the Origin of Algorithmic Progress in AI