ComfyUI > Nodes > ComfyUI > Epsilon Scaling

ComfyUI Node: Epsilon Scaling

Class Name

Epsilon Scaling

Category
model_patches/unet
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Epsilon Scaling Description

Enhances sample quality in diffusion models by scaling predicted noise to mitigate exposure bias and improve generated samples.

Epsilon Scaling:

Epsilon Scaling is a method designed to enhance the quality of samples generated by diffusion models by addressing the issue of exposure bias. This technique is based on the research presented in the paper "Elucidating the Exposure Bias in Diffusion Models." The core idea is to scale the predicted noise during the sampling process, which can lead to significant improvements in the quality of the generated samples. By implementing a "uniform schedule," as recommended by the paper, Epsilon Scaling provides a practical and effective approach to mitigate exposure bias, making it a valuable tool for AI artists looking to refine their diffusion model outputs.

Epsilon Scaling Input Parameters:

model

This parameter represents the diffusion model that you want to apply the Epsilon Scaling method to. It serves as the primary input for the node, allowing the scaling function to be applied to the model's sampling process. The model input is crucial as it determines the base upon which the noise scaling will be performed.

scaling_factor

The scaling_factor is a numerical input that controls the degree of noise scaling applied during the sampling process. It has a default value of 1.005, with a minimum of 0.5 and a maximum of 1.5. The scaling factor is adjustable in increments of 0.001. This parameter is essential because it directly influences the extent to which the predicted noise is scaled, thereby affecting the quality and characteristics of the generated samples. A higher scaling factor may lead to more pronounced noise reduction, while a lower factor might preserve more of the original noise characteristics.

Epsilon Scaling Output Parameters:

model

The output parameter is the modified diffusion model with the Epsilon Scaling method applied. This output is significant because it represents the enhanced model that has undergone noise scaling, potentially leading to improved sample quality. The modified model can then be used for further sampling or generation tasks, benefiting from the reduced exposure bias achieved through the scaling process.

Epsilon Scaling Usage Tips:

  • Experiment with different scaling_factor values to find the optimal setting for your specific model and desired output quality. Start with the default value and adjust incrementally to observe changes in sample quality.
  • Use Epsilon Scaling in conjunction with other model enhancement techniques to achieve the best results. Combining methods can often lead to superior outcomes in terms of sample diversity and quality.

Epsilon Scaling Common Errors and Solutions:

Division by zero error

  • Explanation: This error might occur if the scaling_factor is set to zero, which would lead to a division by zero during the noise scaling process.
  • Solution: Ensure that the scaling_factor is never set to zero. The UI should prevent this by setting a minimum value of 0.5, but if you encounter this error, double-check the input value and adjust it accordingly.

Model cloning error

  • Explanation: Errors related to model cloning can occur if the model cannot be duplicated properly before applying the scaling function.
  • Solution: Verify that the model input is correctly formatted and compatible with the Epsilon Scaling node. Ensure that the model supports cloning operations and is not in a state that prevents duplication.

Epsilon Scaling Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Epsilon Scaling