Towards IID representation learning and its application on biomedical data