model learning for permuted background