Mixup generates synthetic training examples by linearly interpolating two randomly selected data points (x_i, x_j) and their corresponding labels (y_i, y_j) using a mixing coefficient λ (e.g., from a Beta distribution). This creates new samples x̃ = λx_i + (1 − λ)x_j and soft labels ỹ = λy_i + (1 − λ)y_j, encouraging smoother decision boundaries.