Diffusion Noise Objective
Use this skill when implementing or checking SR3 training logic. It owns timestep corruption, predicted-noise loss, and reduced scalar update math. Do not use it as a sampler.
Inputs
- A pair with
conditionandtarget. - A timestep value and beta/noise schedule value.
- A scalar denoiser parameter for reduced recovery.
Outputs
- Noisy target, true noise, predicted noise, MSE loss, and updated parameter.
Workflow
- Compute a deterministic proxy noise value from the target and timestep.
- Mix clean target and noise according to beta.
- Predict noise from condition, noisy value, timestep, and the trainable scalar parameter.
- Compute squared error and update the scalar parameter with gradient descent.
- Record
params_before,params_after,loss_before, andloss_afterfor validators.
Validation
Run python tests/test_noise_objective.py or validate the skill tree with --run-tests.
Limitations
The scalar parameter is a bounded proxy for a neural denoiser; it validates objective mechanics, not full model capacity.