Diffusion-based generation is a generative modeling method in machine learning that creates new data samples, such as images, audio, or 3D models, by learning to reverse a process of gradual noise addition. In the forward phase of training, structured input data is progressively corrupted with random Gaussian noise until it turns into pure noise, while a neural network is trained to estimate and subtract that noise at each step. During the generation phase, the trained network starts with a sample of pure random noise and iteratively denoises it over multiple time steps, reconstructing a realistic and high-fidelity data sample that matches the statistical patterns of the training data.