DUAL: Dynamic Uncertainty-Aware Learning