Invariant Feature Learning For Generalized