Information-theoretic approach for upscaling