Unconditional pseudo-maximum likelihood and adaptive estimation in the presence of conditional heterogeneity of unknown form