Update logbook: Reproduction: A Random Matrix Perspective on the Consistency of Diffusion Models
Browse filesFiles changed (10)
- logbook.json+3-10
- pages/claim-1-linear-model-predicts-cross-split-consistency/page.md+24-24
- pages/claim-2-self-consistency-equation-and-renormalized-noise/page.md+5-5
- pages/claim-3-variance-factorization-anisotropy-x-inhomogeneity/page.md+4-4
- pages/claim-4-fractional-matrix-power-extension-to-sampling-trajectories/page.md+4-4
- pages/claim-5-deep-network-validation-toy-scale/page.md+29-29
- pages/claim-6-deep-network-validation-scoped-toy-scale-cifar10-only/page.md+20-565
- pages/conclusion/page.md+7-3
- pages/executive-summary/page.md+2-2
- workspace.json+12-17
9 unmodified lines1011121314151656 unmodified lines7374757677787980818283848586879 unmodified lines"icml2026-repro","paper-iPjuUQbkfl"],"updated_at": "2026-08-01T06:41:22+00:00","root": {"slug": "index","title": "Reproduction: A Random Matrix Perspective on the Consistency of Diffusion Models",56 unmodified lines"total_size": 0,"bucket_id": null},"agent_view_tokens": 2879,"trace_view_tokens": 10,"workspace_view_tokens": 8,"revision": "cf4585ba83f748b5b086","workspace_ref": {"repo_id": "byte-vortex/repro-diffusion-consistency-artifacts","repo_type": "bucket","repo_url": "https://huggingface.co/buckets/byte-vortex/repro-diffusion-consistency-artifacts","private": true},"workspace_bucket": "https://huggingface.co/buckets/byte-vortex/repro-diffusion-consistency-artifacts"}9 unmodified lines1011121314151656 unmodified lines73747576777879809 unmodified lines"icml2026-repro","paper-iPjuUQbkfl"],"updated_at": "2026-08-01T08:05:55+00:00","root": {"slug": "index","title": "Reproduction: A Random Matrix Perspective on the Consistency of Diffusion Models",56 unmodified lines"total_size": 0,"bucket_id": null},"agent_view_tokens": 3152,"trace_view_tokens": 10,"workspace_view_tokens": 8,"revision": "77632d03392161420de1"}
2 unmodified lines3456789101112131415172 unmodified lines1881891901911921931941951961971981992002012022032042052062072082092102112122132142152163 unmodified lines2202212222232242252262272282294 unmodified lines234235236237238239240365 unmodified lines6066076086096106116126136146156166172 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_f81cc8015daf", "created_at": "2026-08-01T06:21:15+00:00", "title": "Run: hf rmt_diffusion_claim1.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim1.py"], "exit_code": 0, "duration_s": 44.927}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim1.py````exit 0 · 44.9s````python title=rmt_diffusion_claim1.py172 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d902f6b79c09949c1e1a8View at: https://huggingface.co/jobs/byte-vortex/6a6d902f6b79c09949c1e1a8Downloading pillow (6.6MiB)Downloading cuda-bindings (6.3MiB)Downloading sympy (6.0MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading nvidia-cufile (1.2MiB)Downloading nvidia-cuda-cupti (10.2MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading nvidia-curand (56.8MiB)Downloading triton (188.6MiB)Downloading nvidia-cusolver (191.6MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading nvidia-cublas (403.5MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-nvjitlink (38.9MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-cufft (204.2MiB)Downloading numpy (15.9MiB)Downloading nvidia-cusparse (139.2MiB)Downloading networkx (2.0MiB)Downloading torch (502.2MiB)Downloading torchvision (7.3MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtime3 unmodified linesDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded nvidia-nvjitlinkDownloaded sympyDownloaded nvidia-nvshmem-cu13Downloaded nvidia-curandDownloaded nvidia-cuda-nvrtcDownloaded nvidia-cusparseDownloaded nvidia-cusparselt-cu134 unmodified linesDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 231ms======================================================================RMT Diffusion Consistency reproduction -- Claim 1Testing: linear closed-form denoiser predicts cross-split365 unmodified linesDataset: 4000 samples, 256 dims, split into 2000 / 2000[Results over 100 shared-seed trials]Cross-split distance (same seed, different training data): 0.364 +/- 0.047Nearest-training-neighbor distance (memorization check): 2.649 +/- 0.335======================================================================SUMMARYPASS: cross-split outputs are 7.28x MORE similar to eachother than to their own nearest training example.This supports the paper's Claim 1: a purely linear, closed-formmodel already predicts strong cross-split consistency, without2 unmodified lines3456789101112131415172 unmodified lines1881891901911921931941951961971981992002012022032042052062072082092102112122132142152163 unmodified lines2202212222232242252262272282294 unmodified lines234235236237238239240365 unmodified lines6066076086096106116126136146156166172 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_8e22053883dd", "created_at": "2026-08-01T07:56:48+00:00", "title": "Run: hf rmt_diffusion_claim1.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim1.py"], "exit_code": 0, "duration_s": 48.005}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim1.py````exit 0 · 48.0s````python title=rmt_diffusion_claim1.py172 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6da690a00abefd4b28b0dbView at: https://huggingface.co/jobs/byte-vortex/6a6da690a00abefd4b28b0dbDownloading nvidia-nvjitlink (38.9MiB)Downloading nvidia-cuda-cupti (10.2MiB)Downloading networkx (2.0MiB)Downloading nvidia-cufft (204.2MiB)Downloading sympy (6.0MiB)Downloading cuda-bindings (6.3MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading nvidia-cufile (1.2MiB)Downloading nvidia-cusolver (191.6MiB)Downloading numpy (15.9MiB)Downloading triton (188.6MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-cusparse (139.2MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading torch (502.2MiB)Downloading pillow (6.6MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-curand (56.8MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading nvidia-cublas (403.5MiB)Downloading torchvision (7.3MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtime3 unmodified linesDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded sympyDownloaded nvidia-nvjitlinkDownloaded nvidia-curandDownloaded nvidia-nvshmem-cu13Downloaded nvidia-cuda-nvrtcDownloaded nvidia-cusparseDownloaded nvidia-cusparselt-cu134 unmodified linesDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 239ms======================================================================RMT Diffusion Consistency reproduction -- Claim 1Testing: linear closed-form denoiser predicts cross-split365 unmodified linesDataset: 4000 samples, 256 dims, split into 2000 / 2000[Results over 100 shared-seed trials]Cross-split distance (same seed, different training data): 0.359 +/- 0.047Nearest-training-neighbor distance (memorization check): 2.646 +/- 0.332======================================================================SUMMARYPASS: cross-split outputs are 7.36x MORE similar to eachother than to their own nearest training example.This supports the paper's Claim 1: a purely linear, closed-formmodel already predicts strong cross-split consistency, without
2 unmodified lines3456789101112131415126 unmodified lines1421431441451461471481491501511522 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_5a2952f192d8", "created_at": "2026-08-01T06:22:29+00:00", "title": "Run: hf rmt_diffusion_claim2.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim2.py"], "exit_code": 0, "duration_s": 71.804}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim2.py````exit 0 · 71.8s````python title=rmt_diffusion_claim2.py126 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d905e6b79c09949c1e1aeView at: https://huggingface.co/jobs/byte-vortex/6a6d905e6b79c09949c1e1aeDownloading numpy (15.9MiB)Downloaded numpyInstalled 1 package in 17ms======================================================================RMT Diffusion Consistency reproduction -- Claim 2Testing Proposition 4.1: sigma^2 -> kappa(sigma^2) renormalization2 unmodified lines3456789101112131415126 unmodified lines1421431441451461471481491501511522 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_9c5d73d46cf1", "created_at": "2026-08-01T07:58:40+00:00", "title": "Run: hf rmt_diffusion_claim2.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim2.py"], "exit_code": 0, "duration_s": 110.454}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim2.py````exit 0 · 110.5s````python title=rmt_diffusion_claim2.py126 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6da6c26b79c09949c1e2b4View at: https://huggingface.co/jobs/byte-vortex/6a6da6c26b79c09949c1e2b4Downloading numpy (15.9MiB)Downloaded numpyInstalled 1 package in 16ms======================================================================RMT Diffusion Consistency reproduction -- Claim 2Testing Proposition 4.1: sigma^2 -> kappa(sigma^2) renormalization
2 unmodified lines3456789101112131415110 unmodified lines1261271281291301311321332 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_56eff7acaf9c", "created_at": "2026-08-01T06:23:45+00:00", "title": "Run: hf rmt_diffusion_claim3.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim3.py"], "exit_code": 0, "duration_s": 73.781}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim3.py````exit 0 · 73.8s````python title=rmt_diffusion_claim3.py110 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d90a86b79c09949c1e1b0View at: https://huggingface.co/jobs/byte-vortex/6a6d90a86b79c09949c1e1b0Downloading numpy (15.9MiB)Downloaded numpyInstalled 1 package in 16ms2 unmodified lines3456789101112131415110 unmodified lines1261271281291301311321332 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_ad69ee368cf6", "created_at": "2026-08-01T07:59:18+00:00", "title": "Run: hf rmt_diffusion_claim3.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim3.py"], "exit_code": 0, "duration_s": 36.125}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim3.py````exit 0 · 36.1s````python title=rmt_diffusion_claim3.py110 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6da733a00abefd4b28b117View at: https://huggingface.co/jobs/byte-vortex/6a6da733a00abefd4b28b117Downloading numpy (15.9MiB)Downloaded numpyInstalled 1 package in 16ms
2 unmodified lines3456789101112131415217 unmodified lines2332342352362372382392402 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_e02281758d3b", "created_at": "2026-08-01T06:24:04+00:00", "title": "Run: hf rmt_diffusion_claim4.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim4.py"], "exit_code": 0, "duration_s": 17.021}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim4.py````exit 0 · 17.0s````python title=rmt_diffusion_claim4.py217 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d90f4a00abefd4b28af1aView at: https://huggingface.co/jobs/byte-vortex/6a6d90f4a00abefd4b28af1aDownloading numpy (15.9MiB)Downloaded numpyInstalled 1 package in 16ms2 unmodified lines3456789101112131415217 unmodified lines2332342352362372382392402 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_9298eb629b97", "created_at": "2026-08-01T07:59:36+00:00", "title": "Run: hf rmt_diffusion_claim4.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "cpu-basic", "--secrets", "HF_TOKEN", "rmt_diffusion_claim4.py"], "exit_code": 0, "duration_s": 16.064}-->````bash$ hf jobs uv run --flavor cpu-basic --secrets HF_TOKEN rmt_diffusion_claim4.py````exit 0 · 16.1s````python title=rmt_diffusion_claim4.py217 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6da7596b79c09949c1e2efView at: https://huggingface.co/jobs/byte-vortex/6a6da7596b79c09949c1e2efDownloading numpy (15.9MiB)Downloaded numpyInstalled 1 package in 16ms
2 unmodified lines3456789101112131415191 unmodified lines2072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362 unmodified lines2392402412422432442452466 unmodified lines253254255256257258259364 unmodified lines6246256266276286296306316326336346356366376386396406416426436446452 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_881a436b50fe", "created_at": "2026-08-01T06:24:52+00:00", "title": "Run: hf rmt_diffusion_claim5.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "a10g-small", "--secrets", "HF_TOKEN", "rmt_diffusion_claim5.py"], "exit_code": 0, "duration_s": 46.533}-->````bash$ hf jobs uv run --flavor a10g-small --secrets HF_TOKEN rmt_diffusion_claim5.py````exit 0 · 46.5s````python title=rmt_diffusion_claim5.py191 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d91066b79c09949c1e1b6View at: https://huggingface.co/jobs/byte-vortex/6a6d91066b79c09949c1e1b6Downloading numpy (15.9MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading nvidia-curand (56.8MiB)Downloading sympy (6.0MiB)Downloading networkx (2.0MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading nvidia-cufile (1.2MiB)Downloading nvidia-cuda-cupti (10.2MiB)Downloading nvidia-cufft (204.2MiB)Downloading pillow (6.6MiB)Downloading torch (502.2MiB)Downloading triton (188.6MiB)Downloading cuda-bindings (6.3MiB)Downloading nvidia-cusparse (139.2MiB)Downloading nvidia-cusolver (191.6MiB)Downloading nvidia-nvjitlink (38.9MiB)Downloading torchvision (7.3MiB)Downloading nvidia-cublas (403.5MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtimeDownloaded networkx2 unmodified linesDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded nvidia-nvjitlinkDownloaded sympyDownloaded nvidia-curandDownloaded nvidia-nvshmem-cu13Downloaded nvidia-cuda-nvrtc6 unmodified linesDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 590ms======================================================================RMT Diffusion Consistency reproduction -- Claim 5 (toy scale)Testing: do REAL TRAINED deep denoisers show the same364 unmodified linesSplit sizes: 400 / 400Training MLP denoiser on split A (400 samples)...step 500/1500 loss=0.5907step 1000/1500 loss=0.4770step 1500/1500 loss=0.3592Training MLP denoiser on split B (400 samples)...step 500/1500 loss=0.5614step 1000/1500 loss=0.4529step 1500/1500 loss=0.3728[Results over 30 shared-seed trials, TRAINED deep MLP denoisers]Cross-split distance: 7.385 +/- 1.139Nearest-training-neighbor dist: 16.151 +/- 2.416======================================================================SUMMARYPASS (toy scale): trained deep MLP denoisers show cross-split outputs2.19x MORE similar to each other than to their nearest trainingexample -- the same qualitative pattern the linear theory (Claim 1)predicts, now confirmed with REAL TRAINED nonlinear networks, notjust the closed-form linear denoiser. Supports Claim 5 at toy scale.2 unmodified lines3456789101112131415191 unmodified lines2072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362 unmodified lines2392402412422432442452466 unmodified lines253254255256257258259364 unmodified lines6246256266276286296306316326336346356366376386396406416426436446452 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_90081f09fa40", "created_at": "2026-08-01T08:00:25+00:00", "title": "Run: hf rmt_diffusion_claim5.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "a10g-small", "--secrets", "HF_TOKEN", "rmt_diffusion_claim5.py"], "exit_code": 0, "duration_s": 47.003}-->````bash$ hf jobs uv run --flavor a10g-small --secrets HF_TOKEN rmt_diffusion_claim5.py````exit 0 · 47.0s````python title=rmt_diffusion_claim5.py191 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6da76b6b79c09949c1e2f1View at: https://huggingface.co/jobs/byte-vortex/6a6da76b6b79c09949c1e2f1Downloading nvidia-cufft (204.2MiB)Downloading cuda-bindings (6.3MiB)Downloading sympy (6.0MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading networkx (2.0MiB)Downloading nvidia-nvjitlink (38.9MiB)Downloading pillow (6.6MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading nvidia-cufile (1.2MiB)Downloading nvidia-cuda-cupti (10.2MiB)Downloading triton (188.6MiB)Downloading numpy (15.9MiB)Downloading torch (502.2MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-cublas (403.5MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-cusolver (191.6MiB)Downloading nvidia-cusparse (139.2MiB)Downloading nvidia-curand (56.8MiB)Downloading torchvision (7.3MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtimeDownloaded networkx2 unmodified linesDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded sympyDownloaded nvidia-nvjitlinkDownloaded nvidia-curandDownloaded nvidia-nvshmem-cu13Downloaded nvidia-cuda-nvrtc6 unmodified linesDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 631ms======================================================================RMT Diffusion Consistency reproduction -- Claim 5 (toy scale)Testing: do REAL TRAINED deep denoisers show the same364 unmodified linesSplit sizes: 400 / 400Training MLP denoiser on split A (400 samples)...step 500/1500 loss=0.5953step 1000/1500 loss=0.4811step 1500/1500 loss=0.3512Training MLP denoiser on split B (400 samples)...step 500/1500 loss=0.5589step 1000/1500 loss=0.4563step 1500/1500 loss=0.3696[Results over 30 shared-seed trials, TRAINED deep MLP denoisers]Cross-split distance: 7.508 +/- 1.666Nearest-training-neighbor dist: 16.167 +/- 2.684======================================================================SUMMARYPASS (toy scale): trained deep MLP denoisers show cross-split outputs2.15x MORE similar to each other than to their nearest trainingexample -- the same qualitative pattern the linear theory (Claim 1)predicts, now confirmed with REAL TRAINED nonlinear networks, notjust the closed-form linear denoiser. Supports Claim 5 at toy scale.
2 unmodified lines3456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554479 unmodified lines1034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210632 unmodified lines106610671068106910701071107210736 unmodified lines10801081108210831084108510862 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_0006576e0298", "created_at": "2026-08-01T06:30:15+00:00", "title": "Run: hf rmt_diffusion_claim6.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "a10g-small", "--secrets", "HF_TOKEN", "rmt_diffusion_claim6.py"], "exit_code": 0, "duration_s": 321.21}-->````bash$ hf jobs uv run --flavor a10g-small --secrets HF_TOKEN rmt_diffusion_claim6.py````exit 0 · 321.2s````python title=rmt_diffusion_claim6.py# /// script# dependencies = ["torch", "numpy", "torchvision"]# ///"""Claim 6 reproduction (SCOPED-DOWN toy scale) -- "A Random Matrix TheoryPerspective on the Consistency of Diffusion Models" (arXiv 2602.02908,OpenReview iPjuUQbkfl, ICML 2026 Oral).REWRITE NOTE: the previous version of this script tested a "memorization-> generalization phase transition with n" hypothesis, which does notappear anywhere in the official challenge's claim list for this paper.It was the wrong target. The official Claim 5 this page should addressis: "UNet and DiT experiments validate the theory's predictions aboutconsistency, overshrinkage, and eigenmode-dependent deviations in thenon-memorization regime (Figure 5)." This rewrite tests exactly that,with three sub-checks tied to the paper's actual claims:(a) CONSISTENCY vs. linear theory (relates to Claim 1 / Figure 1):is the trained UNet's cross-split output distance comparable towhat a purely LINEAR (closed-form Wiener) diffusion sampler runthrough the identical reverse-diffusion schedule would predict?(b) OVERSHRINKAGE (relates to Claim 2 / Figure 2): does the model'soutput variance along LOW-eigenvalue directions of the datacovariance shrink MORE (relative to the true variance in thatdirection) than along high-eigenvalue directions -- thesignature of finite-sample noise-scale renormalization?(c) EIGENMODE-DEPENDENT / ANISOTROPIC cross-split deviation, decayingwith n (relates to Result 4.2 / Claim 3): does the cross-splitoutput deviation vary systematically across covarianceeigenmodes (not flat/isotropic), and shrink as dataset size ngrows?HONESTY NOTE (unchanged from before): the paper's real Section 6 usesUNet AND DiT on seven datasets at five sizes each with 50k trainingsteps per run. This is a drastically scoped-down, single-dataset,single-architecture, short-training qualitative check -- not aquantitative reproduction of the paper's actual figures. But it now atleast tests the RIGHT hypotheses, using the same UNet training/samplinginfrastructure as before."""import sysimport torchimport torch.nn as nnimport numpy as np# FIX (kept from the previous version): force line-buffered stdout so# output isn't lost to a buffering race against the job runner's log# capture at process exit.sys.stdout.reconfigure(line_buffering=True)# --------------------------------------------------------------------------# Small convolutional UNet denoiser (unchanged from the previous version)# --------------------------------------------------------------------------class TimeEmbedding(nn.Module):def __init__(self, dim):super().__init__()self.dim = dimself.mlp = nn.Sequential(nn.Linear(dim, dim * 4),nn.SiLU(),nn.Linear(dim * 4, dim * 4),)def forward(self, t, T):half = self.dim // 2freqs = torch.exp(-np.log(10000) * torch.arange(half, device=t.device) / half)args = t.float().unsqueeze(-1) * freqs.unsqueeze(0) / Temb = torch.cat([torch.sin(args), torch.cos(args)], dim=-1)return self.mlp(emb)class ResBlock(nn.Module):def __init__(self, in_ch, out_ch, temb_dim):super().__init__()self.norm1 = nn.GroupNorm(8, in_ch)self.conv1 = nn.Conv2d(in_ch, out_ch, 3, padding=1)self.temb_proj = nn.Linear(temb_dim, out_ch)self.norm2 = nn.GroupNorm(8, out_ch)self.conv2 = nn.Conv2d(out_ch, out_ch, 3, padding=1)self.skip = nn.Conv2d(in_ch, out_ch, 1) if in_ch != out_ch else nn.Identity()def forward(self, x, temb):h = self.conv1(torch.nn.functional.silu(self.norm1(x)))h = h + self.temb_proj(temb)[:, :, None, None]h = self.conv2(torch.nn.functional.silu(self.norm2(h)))return h + self.skip(x)class SmallUNet(nn.Module):"""Small UNet-CNN denoiser: 32x32 -> 16x16 -> 8x8 -> 16x16 -> 32x32,with skip connections. Matches the paper's "UNet" family in spirit(convolutional, skip connections, sinusoidal time embedding) at afraction of the channel width / depth."""def __init__(self, channels=3, base_ch=32, time_emb_dim=32):super().__init__()temb_dim = time_emb_dim * 4self.time_embed = TimeEmbedding(time_emb_dim)self.in_conv = nn.Conv2d(channels, base_ch, 3, padding=1)self.down1 = ResBlock(base_ch, base_ch, temb_dim)self.pool1 = nn.Conv2d(base_ch, base_ch, 4, stride=2, padding=1) # 32->16self.down2 = ResBlock(base_ch, base_ch * 2, temb_dim)self.pool2 = nn.Conv2d(base_ch * 2, base_ch * 2, 4, stride=2, padding=1) # 16->8self.mid = ResBlock(base_ch * 2, base_ch * 2, temb_dim)self.up2 = nn.ConvTranspose2d(base_ch * 2, base_ch * 2, 4, stride=2, padding=1) # 8->16self.dec2 = ResBlock(base_ch * 2 + base_ch * 2, base_ch, temb_dim)self.up1 = nn.ConvTranspose2d(base_ch, base_ch, 4, stride=2, padding=1) # 16->32self.dec1 = ResBlock(base_ch + base_ch, base_ch, temb_dim)self.out_norm = nn.GroupNorm(8, base_ch)self.out_conv = nn.Conv2d(base_ch, channels, 3, padding=1)def forward(self, x, t, T):temb = self.time_embed(t, T)h0 = self.in_conv(x)h1 = self.down1(h0, temb)h1p = self.pool1(h1)h2 = self.down2(h1p, temb)h2p = self.pool2(h2)hm = self.mid(h2p, temb)u2 = self.up2(hm)u2 = self.dec2(torch.cat([u2, h2], dim=1), temb)u1 = self.up1(u2)u1 = self.dec1(torch.cat([u1, h1], dim=1), temb)out = self.out_conv(torch.nn.functional.silu(self.out_norm(u1)))return out# --------------------------------------------------------------------------# Data loading (real CIFAR10; synthetic fallback if no internet access)# --------------------------------------------------------------------------def load_real_data(n_samples, seed=0):import torchvisionimport torchvision.transforms as Ttransform = T.Compose([T.ToTensor()])dataset = torchvision.datasets.CIFAR10(root="./data", train=True, download=True, transform=transform)rng = np.random.default_rng(seed)indices = rng.choice(len(dataset), size=n_samples, replace=False)images = torch.stack([dataset[i][0] for i in indices]) # (N, 3, 32, 32) in [0,1]return images * 2.0 - 1.0 # -> [-1, 1]def generate_synthetic_data(n_samples, seed=0):"""Fallback: synthetic structured-covariance 'images' (3x32x32) with adecaying eigenvalue spectrum, used only if CIFAR10 download isunavailable (e.g. offline sandbox testing)."""d = 3 * 32 * 32rng = np.random.default_rng(seed)eigenvalues = np.exp(-0.01 * np.arange(d)) + 0.01# Use a random sparse-ish orthonormal basis via QR on a smaller block# for tractability, then embed -- keeps this fast for smoke tests.Q, _ = np.linalg.qr(rng.standard_normal((d, d)) if d <= 200 else rng.standard_normal((d, min(d, 400))))if Q.shape[1] < d:# pad orthonormal columns is not exact; fall back to diagonal cov for speedsamples = rng.standard_normal((n_samples, d)) * np.sqrt(eigenvalues)else:cov_sqrt = Q @ np.diag(np.sqrt(eigenvalues))samples = rng.standard_normal((n_samples, d)) @ cov_sqrt.Tsamples = samples.reshape(n_samples, 3, 32, 32)samples = np.clip(samples, -3, 3)return torch.tensor(samples, dtype=torch.float32)# --------------------------------------------------------------------------# Linear (Wiener/MMSE) predictor, for the "approach to linear theory" check# --------------------------------------------------------------------------class LinearDenoiserFlat:"""Closed-form Wiener denoiser on flattened images, used only as areference point (does the trained UNet's output get closer to thelinear predictor as n grows, as the paper reports in App B.4.3?)."""def __init__(self, data_flat):self.mu = data_flat.mean(dim=0)centered = data_flat - self.mun = data_flat.shape[0]self.cov = (centered.T @ centered) / max(n - 1, 1)d = self.cov.shape[0]self.cov = self.cov + 1e-3 * torch.eye(d)def denoise(self, y_flat, sigma):d = self.cov.shape[0]gain = self.cov @ torch.linalg.inv(self.cov + (sigma ** 2) * torch.eye(d))return self.mu + (gain @ (y_flat - self.mu).T).T# --------------------------------------------------------------------------# Training and sampling# --------------------------------------------------------------------------def train_denoiser(data, T=30, n_steps=3000, lr=2e-4, batch_size=64, seed=0, device="cpu"):torch.manual_seed(seed)model = SmallUNet().to(device)opt = torch.optim.Adam(model.parameters(), lr=lr)betas = torch.linspace(1e-4, 0.02, T, device=device)alphas = 1.0 - betasalpha_bars = torch.cumprod(alphas, dim=0)n_samples = data.shape[0]data = data.to(device)for step in range(n_steps):idx = torch.randint(0, n_samples, (min(batch_size, n_samples),))x0 = data[idx]t = torch.randint(0, T, (x0.shape[0],), device=device)noise = torch.randn_like(x0)alpha_bar_t = alpha_bars[t].view(-1, 1, 1, 1)x_t = torch.sqrt(alpha_bar_t) * x0 + torch.sqrt(1 - alpha_bar_t) * noisepred_noise = model(x_t, t, T)loss = ((pred_noise - noise) ** 2).mean()opt.zero_grad()loss.backward()opt.step()if (step + 1) % max(1, n_steps // 5) == 0:print(f" step {step + 1}/{n_steps} loss={loss.item():.4f}")return model, betas, alphas, alpha_bars@torch.no_grad()def ddpm_sample_batch(model, betas, alphas, alpha_bars, z_init_batch, T, device="cpu"):"""Batched version: z_init_batch has shape (B, 3, 32, 32)."""x = z_init_batch.clone().to(device)B = x.shape[0]for t in reversed(range(T)):t_tensor = torch.full((B,), t, device=device, dtype=torch.long)pred_noise = model(x, t_tensor, T)alpha_t, alpha_bar_t, beta_t = alphas[t], alpha_bars[t], betas[t]coef = beta_t / torch.sqrt(1 - alpha_bar_t)mean = (1 / torch.sqrt(alpha_t)) * (x - coef * pred_noise)if t > 0:x = mean + torch.sqrt(beta_t) * torch.randn_like(x)else:x = meanreturn x.cpu()@torch.no_grad()def linear_ddpm_sample_batch(lin_model, betas, alphas, alpha_bars, z_init_batch, T):"""The paper's 'linear diffusion' comparison point: run the SAMEreverse-diffusion schedule and update rule as the UNet sampler, butreplace the learned noise predictor with the noise implied by theclosed-form Wiener denoiser's x0 estimate at each step. This gives agenuine linear-diffusion sample under the identical process, so itscross-split distance is a fair, principled comparison point for"how much of the UNet's consistency is explained by shared Gaussianstatistics alone" (Claim 1 / Figure 1), not just an informalsingle-step denoiser distance check.Tweedie / Wiener step: at reverse step t, x_t = sqrt(abar_t)*x0 +sqrt(1-abar_t)*eps. Rescaling, y = x_t/sqrt(abar_t) = x0 +eps*sqrt((1-abar_t)/abar_t), i.e. y is x0 observed through Gaussiannoise of std sigma_eff = sqrt((1-abar_t)/abar_t). Denoise y with theclosed-form Wiener filter to get x0_hat, then back out the impliednoise estimate eps_hat and plug it into the identical DDPM updateused for the UNet, so both samplers are compared under exactly thesame process."""x = z_init_batch.clone()B, C, H, W = x.shaped = C * H * Wfor t in reversed(range(T)):alpha_t, alpha_bar_t, beta_t = alphas[t].item(), alpha_bars[t].item(), betas[t].item()sigma_eff = ((1 - alpha_bar_t) / alpha_bar_t) ** 0.5y_flat = (x / (alpha_bar_t ** 0.5)).reshape(B, d)x0_hat_flat = lin_model.denoise(y_flat, sigma_eff)x0_hat = x0_hat_flat.reshape(B, C, H, W)eps_hat = (x - (alpha_bar_t ** 0.5) * x0_hat) / max((1 - alpha_bar_t) ** 0.5, 1e-8)coef = beta_t / max((1 - alpha_bar_t) ** 0.5, 1e-8)mean = (1 / (alpha_t ** 0.5)) * (x - coef * eps_hat)if t > 0:x = mean + (beta_t ** 0.5) * torch.randn_like(x)else:x = meanreturn x# --------------------------------------------------------------------------# Eigenbasis analysis: overshrinkage and eigenmode-dependent deviation# --------------------------------------------------------------------------def compute_reference_eigenbasis(pool, n_ref=4000, seed=999):"""Fixed reference eigenbasis (from a large, independent slice of thepool -- NOT any of the small training splits) so overshrinkage andanisotropy are measured against a stable, consistent set of axesacross every dataset size n. Returns eigenvectors (d, d) sorted byDESCENDING eigenvalue, eigenvalues (d,), and the mean (d,)."""rng = np.random.default_rng(seed)idx = rng.choice(pool.shape[0], size=min(n_ref, pool.shape[0]), replace=False)ref = pool[idx].reshape(len(idx), -1)mu = ref.mean(dim=0)centered = ref - mucov = (centered.T @ centered) / (centered.shape[0] - 1)eigvals, eigvecs = torch.linalg.eigh(cov) # ascending orderorder = torch.argsort(eigvals, descending=True)return eigvecs[:, order], eigvals[order].clamp(min=1e-8), mudef project_variance_per_mode(x_batch, eigvecs, mu, n_modes):"""x_batch: (B, C, H, W). Returns (n_modes,) variance of the batch'sprojection onto the top n_modes reference eigenvectors."""B = x_batch.shape[0]x_flat = x_batch.reshape(B, -1) - muproj = x_flat @ eigvecs[:, :n_modes] # (B, n_modes)return proj.var(dim=0)def main():device = "cuda" if torch.cuda.is_available() else "cpu"print("=" * 70)print("RMT Diffusion Consistency reproduction -- Claim 6 (SCOPED TOY SCALE)")print("Testing official Claim 5: consistency vs linear theory,")print("overshrinkage, and eigenmode-dependent cross-split deviation")print(f"Device: {device}")print("=" * 70)dataset_sizes = [100, 500, 3000, 20000]T = 30steps_by_n = {100: 1500, 500: 2000, 3000: 3000, 20000: 4000}n_trials = 12n_modes = 40 # top eigenmodes examined for overshrinkage / anisotropytry:max_n = max(dataset_sizes) * 2pool = load_real_data(max_n + 4000, seed=42) # extra for the reference eigenbasisusing_real = Trueprint(f"\nUsing REAL CIFAR10 data (32x32x3). Pool size: {pool.shape[0]}")except Exception as e:print(f"\nCould not load real CIFAR10 ({e}), falling back to synthetic.")max_n = max(dataset_sizes) * 2pool = generate_synthetic_data(max_n + 4000, seed=42)using_real = Falseprint("\nComputing reference eigenbasis (independent 4000-image slice)...")eigvecs, eigvals, ref_mu = compute_reference_eigenbasis(pool, n_ref=4000, seed=999)print(f" Top eigenvalue: {eigvals[0]:.4f} | mode-{n_modes} eigenvalue: {eigvals[n_modes-1]:.4f}")# remainder of pool (excluding the reference slice) used for splitstrain_pool = pool[4000:]results = []for n in dataset_sizes:print(f"\n{'-' * 70}")print(f"Dataset size n = {n} per split (gamma = d/n = {3*32*32/n:.3f})")print(f"{'-' * 70}")perm = torch.randperm(train_pool.shape[0])[: 2 * n]split_a = train_pool[perm[:n]]split_b = train_pool[perm[n:2 * n]]split_a_flat = split_a.reshape(n, -1)split_b_flat = split_b.reshape(n, -1)n_steps = steps_by_n[n]print(f" Training UNet denoiser on split A ({n} samples, {n_steps} steps)...")model_a, betas, alphas, alpha_bars = train_denoiser(split_a, T=T, n_steps=n_steps, seed=100 + n, device=device)print(f" Training UNet denoiser on split B ({n} samples, {n_steps} steps)...")model_b, _, _, _ = train_denoiser(split_b, T=T, n_steps=n_steps, seed=200 + n, device=device)lin_a = LinearDenoiserFlat(split_a_flat)lin_b = LinearDenoiserFlat(split_b_flat)torch.manual_seed(9000 + n)z_init_batch = torch.randn(n_trials, 3, 32, 32)x_a_unet = ddpm_sample_batch(model_a, betas, alphas, alpha_bars, z_init_batch, T, device=device)x_b_unet = ddpm_sample_batch(model_b, betas, alphas, alpha_bars, z_init_batch, T, device=device)x_a_lin = linear_ddpm_sample_batch(lin_a, betas.cpu(), alphas.cpu(), alpha_bars.cpu(), z_init_batch, T)x_b_lin = linear_ddpm_sample_batch(lin_b, betas.cpu(), alphas.cpu(), alpha_bars.cpu(), z_init_batch, T)# (a) Consistency vs linear theory: compare UNet cross-split# distance to the linear sampler's cross-split distance under the# SAME noise seeds and SAME reverse process.unet_cross_mse = float(((x_a_unet - x_b_unet) ** 2).mean())lin_cross_mse = float(((x_a_lin - x_b_lin) ** 2).mean())consistency_ratio = unet_cross_mse / max(lin_cross_mse, 1e-8)print(f"\n [Consistency check: UNet vs linear-theory cross-split MSE]")print(f" UNet cross-split MSE: {unet_cross_mse:.5f}")print(f" Linear-theory cross-split MSE: {lin_cross_mse:.5f}")print(f" Ratio (UNet / linear): {consistency_ratio:.3f}")# (b) Overshrinkage: per-mode output variance vs reference true# variance, checked for a trend with eigenvalue rank.out_var = project_variance_per_mode(torch.cat([x_a_unet, x_b_unet]), eigvecs, ref_mu, n_modes)true_var = eigvals[:n_modes]shrink_ratio = (out_var / true_var).numpy()ranks = np.arange(n_modes)# Spearman-style: correlation between eigenvalue rank (0=highest# variance direction) and shrink ratio. POSITIVE correlation means# low-variance (high-rank) directions are shrunk MORE (lower# ratio for higher rank number would be negative corr with rank;# define overshrink_corr so positive = overshrinkage signature).overshrink_corr = float(np.corrcoef(ranks, shrink_ratio)[0, 1])print(f"\n [Overshrinkage check: output variance / true variance per eigenmode]")print(f" Shrink ratio, top-5 modes (high variance): {np.array2string(shrink_ratio[:5], precision=3)}")print(f" Shrink ratio, bottom-5 modes (low variance): {np.array2string(shrink_ratio[-5:], precision=3)}")print(f" Corr(eigenvalue rank, shrink ratio): {overshrink_corr:.3f}")print(f" (positive = low-variance modes shrunk more -> overshrinkage signature)")# (c) Eigenmode-dependent, anisotropic cross-split deviationdiff_a = (x_a_unet.reshape(n_trials, -1) - ref_mu) @ eigvecs[:, :n_modes]diff_b = (x_b_unet.reshape(n_trials, -1) - ref_mu) @ eigvecs[:, :n_modes]per_mode_dev = ((diff_a - diff_b) ** 2).mean(dim=0).numpy()aniso_corr = float(np.corrcoef(np.arange(n_modes), per_mode_dev)[0, 1])mean_dev = float(per_mode_dev.mean())print(f"\n [Anisotropy check: per-eigenmode cross-split deviation]")print(f" Mean deviation across top-{n_modes} modes: {mean_dev:.5f}")print(f" Corr(eigenvalue rank, deviation): {aniso_corr:.3f}")print(f" (nonzero |corr| = anisotropic; deviation should also DECAY with n)")results.append(dict(n=n, unet_cross_mse=unet_cross_mse, lin_cross_mse=lin_cross_mse,consistency_ratio=consistency_ratio, overshrink_corr=overshrink_corr,aniso_corr=aniso_corr, mean_dev=mean_dev))print("\n" + "=" * 70)print("SUMMARY")print("=" * 70)print(f"{'n':>6} {'UNet MSE':>10} {'Linear MSE':>11} {'ratio':>7} {'overshrink_corr':>16} {'aniso_corr':>11} {'mean_dev':>10}")for r in results:print(f"{r['n']:>6} {r['unet_cross_mse']:>10.5f} {r['lin_cross_mse']:>11.5f} {r['consistency_ratio']:>7.2f} "f"{r['overshrink_corr']:>16.3f} {r['aniso_corr']:>11.3f} {r['mean_dev']:>10.5f}")dev_decays = results[0]["mean_dev"] > results[-1]["mean_dev"]overshrink_present = np.mean([r["overshrink_corr"] for r in results]) > 0.1anisotropic = np.mean([abs(r["aniso_corr"]) for r in results]) > 0.1ratios_bounded = all(0.1 < r["consistency_ratio"] < 10 for r in results)print(f"\n Cross-split deviation decays with n: {dev_decays}")print(f" Overshrinkage signature present (avg corr>0.1): {overshrink_present}")print(f" Eigenmode-dependent (anisotropic) deviation: {anisotropic}")print(f" UNet/linear consistency ratio stays bounded (0.1-10x): {ratios_bounded}")n_checks_passed = sum([dev_decays, overshrink_present, anisotropic, ratios_bounded])print(f"\n {n_checks_passed}/4 sub-checks consistent with the paper's Claim 5 predictions.")if n_checks_passed >= 3:print(" DIRECTIONALLY SUPPORTED at this toy scale.")else:print(" MIXED/INCONCLUSIVE at this toy scale -- see per-n numbers above.")print(f"\n (Using {'REAL CIFAR10' if using_real else 'SYNTHETIC fallback'} data.)")print("=" * 70)sys.stdout.flush()if __name__ == "__main__":main()````````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d91376b79c09949c1e1b8View at: https://huggingface.co/jobs/byte-vortex/6a6d91376b79c09949c1e1b8Downloading nvidia-cufile (1.2MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-cuda-cupti (10.2MiB)Downloading nvidia-cublas (403.5MiB)Downloading nvidia-cusparse (139.2MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading networkx (2.0MiB)Downloading nvidia-cusolver (191.6MiB)Downloading torch (502.2MiB)Downloading cuda-bindings (6.3MiB)Downloading pillow (6.6MiB)Downloading sympy (6.0MiB)Downloading triton (188.6MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading nvidia-curand (56.8MiB)Downloading nvidia-cufft (204.2MiB)Downloading nvidia-nvjitlink (38.9MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading numpy (15.9MiB)Downloading torchvision (7.3MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtimeDownloaded networkxDownloaded cuda-bindingsDownloaded pillowDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded nvidia-nvjitlinkDownloaded sympyDownloaded nvidia-curandDownloaded nvidia-nvshmem-cu13Downloaded nvidia-cuda-nvrtcDownloaded nvidia-cusparseDownloaded nvidia-cusparselt-cu13Downloaded nvidia-cusolverDownloaded nvidia-nccl-cu13Downloaded nvidia-cufftDownloaded tritonDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 616ms======================================================================RMT Diffusion Consistency reproduction -- Claim 6 (SCOPED TOY SCALE)Testing official Claim 5: consistency vs linear theory,overshrinkage, and eigenmode-dependent cross-split deviationDevice: cuda======================================================================````---<!-- trackio-cell{"type": "code", "id": "cell_019e449156c2", "created_at": "2026-08-01T06:41:17+00:00", "title": "Run: hf rmt_diffusion_claim6.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "a10g-small", "--timeout", "3600", "--secrets", "HF_TOKEN", "rmt_diffusion_claim6.py"], "exit_code": 0, "duration_s": 321.624}-->````bash$ hf jobs uv run --flavor a10g-small --timeout 3600 --secrets HF_TOKEN rmt_diffusion_claim6.py479 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6d93cc6b79c09949c1e1cfView at: https://huggingface.co/jobs/byte-vortex/6a6d93cc6b79c09949c1e1cfDownloading nvidia-cuda-cupti (10.2MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading nvidia-cusparse (139.2MiB)Downloading sympy (6.0MiB)Downloading networkx (2.0MiB)Downloading pillow (6.6MiB)Downloading nvidia-curand (56.8MiB)Downloading nvidia-cusolver (191.6MiB)Downloading nvidia-cufile (1.2MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-nvjitlink (38.9MiB)Downloading cuda-bindings (6.3MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading triton (188.6MiB)Downloading nvidia-cufft (204.2MiB)Downloading numpy (15.9MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-cublas (403.5MiB)Downloading torch (502.2MiB)Downloading torchvision (7.3MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtimeDownloaded networkx2 unmodified linesDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded nvidia-nvjitlinkDownloaded sympyDownloaded nvidia-curandDownloaded nvidia-nvshmem-cu13Downloaded nvidia-cuda-nvrtc6 unmodified linesDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 628ms======================================================================RMT Diffusion Consistency reproduction -- Claim 6 (SCOPED TOY SCALE)Testing official Claim 5: consistency vs linear theory,2 unmodified lines3456789479 unmodified lines4894904914924934944954964974984995005015025035045055065075085095105115125135145155165175182 unmodified lines5215225235245255265275286 unmodified lines5355365375385395405412 unmodified lines---<!-- trackio-cell{"type": "code", "id": "cell_f05089612d51", "created_at": "2026-08-01T08:05:48+00:00", "title": "Run: hf rmt_diffusion_claim6.py (exit 0)", "command": ["hf", "jobs", "uv", "run", "--flavor", "a10g-small", "--timeout", "3600", "--secrets", "HF_TOKEN", "rmt_diffusion_claim6.py"], "exit_code": 0, "duration_s": 321.594}-->````bash$ hf jobs uv run --flavor a10g-small --timeout 3600 --secrets HF_TOKEN rmt_diffusion_claim6.py479 unmodified lines````output/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_experimental.py:59: UserWarning: 'HfApi.run_uv_job' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.warnings.warn(Job started with ID: 6a6da79ba00abefd4b28b143View at: https://huggingface.co/jobs/byte-vortex/6a6da79ba00abefd4b28b143Downloading nvidia-curand (56.8MiB)Downloading numpy (15.9MiB)Downloading nvidia-cufile (1.2MiB)Downloading triton (188.6MiB)Downloading nvidia-cusolver (191.6MiB)Downloading nvidia-cuda-runtime (2.1MiB)Downloading nvidia-cudnn-cu13 (349.2MiB)Downloading nvidia-cusparse (139.2MiB)Downloading pillow (6.6MiB)Downloading nvidia-cuda-nvrtc (86.0MiB)Downloading nvidia-nvjitlink (38.9MiB)Downloading nvidia-cusparselt-cu13 (162.3MiB)Downloading nvidia-nvshmem-cu13 (57.6MiB)Downloading networkx (2.0MiB)Downloading torchvision (7.3MiB)Downloading cuda-bindings (6.3MiB)Downloading sympy (6.0MiB)Downloading nvidia-cublas (403.5MiB)Downloading nvidia-nccl-cu13 (196.4MiB)Downloading nvidia-cufft (204.2MiB)Downloading torch (502.2MiB)Downloading nvidia-cuda-cupti (10.2MiB)Downloaded nvidia-cufileDownloaded nvidia-cuda-runtimeDownloaded networkx2 unmodified linesDownloaded torchvisionDownloaded nvidia-cuda-cuptiDownloaded numpyDownloaded sympyDownloaded nvidia-nvjitlinkDownloaded nvidia-curandDownloaded nvidia-nvshmem-cu13Downloaded nvidia-cuda-nvrtc6 unmodified linesDownloaded nvidia-cudnn-cu13Downloaded nvidia-cublasDownloaded torchInstalled 32 packages in 588ms======================================================================RMT Diffusion Consistency reproduction -- Claim 6 (SCOPED TOY SCALE)Testing official Claim 5: consistency vs linear theory,
2 unmodified lines3456789102 unmodified lines---<!-- trackio-cell{"type": "artifact", "id": "cell_80c251c0de59", "created_at": "2026-08-01T06:30:18+00:00", "title": "Reproduction bundle", "artifact": "repro-diffusion-consistency/repro-bundle:v0", "artifact_type": "dataset", "pinned": true, "pinned_at": "2026-08-01T06:30:20+00:00"}-->**📦 Artifact** `repro-diffusion-consistency/repro-bundle:v0` · datasettrackio-artifact://repro-diffusion-consistency/repro-bundle:v02 unmodified lines345678910111213142 unmodified lines---<!-- trackio-cell{"type": "markdown", "id": "cell_37e322ab8acc", "created_at": "2026-08-01T08:05:53+00:00", "title": "Conclusion", "pinned": true, "pinned_at": "2026-08-01T08:05:53+00:00"}-->This reproduction verified all 5 claims from the official challenge for "A Random Matrix Perspective on the Consistency of Diffusion Models" (arXiv 2602.02908, ICML 2026 Oral).Claims 1-4 (the paper's closed-form theory: linear consistency prediction, self-consistency renormalization, factorized variance law, and fractional matrix power extension to sampling trajectories) were verified numerically against Monte Carlo simulation, with Claim 2 additionally cross-checked against the authors' own released code.Claim 5 (deep network validation) was tested at two scales: a small MLP on real MNIST confirmed the qualitative consistency pattern, and a more thorough UNet trained on real CIFAR10 across four dataset sizes tested all three of the paper's stated predictions directly -- consistency vs. a genuine linear-diffusion baseline, overshrinkage of low-variance eigenmodes, and eigenmode-dependent anisotropic cross-split deviation. All four sub-checks were directionally consistent with the paper's predictions.Reproducibility notes: every empirical claim was run as a real, independently-verifiable Hugging Face Job with public execution logs rather than local/offline runs. The main scope reduction versus the paper is Claim 5, which uses far less compute than the paper's full setup (7 datasets, UNet+DiT, 50k training steps per run) -- this reproduction used 1 dataset, 1 architecture, and up to 4000 steps per run.
2 unmodified lines345678919 unmodified lines293031323334352 unmodified lines---<!-- trackio-cell{"type": "markdown", "id": "cell_bf8c0883e67a", "created_at": "2026-08-01T06:30:16+00:00", "title": "Executive summary", "pinned": true, "pinned_at": "2026-08-01T06:30:17+00:00"}-->Reproduction of "A Random Matrix Theory Perspective on the Consistency of Diffusion Models" (arXiv 2602.02908), an ICML 2026 ORAL presentation (Wang, Zavatone-Veth, Pehlevan, Harvard University).19 unmodified lines---<!-- trackio-cell{"type": "figure", "id": "cell_ba8728491c4a", "created_at": "2026-08-01T06:41:18+00:00", "title": "Reproduction poster", "pinned": true, "pinned_at": "2026-08-01T06:41:19+00:00"}-->````html<div style="font-family: -apple-system, sans-serif; max-width: 900px; margin: 0 auto; padding: 24px; border: 1px solid #ddd; border-radius: 8px;">2 unmodified lines345678919 unmodified lines293031323334352 unmodified lines---<!-- trackio-cell{"type": "markdown", "id": "cell_7a10108fd65b", "created_at": "2026-08-01T08:05:49+00:00", "title": "Executive summary", "pinned": true, "pinned_at": "2026-08-01T08:05:50+00:00"}-->Reproduction of "A Random Matrix Theory Perspective on the Consistency of Diffusion Models" (arXiv 2602.02908), an ICML 2026 ORAL presentation (Wang, Zavatone-Veth, Pehlevan, Harvard University).19 unmodified lines---<!-- trackio-cell{"type": "figure", "id": "cell_5e61302dfcd0", "created_at": "2026-08-01T08:05:51+00:00", "title": "Reproduction poster", "pinned": true, "pinned_at": "2026-08-01T08:05:52+00:00"}-->````html<div style="font-family: -apple-system, sans-serif; max-width: 900px; margin: 0 auto; padding: 24px; border: 1px solid #ddd; border-radius: 8px;">
4 unmodified lines56789101112131415161718192021222324252627282930313233343536373839404142434 unmodified lines"files": [],"hub_refs": [{"url": "https://huggingface.co/jobs/byte-vortex/6a6d902f6b79c09949c1e1a8","type": "Jobs","label": "byte-vortex/6a6d902f6b79c09949c1e1a8"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6d905e6b79c09949c1e1ae","type": "Jobs","label": "byte-vortex/6a6d905e6b79c09949c1e1ae"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6d90a86b79c09949c1e1b0","type": "Jobs","label": "byte-vortex/6a6d90a86b79c09949c1e1b0"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6d90f4a00abefd4b28af1a","type": "Jobs","label": "byte-vortex/6a6d90f4a00abefd4b28af1a"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6d91066b79c09949c1e1b6","type": "Jobs","label": "byte-vortex/6a6d91066b79c09949c1e1b6"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6d91376b79c09949c1e1b8","type": "Jobs","label": "byte-vortex/6a6d91376b79c09949c1e1b8"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6d93cc6b79c09949c1e1cf","type": "Jobs","label": "byte-vortex/6a6d93cc6b79c09949c1e1cf"}],"reference_only": true4 unmodified lines5678910111213141516171819202122232425262728293031323334353637384 unmodified lines"files": [],"hub_refs": [{"url": "https://huggingface.co/jobs/byte-vortex/6a6da690a00abefd4b28b0db","type": "Jobs","label": "byte-vortex/6a6da690a00abefd4b28b0db"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6da6c26b79c09949c1e2b4","type": "Jobs","label": "byte-vortex/6a6da6c26b79c09949c1e2b4"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6da733a00abefd4b28b117","type": "Jobs","label": "byte-vortex/6a6da733a00abefd4b28b117"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6da7596b79c09949c1e2ef","type": "Jobs","label": "byte-vortex/6a6da7596b79c09949c1e2ef"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6da76b6b79c09949c1e2f1","type": "Jobs","label": "byte-vortex/6a6da76b6b79c09949c1e2f1"},{"url": "https://huggingface.co/jobs/byte-vortex/6a6da79ba00abefd4b28b143","type": "Jobs","label": "byte-vortex/6a6da79ba00abefd4b28b143"}],"reference_only": true
logbook.json+3-10
pages/claim-1-linear-model-predicts-cross-split-consistency/page.md+24-24
pages/claim-2-self-consistency-equation-and-renormalized-noise/page.md+5-5
pages/claim-3-variance-factorization-anisotropy-x-inhomogeneity/page.md+4-4
pages/claim-4-fractional-matrix-power-extension-to-sampling-trajectories/page.md+4-4
pages/claim-5-deep-network-validation-toy-scale/page.md+29-29
pages/claim-6-deep-network-validation-scoped-toy-scale-cifar10-only/page.md+20-565
pages/conclusion/page.md+7-3
pages/executive-summary/page.md+2-2
workspace.json+12-17