Diffusion Based Pre Training Loss Function In Machine