Heterogeneous inference