Population-aware Hierarchical Bayesian Domain Adaptation via Multiple-component Invariant Learning