AdaptiveMulti-stageDensityRatioEstimationfor LearningLatentSpaceEnergy-basedModel