Diffusion Based Pre Training Loss Function