[2309.16672] Learning to Transform for Generalizable Instance-wise Invariance