Learning unbiased features