Enhancing Robustness Against Heterogeneity via Class-Difficulty Based Weights | IEEE Conference Publication | IEEE Xplore