Well, actually, not quite. The infinite improbability drive is an engine, while the improbability generator is ... hard to explain. Watch the madness webseries. Pretty much, what happens is that when you push the button, very strange things start to happen. For example, the world breaks in half then glues itself back together... Walls appear out of nowhere... etc. Mmm, Madness rocks.