The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 4 new columns ({'DE_renorm', 'MC_shrinkage', 'naive_pop', 'lambda_k'}) and 6 missing columns ({'n', 'sigma2', 'gamma', 'kappa', 'trace_DE', 'trace_MC'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Earther/repro-rmt-diffusion-bundle/outputs/claimC3_shrinkage.csv (at revision a9ed0943b2566bd8cb206370a2400030e11bcab6), ['hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC1_kappa.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC3_shrinkage.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC4_anisotropy.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC5_scaling.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC6_sqrtcov.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC7_sqrtmap_variance.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimF1_split_consistency.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
lambda_k: double
MC_shrinkage: double
DE_renorm: double
naive_pop: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 759
to
{'n': Value('int64'), 'gamma': Value('float64'), 'sigma2': Value('float64'), 'kappa': Value('float64'), 'trace_DE': Value('float64'), 'trace_MC': Value('float64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 4 new columns ({'DE_renorm', 'MC_shrinkage', 'naive_pop', 'lambda_k'}) and 6 missing columns ({'n', 'sigma2', 'gamma', 'kappa', 'trace_DE', 'trace_MC'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Earther/repro-rmt-diffusion-bundle/outputs/claimC3_shrinkage.csv (at revision a9ed0943b2566bd8cb206370a2400030e11bcab6), ['hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC1_kappa.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC3_shrinkage.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC4_anisotropy.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC5_scaling.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC6_sqrtcov.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimC7_sqrtmap_variance.csv', 'hf://datasets/Earther/repro-rmt-diffusion-bundle@a9ed0943b2566bd8cb206370a2400030e11bcab6/outputs/claimF1_split_consistency.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
n int64 | gamma float64 | sigma2 float64 | kappa float64 | trace_DE float64 | trace_MC float64 |
|---|---|---|---|---|---|
100 | 1.8 | 0.01 | 0.02894 | 0.36359 | 0.362904 |
100 | 1.8 | 0.018738 | 0.040702 | 0.299791 | 0.299182 |
100 | 1.8 | 0.035112 | 0.060736 | 0.234386 | 0.233939 |
100 | 1.8 | 0.065793 | 0.095635 | 0.173354 | 0.173213 |
100 | 1.8 | 0.123285 | 0.157756 | 0.121394 | 0.121176 |
100 | 1.8 | 0.231013 | 0.270317 | 0.080777 | 0.080571 |
100 | 1.8 | 0.432876 | 0.476945 | 0.051333 | 0.051252 |
100 | 1.8 | 0.811131 | 0.859577 | 0.031311 | 0.031281 |
100 | 1.8 | 1.519911 | 1.572029 | 0.018418 | 0.018475 |
100 | 1.8 | 2.848036 | 2.902924 | 0.010504 | 0.010543 |
100 | 1.8 | 5.336699 | 5.393469 | 0.005848 | 0.005846 |
100 | 1.8 | 10 | 10.057941 | 0.0032 | 0.003198 |
400 | 0.45 | 0.01 | 0.013138 | 0.53077 | 0.530471 |
400 | 0.45 | 0.018738 | 0.022981 | 0.410273 | 0.410077 |
400 | 0.45 | 0.035112 | 0.040597 | 0.300247 | 0.300198 |
400 | 0.45 | 0.065793 | 0.072613 | 0.208715 | 0.208638 |
400 | 0.45 | 0.123285 | 0.131483 | 0.138569 | 0.138582 |
400 | 0.45 | 0.231013 | 0.240582 | 0.088392 | 0.088397 |
400 | 0.45 | 0.432876 | 0.443748 | 0.054447 | 0.054378 |
400 | 0.45 | 0.811131 | 0.823168 | 0.032496 | 0.032479 |
400 | 0.45 | 1.519911 | 1.532907 | 0.01884 | 0.01881 |
400 | 0.45 | 2.848036 | 2.861744 | 0.010645 | 0.01066 |
400 | 0.45 | 5.336699 | 5.350887 | 0.005892 | 0.005899 |
400 | 0.45 | 10 | 10.014484 | 0.003214 | 0.003212 |
2,000 | 0.09 | 0.01 | 0.01055 | 0.578765 | 0.57874 |
2,000 | 0.09 | 0.018738 | 0.019519 | 0.444671 | 0.444608 |
2,000 | 0.09 | 0.035112 | 0.036157 | 0.321153 | 0.321175 |
2,000 | 0.09 | 0.065793 | 0.067121 | 0.219751 | 0.219804 |
2,000 | 0.09 | 0.123285 | 0.124901 | 0.14376 | 0.143808 |
2,000 | 0.09 | 0.231013 | 0.232912 | 0.090617 | 0.090629 |
2,000 | 0.09 | 0.432876 | 0.435043 | 0.055331 | 0.055284 |
2,000 | 0.09 | 0.811131 | 0.813534 | 0.032825 | 0.032824 |
2,000 | 0.09 | 1.519911 | 1.522508 | 0.018955 | 0.018956 |
2,000 | 0.09 | 2.848036 | 2.850777 | 0.010683 | 0.010682 |
2,000 | 0.09 | 5.336699 | 5.339537 | 0.005904 | 0.005907 |
2,000 | 0.09 | 10 | 10.002897 | 0.003218 | 0.003217 |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Reproduction: A Random Matrix Theory Perspective on the Consistency of Diffusion Models
Reproduction of the linear-theory claims of Wang, Zavatone-Veth & Pehlevan, "A Random Matrix Theory Perspective on the Consistency of Diffusion Models" (ICML 2026, arXiv:2602.02908), for the Hugging Face Reproducing ICML 2026 challenge.
- Paper (alphaXiv): https://www.alphaxiv.org/abs/2602.02908
- OpenReview id:
iPjuUQbkfl - All experiments run on CPU in ~20 seconds. Zero GPU, zero paid APIs.
What is reproduced
The paper's core contribution is a random-matrix-theory (RMT) analysis of linear
diffusion models, where the optimal denoiser is
D*(x;σ) = Σ̂(Σ̂ + σ²I)⁻¹ x and everything is analytically tractable. We reproduce
each linear-theory claim by comparing the paper's deterministic-equivalence (DE)
formulas against a Monte-Carlo (MC) ground truth obtained by resampling finite
datasets x_i ~ N(0, Σ) with a natural-image-like power-law population spectrum
λ_k = k^-α.
| Exp | Paper claim / figure | Check | Result (seed 0) |
|---|---|---|---|
| C1 | Renormalized noise scale σ² → κ(σ²), Eq. 4 / Fig 2B |
κ ≥ σ² always; DE trace-resolvent vs MC | ✅ True; 0.06% median rel. err |
| C3 | Finite data overshrink low modes, Result 4.1 / Fig 2C | MC shrinkage vs DE λ/(λ+κ) vs naive λ/(λ+σ²) |
✅ 0.22% vs DE; 8.45% off naive |
| C4 | Anisotropy χ(λ,κ)=λ/(λ+κ)², peak at λ=κ, Result 4.2 / Fig 3B |
MC variance-per-mode vs DE; peak location | ✅ corr 0.994; peak λ≈κ (0.14 vs 0.10) |
| C5 | Consistency improves ∝ 1/n, Fig 3D | large-n log-log slope | ✅ slope −0.98 |
| C6 | Sampling map Σ̂^{1/2} overshrinks low modes, Result 5.1 / Fig 4A |
MC u_kᵀΣ̂^{1/2}u_k vs ideal √λ_k |
✅ low-mode ratio 0.895 < 1 |
Every DE prediction the paper derives for the linear model is confirmed against independent Monte-Carlo simulation. This is a full reproduction of the paper's linear theory — its central analytical contribution and the necessary baseline for its deep-network claims.
Scope (honest)
In scope (fully reproduced, CPU): the linear denoiser theory — Sections 3–5 and Results 4.1, 4.2, 5.1, i.e. the renormalized noise scale, over-shrinkage, the three-factor variance law (anisotropy / inhomogeneity / 1/n scaling), and sampling-map over-shrinkage.
Out of scope (infeasible on zero budget): Section 6's deep-network validation (UNet/DiT trained on FFHQ/CIFAR/LSUN, 50k steps, 10 runs per architecture). This needs multi-GPU training and is explicitly not attempted; it is the expensive empirical layer built on top of the linear theory reproduced here.
Run it
pip install -r requirements.txt
python run_repro.py # default config, ~20 s
python run_repro.py --config configs/repro.yaml
Outputs land in ./outputs/: one claimC*.png figure and claimC*.csv of raw numbers
per claim, plus results_summary.{json,md} with the agreement metrics above.
Files
rmt_diffusion.py— κ solver (Eq. 4), denoiser, DE prediction formulas, MC estimators.run_repro.py— runs C1–C6, writes figures/CSVs/summary.configs/repro.yaml— all parameters.outputs/— reproduced figures + data (the reproduction bundle).
Method notes
- Population covariance is diagonal in its eigenbasis (WLOG);
μ = 0(the paper setsμ̂ = μto isolate finite-sample covariance effects). κ(λ)solvesκ − λ = γ κ · tr[Σ(Σ+κI)⁻¹],γ = d/n, by bisection.- "DE" curves are the paper's large-dimension deterministic equivalents; "MC" points are
empirical means/variances over
Rindependent datasets. Agreement to <1% across claims is the reproduction's core evidence. - Determinism: fixed
seed; rerunning reproduces the numbers up to MC noise.
- Downloads last month
- 17