An Information Theoretic Approach to Reveal the Formation of Shared Representation