The dummy transisitor is used for the purpose of transistor matching and guarding,especially in differential amplifier,it include not only the dummy poly,but also the dummy diffusion.
the dummy poly is used for the purpose of lithography in the process,to ease the problem of interfering anf difracting .raise the accuracy.
you can find elaborate explanations in some layout books.