Homogenizations And Large Deviations