Labs / 2D diffusion and denoising 2D diffusion and denoising Change parameters and inspect the actual computation behind 2d diffusion and denoising.
Signal fraction α 0.6 Random seed 7 Reset experiment
1.473 -2.925 0.682 -1.442 -0.109 0.041 -0.901 1.525 -1.692 3.008 0: (3.008, 1.161) 1: (-1.513, 0.029) 2: (0.442, 0.246) 3: (-2.925, 1.255) 4: (1.595, -0.653) 5: (-1.213, -0.327) 6: (2.951, -0.469) 7: (-2.107, -0.555) 8: (2.032, -1.142) 9: (-1.509, 0.345) 10: (2.244, 0.279) 11: (-1.676, -0.035) 12: (0.475, -0.202) 13: (-0.94, -0.018) 14: (2.586, 0.074) 15: (-1.037, 0.246) 16: (1.008, 0.417) 17: (-1.552, 0.816) 18: (1.61, -0.284) 19: (-0.752, 0.231) 20: (1.173, -0.705) 21: (-2.197, -0.218) 22: (0.932, 0.703) 23: (0.754, -0.565) 24: (0.935, -0.943) 25: (-0.78, 0.665) 26: (1.967, -0.536) 27: (-0.579, 0.522) 28: (0.921, 1.169) 29: (-1.419, -1.068) 30: (2.127, -0.512) 31: (-2.157, -0.223) 32: (0.93, 0.072) 33: (-0.768, -1.287) 34: (1.308, -0.866) 35: (-0.938, -0.425) 36: (0.539, 0.002) 37: (-2.919, 0.313) 38: (1.375, 0.034) 39: (-1.23, 0.395) 40: (0.206, 0.529) 41: (-2.517, -0.075) 42: (2.668, 0.73) 43: (-1.75, 1.047) 44: (0.923, 1.235) 45: (-1.17, 0.163) 46: (2.05, -0.932) 47: (-2.299, 0.099) 48: (1.025, 0.404) 49: (-1.697, -0.787) 50: (1.482, -1.177) 51: (-2.731, -0.334) 52: (0.724, 0.233) 53: (-0.012, 1.473) 54: (1.939, 0.774) 55: (-0.893, 0.458) 56: (1.672, -0.166) 57: (-0.991, 0.093) 58: (2.027, 0.445) 59: (-2.289, 0.279) 60: (1.669, 0.941) 61: (-1.882, 0.258) 62: (1.561, 0.273) 63: (-0.599, -1.363) 64: (1.381, 0.219) 65: (-0.989, -0.316) 66: (2.203, 1.322) 67: (-1.021, 0.881) 68: (0.919, -1.692) 69: (-1.438, 0.499) 70: (2.226, -0.16) 71: (-2.17, 0.721) 72: (1.906, -0.264) 73: (-1.892, 0.567) 74: (2.371, 1.31) 75: (-1.417, 0.421) 76: (1.056, 0.185) 77: (-0.572, 0.075) 78: (1.232, -1.041) 79: (0.249, 0.751) 80: (1.349, -0.512) 81: (-1.272, 0.546) 82: (2.346, 1.119) 83: (-0.747, -0.463) 84: (1.131, -0.443) 85: (-1.185, 0.352) 86: (2.455, -0.202) 87: (-1.68, -0.372) 88: (1.765, -0.619) 89: (-1.138, -0.375) 90: (2.435, 0.346) 91: (-1.989, 0.009) 92: (1.463, 0.073) 93: (-2.41, 0.374) 94: (2.013, -0.195) 95: (-1.898, -0.097) 96: (2.418, -0.14) 97: (-2.166, -0.165) 98: (2.144, -0.34) 99: (-1.988, 0.103) 100: (2.207, 0.083) 101: (-2.038, -0.01) 102: (1.509, -0.06) 103: (-1.807, -0.005) 104: (2.309, 0.022) 105: (-1.841, 0.073) 106: (1.831, 0.124) 107: (-2, 0.243) 108: (2.018, -0.085) 109: (-1.728, 0.069) 110: (1.885, -0.21) 111: (-2.193, -0.065) 112: (1.804, 0.21) 113: (1.729, -0.168) 114: (1.805, -0.281) 115: (-1.742, 0.198) 116: (2.125, -0.16) 117: (-1.616, 0.156) 118: (1.8, 0.348) 119: (-1.961, -0.318) 120: (2.172, -0.153) 121: (-2.181, -0.066) 122: (1.803, 0.022) 123: (-1.736, -0.383) 124: (1.927, -0.258) 125: (-1.806, -0.127) 126: (1.579, 0.001) 127: (-2.408, 0.093) 128: (1.947, 0.01) 129: (-1.903, 0.118) 130: (0.903, 0.158) 131: (-2.288, -0.022) 132: (2.333, 0.218) 133: (-2.06, 0.312) 134: (1.801, 0.368) 135: (-1.884, 0.049) 136: (2.149, -0.278) 137: (-2.224, 0.029) 138: (1.837, 0.12) 139: (-2.044, -0.234) 140: (1.98, -0.351) 141: (-2.352, -0.099) 142: (1.713, 0.069) 143: (-0.056, 0.439) 144: (2.116, 0.231) 145: (-1.79, 0.136) 146: (2.036, -0.049) 147: (-1.825, 0.028) 148: (2.142, 0.132) 149: (-2.22, 0.083) 150: (2.036, 0.28) 151: (-2.099, 0.077) 152: (2.003, 0.081) 153: (-1.632, -0.406) 154: (1.949, 0.065) 155: (-1.825, -0.094) 156: (2.195, 0.394) 157: (-1.836, 0.263) 158: (1.8, -0.504) 159: (-1.966, 0.149) 160: (2.202, -0.048) 161: (-2.185, 0.215) 162: (2.106, -0.079) 163: (-2.102, 0.169) 164: (2.245, 0.39) 165: (-1.96, 0.125) 166: (1.848, 0.055) 167: (-1.61, 0.022) 168: (1.903, -0.31) 169: (1.045, 0.224) 170: (1.939, -0.153) 171: (-1.916, 0.163) 172: (2.238, 0.333) 173: (-1.726, -0.138) 174: (1.872, -0.132) 175: (-1.889, 0.105) 176: (2.27, -0.06) 177: (-2.039, -0.111) 178: (2.064, -0.184) 179: (-1.874, -0.112) 0.6 Signal fraction
0.632 Noise standard deviation
Blue: noisy samples from a two-Gaussian mixture. Green: exact conditional-mean denoising with the known distribution. Conditional means neither recover each original sample nor perform a full generative sampling process.
Use this experiment to test your understanding Predict the effect of changing a parameter before inspecting the output. Identify the responsible term in the formula and explain how the teaching model differs from a real application.
Explore the related topic:Diffusion models →